aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/sunxi
diff options
context:
space:
mode:
authorZoltan HERPAI <wigyori@uid0.hu>2014-12-12 16:11:17 +0000
committerZoltan HERPAI <wigyori@uid0.hu>2014-12-12 16:11:17 +0000
commitbbfa2b4ee9a952a12dc2289be949eb07e325dea2 (patch)
treed6ac7adf6461795f47dac0ca7c3fd99e7610d879 /target/linux/sunxi
parentd76886a4bc2b56bf723d604047091041c8141cf7 (diff)
downloadmaster-187ad058-bbfa2b4ee9a952a12dc2289be949eb07e325dea2.tar.gz
master-187ad058-bbfa2b4ee9a952a12dc2289be949eb07e325dea2.tar.bz2
master-187ad058-bbfa2b4ee9a952a12dc2289be949eb07e325dea2.zip
sunxi: fix led on bananapi
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43661 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/sunxi')
-rw-r--r--target/linux/sunxi/patches-3.14/302-2-dt-sun7i-add-bananapi-dts.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/sunxi/patches-3.14/302-2-dt-sun7i-add-bananapi-dts.patch b/target/linux/sunxi/patches-3.14/302-2-dt-sun7i-add-bananapi-dts.patch
index 8e798ea10c..aea9992410 100644
--- a/target/linux/sunxi/patches-3.14/302-2-dt-sun7i-add-bananapi-dts.patch
+++ b/target/linux/sunxi/patches-3.14/302-2-dt-sun7i-add-bananapi-dts.patch
@@ -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>;
+ };
+
@@ -156,8 +156,8 @@
+
+ green {
+ label = "bananapi:green:usr";
-+ gpios = <&pio 7 2 0>;
-+ default-state = "on";
++ gpios = <&pio 7 24 0>;
++ linux,default-trigger = "heartbeat";
+ };
+ };
+};