dts: add work and power led in rk3128-box.dts

This commit is contained in:
huang zhibao
2015-03-17 09:29:06 +08:00
parent 1f68318ca1
commit 3cfc69712b
2 changed files with 13 additions and 3 deletions

View File

@@ -61,11 +61,11 @@
power-led {
compatible = "gpio-leds";
green {
power {
gpios = <&gpio0 GPIO_B0 GPIO_ACTIVE_LOW>;
default-state = "on";
};
red {
work {
gpios = <&gpio0 GPIO_D2 GPIO_ACTIVE_HIGH>;
default-state = "on";
};

View File

@@ -67,7 +67,17 @@
};
};
};
power-led {
compatible = "gpio-leds";
power {
gpios = <&gpio0 GPIO_B0 GPIO_ACTIVE_LOW>;
default-state = "on";
};
work {
gpios = <&gpio0 GPIO_D2 GPIO_ACTIVE_HIGH>;
default-state = "on";
};
};
usb_control {
compatible = "rockchip,rk3126-usb-control";
host_drv_gpio = <&gpio3 GPIO_C4 GPIO_ACTIVE_LOW>;