Skip to content

Commit 56131e6

Browse files
cpackham-atlnztsbogend
authored andcommitted
mips: dts: realtek: Add I2C controllers
Add the I2C controllers that are part of the RTL9300 SoC. Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
1 parent 5ec37be commit 56131e6

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

arch/mips/boot/dts/realtek/rtl9302c.dtsi

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,11 @@
55
&switch0 {
66
compatible = "realtek,rtl9302c-switch", "syscon", "simple-mfd";
77
};
8+
9+
&i2c0 {
10+
compatible = "realtek,rtl9302c-i2c", "realtek,rtl9301-i2c";
11+
};
12+
13+
&i2c1 {
14+
compatible = "realtek,rtl9302c-i2c", "realtek,rtl9301-i2c";
15+
};

arch/mips/boot/dts/realtek/rtl930x.dtsi

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,22 @@
4141
reg = <0x0c 0x4>;
4242
value = <0x01>;
4343
};
44+
45+
i2c0: i2c@36c {
46+
compatible = "realtek,rtl9301-i2c";
47+
reg = <0x36c 0x14>;
48+
#address-cells = <1>;
49+
#size-cells = <0>;
50+
status = "disabled";
51+
};
52+
53+
i2c1: i2c@388 {
54+
compatible = "realtek,rtl9301-i2c";
55+
reg = <0x388 0x14>;
56+
#address-cells = <1>;
57+
#size-cells = <0>;
58+
status = "disabled";
59+
};
4460
};
4561
};
4662

0 commit comments

Comments
 (0)