Commit f4237d74 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Gregory CLEMENT
Browse files

ARM: dts: armada: align LED node names with dtschema



The node names should be generic and DT schema expects certain pattern:

  armada-370-seagate-personal-cloud.dtb: gpio-leds: 'red-sata0' does not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+'

Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarGregory CLEMENT <gregory.clement@bootlin.com>
parent 4839e77b
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -86,19 +86,19 @@ &sata_l_white_pin

		pinctrl-names = "default";

		sata-r-amber-pin {
		led-sata-r-amber {
			label = "dns327l:amber:sata-r";
			gpios = <&gpio1 20 GPIO_ACTIVE_HIGH>;
			default-state = "keep";
		};

		sata-l-amber-pin {
		led-sata-l-amber {
			label = "dns327l:amber:sata-l";
			gpios = <&gpio1 21 GPIO_ACTIVE_HIGH>;
			default-state = "keep";
		};

		backup-led-pin {
		led-backup {
			label = "dns327l:white:usb";
			gpios = <&gpio1 29 GPIO_ACTIVE_HIGH>;
			default-state = "keep";
+2 −2
Original line number Diff line number Diff line
@@ -72,11 +72,11 @@ regulator@4 {
	};

	gpio-leds {
		red-sata2 {
		led-red-sata2 {
			label = "dart:red:sata2";
			gpios = <&pca9554 0 GPIO_ACTIVE_LOW>;
		};
		red-sata3 {
		led-red-sata3 {
			label = "dart:red:sata3";
			gpios = <&pca9554 3 GPIO_ACTIVE_LOW>;
		};
+4 −4
Original line number Diff line number Diff line
@@ -132,21 +132,21 @@ button-reset {
	gpio-leds {
		compatible = "gpio-leds";

		white-power {
		led-white-power {
			label = "dart:white:power";
			gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>;
			linux,default-trigger = "timer";

		};
		red-power {
		led-red-power {
			label = "dart:red:power";
			gpios = <&gpio1 31 GPIO_ACTIVE_HIGH>;
		};
		red-sata0 {
		led-red-sata0 {
			label = "dart:red:sata0";
			gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
		};
		red-sata1 {
		led-red-sata1 {
			label = "dart:red:sata1";
			gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;
		};
+1 −1
Original line number Diff line number Diff line
@@ -107,7 +107,7 @@ button-usb {
	gpio-leds {
		compatible = "gpio-leds";

		red-sata0 {
		led-red-sata0 {
			label = "cumulus:red:sata0";
			gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>;
			default-state = "off";
+2 −2
Original line number Diff line number Diff line
@@ -62,11 +62,11 @@ wps_amber@9 {
};

&gpio_leds {
	power {
	led-power {
		label = "caiman:white:power";
	};

	sata {
	led-sata {
		label = "caiman:white:sata";
	};
};
Loading