blob: 234fcb71213107f1c860aba541760b35a51d8807 (
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
|
// 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 VisionFive V2";
compatible = "starfive,jh7110";
chosen {
stdout-path = "/soc/serial@10000000:115200";
};
aliases {
spi0="/soc/qspi@13010000";
gpio0="/soc/gpio@13040000";
ethernet0="/soc/gmac0@16030000";
};
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 {
clock-frequency = <4000000>;
max-frequency = <1000000>;
bus-width = <8>;
status = "okay";
};
&sdio1 {
clock-frequency = <4000000>;
max-frequency = <1000000>;
bus-width = <4>;
status = "okay";
};
&gmac0 {
phy-reset-gpios = <&gpio 63 0>;
status = "okay";
};
&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";
};
|