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

Commit 1bc54652 authored by Josh Wu's avatar Josh Wu Committed by Nicolas Ferre
Browse files

ARM: at91/dt: sama5d4ek: add leds in DT node



Add the leds DT node in the dts file.
In the leds, d10 is set as heartbeat led.

Signed-off-by: default avatarJosh Wu <josh.wu@atmel.com>
Signed-off-by: default avatarNicolas Ferre <nicolas.ferre@atmel.com>
parent 4cc7cdf3
Loading
Loading
Loading
Loading
+22 −0
Original line number Diff line number Diff line
@@ -255,4 +255,26 @@
			gpio-key,wakeup;
		};
	};

	leds {
		compatible = "gpio-leds";
		status = "okay";

		d8 {
			label = "d8";
			/* PE28, conflicts with usart4 rts pin */
			gpios = <&pioE 28 GPIO_ACTIVE_LOW>;
		};

		d9 {
			label = "d9";
			gpios = <&pioE 9 GPIO_ACTIVE_HIGH>;
		};

		d10 {
			label = "d10";
			gpios = <&pioE 8 GPIO_ACTIVE_LOW>;
			linux,default-trigger = "heartbeat";
		};
	};
};