linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: vf610-zii-spb4: Add node for switch watchdog
@ 2020-07-12  8:03 Chris Healy
  2020-07-13  9:10 ` Shawn Guo
  0 siblings, 1 reply; 2+ messages in thread
From: Chris Healy @ 2020-07-12  8:03 UTC (permalink / raw)
  To: shawnguo, s.hauer, stefan, festevam, robh+dt, linux-arm-kernel,
	devicetree, andrew.smirnov, linux-kernel
  Cc: Chris Healy

Add I2C child node for switch watchdog present on SPB4

Signed-off-by: Chris Healy <cphealy@gmail.com>
---
 arch/arm/boot/dts/vf610-zii-spb4.dts | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/arch/arm/boot/dts/vf610-zii-spb4.dts b/arch/arm/boot/dts/vf610-zii-spb4.dts
index a68eae88174a..9e5187ba3fa6 100644
--- a/arch/arm/boot/dts/vf610-zii-spb4.dts
+++ b/arch/arm/boot/dts/vf610-zii-spb4.dts
@@ -209,6 +209,18 @@
 	};
 };
 
+&i2c1 {
+	clock-frequency = <100000>;
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_i2c1>;
+	status = "okay";
+
+	watchdog@38 {
+		compatible = "zii,rave-wdt";
+		reg = <0x38>;
+	};
+};
+
 &snvsrtc {
 	status = "disabled";
 };
@@ -326,6 +338,13 @@
 		>;
 	};
 
+	pinctrl_i2c1: i2c1grp {
+		fsl,pins = <
+			VF610_PAD_PTB16__I2C1_SCL		0x37ff
+			VF610_PAD_PTB17__I2C1_SDA		0x37ff
+		>;
+	};
+
 	pinctrl_leds_debug: pinctrl-leds-debug {
 		fsl,pins = <
 			VF610_PAD_PTD3__GPIO_82			0x31c2
-- 
2.21.3


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

* Re: [PATCH] ARM: dts: vf610-zii-spb4: Add node for switch watchdog
  2020-07-12  8:03 [PATCH] ARM: dts: vf610-zii-spb4: Add node for switch watchdog Chris Healy
@ 2020-07-13  9:10 ` Shawn Guo
  0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2020-07-13  9:10 UTC (permalink / raw)
  To: Chris Healy
  Cc: s.hauer, stefan, festevam, robh+dt, linux-arm-kernel, devicetree,
	andrew.smirnov, linux-kernel

On Sun, Jul 12, 2020 at 01:03:57AM -0700, Chris Healy wrote:
> Add I2C child node for switch watchdog present on SPB4
> 
> Signed-off-by: Chris Healy <cphealy@gmail.com>

Applied, thanks.

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

end of thread, other threads:[~2020-07-13  9:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-12  8:03 [PATCH] ARM: dts: vf610-zii-spb4: Add node for switch watchdog Chris Healy
2020-07-13  9:10 ` Shawn Guo

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).