3 #include <dt-bindings/interrupt-controller/arm-gic.h>
4 #include <dt-bindings/rkfb/rk_fb.h>
6 #include "skeleton.dtsi"
7 #include "rk3228-clocks.dtsi"
10 compatible = "rockchip,rk3228";
11 interrupt-parent = <&gic>;
19 compatible = "arm,cortex-a7";
24 gic: interrupt-controller@32010000 {
25 compatible = "arm,cortex-a15-gic";
27 #interrupt-cells = <3>;
29 reg = <0x32011000 0x1000>,
34 compatible = "arm,armv7-timer";
35 interrupts = <GIC_PPI 13
36 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
38 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
39 clock-frequency = <24000000>;
43 device_type = "memory";
44 reg = <0x60000000 0x10000000>;
48 bootargs = "initrd=0x62000000,0x00180000 init=/init console=ttyFIQ0,115200 earlyprintk=uart8250-32bit,0x11030000";
55 uart_dbg: serial@11030000 {
56 compatible = "rockchip,serial";
57 reg = <0x11030000 0x100>;
58 interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
59 clock-frequency = <24000000>;
60 clocks = <&xin24m>, <&xin24m>;
61 clock-names = "sclk_uart", "pclk_uart";
68 compatible = "rockchip,fiq-debugger";
69 rockchip,serial-id = <2>;
70 rockchip,signal-irq = <159>;
71 rockchip,wake-irq = <0>;
72 rockchip,irq-mode-enable = <1>; /* If enable uart uses irq instead of fiq */
73 rockchip,baudrate = <115200>; /* Only 115200 and 1500000 */
74 //status = "disabled";
78 compatible = "rockchip,ion";
83 ion_carveout: rockchip,ion-heap@2 {
84 compatible = "rockchip,ion-heap";
85 rockchip,ion_heap = <2>;
86 reg = <0x42000000 0xc00000>;
89 ion_cma: rockchip,ion-heap@4 {
90 compatible = "rockchip,ion-heap";
91 rockchip,ion_heap = <4>;
92 reg = <0x00000000 0x4000000>;
94 rockchip,ion-heap@0 { /* VMALLOC HEAP */
95 compatible = "rockchip,ion-heap";
96 rockchip,ion_heap = <0>;
100 backlight: backlight {
101 compatible = "pwm-backlight";
102 brightness-levels = <255 254 253 252 251 250 249 248 247 246 245 244 243 242 241 240
103 239 238 237 236 235 234 233 232 231 230 229 228 227 226 225 224 223 222 221 220
104 219 218 217 216 215 214 213 212 211 210 209 208 207 206 205 204 203 202 201 200
105 199 198 197 196 195 194 193 192 191 190 189 188 187 186 185 184 183 182 181 180
106 179 178 177 176 175 174 173 172 171 170 169 168 167 166 165 164 163 162 161 160
107 159 158 157 156 155 154 153 152 151 150 149 148 147 146 145 144 143 142 141 140
108 139 138 137 136 135 134 133 132 131 130 129 128 127 126 125 124 123 122 121 120
109 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100
110 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70
111 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40
112 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10
113 9 8 7 6 5 4 3 2 1 0>;
114 default-brightness-level = <200>;
118 compatible = "rockchip,rk3228-lcdc";
119 backlight = <&backlight>;
121 rockchip,cabc_mode = <0>;
123 rockchip,pwr18 = <0>;
124 rockchip,iommu-enabled = <1>;
125 reg = <0x20050000 0x300>;
126 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
127 clocks = <&aclk_vop>, <&dclk_vop0>, <&hclk_vio>;
128 clock-names = "aclk_lcdc", "dclk_lcdc", "hclk_lcdc";
133 compatible = "rockchip,vop_mmu";
134 reg = <0x20053f00 0x100>;
135 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
136 interrupt-names = "vopb_mmu";
140 compatible = "rockchip,rk-fb";
141 rockchip,disp-mode = <0>;
144 rk_screen: rk_screen{
145 compatible = "rockchip,screen";
146 disp_timings: display-timings {
147 native-mode = <&timing0>;
149 screen-type = <SCREEN_RGB>;
150 out-face = <OUT_P888>;
151 clock-frequency = <27000000>;
163 pixelclk-active = <0>;
171 rockchip_clocks_init: clocks-init{
172 compatible = "rockchip,clocks-init";
173 rockchip,clocks-init-parent =
174 <&clk_i2s0_pll &clk_cpll>, <&clk_i2s1_pll &clk_cpll>,
175 <&clk_i2s2_pll &clk_cpll>, <&clk_spdif_pll &clk_cpll>,
176 <&aclk_gpu &clk_cpll>, <&dclk_vop0 &hdmi_phy_clk>,
177 <&aclk_bus &clk_cpll>, <&aclk_peri &clk_cpll>,
178 <&clk_sdmmc0 &clk_cpll>, <&clk_emmc &clk_cpll>,
179 <&clk_sdio &clk_cpll>, <&aclk_vpu &clk_cpll>,
180 <&hdmi_phy_clk &hdmiphy_out>, <&usb480m &usb480m_phy>;
181 rockchip,clocks-init-rate =
182 <&clk_gpll 600000000>, <&clk_core 700000000>,
183 <&clk_cpll 500000000>, <&aclk_bus 250000000>,
184 <&hclk_bus 125000000>, <&pclk_bus 62500000>,
185 <&aclk_peri 250000000>, <&hclk_peri 125000000>,
186 <&pclk_peri 62500000>, <&clk_mac 125000000>,
187 <&aclk_iep 250000000>, <&hclk_vio 125000000>,
188 <&aclk_rga 250000000>, <&aclk_gpu 250000000>,
189 <&aclk_vpu 25000000>, <&clk_vdec_core 250000000>,
190 <&clk_vdec_cabac 250000000>;
192 rockchip,clocks-uboot-has-init =
197 rockchip_clocks_enable: clocks-enable {
198 compatible = "rockchip,clocks-enable";
216 <&clk_gates8 0>,/*aclk_intmem*/
217 <&clk_gates8 1>,/*clk_intmem_mbist*/
218 <&clk_gates8 3>,/*aclk_dmac_bus*/
219 <&clk_gates10 1>,/*g_aclk_bus*/
220 <&clk_gates13 9>,/*aclk_gic400*/
221 <&clk_gates8 3>,/*hclk_rom*/
222 <&clk_gates8 4>,/*pclk_ddrupctl*/
223 <&clk_gates8 6>,/*pclk_ddrmon*/
224 <&clk_gates9 4>,/*pclk_timer0*/
225 <&clk_gates9 5>,/*pclk_stimer*/
226 <&clk_gates10 0>,/*pclk_grf*/
227 <&clk_gates10 4>,/*pclk_cru*/
228 <&clk_gates10 6>,/*pclk_sgrf*/
229 <&clk_gates10 3>,/*pclk_ddrphy*/
230 <&clk_gates10 9>,/*pclk_phy_noc*/
236 <&clk_gates12 0>,/*aclk_peri_noc*/
237 <&clk_gates12 1>,/*hclk_peri_noc*/
238 <&clk_gates12 2>,/*pclk_peri_noc*/
240 <&clk_gates6 5>, /* g_clk_timer0 */
241 <&clk_gates6 6>, /* g_clk_timer1 */
243 <&clk_gates7 14>, /* g_aclk_gpu */
244 <&clk_gates7 15>, /* g_aclk_gpu_noc */
246 <&clk_gates1 3>;/*clk_jtag*/
250 #address-cells = <1>;
252 compatible = "arm,amba-bus";
253 interrupt-parent = <&gic>;
256 pdma: pdma@110f0000 {
257 compatible = "arm,pl330", "arm,primecell";
258 reg = <0x110f0000 0x4000>;
259 clocks = <&clk_gates8 2>;
260 clock-names = "apb_pclk";
261 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
262 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;