linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3 v3] MIPS: ralink: mt7628a.dtsi: Add I2C controller DT node
@ 2019-08-09 12:19 Stefan Roese
  2019-08-09 12:19 ` [PATCH 2/3 v3] dt-bindings: mips: Add gardena vendor prefix and board description Stefan Roese
  2019-08-09 12:19 ` [PATCH 3/3 v3] MIPS: ralink: Add GARDENA smart Gateway MT7688 board Stefan Roese
  0 siblings, 2 replies; 4+ messages in thread
From: Stefan Roese @ 2019-08-09 12:19 UTC (permalink / raw)
  To: linux-mips; +Cc: Paul Burton, Harvey Hunt, John Crispin

This patch adds the I2C controller description to the MT7628A dtsi file.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Paul Burton <paul.burton@mips.com>
Cc: Harvey Hunt <harveyhuntnexus@gmail.com>
Cc: John Crispin <john@phrozen.org>
---
v3:
- No change (I2C controller driver is now available in mainline)

v2:
- Use Harvey's new email address (not at imgtec)
- Use correct linux-mips list address

 arch/mips/boot/dts/ralink/mt7628a.dtsi | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/arch/mips/boot/dts/ralink/mt7628a.dtsi b/arch/mips/boot/dts/ralink/mt7628a.dtsi
index 61f8621e88b3..742bcc1dc2e0 100644
--- a/arch/mips/boot/dts/ralink/mt7628a.dtsi
+++ b/arch/mips/boot/dts/ralink/mt7628a.dtsi
@@ -199,6 +199,22 @@
 			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>;
-- 
2.22.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-08-09 17:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-09 12:19 [PATCH 1/3 v3] MIPS: ralink: mt7628a.dtsi: Add I2C controller DT node Stefan Roese
2019-08-09 12:19 ` [PATCH 2/3 v3] dt-bindings: mips: Add gardena vendor prefix and board description Stefan Roese
2019-08-09 17:07   ` Rob Herring
2019-08-09 12:19 ` [PATCH 3/3 v3] MIPS: ralink: Add GARDENA smart Gateway MT7688 board Stefan Roese

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).