The node names should be generic and DT schema expects certain pattern: qcom-ipq4018-ap120c-ac.dtb: leds: 'wlan2g', 'wlan5g' do not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+' 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/20221125144209.477328-2-krzysztof.kozlowski@linaro.org
34 lines
714 B
Text
34 lines
714 B
Text
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
#include <dt-bindings/leds/common.h>
|
|
#include "qcom-ipq4018-ap120c-ac.dtsi"
|
|
|
|
/ {
|
|
model = "ALFA Network AP120C-AC Bit";
|
|
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
|
|
led-power {
|
|
label = "ap120c-ac:green:power";
|
|
function = LED_FUNCTION_POWER;
|
|
color = <LED_COLOR_ID_GREEN>;
|
|
gpios = <&tlmm 5 GPIO_ACTIVE_LOW>;
|
|
default-state = "on";
|
|
};
|
|
|
|
led-wlan {
|
|
label = "ap120c-ac:green:wlan";
|
|
function = LED_FUNCTION_WLAN;
|
|
color = <LED_COLOR_ID_GREEN>;
|
|
gpios = <&tlmm 3 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
|
|
led-support {
|
|
label = "ap120c-ac:green:support";
|
|
color = <LED_COLOR_ID_GREEN>;
|
|
gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>;
|
|
panic-indicator;
|
|
};
|
|
};
|
|
};
|