xref: /freebsd/sys/contrib/device-tree/src/riscv/thead/th1520-lichee-module-4a.dtsi (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
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/dts-v1/;
7f126890aSEmmanuel Vadot
8f126890aSEmmanuel Vadot#include "th1520.dtsi"
9f126890aSEmmanuel Vadot
10f126890aSEmmanuel Vadot/ {
11f126890aSEmmanuel Vadot	model = "Sipeed Lichee Module 4A";
12f126890aSEmmanuel Vadot	compatible = "sipeed,lichee-module-4a", "thead,th1520";
13f126890aSEmmanuel Vadot
14f126890aSEmmanuel Vadot	memory@0 {
15f126890aSEmmanuel Vadot		device_type = "memory";
16f126890aSEmmanuel Vadot		reg = <0x0 0x00000000 0x2 0x00000000>;
17f126890aSEmmanuel Vadot	};
18f126890aSEmmanuel Vadot};
19f126890aSEmmanuel Vadot
20f126890aSEmmanuel Vadot&osc {
21f126890aSEmmanuel Vadot	clock-frequency = <24000000>;
22f126890aSEmmanuel Vadot};
23f126890aSEmmanuel Vadot
24f126890aSEmmanuel Vadot&osc_32k {
25f126890aSEmmanuel Vadot	clock-frequency = <32768>;
26f126890aSEmmanuel Vadot};
27f126890aSEmmanuel Vadot
28f126890aSEmmanuel Vadot&apb_clk {
29f126890aSEmmanuel Vadot	clock-frequency = <62500000>;
30f126890aSEmmanuel Vadot};
31f126890aSEmmanuel Vadot
32*8d13bc63SEmmanuel Vadot&sdhci_clk {
33*8d13bc63SEmmanuel Vadot	clock-frequency = <198000000>;
34*8d13bc63SEmmanuel Vadot};
35*8d13bc63SEmmanuel Vadot
36f126890aSEmmanuel Vadot&uart_sclk {
37f126890aSEmmanuel Vadot	clock-frequency = <100000000>;
38f126890aSEmmanuel Vadot};
39f126890aSEmmanuel Vadot
40f126890aSEmmanuel Vadot&dmac0 {
41f126890aSEmmanuel Vadot	status = "okay";
42f126890aSEmmanuel Vadot};
43*8d13bc63SEmmanuel Vadot
44*8d13bc63SEmmanuel Vadot&emmc {
45*8d13bc63SEmmanuel Vadot	bus-width = <8>;
46*8d13bc63SEmmanuel Vadot	max-frequency = <198000000>;
47*8d13bc63SEmmanuel Vadot	mmc-hs400-1_8v;
48*8d13bc63SEmmanuel Vadot	non-removable;
49*8d13bc63SEmmanuel Vadot	no-sdio;
50*8d13bc63SEmmanuel Vadot	no-sd;
51*8d13bc63SEmmanuel Vadot	status = "okay";
52*8d13bc63SEmmanuel Vadot};
53*8d13bc63SEmmanuel Vadot
54*8d13bc63SEmmanuel Vadot&sdio0 {
55*8d13bc63SEmmanuel Vadot	bus-width = <4>;
56*8d13bc63SEmmanuel Vadot	max-frequency = <198000000>;
57*8d13bc63SEmmanuel Vadot	status = "okay";
58*8d13bc63SEmmanuel Vadot};
59