summaryrefslogtreecommitdiff
path: root/arch/riscv/dts/jh7110-u-boot.dtsi
blob: f8d13277d245b623d2098e2495767ec634edcea1 (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
// SPDX-License-Identifier: GPL-2.0 OR MIT
/*
 * Copyright (C) 2022 StarFive Technology Co., Ltd.
 */

#include <dt-bindings/reset/starfive,jh7110-crg.h>

/ {
	timer {
		compatible = "riscv,timer";
		interrupts-extended = <&cpu0_intc 5>,
				      <&cpu1_intc 5>,
				      <&cpu2_intc 5>,
				      <&cpu3_intc 5>,
				      <&cpu4_intc 5>;
	};

	soc {
		bootph-pre-ram;

		dmc: dmc@15700000 {
			bootph-pre-ram;
			compatible = "starfive,jh7110-dmc";
			reg = <0x0 0x15700000 0x0 0x10000>,
				<0x0 0x13000000 0x0 0x10000>;
			resets = <&syscrg JH7110_SYSRST_DDR_AXI>,
				<&syscrg JH7110_SYSRST_DDR_OSC>,
				<&syscrg JH7110_SYSRST_DDR_APB>;
			reset-names = "axi", "osc", "apb";
			clocks = <&syscrg JH7110_PLLCLK_PLL1_OUT>;
			clock-names = "pll1_out";
			clock-frequency = <2133>;
		};
	};
};

&clint {
	bootph-pre-ram;
};

&cpu0_intc {
	bootph-pre-ram;
};

&cpu1_intc {
	bootph-pre-ram;
};

&cpu2_intc {
	bootph-pre-ram;
};

&cpu3_intc {
	bootph-pre-ram;
};

&cpu4_intc {
	bootph-pre-ram;
};

&cpus {
	bootph-pre-ram;
};

&osc {
	bootph-pre-ram;
};

&gmac0_rgmii_rxin {
	bootph-pre-ram;
};

&gmac0_rmii_refin {
	bootph-pre-ram;
};

&gmac1_rgmii_rxin {
	bootph-pre-ram;
};

&gmac1_rmii_refin {
	bootph-pre-ram;
};

&aoncrg {
	bootph-pre-ram;
};

&pllclk {
	bootph-pre-ram;
};

&syscrg {
	assigned-clock-rates = <0>; /* cpufreq not implemented, use defaults */
	bootph-pre-ram;
};

&stgcrg {
	bootph-pre-ram;
};

&sys_syscon {
	bootph-pre-ram;
};