xref: /freebsd-src/sys/contrib/device-tree/src/riscv/thead/th1520-lichee-pi-4a.dts (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
1aa1a8ff2SEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2f126890aSEmmanuel Vadot/*
3f126890aSEmmanuel Vadot * Copyright (C) 2023 Jisheng Zhang <jszhang@kernel.org>
4f126890aSEmmanuel Vadot */
5f126890aSEmmanuel Vadot
6f126890aSEmmanuel Vadot#include "th1520-lichee-module-4a.dtsi"
7f126890aSEmmanuel Vadot
8f126890aSEmmanuel Vadot/ {
9f126890aSEmmanuel Vadot	model = "Sipeed Lichee Pi 4A";
10f126890aSEmmanuel Vadot	compatible = "sipeed,lichee-pi-4a", "sipeed,lichee-module-4a", "thead,th1520";
11f126890aSEmmanuel Vadot
12f126890aSEmmanuel Vadot	aliases {
13f126890aSEmmanuel Vadot		gpio0 = &gpio0;
14f126890aSEmmanuel Vadot		gpio1 = &gpio1;
15f126890aSEmmanuel Vadot		gpio2 = &gpio2;
16f126890aSEmmanuel Vadot		gpio3 = &gpio3;
17f126890aSEmmanuel Vadot		serial0 = &uart0;
18f126890aSEmmanuel Vadot		serial1 = &uart1;
19f126890aSEmmanuel Vadot		serial2 = &uart2;
20f126890aSEmmanuel Vadot		serial3 = &uart3;
21f126890aSEmmanuel Vadot		serial4 = &uart4;
22f126890aSEmmanuel Vadot		serial5 = &uart5;
23*b2d2a78aSEmmanuel Vadot		spi0 = &spi0;
24f126890aSEmmanuel Vadot	};
25f126890aSEmmanuel Vadot
26f126890aSEmmanuel Vadot	chosen {
27f126890aSEmmanuel Vadot		stdout-path = "serial0:115200n8";
28f126890aSEmmanuel Vadot	};
29f126890aSEmmanuel Vadot};
30f126890aSEmmanuel Vadot
31f126890aSEmmanuel Vadot&uart0 {
32f126890aSEmmanuel Vadot	status = "okay";
33f126890aSEmmanuel Vadot};
34*b2d2a78aSEmmanuel Vadot
35*b2d2a78aSEmmanuel Vadot&spi0 {
36*b2d2a78aSEmmanuel Vadot	status = "okay";
37*b2d2a78aSEmmanuel Vadot};
38