ARM: dts: aspeed: everest: Add I2C switch on bus 8
authorEddie James <eajames@linux.ibm.com>
Wed, 20 Oct 2021 21:53:19 +0000 (16:53 -0500)
committerJoel Stanley <joel@jms.id.au>
Thu, 21 Oct 2021 06:26:02 +0000 (16:56 +1030)
The switch controls two busses containing some VRMs.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20211020215321.33960-4-eajames@linux.ibm.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts

index 01f7341..6a432bc 100644 (file)
                i2c44 = &i2c15mux2chn1;
                i2c45 = &i2c15mux2chn2;
                i2c46 = &i2c15mux2chn3;
+               i2c47 = &i2c8mux0chn0;
+               i2c48 = &i2c8mux0chn1;
 
                serial4 = &uart5;
 
                compatible = "atmel,24c128";
                reg = <0x50>;
        };
+
+       i2c-switch@70 {
+               compatible = "nxp,pca9546";
+               reg = <0x70>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+               status = "okay";
+               i2c-mux-idle-disconnect;
+
+               i2c8mux0chn0: i2c@0 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <0>;
+               };
+
+               i2c8mux0chn1: i2c@1 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <1>;
+               };
+       };
 };
 
 &i2c9 {