Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 70bd28eb authored by Enric Balletbo i Serra's avatar Enric Balletbo i Serra Committed by Tony Lindgren
Browse files

ARM: dts: am335x-sl50: fix label names for all LEDs



Fix the label for all LEDs, we made a mistake setting the label names on
all LEDs, where says green should say red, and viceversa, where says red
should be green.

Signed-off-by: default avatarEnric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent e5f89dbd
Loading
Loading
Loading
Loading
+10 −4
Original line number Original line Diff line number Diff line
@@ -36,25 +36,25 @@
		pinctrl-0 = <&led_pins>;
		pinctrl-0 = <&led_pins>;


		led0 {
		led0 {
			label = "sl50:green:usr0";
			label = "sl50:red:usr0";
			gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;
			gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;
			default-state = "off";
			default-state = "off";
		};
		};


		led1 {
		led1 {
			label = "sl50:red:usr1";
			label = "sl50:green:usr1";
			gpios = <&gpio1 22 GPIO_ACTIVE_LOW>;
			gpios = <&gpio1 22 GPIO_ACTIVE_LOW>;
			default-state = "off";
			default-state = "off";
		};
		};


		led2 {
		led2 {
			label = "sl50:green:usr2";
			label = "sl50:red:usr2";
			gpios = <&gpio1 23 GPIO_ACTIVE_LOW>;
			gpios = <&gpio1 23 GPIO_ACTIVE_LOW>;
			default-state = "off";
			default-state = "off";
		};
		};


		led3 {
		led3 {
			label = "sl50:red:usr3";
			label = "sl50:green:usr3";
			gpios = <&gpio1 24 GPIO_ACTIVE_LOW>;
			gpios = <&gpio1 24 GPIO_ACTIVE_LOW>;
			default-state = "off";
			default-state = "off";
		};
		};
@@ -433,6 +433,12 @@
			/* PDI Bus - Battery system */
			/* PDI Bus - Battery system */
			AM33XX_IOPAD(0x840, PIN_INPUT_PULLUP | MUX_MODE7)	/* nBattReset  gpmc_a0.gpio1_16 */
			AM33XX_IOPAD(0x840, PIN_INPUT_PULLUP | MUX_MODE7)	/* nBattReset  gpmc_a0.gpio1_16 */
			AM33XX_IOPAD(0x83c, PIN_INPUT_PULLUP | MUX_MODE7)	/* BattPDIData gpmc_ad15.gpio1_15 */
			AM33XX_IOPAD(0x83c, PIN_INPUT_PULLUP | MUX_MODE7)	/* BattPDIData gpmc_ad15.gpio1_15 */
			/* FPGA */
			AM33XX_IOPAD(0x820, PIN_INPUT_PULLUP | MUX_MODE7)	/* FPGA_DONE - gpmc_ad8.gpio0_22 */
			AM33XX_IOPAD(0x840, PIN_INPUT_PULLUP | MUX_MODE7)	/* FPGA_NRST - gpmc_a0.gpio1_16 */
			AM33XX_IOPAD(0x844, PIN_INPUT_PULLDOWN | MUX_MODE7)	/* FPGA_RUN - gpmc_a1.gpio1_17 */
			AM33XX_IOPAD(0x864, PIN_INPUT_PULLUP | MUX_MODE7)	/* ENFPGA - gpmc_a9.gpio1_25 */
			AM33XX_IOPAD(0x868, PIN_INPUT_PULLDOWN | MUX_MODE7)	/* FPGA_PROGRAM - gpmc_a10.gpio1_26 */
		>;
		>;
	};
	};
};
};