xref: /linux/scripts/dtc/include-prefixes/arm/rockchip/rv1108-evb.dts (revision c34e9ab9a612ee8b18273398ef75c207b01f516d)
1724ba675SRob Herring// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2724ba675SRob Herring
3724ba675SRob Herring/dts-v1/;
4724ba675SRob Herring
5724ba675SRob Herring#include "rv1108.dtsi"
6724ba675SRob Herring
7724ba675SRob Herring/ {
8724ba675SRob Herring	model = "Rockchip RV1108 Evaluation board";
9724ba675SRob Herring	compatible = "rockchip,rv1108-evb", "rockchip,rv1108";
10724ba675SRob Herring
11724ba675SRob Herring	aliases {
12724ba675SRob Herring		mmc0 = &sdmmc;
13724ba675SRob Herring	};
14724ba675SRob Herring
15724ba675SRob Herring	memory@60000000 {
16724ba675SRob Herring		device_type = "memory";
17724ba675SRob Herring		reg = <0x60000000 0x08000000>;
18724ba675SRob Herring	};
19724ba675SRob Herring
20724ba675SRob Herring	chosen {
21724ba675SRob Herring		stdout-path = "serial2:1500000n8";
22724ba675SRob Herring	};
23724ba675SRob Herring
24724ba675SRob Herring	backlight: backlight {
25724ba675SRob Herring		compatible = "pwm-backlight";
26724ba675SRob Herring		brightness-levels = <
27724ba675SRob Herring			  0   1   2   3   4   5   6   7
28724ba675SRob Herring			  8   9  10  11  12  13  14  15
29724ba675SRob Herring			 16  17  18  19  20  21  22  23
30724ba675SRob Herring			 24  25  26  27  28  29  30  31
31724ba675SRob Herring			 32  33  34  35  36  37  38  39
32724ba675SRob Herring			 40  41  42  43  44  45  46  47
33724ba675SRob Herring			 48  49  50  51  52  53  54  55
34724ba675SRob Herring			 56  57  58  59  60  61  62  63
35724ba675SRob Herring			 64  65  66  67  68  69  70  71
36724ba675SRob Herring			 72  73  74  75  76  77  78  79
37724ba675SRob Herring			 80  81  82  83  84  85  86  87
38724ba675SRob Herring			 88  89  90  91  92  93  94  95
39724ba675SRob Herring			 96  97  98  99 100 101 102 103
40724ba675SRob Herring			104 105 106 107 108 109 110 111
41724ba675SRob Herring			112 113 114 115 116 117 118 119
42724ba675SRob Herring			120 121 122 123 124 125 126 127
43724ba675SRob Herring			128 129 130 131 132 133 134 135
44724ba675SRob Herring			136 137 138 139 140 141 142 143
45724ba675SRob Herring			144 145 146 147 148 149 150 151
46724ba675SRob Herring			152 153 154 155 156 157 158 159
47724ba675SRob Herring			160 161 162 163 164 165 166 167
48724ba675SRob Herring			168 169 170 171 172 173 174 175
49724ba675SRob Herring			176 177 178 179 180 181 182 183
50724ba675SRob Herring			184 185 186 187 188 189 190 191
51724ba675SRob Herring			192 193 194 195 196 197 198 199
52724ba675SRob Herring			200 201 202 203 204 205 206 207
53724ba675SRob Herring			208 209 210 211 212 213 214 215
54724ba675SRob Herring			216 217 218 219 220 221 222 223
55724ba675SRob Herring			224 225 226 227 228 229 230 231
56724ba675SRob Herring			232 233 234 235 236 237 238 239
57724ba675SRob Herring			240 241 242 243 244 245 246 247
58724ba675SRob Herring			248 249 250 251 252 253 254 255>;
59724ba675SRob Herring		default-brightness-level = <200>;
60724ba675SRob Herring		pwms = <&pwm0 0 25000 0>;
61724ba675SRob Herring	};
62724ba675SRob Herring
63*2c3944d9SJohan Jonker	vcc_sys: regulator-vsys {
64724ba675SRob Herring		compatible = "regulator-fixed";
65724ba675SRob Herring		regulator-name = "vsys";
66724ba675SRob Herring		regulator-min-microvolt = <5000000>;
67724ba675SRob Herring		regulator-max-microvolt = <5000000>;
68724ba675SRob Herring		regulator-boot-on;
69724ba675SRob Herring	};
70724ba675SRob Herring};
71724ba675SRob Herring
72724ba675SRob Herring&cpu0 {
73724ba675SRob Herring	cpu-supply = <&vdd_core>;
74724ba675SRob Herring};
75724ba675SRob Herring
76724ba675SRob Herring&i2c0 {
77724ba675SRob Herring	status = "okay";
78724ba675SRob Herring	i2c-scl-rising-time-ns = <275>;
79724ba675SRob Herring	i2c-scl-falling-time-ns = <16>;
80724ba675SRob Herring	clock-frequency = <400000>;
81724ba675SRob Herring
82724ba675SRob Herring	rk805: pmic@18 {
83724ba675SRob Herring		compatible = "rockchip,rk805";
84724ba675SRob Herring		reg = <0x18>;
85724ba675SRob Herring		interrupt-parent = <&gpio0>;
86724ba675SRob Herring		interrupts = <RK_PB4 IRQ_TYPE_LEVEL_LOW>;
87724ba675SRob Herring		rockchip,system-power-controller;
88724ba675SRob Herring		#clock-cells = <0>;
89724ba675SRob Herring
90724ba675SRob Herring		vcc1-supply = <&vcc_sys>;
91724ba675SRob Herring		vcc2-supply = <&vcc_sys>;
92724ba675SRob Herring		vcc3-supply = <&vcc_sys>;
93724ba675SRob Herring		vcc4-supply = <&vcc_sys>;
94724ba675SRob Herring		vcc5-supply = <&vcc_sys>;
95724ba675SRob Herring		vcc6-supply = <&vcc_sys>;
96724ba675SRob Herring
97724ba675SRob Herring		regulators {
98724ba675SRob Herring			vdd_core: DCDC_REG1 {
99724ba675SRob Herring				regulator-name = "vdd_core";
100724ba675SRob Herring				regulator-min-microvolt = <700000>;
101724ba675SRob Herring				regulator-max-microvolt = <1500000>;
102724ba675SRob Herring				regulator-always-on;
103724ba675SRob Herring				regulator-boot-on;
104724ba675SRob Herring				regulator-state-mem {
105724ba675SRob Herring					regulator-on-in-suspend;
106724ba675SRob Herring					regulator-suspend-microvolt = <900000>;
107724ba675SRob Herring				};
108724ba675SRob Herring			};
109724ba675SRob Herring
110724ba675SRob Herring			vdd_cam: DCDC_REG2 {
111724ba675SRob Herring				regulator-name = "vdd_cam";
112724ba675SRob Herring				regulator-min-microvolt = <700000>;
113724ba675SRob Herring				regulator-max-microvolt = <2000000>;
114724ba675SRob Herring				regulator-state-mem {
115724ba675SRob Herring					regulator-off-in-suspend;
116724ba675SRob Herring				};
117724ba675SRob Herring			};
118724ba675SRob Herring
119724ba675SRob Herring			vcc_ddr: DCDC_REG3 {
120724ba675SRob Herring				regulator-name = "vcc_ddr";
121724ba675SRob Herring				regulator-always-on;
122724ba675SRob Herring				regulator-boot-on;
123724ba675SRob Herring				regulator-state-mem {
124724ba675SRob Herring					regulator-on-in-suspend;
125724ba675SRob Herring				};
126724ba675SRob Herring			};
127724ba675SRob Herring
128724ba675SRob Herring			vcc_io: DCDC_REG4 {
129724ba675SRob Herring				regulator-name = "vcc_io";
130724ba675SRob Herring				regulator-min-microvolt = <3300000>;
131724ba675SRob Herring				regulator-max-microvolt = <3300000>;
132724ba675SRob Herring				regulator-always-on;
133724ba675SRob Herring				regulator-boot-on;
134724ba675SRob Herring				regulator-state-mem {
135724ba675SRob Herring					regulator-on-in-suspend;
136724ba675SRob Herring					regulator-suspend-microvolt = <3300000>;
137724ba675SRob Herring				};
138724ba675SRob Herring			};
139724ba675SRob Herring
140724ba675SRob Herring			vdd_10: LDO_REG1 {
141724ba675SRob Herring				regulator-name = "vdd_10";
142724ba675SRob Herring				regulator-min-microvolt = <1000000>;
143724ba675SRob Herring				regulator-max-microvolt = <1000000>;
144724ba675SRob Herring				regulator-always-on;
145724ba675SRob Herring				regulator-boot-on;
146724ba675SRob Herring				regulator-state-mem {
147724ba675SRob Herring					regulator-off-in-suspend;
148724ba675SRob Herring				};
149724ba675SRob Herring			};
150724ba675SRob Herring
151724ba675SRob Herring			vcc_18: LDO_REG2 {
152724ba675SRob Herring				regulator-name = "vcc_18";
153724ba675SRob Herring				regulator-min-microvolt = <1800000>;
154724ba675SRob Herring				regulator-max-microvolt = <1800000>;
155724ba675SRob Herring				regulator-always-on;
156724ba675SRob Herring				regulator-boot-on;
157724ba675SRob Herring				regulator-state-mem {
158724ba675SRob Herring					regulator-off-in-suspend;
159724ba675SRob Herring				};
160724ba675SRob Herring			};
161724ba675SRob Herring
162724ba675SRob Herring			vdd10_pmu: LDO_REG3 {
163724ba675SRob Herring				regulator-name = "vdd10_pmu";
164724ba675SRob Herring				regulator-min-microvolt = <1000000>;
165724ba675SRob Herring				regulator-max-microvolt = <1000000>;
166724ba675SRob Herring				regulator-always-on;
167724ba675SRob Herring				regulator-boot-on;
168724ba675SRob Herring				regulator-state-mem {
169724ba675SRob Herring					regulator-on-in-suspend;
170724ba675SRob Herring					regulator-suspend-microvolt = <1000000>;
171724ba675SRob Herring				};
172724ba675SRob Herring			};
173724ba675SRob Herring		};
174724ba675SRob Herring	};
175724ba675SRob Herring
176724ba675SRob Herring	bma250: accelerometer@19 {
177724ba675SRob Herring		compatible = "bosch,bma250e";
178724ba675SRob Herring		reg = <0x19>;
179724ba675SRob Herring		interrupt-parent = <&gpio0>;
180724ba675SRob Herring		interrupts = <RK_PB3 IRQ_TYPE_LEVEL_LOW>;
181724ba675SRob Herring	};
182724ba675SRob Herring};
183724ba675SRob Herring
184724ba675SRob Herring&pwm0 {
185724ba675SRob Herring	status = "okay";
186724ba675SRob Herring};
187724ba675SRob Herring
188724ba675SRob Herring&sdmmc {
189724ba675SRob Herring	status = "okay";
190724ba675SRob Herring};
191724ba675SRob Herring
192724ba675SRob Herring&tsadc {
193724ba675SRob Herring	status = "okay";
194724ba675SRob Herring};
195724ba675SRob Herring
196724ba675SRob Herring&u2phy {
197724ba675SRob Herring	status = "okay";
198724ba675SRob Herring
199724ba675SRob Herring	u2phy_host: host-port {
200724ba675SRob Herring		status = "okay";
201724ba675SRob Herring	};
202724ba675SRob Herring
203724ba675SRob Herring	u2phy_otg: otg-port {
204724ba675SRob Herring		status = "okay";
205724ba675SRob Herring	};
206724ba675SRob Herring};
207724ba675SRob Herring
208724ba675SRob Herring&uart0 {
209724ba675SRob Herring	status = "okay";
210724ba675SRob Herring};
211724ba675SRob Herring
212724ba675SRob Herring&uart1 {
213724ba675SRob Herring	status = "okay";
214724ba675SRob Herring};
215724ba675SRob Herring
216724ba675SRob Herring&uart2 {
217724ba675SRob Herring	status = "okay";
218724ba675SRob Herring};
219724ba675SRob Herring
220724ba675SRob Herring&usb_host_ehci {
221724ba675SRob Herring	status = "okay";
222724ba675SRob Herring};
223724ba675SRob Herring
224724ba675SRob Herring&usb_host_ohci {
225724ba675SRob Herring	status = "okay";
226724ba675SRob Herring};
227724ba675SRob Herring
228724ba675SRob Herring&usb_otg {
229724ba675SRob Herring	status = "okay";
230724ba675SRob Herring};
231