]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: rockchip: add tsd,mule-i2c-mux on rk3588-tiger
authorFarouk Bouabid <farouk.bouabid@cherry.de>
Fri, 6 Sep 2024 15:54:18 +0000 (17:54 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 30 Sep 2024 08:34:00 +0000 (10:34 +0200)
Add the tsd,mule-i2c-mux alongside with the amc6821 (tsd,mule) and isl1208
as a default device on the mux.

Signed-off-by: Farouk Bouabid <farouk.bouabid@cherry.de>
Link: https://lore.kernel.org/r/20240906-dev-mule-i2c-mux-v8-7-dbd28a150e41@cherry.de
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi

index 615094bb8ba380a5907aab1e318ca7e6365bcda3..a02f1178c60cc78eb250ab53381dd38ec16b630f 100644 (file)
@@ -12,6 +12,7 @@
        compatible = "tsd,rk3588-tiger", "rockchip,rk3588";
 
        aliases {
+               i2c10 = &i2c10;
                mmc0 = &sdhci;
                rtc0 = &rtc_twi;
        };
        status = "okay";
 
        fan@18 {
-               compatible = "ti,amc6821";
+               compatible = "tsd,mule", "ti,amc6821";
                reg = <0x18>;
-       };
 
-       rtc_twi: rtc@6f {
-               compatible = "isil,isl1208";
-               reg = <0x6f>;
+               i2c-mux {
+                       compatible = "tsd,mule-i2c-mux";
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
+                       i2c10: i2c@0 {
+                               reg = <0x0>;
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+
+                               rtc_twi: rtc@6f {
+                                       compatible = "isil,isl1208";
+                                       reg = <0x6f>;
+                               };
+                       };
+               };
        };
 };