瀏覽代碼

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 <arnd@arndb.de>
Arnd Bergmann 12 年之前
父節點
當前提交
bb366da87d
共有 1 個文件被更改,包括 0 次插入26 次删除
  1. 0 26
      arch/arm/boot/dts/sun4i-a10-cubieboard.dts

+ 0 - 26
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";
-		};
-	};
 };