xref: /linux/arch/riscv/boot/dts/thead/th1520-lichee-module-4a.dtsi (revision 3893d1bfe0dc6210aa2cd9eb1dcd8f751dbc15a4)
1// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2/*
3 * Copyright (C) 2023 Jisheng Zhang <jszhang@kernel.org>
4 */
5
6/dts-v1/;
7
8#include "th1520.dtsi"
9
10/ {
11	model = "Sipeed Lichee Module 4A";
12	compatible = "sipeed,lichee-module-4a", "thead,th1520";
13
14	memory@0 {
15		device_type = "memory";
16		reg = <0x0 0x00000000 0x2 0x00000000>;
17	};
18};
19
20&osc {
21	clock-frequency = <24000000>;
22};
23
24&osc_32k {
25	clock-frequency = <32768>;
26};
27
28&aogpio {
29	gpio-line-names = "", "", "",
30			  "GPIO00",
31			  "GPIO04";
32};
33
34&dmac0 {
35	status = "okay";
36};
37
38&emmc {
39	bus-width = <8>;
40	max-frequency = <198000000>;
41	mmc-hs400-1_8v;
42	non-removable;
43	no-sdio;
44	no-sd;
45	status = "okay";
46};
47
48&gpio0 {
49	gpio-line-names = "", "", "", "", "", "", "", "", "", "",
50			  "", "", "", "", "", "", "", "", "", "",
51			  "", "", "", "",
52			  "GPIO07",
53			  "GPIO08",
54			  "",
55			  "GPIO01",
56			  "GPIO02";
57};
58
59&gpio1 {
60	gpio-line-names = "", "", "",
61			  "GPIO11",
62			  "GPIO12",
63			  "GPIO13",
64			  "GPIO14",
65			  "", "", "", "", "", "", "", "", "", "",
66			  "", "", "", "", "",
67			  "GPIO06";
68};
69
70&gpio2 {
71	gpio-line-names = "GPIO03",
72			  "GPIO05";
73};
74
75&gpio3 {
76	gpio-line-names = "", "",
77			  "GPIO09",
78			  "GPIO10";
79};
80
81&sdio0 {
82	bus-width = <4>;
83	max-frequency = <198000000>;
84	status = "okay";
85};
86