mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

dtbs_check warnings: leds: 'd[0-9]', 'ds[0-9]' do not match any of the regexes : '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+' leds: 'red', 'green', 'blue' do not match any of regexes : '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+' Rename the led sub nodes according to devicetree specification and leds-gpio.yaml and for aks-cdu add label property and use the old node name as value to stay stable and avoid breaking the userspace applications that depend on those paths. Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Andrei Simion <andrei.simion@microchip.com> Link: https://lore.kernel.org/r/20241002123010.111028-4-andrei.simion@microchip.com Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
28 lines
593 B
Text
28 lines
593 B
Text
// SPDX-License-Identifier: GPL-2.0-only
|
|
/*
|
|
* at91sam9g20ek.dts - Device Tree file for Atmel at91sam9g20ek board
|
|
*
|
|
* Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
|
|
*/
|
|
/dts-v1/;
|
|
#include "at91sam9g20ek_common.dtsi"
|
|
|
|
/ {
|
|
model = "Atmel at91sam9g20ek";
|
|
compatible = "atmel,at91sam9g20ek", "atmel,at91sam9g20", "atmel,at91sam9";
|
|
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
|
|
led-ds1 {
|
|
label = "ds1";
|
|
gpios = <&pioA 9 GPIO_ACTIVE_HIGH>;
|
|
linux,default-trigger = "heartbeat";
|
|
};
|
|
|
|
led-ds5 {
|
|
label = "ds5";
|
|
gpios = <&pioA 6 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
};
|