From: Zoltan Herpai Date: Fri, 12 Dec 2014 16:11:17 +0000 (+0000) Subject: sunxi: fix led on bananapi X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=8feb4911569163320e3daca8cae21e2ba81f8cd7;p=openwrt%2Fstaging%2Fadrian.git sunxi: fix led on bananapi Signed-off-by: Zoltan HERPAI SVN-Revision: 43661 --- 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"; + }; + }; +};