[PATCH v4 8/9] arm64: dts: rockchip: add mule mfd (0x18) on rk3588-tiger
Farouk Bouabid
farouk.bouabid at cherry.de
Tue Jun 18 09:06:50 PDT 2024
Mule emulates amc6821 and an I2C mux (mfd:0x18). The isl1208 is exposed
behind this mux.
Add the mux node and isl1208 as a default device.
Signed-off-by: Farouk Bouabid <farouk.bouabid at cherry.de>
---
arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi | 32 +++++++++++++++++++++-----
1 file changed, 26 insertions(+), 6 deletions(-)
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi b/arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi
index aebe1fedd2d8..e6d23e6d95fc 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi
@@ -12,6 +12,7 @@ / {
compatible = "tsd,rk3588-tiger", "rockchip,rk3588";
aliases {
+ i2c10 = &i2c10;
mmc0 = &sdhci;
rtc0 = &rtc_twi;
};
@@ -223,14 +224,33 @@ &i2c6 {
clock-frequency = <400000>;
status = "okay";
- fan at 18 {
- compatible = "ti,amc6821";
+ mule at 18 {
+ compatible = "tsd,mule";
reg = <0x18>;
- };
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ fan: fan at 18 {
+ compatible = "ti,amc6821";
+ reg = <0x18>;
+ };
+
+ i2c-mux {
+ compatible = "tsd,mule-i2c-mux";
+ #address-cells = <1>;
+ #size-cells = <0>;
- rtc_twi: rtc at 6f {
- compatible = "isil,isl1208";
- reg = <0x6f>;
+ i2c10: i2c at 0 {
+ reg = <0x0>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ rtc_twi: rtc at 6f {
+ compatible = "isil,isl1208";
+ reg = <0x6f>;
+ };
+ };
+ };
};
};
--
2.34.1
More information about the linux-arm-kernel
mailing list