boards: arm64: rpi_4b: Add DTS node for LED_ACT

LED_ACT is the green LED at the top left corner of the RPi 4B board.

Signed-off-by: Chen Xingyu <hi@xingrz.me>
This commit is contained in:
Chen Xingyu 2023-09-29 20:46:16 +08:00 committed by Carles Cufí
parent a2ef2f7605
commit 6739063847

View file

@ -7,17 +7,36 @@
/dts-v1/;
#include <broadcom/bcm2711.dtsi>
#include <zephyr/dt-bindings/gpio/gpio.h>
/ {
model = "Raspberry Pi 4 Model B";
compatible = "raspberrypi,4-model-b", "brcm,bcm2838";
#address-cells = <1>;
#size-cells = <1>;
aliases {
led0 = &led_act;
};
chosen {
zephyr,console = &uart1;
zephyr,shell-uart = &uart1;
zephyr,sram = &sram0;
};
leds {
compatible = "gpio-leds";
led_act: led-act {
gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>; /* GPIO 42 */
label = "ACT";
};
};
};
&gpio1 {
status = "okay";
};
&uart1 {