xref: /linux/arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts (revision 24168c5e6dfbdd5b414f048f47f75d64533296ca)
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	};
27
28	chosen {
29		stdout-path = "serial0:115200n8";
30	};
31
32	memory@0 {
33		device_type = "memory";
34		reg = <0x0  0x00000000  0x1 0x00000000>;
35
36	};
37};
38
39&osc {
40	clock-frequency = <24000000>;
41};
42
43&osc_32k {
44	clock-frequency = <32768>;
45};
46
47&apb_clk {
48	clock-frequency = <62500000>;
49};
50
51&sdhci_clk {
52	clock-frequency = <198000000>;
53};
54
55&uart_sclk {
56	clock-frequency = <100000000>;
57};
58
59&dmac0 {
60	status = "okay";
61};
62
63&emmc {
64	bus-width = <8>;
65	max-frequency = <198000000>;
66	mmc-hs400-1_8v;
67	non-removable;
68	no-sdio;
69	no-sd;
70	status = "okay";
71};
72
73&sdio0 {
74	bus-width = <4>;
75	max-frequency = <198000000>;
76	status = "okay";
77};
78
79&uart0 {
80	status = "okay";
81};
82