mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-14 17:06:24 -04:00
ARM: dts: qcom: ipq8064: correct LED node names
GPIO LEDs is not a bus, so drop unit-address and also start suffix numbering from 0: Warning (unit_address_vs_reg): /soc/leds/led@7: node has a unit name, but no reg or ranges property Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20230420075053.41976-6-krzysztof.kozlowski@linaro.org
This commit is contained in:
committed by
Bjorn Andersson
parent
24643b229c
commit
51500b3aac
@@ -323,7 +323,7 @@ leds {
|
||||
pinctrl-0 = <&leds_pins>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
led@7 {
|
||||
led-0 {
|
||||
label = "rb3011:green:user";
|
||||
color = <LED_COLOR_ID_GREEN>;
|
||||
gpios = <&qcom_pinmux 33 GPIO_ACTIVE_HIGH>;
|
||||
|
||||
@@ -92,34 +92,34 @@ leds {
|
||||
pinctrl-0 = <&leds_pins>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
led@7 {
|
||||
led-0 {
|
||||
label = "led_usb1";
|
||||
gpios = <&qcom_pinmux 7 GPIO_ACTIVE_HIGH>;
|
||||
linux,default-trigger = "usbdev";
|
||||
default-state = "off";
|
||||
};
|
||||
|
||||
led@8 {
|
||||
led-1 {
|
||||
label = "led_usb3";
|
||||
gpios = <&qcom_pinmux 8 GPIO_ACTIVE_HIGH>;
|
||||
linux,default-trigger = "usbdev";
|
||||
default-state = "off";
|
||||
};
|
||||
|
||||
led@9 {
|
||||
led-2 {
|
||||
label = "status_led_fail";
|
||||
function = LED_FUNCTION_STATUS;
|
||||
gpios = <&qcom_pinmux 9 GPIO_ACTIVE_HIGH>;
|
||||
default-state = "off";
|
||||
};
|
||||
|
||||
led@26 {
|
||||
led-3 {
|
||||
label = "sata_led";
|
||||
gpios = <&qcom_pinmux 26 GPIO_ACTIVE_HIGH>;
|
||||
default-state = "off";
|
||||
};
|
||||
|
||||
led@53 {
|
||||
led-4 {
|
||||
label = "status_led_pass";
|
||||
function = LED_FUNCTION_STATUS;
|
||||
gpios = <&qcom_pinmux 53 GPIO_ACTIVE_HIGH>;
|
||||
|
||||
Reference in New Issue
Block a user