Skip to contentSkip to conversation

ARM: dts: imx6qdl-sabresd: Use WDOG_B pin reset

PATCH New Fabio Estevam 2 participants 5 messages Jun 14, 2016 – Jun 16, 2016

Subsystems (2)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/4 ARM: dts: imx6qdl-sabresd: Use WDOG_B pin reset

From: Fabio Estevam <[email protected]>

imx6qdl-sabresd has WDOG2_B pin connected to the PMIC.

Pass the 'fsl,ext-reset-output' property so that the watchdog can trigger a system POR reset via the PMIC.

---
 arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
arch/arm/boot/dts/imx6qdl-sabresd.dtsi +17 -0
index 5248e7b..a8d65b4 100644
@@ -501,6 +501,12 @@
 				MX6QDL_PAD_SD4_DAT7__SD4_DATA7		0x17059
 			>;
 		};
+
+		pinctrl_wdog: wdoggrp {
+			fsl,pins = <
+				MX6QDL_PAD_GPIO_1__WDOG2_B		0x1b0b0
+			>;
+		};
 	};
 
 	gpio_leds {
@@ -596,3 +602,14 @@
 	no-1-8-v;
 	status = "okay";
 };
+
+&wdog1 {
+	status = "disabled";
+};
+
+&wdog2 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_wdog>;
+	fsl,ext-reset-output;
+	status = "okay";
+};
Signature · 1 line
1.9.1
author reviewer
#1 lore raw

PATCH 2/4 ARM: dts: imx7d-sdb: Use WDOG_B pin reset

From: Fabio Estevam <[email protected]>

imx7d-sdb has WDOG1_B pin connected to the PMIC.

Pass the 'fsl,ext-reset-output' property so that the watchdog can trigger a system POR reset via the PMIC.

---
 arch/arm/boot/dts/imx7d-sdb.dts | 11 +++++++++++
 1 file changed, 11 insertions(+)
arch/arm/boot/dts/imx7d-sdb.dts +11 -0
index b267f79..d6da506 100644
@@ -314,6 +314,12 @@
 	status = "okay";
 };
 
+&wdog1 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_wdog>;
+	fsl,ext-reset-output;
+};
+
 &iomuxc {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_hog>;
@@ -512,5 +518,10 @@
 			>;
 		};
 
+		pinctrl_wdog: wdoggrp {
+			fsl,pins = <
+				MX7D_PAD_GPIO1_IO00__WDOD1_WDOG_B	0x74
+			>;
+		};
 	};
 };
Signature · 1 line
1.9.1
author reviewer
#2 lore raw

PATCH 3/4 ARM: dts: imx6ul-evk: Use WDOG_B pin reset

In reply to Fabio Estevam

From: Fabio Estevam <[email protected]>

imx6ul-evk has WDOG1_B pin connected to the PMIC.

Pass the 'fsl,ext-reset-output' property so that the watchdog can trigger a system POR reset via the PMIC.

---
 arch/arm/boot/dts/imx6ul-14x14-evk.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)
arch/arm/boot/dts/imx6ul-14x14-evk.dts +12 -0
index 668a729..d6ac6cb 100644
@@ -207,6 +207,12 @@
 	status = "okay";
 };
 
+&wdog1 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_wdog>;
+	fsl,ext-reset-output;
+};
+
 &iomuxc {
 	pinctrl-names = "default";
 
@@ -435,4 +441,10 @@
 			MX6UL_PAD_NAND_DATA03__USDHC2_DATA3 0x17059
 		>;
 	};
+
+	pinctrl_wdog: wdoggrp {
+		fsl,pins = <
+			MX6UL_PAD_LCD_RESET__WDOG1_WDOG_ANY    0x30b0
+		>;
+	};
 };
Signature · 1 line
1.9.1
author reviewer
#3 lore raw

PATCH 4/4 ARM: dts: imx6sx-sdb: Use WDOG_B pin reset

In reply to Fabio Estevam

From: Fabio Estevam <[email protected]>

imx6sx-sdb has WDOG1_B pin connected to the PMIC.

Pass the 'fsl,ext-reset-output' property so that the watchdog can trigger a system POR reset via the PMIC.

---
 arch/arm/boot/dts/imx6sx-sdb.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)
arch/arm/boot/dts/imx6sx-sdb.dtsi +12 -0
index e5eafe4..06ff814 100644
@@ -322,6 +322,12 @@
 	status = "okay";
 };
 
+&wdog1 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_wdog>;
+	fsl,ext-reset-output;
+};
+
 &iomuxc {
 	imx6x-sdb {
 		pinctrl_audmux: audmuxgrp {
@@ -588,5 +594,11 @@
 				MX6SX_PAD_SD4_DATA6__GPIO6_IO_20	0x17059 /* WP */
 			>;
 		};
+
+		pinctrl_wdog: wdoggrp {
+			fsl,pins = <
+				MX6SX_PAD_GPIO1_IO13__WDOG1_WDOG_ANY 0x30b0
+			>;
+		};
 	};
 };
Signature · 1 line
1.9.1