提交 bb366da8 编写于 作者: A Arnd Bergmann

Revert "sunxi: a10-cubieboard: Add user LEDs to the device tree"

This reverts commit 0749a442.

The patch caused a build problem in allyesconfig by referencing an
undefined device tree label 'pio'.
Signed-off-by: NArnd Bergmann <arnd@arndb.de>
上级 0672f4c7
...@@ -27,15 +27,6 @@ ...@@ -27,15 +27,6 @@
}; };
soc { 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 { uart0: uart@01c28000 {
status = "okay"; status = "okay";
}; };
...@@ -44,21 +35,4 @@ ...@@ -44,21 +35,4 @@
status = "okay"; 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";
};
};
}; };
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册