xref: /linux/arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts (revision 33d3a63f9ab3818c637e2254e67b1883edd0b2e6)
1// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2/*
3 * Copyright (C) 2023 Jisheng Zhang <jszhang@kernel.org>
4 * Copyright (C) 2023 Drew Fustini <dfustini@baylibre.com>
5 */
6
7/dts-v1/;
8
9#include "th1520.dtsi"
10
11/ {
12	model = "BeagleV Ahead";
13	compatible = "beagle,beaglev-ahead", "thead,th1520";
14
15	aliases {
16		gpio0 = &gpio0;
17		gpio1 = &gpio1;
18		gpio2 = &gpio2;
19		gpio3 = &gpio3;
20		gpio4 = &gpio4;
21		gpio5 = &aogpio;
22		serial0 = &uart0;
23		serial1 = &uart1;
24		serial2 = &uart2;
25		serial3 = &uart3;
26		serial4 = &uart4;
27		serial5 = &uart5;
28		spi0 = &spi0;
29	};
30
31	chosen {
32		stdout-path = "serial0:115200n8";
33	};
34
35	memory@0 {
36		device_type = "memory";
37		reg = <0x0  0x00000000  0x1 0x00000000>;
38
39	};
40};
41
42&osc {
43	clock-frequency = <24000000>;
44};
45
46&osc_32k {
47	clock-frequency = <32768>;
48};
49
50&dmac0 {
51	status = "okay";
52};
53
54&emmc {
55	bus-width = <8>;
56	max-frequency = <198000000>;
57	mmc-hs400-1_8v;
58	non-removable;
59	no-sdio;
60	no-sd;
61	status = "okay";
62};
63
64&sdio0 {
65	bus-width = <4>;
66	max-frequency = <198000000>;
67	status = "okay";
68};
69
70&uart0 {
71	status = "okay";
72};
73
74&spi0 {
75	status = "okay";
76};
77