diff options
author | 2024-11-06 13:18:34 +1300 | |
---|---|---|
committer | 2024-11-12 15:51:21 +0100 | |
commit | 56131e6d1fcce8e7359a2445711cc1a4ddb8325c (patch) | |
tree | 0043f62243eb0ded0858edab38864639ac2f97b8 | |
parent | mips: dts: realtek: Add syscon-reboot node (diff) | |
download | linux-rng-56131e6d1fcce8e7359a2445711cc1a4ddb8325c.tar.xz linux-rng-56131e6d1fcce8e7359a2445711cc1a4ddb8325c.zip |
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>
-rw-r--r-- | arch/mips/boot/dts/realtek/rtl9302c.dtsi | 8 | ||||
-rw-r--r-- | arch/mips/boot/dts/realtek/rtl930x.dtsi | 16 |
2 files changed, 24 insertions, 0 deletions
diff --git a/arch/mips/boot/dts/realtek/rtl9302c.dtsi b/arch/mips/boot/dts/realtek/rtl9302c.dtsi index ca4d347af8d3..8690433af498 100644 --- a/arch/mips/boot/dts/realtek/rtl9302c.dtsi +++ b/arch/mips/boot/dts/realtek/rtl9302c.dtsi @@ -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"; +}; diff --git a/arch/mips/boot/dts/realtek/rtl930x.dtsi b/arch/mips/boot/dts/realtek/rtl930x.dtsi index 7477fae34987..6a6f3f3fe389 100644 --- a/arch/mips/boot/dts/realtek/rtl930x.dtsi +++ b/arch/mips/boot/dts/realtek/rtl930x.dtsi @@ -41,6 +41,22 @@ 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"; + }; }; }; |