xref: /linux/scripts/dtc/include-prefixes/arm/rockchip/rv1108-evb.dts (revision 724ba6751532055db75992fc6ae21c3e322e94a7)
1*724ba675SRob Herring// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2*724ba675SRob Herring
3*724ba675SRob Herring/dts-v1/;
4*724ba675SRob Herring
5*724ba675SRob Herring#include "rv1108.dtsi"
6*724ba675SRob Herring
7*724ba675SRob Herring/ {
8*724ba675SRob Herring	model = "Rockchip RV1108 Evaluation board";
9*724ba675SRob Herring	compatible = "rockchip,rv1108-evb", "rockchip,rv1108";
10*724ba675SRob Herring
11*724ba675SRob Herring	aliases {
12*724ba675SRob Herring		mmc0 = &sdmmc;
13*724ba675SRob Herring	};
14*724ba675SRob Herring
15*724ba675SRob Herring	memory@60000000 {
16*724ba675SRob Herring		device_type = "memory";
17*724ba675SRob Herring		reg = <0x60000000 0x08000000>;
18*724ba675SRob Herring	};
19*724ba675SRob Herring
20*724ba675SRob Herring	chosen {
21*724ba675SRob Herring		stdout-path = "serial2:1500000n8";
22*724ba675SRob Herring	};
23*724ba675SRob Herring
24*724ba675SRob Herring	backlight: backlight {
25*724ba675SRob Herring		compatible = "pwm-backlight";
26*724ba675SRob Herring		brightness-levels = <
27*724ba675SRob Herring			  0   1   2   3   4   5   6   7
28*724ba675SRob Herring			  8   9  10  11  12  13  14  15
29*724ba675SRob Herring			 16  17  18  19  20  21  22  23
30*724ba675SRob Herring			 24  25  26  27  28  29  30  31
31*724ba675SRob Herring			 32  33  34  35  36  37  38  39
32*724ba675SRob Herring			 40  41  42  43  44  45  46  47
33*724ba675SRob Herring			 48  49  50  51  52  53  54  55
34*724ba675SRob Herring			 56  57  58  59  60  61  62  63
35*724ba675SRob Herring			 64  65  66  67  68  69  70  71
36*724ba675SRob Herring			 72  73  74  75  76  77  78  79
37*724ba675SRob Herring			 80  81  82  83  84  85  86  87
38*724ba675SRob Herring			 88  89  90  91  92  93  94  95
39*724ba675SRob Herring			 96  97  98  99 100 101 102 103
40*724ba675SRob Herring			104 105 106 107 108 109 110 111
41*724ba675SRob Herring			112 113 114 115 116 117 118 119
42*724ba675SRob Herring			120 121 122 123 124 125 126 127
43*724ba675SRob Herring			128 129 130 131 132 133 134 135
44*724ba675SRob Herring			136 137 138 139 140 141 142 143
45*724ba675SRob Herring			144 145 146 147 148 149 150 151
46*724ba675SRob Herring			152 153 154 155 156 157 158 159
47*724ba675SRob Herring			160 161 162 163 164 165 166 167
48*724ba675SRob Herring			168 169 170 171 172 173 174 175
49*724ba675SRob Herring			176 177 178 179 180 181 182 183
50*724ba675SRob Herring			184 185 186 187 188 189 190 191
51*724ba675SRob Herring			192 193 194 195 196 197 198 199
52*724ba675SRob Herring			200 201 202 203 204 205 206 207
53*724ba675SRob Herring			208 209 210 211 212 213 214 215
54*724ba675SRob Herring			216 217 218 219 220 221 222 223
55*724ba675SRob Herring			224 225 226 227 228 229 230 231
56*724ba675SRob Herring			232 233 234 235 236 237 238 239
57*724ba675SRob Herring			240 241 242 243 244 245 246 247
58*724ba675SRob Herring			248 249 250 251 252 253 254 255>;
59*724ba675SRob Herring		default-brightness-level = <200>;
60*724ba675SRob Herring		pwms = <&pwm0 0 25000 0>;
61*724ba675SRob Herring	};
62*724ba675SRob Herring
63*724ba675SRob Herring	vcc_sys: vsys-regulator {
64*724ba675SRob Herring		compatible = "regulator-fixed";
65*724ba675SRob Herring		regulator-name = "vsys";
66*724ba675SRob Herring		regulator-min-microvolt = <5000000>;
67*724ba675SRob Herring		regulator-max-microvolt = <5000000>;
68*724ba675SRob Herring		regulator-boot-on;
69*724ba675SRob Herring	};
70*724ba675SRob Herring};
71*724ba675SRob Herring
72*724ba675SRob Herring&cpu0 {
73*724ba675SRob Herring	cpu-supply = <&vdd_core>;
74*724ba675SRob Herring};
75*724ba675SRob Herring
76*724ba675SRob Herring&i2c0 {
77*724ba675SRob Herring	status = "okay";
78*724ba675SRob Herring	i2c-scl-rising-time-ns = <275>;
79*724ba675SRob Herring	i2c-scl-falling-time-ns = <16>;
80*724ba675SRob Herring	clock-frequency = <400000>;
81*724ba675SRob Herring
82*724ba675SRob Herring	rk805: pmic@18 {
83*724ba675SRob Herring		compatible = "rockchip,rk805";
84*724ba675SRob Herring		reg = <0x18>;
85*724ba675SRob Herring		interrupt-parent = <&gpio0>;
86*724ba675SRob Herring		interrupts = <RK_PB4 IRQ_TYPE_LEVEL_LOW>;
87*724ba675SRob Herring		rockchip,system-power-controller;
88*724ba675SRob Herring		#clock-cells = <0>;
89*724ba675SRob Herring
90*724ba675SRob Herring		vcc1-supply = <&vcc_sys>;
91*724ba675SRob Herring		vcc2-supply = <&vcc_sys>;
92*724ba675SRob Herring		vcc3-supply = <&vcc_sys>;
93*724ba675SRob Herring		vcc4-supply = <&vcc_sys>;
94*724ba675SRob Herring		vcc5-supply = <&vcc_sys>;
95*724ba675SRob Herring		vcc6-supply = <&vcc_sys>;
96*724ba675SRob Herring
97*724ba675SRob Herring		regulators {
98*724ba675SRob Herring			vdd_core: DCDC_REG1 {
99*724ba675SRob Herring				regulator-name = "vdd_core";
100*724ba675SRob Herring				regulator-min-microvolt = <700000>;
101*724ba675SRob Herring				regulator-max-microvolt = <1500000>;
102*724ba675SRob Herring				regulator-always-on;
103*724ba675SRob Herring				regulator-boot-on;
104*724ba675SRob Herring				regulator-state-mem {
105*724ba675SRob Herring					regulator-on-in-suspend;
106*724ba675SRob Herring					regulator-suspend-microvolt = <900000>;
107*724ba675SRob Herring				};
108*724ba675SRob Herring			};
109*724ba675SRob Herring
110*724ba675SRob Herring			vdd_cam: DCDC_REG2 {
111*724ba675SRob Herring				regulator-name = "vdd_cam";
112*724ba675SRob Herring				regulator-min-microvolt = <700000>;
113*724ba675SRob Herring				regulator-max-microvolt = <2000000>;
114*724ba675SRob Herring				regulator-state-mem {
115*724ba675SRob Herring					regulator-off-in-suspend;
116*724ba675SRob Herring				};
117*724ba675SRob Herring			};
118*724ba675SRob Herring
119*724ba675SRob Herring			vcc_ddr: DCDC_REG3 {
120*724ba675SRob Herring				regulator-name = "vcc_ddr";
121*724ba675SRob Herring				regulator-always-on;
122*724ba675SRob Herring				regulator-boot-on;
123*724ba675SRob Herring				regulator-state-mem {
124*724ba675SRob Herring					regulator-on-in-suspend;
125*724ba675SRob Herring				};
126*724ba675SRob Herring			};
127*724ba675SRob Herring
128*724ba675SRob Herring			vcc_io: DCDC_REG4 {
129*724ba675SRob Herring				regulator-name = "vcc_io";
130*724ba675SRob Herring				regulator-min-microvolt = <3300000>;
131*724ba675SRob Herring				regulator-max-microvolt = <3300000>;
132*724ba675SRob Herring				regulator-always-on;
133*724ba675SRob Herring				regulator-boot-on;
134*724ba675SRob Herring				regulator-state-mem {
135*724ba675SRob Herring					regulator-on-in-suspend;
136*724ba675SRob Herring					regulator-suspend-microvolt = <3300000>;
137*724ba675SRob Herring				};
138*724ba675SRob Herring			};
139*724ba675SRob Herring
140*724ba675SRob Herring			vdd_10: LDO_REG1 {
141*724ba675SRob Herring				regulator-name = "vdd_10";
142*724ba675SRob Herring				regulator-min-microvolt = <1000000>;
143*724ba675SRob Herring				regulator-max-microvolt = <1000000>;
144*724ba675SRob Herring				regulator-always-on;
145*724ba675SRob Herring				regulator-boot-on;
146*724ba675SRob Herring				regulator-state-mem {
147*724ba675SRob Herring					regulator-off-in-suspend;
148*724ba675SRob Herring				};
149*724ba675SRob Herring			};
150*724ba675SRob Herring
151*724ba675SRob Herring			vcc_18: LDO_REG2 {
152*724ba675SRob Herring				regulator-name = "vcc_18";
153*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
154*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
155*724ba675SRob Herring				regulator-always-on;
156*724ba675SRob Herring				regulator-boot-on;
157*724ba675SRob Herring				regulator-state-mem {
158*724ba675SRob Herring					regulator-off-in-suspend;
159*724ba675SRob Herring				};
160*724ba675SRob Herring			};
161*724ba675SRob Herring
162*724ba675SRob Herring			vdd10_pmu: LDO_REG3 {
163*724ba675SRob Herring				regulator-name = "vdd10_pmu";
164*724ba675SRob Herring				regulator-min-microvolt = <1000000>;
165*724ba675SRob Herring				regulator-max-microvolt = <1000000>;
166*724ba675SRob Herring				regulator-always-on;
167*724ba675SRob Herring				regulator-boot-on;
168*724ba675SRob Herring				regulator-state-mem {
169*724ba675SRob Herring					regulator-on-in-suspend;
170*724ba675SRob Herring					regulator-suspend-microvolt = <1000000>;
171*724ba675SRob Herring				};
172*724ba675SRob Herring			};
173*724ba675SRob Herring		};
174*724ba675SRob Herring	};
175*724ba675SRob Herring
176*724ba675SRob Herring	bma250: accelerometer@19 {
177*724ba675SRob Herring		compatible = "bosch,bma250e";
178*724ba675SRob Herring		reg = <0x19>;
179*724ba675SRob Herring		interrupt-parent = <&gpio0>;
180*724ba675SRob Herring		interrupts = <RK_PB3 IRQ_TYPE_LEVEL_LOW>;
181*724ba675SRob Herring	};
182*724ba675SRob Herring};
183*724ba675SRob Herring
184*724ba675SRob Herring&pwm0 {
185*724ba675SRob Herring	status = "okay";
186*724ba675SRob Herring};
187*724ba675SRob Herring
188*724ba675SRob Herring&sdmmc {
189*724ba675SRob Herring	status = "okay";
190*724ba675SRob Herring};
191*724ba675SRob Herring
192*724ba675SRob Herring&tsadc {
193*724ba675SRob Herring	status = "okay";
194*724ba675SRob Herring};
195*724ba675SRob Herring
196*724ba675SRob Herring&u2phy {
197*724ba675SRob Herring	status = "okay";
198*724ba675SRob Herring
199*724ba675SRob Herring	u2phy_host: host-port {
200*724ba675SRob Herring		status = "okay";
201*724ba675SRob Herring	};
202*724ba675SRob Herring
203*724ba675SRob Herring	u2phy_otg: otg-port {
204*724ba675SRob Herring		status = "okay";
205*724ba675SRob Herring	};
206*724ba675SRob Herring};
207*724ba675SRob Herring
208*724ba675SRob Herring&uart0 {
209*724ba675SRob Herring	status = "okay";
210*724ba675SRob Herring};
211*724ba675SRob Herring
212*724ba675SRob Herring&uart1 {
213*724ba675SRob Herring	status = "okay";
214*724ba675SRob Herring};
215*724ba675SRob Herring
216*724ba675SRob Herring&uart2 {
217*724ba675SRob Herring	status = "okay";
218*724ba675SRob Herring};
219*724ba675SRob Herring
220*724ba675SRob Herring&usb_host_ehci {
221*724ba675SRob Herring	status = "okay";
222*724ba675SRob Herring};
223*724ba675SRob Herring
224*724ba675SRob Herring&usb_host_ohci {
225*724ba675SRob Herring	status = "okay";
226*724ba675SRob Herring};
227*724ba675SRob Herring
228*724ba675SRob Herring&usb_otg {
229*724ba675SRob Herring	status = "okay";
230*724ba675SRob Herring};
231