imx6: ventana: fix GW16083 device-tree patch
authorLuka Perkov <luka@openwrt.org>
Wed, 18 Nov 2015 22:06:50 +0000 (22:06 +0000)
committerLuka Perkov <luka@openwrt.org>
Wed, 18 Nov 2015 22:06:50 +0000 (22:06 +0000)
The 206-ARM-imx-ventana-added-GW16083-to-device-tree.patch merged wrong in
the conversion from 3.18 to 4.1. This patch resolves that and puts the
device-tree nodes in the correct place.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
SVN-Revision: 47510

target/linux/imx6/patches-4.1/206-ARM-imx-ventana-added-GW16083-to-device-tree.patch

index 6f31f956dec9693f0a3a96b3d137d3daa8110823..a9214d598ffc527798de82c2605d7e5969032d75 100644 (file)
@@ -1,9 +1,9 @@
 --- a/arch/arm/boot/dts/imx6qdl-gw51xx.dtsi
 +++ b/arch/arm/boot/dts/imx6qdl-gw51xx.dtsi
-@@ -89,6 +89,11 @@
-                       enable-active-high;
-               };
-       };
+@@ -158,6 +158,11 @@
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_i2c2>;
+       status = "okay";
 +
 +      gw16083: gw16083@52 {
 +              compatible = "gateworks,gw16083";
 +      };
  };
  
- &fec {
+ &i2c3 {
 --- a/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi
 +++ b/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi
-@@ -266,6 +266,11 @@
-                       };
-               };
-       };
+@@ -233,6 +233,11 @@
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_i2c2>;
+       status = "okay";
 +
 +      gw16083: gw16083@52 {
 +              compatible = "gateworks,gw16083";
 +      };
  };
  
- &pcie {
+ &i2c3 {
 --- a/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi
 +++ b/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi
-@@ -267,6 +267,11 @@
-                       };
-               };
-       };
+@@ -226,6 +226,11 @@
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_i2c2>;
+       status = "okay";
 +
 +      gw16083: gw16083@52 {
 +              compatible = "gateworks,gw16083";
 +      };
  };
  
- &pcie {
+ &i2c3 {
 --- a/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi
 +++ b/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi
-@@ -308,6 +308,11 @@
+@@ -317,6 +317,11 @@
                        };
                };
        };