Skip to content

Commit 7adc7b2

Browse files
cpackham-atlnzwsakernel
authored andcommitted
powerpc/fsl: set fsl,i2c-erratum-a004447 flag for P2041 i2c controllers
The i2c controllers on the P2040/P2041 have an erratum where the documented scheme for i2c bus recovery will not work (A-004447). A different mechanism is needed which is documented in the P2040 Chip Errata Rev Q (latest available at the time of writing). Signed-off-by: Chris Packham <[email protected]> Acked-by: Michael Ellerman <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
1 parent a5063ab commit 7adc7b2

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

arch/powerpc/boot/dts/fsl/p2041si-post.dtsi

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,23 @@
371371
};
372372

373373
/include/ "qoriq-i2c-0.dtsi"
374+
i2c@118000 {
375+
fsl,i2c-erratum-a004447;
376+
};
377+
378+
i2c@118100 {
379+
fsl,i2c-erratum-a004447;
380+
};
381+
374382
/include/ "qoriq-i2c-1.dtsi"
383+
i2c@119000 {
384+
fsl,i2c-erratum-a004447;
385+
};
386+
387+
i2c@119100 {
388+
fsl,i2c-erratum-a004447;
389+
};
390+
375391
/include/ "qoriq-duart-0.dtsi"
376392
/include/ "qoriq-duart-1.dtsi"
377393
/include/ "qoriq-gpio-0.dtsi"

0 commit comments

Comments
 (0)