MIPS: ralink: mt7628a.dtsi: Add I2C controller DT node
authorStefan Roese <sr@denx.de>
Mon, 12 Aug 2019 10:36:52 +0000 (12:36 +0200)
committerPaul Burton <paul.burton@mips.com>
Mon, 7 Oct 2019 16:41:10 +0000 (09:41 -0700)
This patch adds the I2C controller description to the MT7628A dtsi file.

Signed-off-by: Stefan Roese <sr@denx.de>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: Harvey Hunt <harveyhuntnexus@gmail.com>
Cc: John Crispin <john@phrozen.org>
Cc: linux-mips@vger.kernel.org
arch/mips/boot/dts/ralink/mt7628a.dtsi

index 61f8621e88b386336afee23de7c739ffc5bcbfb3..742bcc1dc2e0b85006a5445ee5597a075302cb2a 100644 (file)
                        status = "disabled";
                };
 
+               i2c: i2c@900 {
+                       compatible = "mediatek,mt7621-i2c";
+                       reg = <0x900 0x100>;
+
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&pinmux_i2c_i2c>;
+
+                       resets = <&resetc 16>;
+                       reset-names = "i2c";
+
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
+                       status = "disabled";
+               };
+
                uart0: uartlite@c00 {
                        compatible = "ns16550a";
                        reg = <0xc00 0x100>;