]> Git Repo - J-linux.git/commitdiff
mips: dts: realtek: Add I2C controllers
authorChris Packham <[email protected]>
Wed, 6 Nov 2024 00:18:34 +0000 (13:18 +1300)
committerThomas Bogendoerfer <[email protected]>
Tue, 12 Nov 2024 14:51:21 +0000 (15:51 +0100)
Add the I2C controllers that are part of the RTL9300 SoC.

Signed-off-by: Chris Packham <[email protected]>
Signed-off-by: Thomas Bogendoerfer <[email protected]>
arch/mips/boot/dts/realtek/rtl9302c.dtsi
arch/mips/boot/dts/realtek/rtl930x.dtsi

index ca4d347af8d30c96b90aeb9801b07737a4f609c3..8690433af4981be21b3b53dfba8585efdc3ff4f1 100644 (file)
@@ -5,3 +5,11 @@
 &switch0 {
        compatible = "realtek,rtl9302c-switch", "syscon", "simple-mfd";
 };
+
+&i2c0 {
+       compatible = "realtek,rtl9302c-i2c", "realtek,rtl9301-i2c";
+};
+
+&i2c1 {
+       compatible = "realtek,rtl9302c-i2c", "realtek,rtl9301-i2c";
+};
index 7477fae34987e3b0a7fac108edd1afd9151e1c56..6a6f3f3fe389baf11e33c304ccb73693856a3cd5 100644 (file)
                        reg = <0x0c 0x4>;
                        value = <0x01>;
                };
+
+               i2c0: i2c@36c {
+                       compatible = "realtek,rtl9301-i2c";
+                       reg = <0x36c 0x14>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       status = "disabled";
+               };
+
+               i2c1: i2c@388 {
+                       compatible = "realtek,rtl9301-i2c";
+                       reg = <0x388 0x14>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       status = "disabled";
+               };
        };
 };
 
This page took 0.048139 seconds and 4 git commands to generate.