kirkwood: convert to new LED color/function format where possible
Initial conversion to new LED color/function format and drop label format where possible. The same label is composed at runtime. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
parent
959db199c9
commit
726f286377
1 changed files with 4 additions and 1 deletions
|
@ -1,6 +1,8 @@
|
||||||
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
|
|
||||||
|
#include <dt-bindings/leds/common.h>
|
||||||
|
|
||||||
#include "kirkwood.dtsi"
|
#include "kirkwood.dtsi"
|
||||||
#include "kirkwood-6281.dtsi"
|
#include "kirkwood-6281.dtsi"
|
||||||
|
|
||||||
|
@ -43,7 +45,8 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
usb {
|
usb {
|
||||||
label = "blue:usb";
|
function = LED_FUNCTION_USB;
|
||||||
|
color = <LED_COLOR_ID_BLUE>;
|
||||||
gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
|
||||||
trigger-sources = <&ehci_port1>;
|
trigger-sources = <&ehci_port1>;
|
||||||
linux,default-trigger = "usbport";
|
linux,default-trigger = "usbport";
|
||||||
|
|
Loading…
Reference in a new issue