adm5120: drop 3.8 and 3.14 support
[openwrt/openwrt.git] / target / linux / sunxi / patches-3.14 / 302-2-dt-sun7i-add-bananapi-dts.patch
index 4ea3833aa2c7ea5e26915a7abe6a0a1a09244cc2..aea9992410a14b2b058079e55708387061b73ef3 100644 (file)
@@ -1,6 +1,5 @@
-diff -ruN old/arch/arm/boot/dts/sun7i-a20-bananapi.dts new/arch/arm/boot/dts/sun7i-a20-bananapi.dts
---- old/arch/arm/boot/dts/sun7i-a20-bananapi.dts       1970-01-01 01:00:00.000000000 +0100
-+++ new/arch/arm/boot/dts/sun7i-a20-bananapi.dts       2014-10-23 15:44:48.000000000 +0200
+--- /dev/null
++++ b/arch/arm/boot/dts/sun7i-a20-bananapi.dts
 @@ -0,0 +1,160 @@
 +/*
 + * Copyright 2014 Zoltan HERPAI
@@ -79,9 +78,9 @@ diff -ruN old/arch/arm/boot/dts/sun7i-a20-bananapi.dts new/arch/arm/boot/dts/sun
 +
 +              pinctrl@01c20800 {
 +                      led_pins_bananapi: led_pins@0 {
-+                              allwinner,pins = "PH2";
++                              allwinner,pins = "PH24";
 +                              allwinner,function = "gpio_out";
-+                              allwinner,drive = <1>;
++                              allwinner,drive = <0>;
 +                              allwinner,pull = <0>;
 +                      };
 +
@@ -157,10 +156,8 @@ diff -ruN old/arch/arm/boot/dts/sun7i-a20-bananapi.dts new/arch/arm/boot/dts/sun
 +
 +              green {
 +                      label = "bananapi:green:usr";
-+                      gpios = <&pio 7 2 0>;
-+                      default-state = "on";
++                      gpios = <&pio 7 24 0>;
++                      linux,default-trigger = "heartbeat";
 +              };
 +      };
 +};
-diff -ruN old/arch/arm/boot/dts/sun7i-a20-cubietruck.dts new/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
-diff -ruN old/arch/arm/boot/dts/sun7i-a20-pcduino3.dts new/arch/arm/boot/dts/sun7i-a20-pcduino3.dts