Commit 56131e6d authored by Chris Packham's avatar Chris Packham Committed by Thomas Bogendoerfer
Browse files

mips: dts: realtek: Add I2C controllers



Add the I2C controllers that are part of the RTL9300 SoC.

Signed-off-by: default avatarChris Packham <chris.packham@alliedtelesis.co.nz>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent 5ec37be4
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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";
};
+16 −0
Original line number Diff line number Diff line
@@ -41,6 +41,22 @@ reboot@c {
			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";
		};
	};
};