Commit 4348cafa authored by Andriy Gelman's avatar Andriy Gelman Committed by Carles Cufi
Browse files

boards: xmc45_relax_kit: Add led node

Adds two LEDs.

Signed-off-by: default avatarAndriy Gelman <andriy.gelman@gmail.com>
parent af6179d5
Loading
Loading
Loading
Loading
+19 −0
Changes for boards/arm/xmc45_relax_kit/xmc45_relax_kit.dts: 19 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -15,6 +15,21 @@
	compatible = "infineon,xm4500-relax-kit", "infineon,xmc4500",
						"infineon,xmc4xxx";

	aliases {
		led0 = &led1;
	};

	leds {
		compatible = "gpio-leds";
		/* leds are labelled LED1 and LED2 in the relax kit documentation */
		led1: led1 {
			gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>;
		};
		led2: led2 {
			gpios = <&gpio1 0 GPIO_ACTIVE_HIGH>;
		};
	};

	chosen {
		zephyr,sram = &dsram1;
		zephyr,flash = &flash0;
@@ -33,3 +48,7 @@
	label = "UART_0";
	status = "okay";
};

&gpio1 {
	status = "okay";
};