summaryrefslogtreecommitdiff
path: root/arch/riscv/dts/starfive_evb.dts
blob: f4b22214fd340e3d5a3a22757613772ee66c75ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
// SPDX-License-Identifier: GPL-2.0 OR MIT
/*
 * Copyright (C) 2022 StarFive Technology Co., Ltd.
 */

/dts-v1/;

#include "jh7110.dtsi"
/ {
	#address-cells = <2>;
	#size-cells = <2>;
	model = "StarFive EVB";
	compatible = "starfive,jh7110";

	aliases {
		spi0="/soc/spi@13010000";
		gpio0="/soc/gpio@13040000";
		ethernet0=&gmac0;
		ethernet1=&gmac1;
		mmc0=&sdio0;
		mmc1=&sdio1;
	};

	chosen {
			stdout-path = "/soc/serial@10000000:115200";
	};


	memory@80000000 {
		device_type = "memory";
		reg = <0x0 0x40000000 0x1 0x0>;
	};

	soc {
	};
};

&cpu0 {
	status = "okay";
};

&clkgen {
	clocks = <&osc>, <&gmac1_rmii_refin>,
		<&stg_apb>, <&gmac0_rmii_refin>;
	clock-names = "osc", "gmac1_rmii_refin",
		"stg_apb", "gmac0_rmii_refin";
};

&sdio0 {
	fifo-depth = <32>;
	bus-width = <4>;
	status = "okay";
};

&sdio1 {
	status = "disabled";
};

&gmac0 {
	status = "okay";
};

&gmac1 {
	status = "okay";
	#address-cells = <1>;
	#size-cells = <0>;
	phy0: ethernet-phy@0 {
		rxc-skew-ps = <1060>;
		txc-skew-ps = <1800>;
		reg = <0>;
	};
};

&gpio {
	compatible = "starfive,jh7110-gpio";
	gpio-controller;
};

&uart0 {
	reg-offset = <0>;
	current-speed = <115200>;
	status = "okay";
};

&gpioa {
	status = "disabled";
};

&usbdrd30 {
	status = "okay";
};

&usbdrd_cdns3 {
	dr_mode = "host";
};

&timer {
	status = "disabled";
};

&wdog {
	status = "disabled";
};

&clkvout {
	status = "disabled";
};

&pdm {
	status = "disabled";
};