xref: /openbmc/linux/arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts (revision c900529f3d9161bfde5cca0754f83b4d3c3e0220)
1*31ceedeeSDrew Fustini// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2*31ceedeeSDrew Fustini/*
3*31ceedeeSDrew Fustini * Copyright (C) 2023 Jisheng Zhang <jszhang@kernel.org>
4*31ceedeeSDrew Fustini * Copyright (C) 2023 Drew Fustini <dfustini@baylibre.com>
5*31ceedeeSDrew Fustini */
6*31ceedeeSDrew Fustini
7*31ceedeeSDrew Fustini/dts-v1/;
8*31ceedeeSDrew Fustini
9*31ceedeeSDrew Fustini#include "th1520.dtsi"
10*31ceedeeSDrew Fustini
11*31ceedeeSDrew Fustini/ {
12*31ceedeeSDrew Fustini	model = "BeagleV Ahead";
13*31ceedeeSDrew Fustini	compatible = "beagle,beaglev-ahead", "thead,th1520";
14*31ceedeeSDrew Fustini
15*31ceedeeSDrew Fustini	aliases {
16*31ceedeeSDrew Fustini		gpio0 = &gpio0;
17*31ceedeeSDrew Fustini		gpio1 = &gpio1;
18*31ceedeeSDrew Fustini		gpio2 = &gpio2;
19*31ceedeeSDrew Fustini		gpio3 = &gpio3;
20*31ceedeeSDrew Fustini		serial0 = &uart0;
21*31ceedeeSDrew Fustini		serial1 = &uart1;
22*31ceedeeSDrew Fustini		serial2 = &uart2;
23*31ceedeeSDrew Fustini		serial3 = &uart3;
24*31ceedeeSDrew Fustini		serial4 = &uart4;
25*31ceedeeSDrew Fustini		serial5 = &uart5;
26*31ceedeeSDrew Fustini	};
27*31ceedeeSDrew Fustini
28*31ceedeeSDrew Fustini	chosen {
29*31ceedeeSDrew Fustini		stdout-path = "serial0:115200n8";
30*31ceedeeSDrew Fustini	};
31*31ceedeeSDrew Fustini
32*31ceedeeSDrew Fustini	memory@0 {
33*31ceedeeSDrew Fustini		device_type = "memory";
34*31ceedeeSDrew Fustini		reg = <0x0  0x00000000  0x1 0x00000000>;
35*31ceedeeSDrew Fustini
36*31ceedeeSDrew Fustini	};
37*31ceedeeSDrew Fustini};
38*31ceedeeSDrew Fustini
39*31ceedeeSDrew Fustini&osc {
40*31ceedeeSDrew Fustini	clock-frequency = <24000000>;
41*31ceedeeSDrew Fustini};
42*31ceedeeSDrew Fustini
43*31ceedeeSDrew Fustini&osc_32k {
44*31ceedeeSDrew Fustini	clock-frequency = <32768>;
45*31ceedeeSDrew Fustini};
46*31ceedeeSDrew Fustini
47*31ceedeeSDrew Fustini&apb_clk {
48*31ceedeeSDrew Fustini	clock-frequency = <62500000>;
49*31ceedeeSDrew Fustini};
50*31ceedeeSDrew Fustini
51*31ceedeeSDrew Fustini&uart_sclk {
52*31ceedeeSDrew Fustini	clock-frequency = <100000000>;
53*31ceedeeSDrew Fustini};
54*31ceedeeSDrew Fustini
55*31ceedeeSDrew Fustini&dmac0 {
56*31ceedeeSDrew Fustini	status = "okay";
57*31ceedeeSDrew Fustini};
58*31ceedeeSDrew Fustini
59*31ceedeeSDrew Fustini&uart0 {
60*31ceedeeSDrew Fustini	status = "okay";
61*31ceedeeSDrew Fustini};
62