]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: aspeed: catalina: move hdd board i2c mux bus to i2c5
authorPotin Lai <potin.lai@quantatw.com>
Thu, 26 Sep 2024 07:10:44 +0000 (15:10 +0800)
committerAndrew Jeffery <andrew@codeconstruct.com.au>
Fri, 13 Dec 2024 05:16:59 +0000 (15:46 +1030)
Due to EVT hardware changes, move HDD board i2c mux bus from i2c30 to i2c5.

Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Link: https://patch.msgid.link/20240926-catalina-evt-dvt-system-modify-v2-1-a861daeba059@gmail.com
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts

index fa0921a4afe27aba88ed772b636d5f244bddd3e1..eac6e33e98f4250b6f2405b91e54d82619ac6e6c 100644 (file)
                i2c45 = &i2c0mux5ch1;
                i2c46 = &i2c0mux5ch2;
                i2c47 = &i2c0mux5ch3;
-               i2c48 = &i2c30mux0ch0;
-               i2c49 = &i2c30mux0ch1;
-               i2c50 = &i2c30mux0ch2;
-               i2c51 = &i2c30mux0ch3;
-               i2c52 = &i2c30mux0ch4;
-               i2c53 = &i2c30mux0ch5;
-               i2c54 = &i2c30mux0ch6;
-               i2c55 = &i2c30mux0ch7;
+               i2c48 = &i2c5mux0ch0;
+               i2c49 = &i2c5mux0ch1;
+               i2c50 = &i2c5mux0ch2;
+               i2c51 = &i2c5mux0ch3;
+               i2c52 = &i2c5mux0ch4;
+               i2c53 = &i2c5mux0ch5;
+               i2c54 = &i2c5mux0ch6;
+               i2c55 = &i2c5mux0ch7;
        };
 
        chosen {
                        #address-cells = <1>;
                        #size-cells = <0>;
                        reg = <2>;
-                       i2c-mux@70 {
-                               compatible = "nxp,pca9548";
-                               reg = <0x70>;
-                               #address-cells = <1>;
-                               #size-cells = <0>;
-                               i2c-mux-idle-disconnect;
-
-                               i2c30mux0ch0: i2c@0 {
-                                       #address-cells = <1>;
-                                       #size-cells = <0>;
-                                       reg = <0>;
-                               };
-                               i2c30mux0ch1: i2c@1 {
-                                       #address-cells = <1>;
-                                       #size-cells = <0>;
-                                       reg = <1>;
-                               };
-                               i2c30mux0ch2: i2c@2 {
-                                       #address-cells = <1>;
-                                       #size-cells = <0>;
-                                       reg = <2>;
-                               };
-                               i2c30mux0ch3: i2c@3 {
-                                       #address-cells = <1>;
-                                       #size-cells = <0>;
-                                       reg = <3>;
-                               };
-                               i2c30mux0ch4: i2c@4 {
-                                       #address-cells = <1>;
-                                       #size-cells = <0>;
-                                       reg = <4>;
-                               };
-                               i2c30mux0ch5: i2c@5 {
-                                       #address-cells = <1>;
-                                       #size-cells = <0>;
-                                       reg = <5>;
-                               };
-                               i2c30mux0ch6: i2c@6 {
-                                       #address-cells = <1>;
-                                       #size-cells = <0>;
-                                       reg = <6>;
-                                       // HDD FRU EEPROM
-                                       eeprom@52 {
-                                               compatible = "atmel,24c64";
-                                               reg = <0x52>;
-                                       };
-                               };
-                               i2c30mux0ch7: i2c@7 {
-                                       #address-cells = <1>;
-                                       #size-cells = <0>;
-                                       reg = <7>;
-
-                                       power-sensor@40 {
-                                               compatible = "ti,ina230";
-                                               reg = <0x40>;
-                                               shunt-resistor = <2000>;
-                                       };
-                                       power-sensor@41 {
-                                               compatible = "ti,ina230";
-                                               reg = <0x41>;
-                                               shunt-resistor = <2000>;
-                                       };
-                                       power-sensor@44 {
-                                               compatible = "ti,ina230";
-                                               reg = <0x44>;
-                                               shunt-resistor = <2000>;
-                                       };
-                                       power-sensor@45 {
-                                               compatible = "ti,ina230";
-                                               reg = <0x45>;
-                                               shunt-resistor = <2000>;
-                                       };
-                               };
-                       };
                };
                i2c0mux1ch3: i2c@3 {
                        #address-cells = <1>;
 
 &i2c5 {
        status = "okay";
+
+       i2c-mux@70 {
+               compatible = "nxp,pca9548";
+               reg = <0x70>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+               i2c-mux-idle-disconnect;
+
+               i2c5mux0ch0: i2c@0 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <0>;
+               };
+               i2c5mux0ch1: i2c@1 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <1>;
+               };
+               i2c5mux0ch2: i2c@2 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <2>;
+               };
+               i2c5mux0ch3: i2c@3 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <3>;
+               };
+               i2c5mux0ch4: i2c@4 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <4>;
+               };
+               i2c5mux0ch5: i2c@5 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <5>;
+               };
+               i2c5mux0ch6: i2c@6 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <6>;
+                       // HDD FRU EEPROM
+                       eeprom@52 {
+                               compatible = "atmel,24c64";
+                               reg = <0x52>;
+                       };
+               };
+               i2c5mux0ch7: i2c@7 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <7>;
+
+                       power-sensor@40 {
+                               compatible = "ti,ina230";
+                               reg = <0x40>;
+                               shunt-resistor = <2000>;
+                       };
+                       power-sensor@41 {
+                               compatible = "ti,ina230";
+                               reg = <0x41>;
+                               shunt-resistor = <2000>;
+                       };
+                       power-sensor@44 {
+                               compatible = "ti,ina230";
+                               reg = <0x44>;
+                               shunt-resistor = <2000>;
+                       };
+                       power-sensor@45 {
+                               compatible = "ti,ina230";
+                               reg = <0x45>;
+                               shunt-resistor = <2000>;
+                       };
+               };
+       };
 };
 
 &i2c6 {