2 #include "skeleton.dtsi"
3 #include "rk3188-pinctrl.dtsi"
4 #include <dt-bindings/rkfb/rk_fb.h>
8 compatible = "rockchip,rk3188";
9 interrupt-parent = <&gic>;
10 rockchip,sram = <&sram>;
32 compatible = "arm,cortex-a9";
37 compatible = "arm,cortex-a9";
42 compatible = "arm,cortex-a9";
47 compatible = "arm,cortex-a9";
53 compatible = "arm,cortex-a9-twd-wdt";
54 reg = <0x1013c620 0x20>;
55 interrupts = <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
58 gic: interrupt-controller@1013d000 {
59 compatible = "arm,cortex-a9-gic";
61 #interrupt-cells = <3>;
62 reg = <0x1013d000 0x1000>,
66 L2: cache-controller@10138000 {
67 compatible = "rockchip,pl310-cache", "arm,pl310-cache";
68 reg = <0x10138000 0x1000>;
71 arm,tag-latency = <1 1 1>;
72 arm,data-latency = <3 1 2>;
73 rockchip,prefetch-ctrl = <0x70000003>;
74 /* L2X0_DYNAMIC_CLK_GATING_EN | L2X0_STNDBY_MODE_EN */
75 rockchip,power-ctrl = <0x3>;
77 (0x1 << 0) | // Full line of write zero behavior Enabled
78 (0x1 << 25) | // Round-robin replacement
79 (0x1 << L2X0_AUX_CTRL_DATA_PREFETCH_SHIFT) |
80 (0x1 << L2X0_AUX_CTRL_INSTR_PREFETCH_SHIFT) |
81 (0x1 << L2X0_AUX_CTRL_EARLY_BRESP_SHIFT)
83 rockchip,aux-ctrl = <0x72000001 (~0x72000001)>;
86 cpu_axi_bus: cpu_axi_bus@10128000 {
87 compatible = "rockchip,cpu_axi_bus";
88 reg = <0x10128000 0x8000>;
91 rockchip,offset = <0x1000>;
92 rockchip,priority = <0 0>;
95 rockchip,offset = <0x2000>;
96 rockchip,priority = <0 0>;
99 rockchip,offset = <0x2080>;
100 rockchip,priority = <0 0>;
103 rockchip,offset = <0x2100>;
104 rockchip,priority = <0 0>;
107 rockchip,offset = <0x4000>;
108 rockchip,priority = <2 2>;
111 rockchip,offset = <0x5000>;
112 rockchip,priority = <2 1>;
115 rockchip,offset = <0x6000>;
118 rockchip,offset = <0x7000>;
119 rockchip,priority = <3 3>;
122 rockchip,offset = <0x7080>;
125 rockchip,offset = <0x7100>;
128 rockchip,offset = <0x7180>;
129 rockchip,priority = <3 3>;
132 rockchip,offset = <0x7200>;
135 rockchip,offset = <0x7280>;
141 compatible = "rockchip,bootrom";
142 reg = <0x10120000 0x4000>;
146 compatible = "rockchip,bootram";
147 reg = <0x10080000 0x20>; /* 32 bytes */
150 sram: sram@10080020 {
151 compatible = "mmio-sram";
152 reg = <0x10080020 (0x8000 - 0x20)>; /* 32k - 32 */
157 compatible = "rockchip,pmu";
158 reg = <0x20004000 0x4000>;
162 compatible = "rockchip,timer";
163 reg = <0x20038000 0x20>;
164 interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
165 rockchip,percpu = <0>;
169 compatible = "rockchip,timer";
170 reg = <0x20038020 0x20>;
171 interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
172 rockchip,percpu = <1>;
176 compatible = "rockchip,timer";
177 reg = <0x20038040 0x20>;
178 interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
179 rockchip,percpu = <2>;
183 compatible = "rockchip,timer";
184 reg = <0x20038060 0x20>;
185 interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
186 rockchip,percpu = <3>;
190 compatible = "rockchip,timer";
191 reg = <0x20038080 0x20>;
192 interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
193 rockchip,broadcast = <1>;
197 compatible = "rockchip,timer";
198 reg = <0x200380a0 0x20>;
199 interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
200 rockchip,clocksource = <1>;
204 #address-cells = <1>;
206 compatible = "arm,amba-bus";
207 interrupt-parent = <&gic>;
210 pdma0: pdma@20018000 {
211 compatible = "arm,pl330", "arm,primecell";
212 reg = <0x20018000 0x4000>;
213 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>,
214 <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
217 #dma-requests = <10>;
220 pdma1: pdma@20078000 {
221 compatible = "arm,pl330", "arm,primecell";
222 reg = <0x20078000 0x4000>;
223 interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>,
224 <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
227 #dma-requests = <14>;
231 uart0: serial@10124000 {
232 compatible = "rockchip,serial";
233 reg = <0x10124000 0x100>;
234 interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
235 clock-frequency = <24000000>;
238 pinctrl-names = "default";
239 pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
243 uart1: serial@10126000 {
244 compatible = "rockchip,serial";
245 reg = <0x10126000 0x100>;
246 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
247 clock-frequency = <24000000>;
250 pinctrl-names = "default";
251 pinctrl-0 = <&uart1_xfer &uart1_cts &uart1_rts>;
255 uart2: serial@20064000 {
256 compatible = "rockchip,serial";
257 reg = <0x20064000 0x100>;
258 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
259 clock-frequency = <24000000>;
260 current-speed = <115200>;
263 pinctrl-names = "default";
264 pinctrl-0 = <&uart2_xfer>;
268 uart3: serial@20068000 {
269 compatible = "rockchip,serial";
270 reg = <0x20068000 0x100>;
271 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
272 clock-frequency = <24000000>;
275 pinctrl-names = "default";
276 pinctrl-0 = <&uart3_xfer &uart3_cts &uart3_rts>;
281 compatible = "rockchip,fiq-debugger";
282 rockchip,serial-id = <2>;
283 rockchip,signal-irq = <112>;
284 rockchip,wake-irq = <0>;
289 compatible = "rockchip,rk30-i2c";
290 reg = <0x2002d000 0x1000>;
291 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
292 #address-cells = <1>;
294 pinctrl-names = "default", "gpio";
295 pinctrl-0 = <&i2c0_sda &i2c0_scl>;
296 pinctrl-1 = <&i2c0_gpio>;
297 gpios = <&gpio1 GPIO_D0 GPIO_ACTIVE_LOW>, <&gpio1 GPIO_D1 GPIO_ACTIVE_LOW>;
298 clocks = <&clk_gates8 4>;
299 rockchip,check-idle = <1>;
304 compatible = "rockchip,rk30-i2c";
305 reg = <0x2002f000 0x1000>;
306 interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
307 #address-cells = <1>;
309 pinctrl-names = "default", "gpio";
310 pinctrl-0 = <&i2c1_sda &i2c1_scl>;
311 pinctrl-1 = <&i2c1_gpio>;
312 gpios = <&gpio1 GPIO_D2 GPIO_ACTIVE_LOW>, <&gpio1 GPIO_D3 GPIO_ACTIVE_LOW>;
313 clocks = <&clk_gates8 5>;
314 rockchip,check-idle = <1>;
319 compatible = "rockchip,rk30-i2c";
320 reg = <0x20055000 0x1000>;
321 interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
322 #address-cells = <1>;
324 pinctrl-names = "default", "gpio";
325 pinctrl-0 = <&i2c2_sda &i2c2_scl>;
326 pinctrl-1 = <&i2c2_gpio>;
327 gpios = <&gpio1 GPIO_D4 GPIO_ACTIVE_LOW>, <&gpio1 GPIO_D5 GPIO_ACTIVE_LOW>;
328 clocks = <&clk_gates8 6>;
329 rockchip,check-idle = <1>;
334 compatible = "rockchip,rk30-i2c";
335 reg = <0x20059000 0x1000>;
336 interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
337 #address-cells = <1>;
339 pinctrl-names = "default", "gpio";
340 pinctrl-0 = <&i2c3_sda &i2c3_scl>;
341 pinctrl-1 = <&i2c3_gpio>;
342 gpios = <&gpio3 GPIO_B6 GPIO_ACTIVE_LOW>, <&gpio3 GPIO_B7 GPIO_ACTIVE_LOW>;
343 clocks = <&clk_gates8 7>;
344 rockchip,check-idle = <1>;
349 compatible = "rockchip,rk30-i2c";
350 reg = <0x2005d000 0x1000>;
351 interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
352 #address-cells = <1>;
354 pinctrl-names = "default", "gpio";
355 pinctrl-0 = <&i2c4_sda &i2c4_scl>;
356 pinctrl-1 = <&i2c4_gpio>;
357 gpios = <&gpio1 GPIO_D6 GPIO_ACTIVE_LOW>, <&gpio1 GPIO_D7 GPIO_ACTIVE_LOW>;
358 clocks = <&clk_gates8 8>;
359 rockchip,check-idle = <1>;
364 compatible = "rockchip,clocks-init";
365 rockchip,clocks-init-parent =
366 <&clk_core &clk_apll>, <&aclk_cpu_mux &clk_gpll>,/*FIXME*/
367 <&aclk_peri_mux &clk_gpll>, <&clk_i2s_pll_mux &clk_cpll>,
368 <&clk_uart_pll_mux &clk_gpll>;
369 rockchip,clocks-init-rate =
370 <&clk_core 594000000>, <&clk_gpll 768000000>,
371 <&clk_cpll 594000000>, <&aclk_cpu 192000000>,
372 <&hclk_cpu 96000000>, <&pclk_cpu 48000000>,
373 <&pclk_ahb2apb 48000000>, <&aclk_peri 192000000>,
374 <&hclk_peri 96000000>, <&pclk_peri 48000000>,
375 <&clk_gpu 200000000>;
379 compatible = "rockchip,rk-fb";
380 rockchip,disp-mode = <DUAL>;
384 compatible = "rockchip,rk-nandc";
385 reg = <0x10050000 0x4000>;
386 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
389 lcdc0:lcdc@1010c000 {
390 compatible = "rockchip,rk3188-lcdc";
391 rockchip,prop = <PRMRY>;
392 rochchip,pwr18 = <0>;
393 reg = <0x1010c000 0x1000>;
394 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
398 lcdc1:lcdc@1010e000 {
399 compatible = "rockchip,rk3188-lcdc";
400 rockchip,prop = <EXTEND>;
401 rockchip,pwr18 = <0>;
402 reg = <0x1010e000 0x1000>;
403 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
404 pinctrl-names = "default", "gpio";
405 pinctrl-0 = <&lcdc1_lcdc>;
406 pinctrl-1 = <&lcdc1_gpio>;
411 compatible = "rockchip,pwm";
412 reg = <0x20030000 0x10>;
414 pinctrl-names = "default";
415 pinctrl-0 = <&pwm0_pin>;
421 compatible = "rockchip,pwm";
422 reg = <0x20030010 0x10>; /*0x20030000*/
424 pinctrl-names = "default";
425 pinctrl-0 = <&pwm1_pin>;
430 compatible = "rockchip,pwm";
431 reg = <0x20050020 0x10>; /*0x20030000*/
433 pinctrl-names = "default";
434 pinctrl-0 = <&pwm2_pin>;
440 compatible = "rockchip,pwm";
441 reg = <0x20050030 0x10>; /*0x20030000*/
443 pinctrl-names = "default";
444 pinctrl-0 = <&pwm3_pin>;
451 regulator_name="vdd_arm";
452 suspend_volt=<1000>; //mV
472 regulator_name="vdd_logic";
473 suspend_volt=<1000>; //mV