[PATCH] powerpc/fsl/dts: add missing P4080DS I2C devices

David Lamparter equinox at diac24.net
Fri Sep 21 09:04:22 AEST 2018


This just adds the zl2006 voltage regulators / power monitors and the
onboard I2C eeproms.  The ICS9FG108 clock chip doesn't seem to have a
driver, so it is left in the DTS as a comment.  And for good measure,
the SPD eeproms are tagged as such.

Signed-off-by: David Lamparter <equinox at diac24.net>
---
I'm not subscribed to linuxppc-dev, please keep me in Cc:.
---
 arch/powerpc/boot/dts/fsl/p4080ds.dts | 43 +++++++++++++++++++++++++--
 1 file changed, 41 insertions(+), 2 deletions(-)

diff --git a/arch/powerpc/boot/dts/fsl/p4080ds.dts b/arch/powerpc/boot/dts/fsl/p4080ds.dts
index 65e20152e22f..969b32c4f2d5 100644
--- a/arch/powerpc/boot/dts/fsl/p4080ds.dts
+++ b/arch/powerpc/boot/dts/fsl/p4080ds.dts
@@ -125,11 +125,11 @@
 
 		i2c at 118100 {
 			eeprom at 51 {
-				compatible = "atmel,24c256";
+				compatible = "atmel,spd";
 				reg = <0x51>;
 			};
 			eeprom at 52 {
-				compatible = "atmel,24c256";
+				compatible = "atmel,spd";
 				reg = <0x52>;
 			};
 			rtc at 68 {
@@ -143,6 +143,45 @@
 			};
 		};
 
+		i2c at 118000 {
+			zl2006 at 21 {
+				compatible = "zl2006";
+				reg = <0x21>;
+			};
+			zl2006 at 22 {
+				compatible = "zl2006";
+				reg = <0x22>;
+			};
+			zl2006 at 23 {
+				compatible = "zl2006";
+				reg = <0x23>;
+			};
+			zl2006 at 24 {
+				compatible = "zl2006";
+				reg = <0x24>;
+			};
+			eeprom at 50 {
+				compatible = "atmel,24c64";
+				reg = <0x50>;
+			};
+			eeprom at 55 {
+				compatible = "atmel,24c64";
+				reg = <0x55>;
+			};
+			eeprom at 56 {
+				compatible = "atmel,24c64";
+				reg = <0x56>;
+			};
+			eeprom at 57 {
+				compatible = "atmel,24c02";
+				reg = <0x57>;
+			};
+		};
+
+		i2c at 119100 {
+			/* 0x6E: ICS9FG108 */
+		};
+
 		usb0: usb at 210000 {
 			phy_type = "ulpi";
 		};
-- 
2.18.0



More information about the Linuxppc-dev mailing list