xref: /linux/arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts (revision c060f8168bdf22aa986970955af99702d142dfbe)
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		serial0 = &uart0;
21		serial1 = &uart1;
22		serial2 = &uart2;
23		serial3 = &uart3;
24		serial4 = &uart4;
25		serial5 = &uart5;
26		spi0 = &spi0;
27	};
28
29	chosen {
30		stdout-path = "serial0:115200n8";
31	};
32
33	memory@0 {
34		device_type = "memory";
35		reg = <0x0  0x00000000  0x1 0x00000000>;
36
37	};
38};
39
40&osc {
41	clock-frequency = <24000000>;
42};
43
44&osc_32k {
45	clock-frequency = <32768>;
46};
47
48&dmac0 {
49	status = "okay";
50};
51
52&emmc {
53	bus-width = <8>;
54	max-frequency = <198000000>;
55	mmc-hs400-1_8v;
56	non-removable;
57	no-sdio;
58	no-sd;
59	status = "okay";
60};
61
62&sdio0 {
63	bus-width = <4>;
64	max-frequency = <198000000>;
65	status = "okay";
66};
67
68&uart0 {
69	status = "okay";
70};
71
72&spi0 {
73	status = "okay";
74};
75