arch/arm/boot/dts/rockchip/rk3288-phycore-rdk.dts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
From: Fabio Estevam <festevam@nabladev.com>
According to nxp,pca953x.yaml, the pattern for the led names should be:
"^led-[0-9a-z]+$".
Change it accordingly to fix the following dt-schema warning"
leddimmer@62 (nxp,pca9533): 'led1', 'led2', 'led3', 'led4' do not match any
of the regexes: '^led-[0-9a-z]+$', '^pinctrl-[0-9]+$'
Signed-off-by: Fabio Estevam <festevam@nabladev.com>
---
arch/arm/boot/dts/rockchip/rk3288-phycore-rdk.dts | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm/boot/dts/rockchip/rk3288-phycore-rdk.dts b/arch/arm/boot/dts/rockchip/rk3288-phycore-rdk.dts
index d411fd9811fd..46362e804daf 100644
--- a/arch/arm/boot/dts/rockchip/rk3288-phycore-rdk.dts
+++ b/arch/arm/boot/dts/rockchip/rk3288-phycore-rdk.dts
@@ -125,25 +125,25 @@ leddim: leddimmer@62 {
compatible = "nxp,pca9533";
reg = <0x62>;
- led1 {
+ led-1 {
label = "red:user1";
linux,default-trigger = "none";
type = <PCA9532_TYPE_LED>;
};
- led2 {
+ led-2 {
label = "green:user2";
linux,default-trigger = "none";
type = <PCA9532_TYPE_LED>;
};
- led3 {
+ led-3 {
label = "blue:user3";
linux,default-trigger = "none";
type = <PCA9532_TYPE_LED>;
};
- led4 {
+ led-4 {
label = "red:user4";
linux,default-trigger = "none";
type = <PCA9532_TYPE_LED>;
--
2.43.0
On Wed, 11 Mar 2026 10:56:04 -0300, Fabio Estevam wrote:
> According to nxp,pca953x.yaml, the pattern for the led names should be:
> "^led-[0-9a-z]+$".
>
> Change it accordingly to fix the following dt-schema warning"
>
> leddimmer@62 (nxp,pca9533): 'led1', 'led2', 'led3', 'led4' do not match any
> of the regexes: '^led-[0-9a-z]+$', '^pinctrl-[0-9]+$'
>
> [...]
Applied, thanks!
[1/1] ARM: dts: rockchip: Fix LED node names on rk3288-phycore-rdk
commit: 8d11cbff066fd9ba866b20ff823eca15301095a6
Best regards,
--
Heiko Stuebner <heiko@sntech.de>
© 2016 - 2026 Red Hat, Inc.