]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arm: ls1021a-pg-wcom: add i2c mux node and eeprom
authorHolger Brunck <holger.brunck@hitachienergy.com>
Mon, 14 Jul 2025 13:22:18 +0000 (15:22 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 22 Jul 2025 19:53:03 +0000 (13:53 -0600)
We are now using the DM code for the i2c mux and to read out the
inventory eeprom. Therefore we need to add the nodes to the specific DTS
files.

Signed-off-by: Holger Brunck <holger.brunck@hitachienergy.com>
arch/arm/dts/ls1021a-pg-wcom-expu1.dts
arch/arm/dts/ls1021a-pg-wcom-seli8.dts

index ec8e7dee27115bb02fa1ab82a28a8da2d7c915df..1068f1a288a2670014e3ed57f83dfd7e758e07ea 100644 (file)
 
 &i2c0 {
        status = "okay";
+
+       pca9547@70 {
+               compatible = "nxp,pca9547";
+               reg = <0x70>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+               i2c-mux-idle-disconnect;
+
+               i2c@1 {
+                       reg = <1>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
+                       ivm@50 {
+                               compatible = "atmel,24c02";
+                               reg = <0x50>;
+                               label = "MAIN_CTRL";
+                       };
+               };
+       };
 };
 
 &dspi1 {
index 03ce3ab4e47605e72256c2ab49c9c79a7b1b4208..3e8c54d83c956554cff2a0fa878035006fc3349e 100644 (file)
 
 &i2c0 {
        status = "okay";
+
+       pca9547@70 {
+               compatible = "nxp,pca9547";
+               reg = <0x70>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+               i2c-mux-idle-disconnect;
+
+               i2c@1 {
+                       reg = <1>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
+                       ivm@50 {
+                               compatible = "atmel,24c02";
+                               reg = <0x50>;
+                               label = "MAIN_CTRL";
+                       };
+               };
+       };
 };
 
 &ifc {