1 #include <dt-bindings/interrupt-controller/arm-gic.h>
2 #include "skeleton.dtsi"
3 #include "rk3288-pinctrl.dtsi"
6 compatible = "rockchip,rk3288";
7 interrupt-parent = <&gic>;
24 compatible = "arm,cortex-a15";
29 compatible = "arm,cortex-a15";
34 compatible = "arm,cortex-a15";
39 compatible = "arm,cortex-a15";
44 gic: interrupt-controller@ffc01000 {
45 compatible = "arm,cortex-a15-gic";
47 #interrupt-cells = <3>;
49 reg = <0xffc01000 0x1000>,
54 compatible = "arm,armv7-timer";
55 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
56 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
57 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
58 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
59 clock-frequency = <24000000>;
63 compatible = "rockchip,timer";
64 reg = <0xff810000 0x20>;
65 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
66 rockchip,broadcast = <1>;
70 compatible = "rockchip,timer";
71 reg = <0xff810020 0x20>;
72 interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
73 rockchip,clocksource = <1>;
74 rockchip,count-up = <1>;
77 uart_dbg: serial@ff690000 {
78 compatible = "rockchip,serial";
79 reg = <0xff690000 0x100>;
80 interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
81 clock-frequency = <24000000>;
88 compatible = "rockchip,fiq-debugger";
89 rockchip,serial-id = <2>;
90 rockchip,signal-irq = <106>;
91 rockchip,wake-irq = <0>;
98 compatible = "rockchip,rk30-i2c";
99 reg = <0xff650000 0x1000>;
100 interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
101 #address-cells = <1>;
103 //pinctrl-names = "default", "gpio";
104 //pinctrl-0 = <&i2c0_sda &i2c0_scl>;
105 //pinctrl-1 = <&i2c0_gpio>;
106 //gpios = <&gpio0 GPIO_B7 GPIO_ACTIVE_LOW>, <&gpio0 GPIO_C0 GPIO_ACTIVE_LOW>;
107 //clocks = <&clk_gates8 4>;
108 rockchip,check-idle = <1>;
113 compatible = "rockchip,rk30-i2c";
114 reg = <0xff140000 0x1000>;
115 interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
116 #address-cells = <1>;
118 //pinctrl-names = "default", "gpio";
119 //pinctrl-0 = <&i2c1_sda &i2c1_scl>;
120 //pinctrl-1 = <&i2c1_gpio>;
121 //gpios = <&gpio8 GPIO_A4 GPIO_ACTIVE_LOW>, <&gpio8 GPIO_A5 GPIO_ACTIVE_LOW>;
122 //clocks = <&clk_gates8 5>;
123 rockchip,check-idle = <1>;
130 compatible = "rockchip,rk30-i2c";
131 reg = <0xff660000 0x1000>;
132 interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
133 #address-cells = <1>;
135 //pinctrl-names = "default", "gpio";
136 //pinctrl-0 = <&i2c2_sda &i2c2_scl>;
137 //pinctrl-1 = <&i2c2_gpio>;
138 //gpios = <&gpio6 GPIO_B1 GPIO_ACTIVE_LOW>, <&gpio6 GPIO_B2 GPIO_ACTIVE_LOW>;
139 //clocks = <&clk_gates8 6>;
140 rockchip,check-idle = <1>;
145 compatible = "rockchip,rk30-i2c";
146 reg = <0xff150000 0x1000>;
147 interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
148 #address-cells = <1>;
150 //pinctrl-names = "default", "gpio";
151 //pinctrl-0 = <&i2c2_sda &i2c2_scl>;
152 //pinctrl-1 = <&i2c2_gpio>;
153 //gpios = <&gpio2 GPIO_C1 GPIO_ACTIVE_LOW>, <&gpio2 GPIO_C0 GPIO_ACTIVE_LOW>;
154 //clocks = <&clk_gates8 6>;
155 rockchip,check-idle = <1>;
160 compatible = "rockchip,rk30-i2c";
161 reg = <0xff160000 0x1000>;
162 interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
163 #address-cells = <1>;
165 //pinctrl-names = "default", "gpio";
166 //pinctrl-0 = <&i2c3_sda &i2c3_scl>;
167 //pinctrl-1 = <&i2c3_gpio>;
168 //gpios = <&gpio7 GPIO_C1 GPIO_ACTIVE_LOW>, <&gpio7 GPIO_C2 GPIO_ACTIVE_LOW>;
169 //clocks = <&clk_gates8 7>;
170 rockchip,check-idle = <1>;
175 compatible = "rockchip,rk30-i2c";
176 reg = <0xff170000 0x1000>;
177 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
178 #address-cells = <1>;
180 //pinctrl-names = "default", "gpio";
181 //pinctrl-0 = <&i2c4_sda &i2c4_scl>;
182 //pinctrl-1 = <&i2c4_gpio>;
183 //gpios = <&gpio7 GPIO_C3 GPIO_ACTIVE_LOW>, <&gpio7 GPIO_C4 GPIO_ACTIVE_LOW>;
184 //clocks = <&clk_gates8 8>;
185 rockchip,check-idle = <1>;
190 compatible = "rockchip,saradc";
191 reg = <0xff100000 0x100>;
192 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
193 #io-channel-cells = <1>;
195 rockchip,adc-vref = <1800>;
196 clock-frequency = <1000000>;
197 clock-names = "saradc", "pclk_saradc";
202 compatible = "rockchip,rga";
203 reg = <0xff930000 0x1000>;
204 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
205 clock-names = "hclk_rga", "aclk_rga";
209 i2s: rockchip-i2s@0xff890000 {
210 compatible = "rockchip-i2s";
211 reg = <0xff890000 0x10000>;
213 // clocks = <&clk_i2s>;
214 // clock-names = "i2s_clk","i2s_mclk";
215 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
216 // dmas = <&pdma0 0>,
219 // dma-names = "tx", "rx";
220 // pinctrl-names = "default", "sleep";
221 // pinctrl-0 = <&i2s0_mclk &i2s0_sclk &i2s0_lrckrx &i2s0_lrcktx &i2s0_sdi &i2s0_sdo0 &i2s0_sdo1 &i2s0_sdo2 &i2s0_sdo3>;
222 // pinctrl-1 = <&i2s0_gpio>;
225 spdif: rockchip-spdif@0xff8b0000 {
226 compatible = "rockchip-spdif";
227 reg = <0xff8b0000 0x10000>; //8channel
228 //reg = <ff880000 0x2000>;//2channel
229 // clocks = <&clk_spdif>;
230 // clock-names = "spdif_mclk";
231 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
232 // dmas = <&pdma0 8>;
235 // pinctrl-names = "default";
236 // pinctrl-0 = <&spdif_tx>;
239 compatible = "rockchip,ion";
240 #address-cells = <1>;
242 rockchip,ion-heap@1 { /* CMA HEAP */
245 rockchip,ion-heap@3 { /* SYSTEM HEAP */