1/*
2 * Copyright 2023 honglin leng <a909204013@gmail.com>
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/dts-v1/;
8
9#include <broadcom/bcm2711.dtsi>
10#include <zephyr/dt-bindings/gpio/gpio.h>
11
12/ {
13	model = "Raspberry Pi 4 Model B";
14	compatible = "raspberrypi,4-model-b", "brcm,bcm2838";
15	#address-cells = <1>;
16	#size-cells = <1>;
17
18	aliases {
19		led0 = &led_act;
20	};
21
22	chosen {
23		zephyr,console = &uart1;
24		zephyr,shell-uart = &uart1;
25		zephyr,sram = &sram0;
26	};
27
28	leds {
29		compatible = "gpio-leds";
30
31		led_act: led-act {
32			gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>; /* GPIO 42 */
33			label = "ACT";
34		};
35	};
36};
37
38&gpio1 {
39	status = "okay";
40};
41
42&uart1 {
43	status = "okay";
44	current-speed = <115200>;
45};
46