]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: imx6q-bx50v3: change pca953x GPIO default settings
authorKen Lin <yungching0725@gmail.com>
Fri, 3 Feb 2017 01:21:14 +0000 (09:21 +0800)
committerShawn Guo <shawnguo@kernel.org>
Tue, 7 Mar 2017 11:38:34 +0000 (12:38 +0100)
Leave pca953x P06,P07 pins on b850v3 platform and P06 pin on
b450v3/b650v3 unconfigured in the kernel space since they could be
configured as DP1_RST and DP2_RST by the applications for the DP FW
update support.

Signed-off-by: Ken Lin <ken.lin@advantech.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6q-b450v3.dts
arch/arm/boot/dts/imx6q-b650v3.dts
arch/arm/boot/dts/imx6q-bx50v3.dtsi

index 116bebb5e4353d229b170b697ca9b0abe51a18fa..404a93d9596ba6ed04510a49dd25a7bd5961f0e1 100644 (file)
@@ -104,4 +104,11 @@ P05 {
                output-low;
                line-name = "PCA9539-P05";
        };
+
+        P07 {
+                gpio-hog;
+                gpios = <7 0>;
+                output-low;
+                line-name = "PCA9539-P07";
+        };
 };
index 33f5c436c09f65878213126af440546ddbd81b00..7f9f176901d4c5842fbf35ed33cf61e7192222ca 100644 (file)
@@ -97,6 +97,13 @@ P05 {
                output-low;
                line-name = "PCA9539-P05";
        };
+
+        P07 {
+                gpio-hog;
+                gpios = <7 0>;
+                output-low;
+                line-name = "PCA9539-P07";
+        };
 };
 
 &usbphy1 {
index 36d6bb39593a005b20723d1c5517c51ef9bfd2d8..fd0a36c10624e5d5cf08968683d2702cf75cd35c 100644 (file)
@@ -183,20 +183,6 @@ pca9539: pca9539@74 {
                                interrupt-parent = <&gpio2>;
                                interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
 
-                               P06 {
-                                       gpio-hog;
-                                       gpios = <6 0>;
-                                       output-low;
-                                       line-name = "PCA9539-P06";
-                               };
-
-                               P07 {
-                                       gpio-hog;
-                                       gpios = <7 0>;
-                                       output-low;
-                                       line-name = "PCA9539-P07";
-                               };
-
                                P10 {
                                        gpio-hog;
                                        gpios = <8 0>;