From: Arnd Bergmann Date: Tue, 19 Feb 2013 21:27:28 +0000 (+0100) Subject: Revert "sunxi: a10-cubieboard: Add user LEDs to the device tree" X-Git-Tag: upstream/snapshot3+hdmi~5685^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bb366da87d5921cb578211916d7a67ee8984ca3b;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git Revert "sunxi: a10-cubieboard: Add user LEDs to the device tree" This reverts commit 0749a4424b5cb23262661e914d84b504c1d1d34f. The patch caused a build problem in allyesconfig by referencing an undefined device tree label 'pio'. Signed-off-by: Arnd Bergmann --- diff --git a/arch/arm/boot/dts/sun4i-a10-cubieboard.dts b/arch/arm/boot/dts/sun4i-a10-cubieboard.dts index 88e2dc1..5cab825 100644 --- a/arch/arm/boot/dts/sun4i-a10-cubieboard.dts +++ b/arch/arm/boot/dts/sun4i-a10-cubieboard.dts @@ -27,15 +27,6 @@ }; soc { - pinctrl@01c20800 { - led_pins_cubieboard: led_pins@0 { - allwinner,pins = "PH20", "PH21"; - allwinner,function = "gpio_out"; - allwinner,drive = <1>; - allwinner,pull = <0>; - }; - }; - uart0: uart@01c28000 { status = "okay"; }; @@ -44,21 +35,4 @@ status = "okay"; }; }; - - leds { - compatible = "gpio-leds"; - pinctrl-names = "default"; - pinctrl-0 = <&led_pins_cubieboard>; - - blue { - label = "cubieboard::blue"; - gpios = <&pio 7 21 0>; /* LED1 */ - }; - - green { - label = "cubieboard::green"; - gpios = <&pio 7 20 0>; /* LED2 */ - linux,default-trigger = "heartbeat"; - }; - }; };