From bbfa2b4ee9a952a12dc2289be949eb07e325dea2 Mon Sep 17 00:00:00 2001 From: Zoltan HERPAI Date: Fri, 12 Dec 2014 16:11:17 +0000 Subject: sunxi: fix led on bananapi Signed-off-by: Zoltan HERPAI git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43661 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../sunxi/patches-3.14/302-2-dt-sun7i-add-bananapi-dts.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'target') 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"; + }; + }; +}; -- cgit v1.2.3