Skip to contentSkip to conversation

ARM: dts: imx6q-bx50v3: user-space watchdog GPIO configuration

PATCH New Ian Ray 2 participants 2 messages Nov 4, 2018 – Nov 16, 2018

Subsystems (2)
lore
Share & tools
lore

Ian Ray

author
#0 lore raw

PATCH 1/1 ARM: dts: imx6q-bx50v3: user-space watchdog GPIO configuration

Leave b{4,6}50v3 GPIO expander pca953x pins P05,P10,P11 unconfigured as they are now used to implement an additional watchdog mechanism in user space. P10,P11 pins remain unused (and therefore hogged) on b850v3.

---
 arch/arm/boot/dts/imx6q-b450v3.dts  |  7 -------
 arch/arm/boot/dts/imx6q-b650v3.dts  |  7 -------
 arch/arm/boot/dts/imx6q-b850v3.dts  | 16 ++++++++++++++++
 arch/arm/boot/dts/imx6q-bx50v3.dtsi | 14 --------------
 4 files changed, 16 insertions(+), 28 deletions(-)
arch/arm/boot/dts/imx6q-b450v3.dts +0 -7
index 3ec5850..95b8f2d 100644
@@ -98,13 +98,6 @@
 		line-name = "PCA9539-P04";
 	};
 
-	P05 {
-		gpio-hog;
-		gpios = <5 0>;
-		output-low;
-		line-name = "PCA9539-P05";
-	};
-
         P07 {
                 gpio-hog;
                 gpios = <7 0>;
arch/arm/boot/dts/imx6q-b650v3.dts +0 -7
index 5650a9b..611cb7a 100644
@@ -91,13 +91,6 @@
 };
 
 &pca9539 {
-	P05 {
-		gpio-hog;
-		gpios = <5 0>;
-		output-low;
-		line-name = "PCA9539-P05";
-	};
-
         P07 {
                 gpio-hog;
                 gpios = <7 0>;
arch/arm/boot/dts/imx6q-b850v3.dts +16 -0
index 044a5be..e4cb118 100644
@@ -209,6 +209,22 @@
 	};
 };
 
+&pca9539 {
+	P10 {
+		gpio-hog;
+		gpios = <8 0>;
+		output-low;
+		line-name = "PCA9539-P10";
+	};
+
+	P11 {
+		gpio-hog;
+		gpios = <9 0>;
+		output-low;
+		line-name = "PCA9539-P11";
+	};
+};
+
 &pci_root {
 	/* PLX Technology, Inc. PEX 8605 PCI Express 4-port Gen2 Switch */
 	bridge at 1,0 {
arch/arm/boot/dts/imx6q-bx50v3.dtsi +0 -14
index d3cba09..fa27dcd 100644
@@ -233,20 +233,6 @@
 				interrupt-parent = <&gpio2>;
 				interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
 
-				P10 {
-					gpio-hog;
-					gpios = <8 0>;
-					output-low;
-					line-name = "PCA9539-P10";
-				};
-
-				P11 {
-					gpio-hog;
-					gpios = <9 0>;
-					output-low;
-					line-name = "PCA9539-P11";
-				};
-
 				P12 {
 					gpio-hog;
 					gpios = <10 0>;
Signature · 1 line
2.10.1
Applied
#1 lore raw

PATCH 1/1 ARM: dts: imx6q-bx50v3: user-space watchdog GPIO configuration

Quoted 5 lines · Ian Ray

Leave b{4,6}50v3 GPIO expander pca953x pins P05,P10,P11 unconfigured as they are now used to implement an additional watchdog mechanism in user space. P10,P11 pins remain unused (and therefore hogged) on b850v3.

Applied, thanks.