Commit 4b0d1f27 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Shawn Guo
Browse files

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



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

  imx50-kobo-aura.dtb: gpio-leds: 'on' does not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+'
  imx6dl-yapp4-draco.dtb: led-controller@30: 'chan@0', 'chan@1', 'chan@2' do not match any of the regexes: '^led@[0-8]$', '^multi-led@[0-8]$', 'pinctrl-[0-9]+'

Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 91ccc781
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@
		pinctrl-names = "default";
		pinctrl-0 = <&pinctrl_leds>;

		on {
		led-on {
			label = "kobo_aura:orange:on";
			gpios = <&gpio6 24 GPIO_ACTIVE_LOW>;
			panic-indicator;
+5 −5
Original line number Diff line number Diff line
@@ -86,27 +86,27 @@
	leds {
		compatible = "gpio-leds";

		pwr-r {
		led-pwr-r {
			gpios = <&gpio3 22 GPIO_ACTIVE_HIGH>;
			default-state = "off";
		};

		pwr-g {
		led-pwr-g {
			gpios = <&gpio3 24 GPIO_ACTIVE_HIGH>;
			default-state = "on";
		};

		pwr-b {
		led-pwr-b {
			gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>;
			default-state = "off";
		};

		sd1-b {
		led-sd1-b {
			linux,default-trigger = "mmc0";
			gpios = <&gpio3 20 GPIO_ACTIVE_HIGH>;
		};

		sd2-b {
		led-sd2-b {
			linux,default-trigger = "mmc1";
			gpios = <&gpio3 17 GPIO_ACTIVE_HIGH>;
		};
+2 −2
Original line number Diff line number Diff line
@@ -52,13 +52,13 @@
		pinctrl-names = "default";
		pinctrl-0 = <&led_pin_gpio>;

		user1 {
		led-user1 {
			label = "user1";
			gpios = <&gpio2 8 0>;
			linux,default-trigger = "heartbeat";
		};

		user2 {
		led-user2 {
			label = "user2";
			gpios = <&gpio2 9 0>;
			linux,default-trigger = "heartbeat";
+3 −3
Original line number Diff line number Diff line
@@ -34,19 +34,19 @@
		pinctrl-names = "default";
		pinctrl-0 = <&pinctrl_led>;

		user1 {
		led-user1 {
			label = "TestLed601";
			gpios = <&gpio6 1 GPIO_ACTIVE_HIGH>;
			linux,default-trigger = "mmc0";
		};

		user2 {
		led-user2 {
			label = "TestLed602";
			gpios = <&gpio6 2 GPIO_ACTIVE_HIGH>;
			linux,default-trigger = "heartbeat";
		};

		eth {
		led-eth {
			label = "EthLedYe";
			gpios = <&gpio2 11 GPIO_ACTIVE_LOW>;
			linux,default-trigger = "netdev";
+1 −1
Original line number Diff line number Diff line
@@ -94,7 +94,7 @@
		pinctrl-names = "default";
		pinctrl-0 = <&pinctrl_stk5led>;

		user {
		led-user {
			label = "Heartbeat";
			gpios = <&gpio2 20 GPIO_ACTIVE_HIGH>;
			linux,default-trigger = "heartbeat";
Loading