Commit 09e61efd authored by Arınç ÜNAL's avatar Arınç ÜNAL Committed by Thomas Bogendoerfer
Browse files

mips: dts: align LED node names with dtschema



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

  mt7621-gnubee-gb-pc1.dtb: gpio-leds: 'power', 'system' do not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+'

Signed-off-by: default avatarArınç ÜNAL <arinc.unal@arinc9.com>
Reviewed-by: default avatarSergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent 159c610a
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -20,27 +20,27 @@
	leds {
		compatible = "gpio-leds";

		usb1 {
		led-usb1 {
			label = "usb1";
			gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
		};

		usb2 {
		led-usb2 {
			label = "usb2";
			gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
		};

		wps {
		led-wps {
			label = "wps";
			gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
		};

		wireless1 {
		led-wireless1 {
			label = "5g";
			gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
		};

		wireless2 {
		led-wireless2 {
			label = "2.4g";
			gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
		};
+3 −3
Original line number Diff line number Diff line
@@ -21,15 +21,15 @@
	leds {
		compatible = "gpio-leds";

		usb {
		led-usb {
			gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
		};

		wps {
		led-wps {
			gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
		};

		wireless {
		led-wireless {
			label = "2.4g";
			gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
		};
+4 −4
Original line number Diff line number Diff line
@@ -42,25 +42,25 @@
	leds {
		compatible = "gpio-leds";

		led0 {
		led-0 {
			label = "ci20:red:led0";
			gpios = <&gpc 3 GPIO_ACTIVE_HIGH>;
			linux,default-trigger = "none";
		};

		led1 {
		led-1 {
			label = "ci20:red:led1";
			gpios = <&gpc 2 GPIO_ACTIVE_HIGH>;
			linux,default-trigger = "nand-disk";
		};

		led2 {
		led-2 {
			label = "ci20:red:led2";
			gpios = <&gpc 1 GPIO_ACTIVE_HIGH>;
			linux,default-trigger = "cpu1";
		};

		led3 {
		led-3 {
			label = "ci20:red:led3";
			gpios = <&gpc 0 GPIO_ACTIVE_HIGH>;
			linux,default-trigger = "cpu0";
+3 −3
Original line number Diff line number Diff line
@@ -28,19 +28,19 @@
		pinctrl-names = "default";
		pinctrl-0 = <&user_leds_s0>;

		led@1 {
		led-1 {
			label = "pic32mzda_sk:red:led1";
			gpios = <&gpio7 0 GPIO_ACTIVE_HIGH>;
			linux,default-trigger = "heartbeat";
		};

		led@2 {
		led-2 {
			label = "pic32mzda_sk:yellow:led2";
			gpios = <&gpio7 1 GPIO_ACTIVE_HIGH>;
			linux,default-trigger = "mmc0";
		};

		led@3 {
		led-3 {
			label = "pic32mzda_sk:green:led3";
			gpios = <&gpio7 2 GPIO_ACTIVE_HIGH>;
			default-state = "on";
+4 −4
Original line number Diff line number Diff line
@@ -41,23 +41,23 @@

	leds {
		compatible = "gpio-leds";
		led@0 {
		led-0 {
			label = "tp-link:green:usb";
			gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
		};

		led@1 {
		led-1 {
			label = "tp-link:green:system";
			gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
			linux,default-trigger = "heartbeat";
		};

		led@2 {
		led-2 {
			label = "tp-link:green:qss";
			gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
		};

		led@3 {
		led-3 {
			label = "tp-link:green:wlan";
			gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
		};
Loading