summaryrefslogtreecommitdiff
path: root/arch/riscv/dts/jh7110-u-boot.dtsi
blob: 21a14bdc4ddf122d1b003fcf54833f1088eb2832 (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
// 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;
		};
	};
};

&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;
};