]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: aspeed: yosemite4: Add i2c-mux for ADC monitor on Spider Board
authorRicky CX Wu <ricky.cx.wu.wiwynn@gmail.com>
Thu, 3 Oct 2024 07:42:50 +0000 (15:42 +0800)
committerAndrew Jeffery <andrew@codeconstruct.com.au>
Fri, 13 Dec 2024 05:17:00 +0000 (15:47 +1030)
Add I2C mux for ADC monitors on Spider Board.

Signed-off-by: Ricky CX Wu <ricky.cx.wu.wiwynn@gmail.com>
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
Link: https://patch.msgid.link/20241003074251.3818101-10-Delphine_CC_Chiu@wiwynn.com
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts

index bc25c11df255798806d9626e4ba58a0cf2a31155..ab4904cf2c0e36c3094cd4a71a750ee46c196e73 100644 (file)
@@ -34,6 +34,8 @@
                i2c29 = &imux29;
                i2c30 = &imux30;
                i2c31 = &imux31;
+               i2c32 = &imux32;
+               i2c33 = &imux33;
                i2c34 = &imux34;
                i2c35 = &imux35;
        };
 
        i2c-mux@73 {
                compatible = "nxp,pca9544";
+               reg = <0x73>;
                #address-cells = <1>;
                #size-cells = <0>;
-
-               idle-state = <0>;
                i2c-mux-idle-disconnect;
-               reg = <0x73>;
 
-               i2c@0 {
+               imux32: i2c@0 {
+                       reg = <0>;
                        #address-cells = <1>;
                        #size-cells = <0>;
-                       reg = <0>;
-
                        adc@35 {
                                compatible = "maxim,max11617";
                                reg = <0x35>;
                        };
                };
 
-               i2c@1 {
+               imux33: i2c@1 {
+                       reg = <1>;
                        #address-cells = <1>;
                        #size-cells = <0>;
-                       reg = <0>;
-
                        adc@35 {
                                compatible = "maxim,max11617";
                                reg = <0x35>;