sunxi: fix led on bananapi
authorZoltan Herpai <wigyori@uid0.hu>
Fri, 12 Dec 2014 16:11:17 +0000 (16:11 +0000)
committerZoltan Herpai <wigyori@uid0.hu>
Fri, 12 Dec 2014 16:11:17 +0000 (16:11 +0000)
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 43661

target/linux/sunxi/patches-3.14/302-2-dt-sun7i-add-bananapi-dts.patch

index 8e798ea10cc7d4d351a18cf7e22e113a991d061b..aea9992410a14b2b058079e55708387061b73ef3 100644 (file)
@@ -78,9 +78,9 @@
 +
 +              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>;
 +                      };
 +
 +
 +              green {
 +                      label = "bananapi:green:usr";
-+                      gpios = <&pio 7 2 0>;
-+                      default-state = "on";
++                      gpios = <&pio 7 24 0>;
++                      linux,default-trigger = "heartbeat";
 +              };
 +      };
 +};