summaryrefslogtreecommitdiff
path: root/arch/riscv/dts/jh7110-u-boot.dtsi
blob: 37586fdc15be64dc8c0779dad109635c22d64bad (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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
// SPDX-License-Identifier: GPL-2.0 OR MIT
/*
 * Copyright (C) 2022 StarFive Technology Co., Ltd.
 */
#include <dt-bindings/reset/starfive-jh7110.h>
#include <dt-bindings/clock/starfive-jh7110-clkgen.h>

/ {
	cpus: cpus {
		u-boot,dm-spl;
		timebase-frequency = <4000000>;

		cpu0: cpu@0 {
			u-boot,dm-spl;
			status = "okay";
			cpu0intctrl: interrupt-controller {
				u-boot,dm-spl;
			};
		};

		cpu1: cpu@1 {
			u-boot,dm-spl;
			status = "okay";
			cpu1intctrl: interrupt-controller {
				u-boot,dm-spl;
			};
		};

		cpu2: cpu@2 {
			u-boot,dm-spl;
			status = "okay";
			cpu2intctrl: interrupt-controller {
				u-boot,dm-spl;
			};
		};

		cpu3: cpu@3 {
			u-boot,dm-spl;
			status = "okay";
			cpu3intctrl: interrupt-controller {
				u-boot,dm-spl;
			};
		};

		cpu4: cpu@4 {
			u-boot,dm-spl;
			status = "okay";
			cpu4intctrl: interrupt-controller {
				u-boot,dm-spl;
			};
		};
	};

	soc {
		u-boot,dm-spl;

		clint: clint@2000000 {
			u-boot,dm-spl;
		};

		dmc: dmc@100b0000 {
			compatible = "starfive,jh7110-dmc";
			reg = <0x0 0x15700000 0x0 0x10000 0x0 0x13000000 0x0 0x10000>;
			resets = <&rstgen RSTN_U0_DDR_AXI>,
					<&rstgen RSTN_U0_DDR_OSC>,
					<&rstgen RSTN_U0_DDR_APB>;
			reset-names = "axi", "osc", "apb";
			clock-frequency = <2133>;
			u-boot,dm-spl;
		};
	};
};

&cachectrl {
	reg = <0x0 0x2010000 0x0 0x4000>,
	      <0x0 0x2030000 0x0 0x80000>,
	      <0x0 0x8000000 0x0 0x2000000>;
	reg-names = "control", "prefetcher", "sideband";
	prefetch-dist-size = <0x4>;
	prefetch-hart-mask = <0x1e>;
	prefetch-enable;
};

&uart0 {
	clock-frequency = <24000000>;
	current-speed = <115200>;
	status = "okay";
	u-boot,dm-spl;
};

&sdio0 {
	u-boot,dm-spl;
};

&sdio1 {
	u-boot,dm-spl;
};

&qspi {
	status = "okay";
	u-boot,dm-spl;
};

&rstgen {
	status = "okay";
	u-boot,dm-spl;
};

&nor_flash {
	u-boot,dm-spl;
};

&clkgen {
	u-boot,dm-spl;
};

&osc {
	u-boot,dm-spl;
};

&gmac1_rmii_refin{
	u-boot,dm-spl;
};

&stg_apb {
	u-boot,dm-spl;
};

&gmac0_rmii_refin {
	u-boot,dm-spl;
};

&gpio {
	u-boot,dm-spl;
};

&gpioa {
	u-boot,dm-spl;
};