ARM: dts: vf610-zii-spb4: Add node for switch watchdog
authorChris Healy <cphealy@gmail.com>
Sun, 12 Jul 2020 08:03:57 +0000 (01:03 -0700)
committerShawn Guo <shawnguo@kernel.org>
Mon, 13 Jul 2020 11:48:53 +0000 (19:48 +0800)
Add I2C child node for switch watchdog present on SPB4

Signed-off-by: Chris Healy <cphealy@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/vf610-zii-spb4.dts

index a68eae88174a706d9dba726bdfedf9b1a5df0681..9e5187ba3fa6f9f0e5951057d3355c17dd22971b 100644 (file)
        };
 };
 
+&i2c1 {
+       clock-frequency = <100000>;
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_i2c1>;
+       status = "okay";
+
+       watchdog@38 {
+               compatible = "zii,rave-wdt";
+               reg = <0x38>;
+       };
+};
+
 &snvsrtc {
        status = "disabled";
 };
                >;
        };
 
+       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