3 #include <dt-bindings/interrupt-controller/arm-gic.h>
4 #include <dt-bindings/rkfb/rk_fb.h>
7 compatible = "rockchip,rk3368";
9 interrupt-parent = <&gic>;
14 compatible = "fixed-clock";
16 clock-frequency = <24000000>;
17 clock-output-names = "xin24m";
30 compatible = "arm,cortex-a53","arm,armv8";
36 bootargs = "console=ttyS2 earlyprintk=uart8250-32bit,0xff690000";
40 compatible = "arm,armv8-timer";
41 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>,
42 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>,
43 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>,
44 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>;
45 clock-frequency = <24000000>;
49 device_type = "memory";
50 reg = <0x00000000 0x00000000 0x0 0x20000000>;
53 uart_dbg: serial@ff690000 {
54 compatible = "rockchip,serial";
55 reg = <0x0 0xff690000 0x0 0x100>;
56 interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
57 clock-frequency = <24000000>;
58 clocks = <&xin24m>, <&xin24m>;
59 clock-names = "sclk_uart", "pclk_uart";
64 gic: interrupt-controller@ffb70000 {
65 compatible = "arm,cortex-a15-gic";
66 #interrupt-cells = <3>;
69 reg = <0x0 0xffb71000 0 0x1000>,
70 <0x0 0xffb72000 0 0x1000>;
74 compatible = "rockchip,ion";
78 ion_cma: rockchip,ion-heap@1 { /* CMA HEAP */
79 compatible = "rockchip,ion-heap";
80 rockchip,ion_heap = <1>;
81 reg = <0x00000000 0x08000000>; /* 512MB */
83 rockchip,ion-heap@3 { /* VMALLOC HEAP */
84 compatible = "rockchip,ion-heap";
85 rockchip,ion_heap = <3>;
90 compatible = "rockchip,rk-fb";
91 rockchip,disp-mode = <NO_DUAL>;
95 rk_screen: rk_screen {
96 compatible = "rockchip,screen";
97 disp_timings: display-timings {
98 native-mode = <&timing0>;
100 screen-type = <SCREEN_RGB>;
101 out-face = <OUT_P888>;
102 color-mode = <COLOR_RGB>;
103 clock-frequency = <27000000>;
115 pixelclk-active = <0>;
123 lvds: lvds@ff968000 {
124 compatible = "rockchip,rk3368-lvds";
125 reg = <0x0 0xff968000 0x0 0x4000>, <0x0 0xff9600b0 0x0 0x01>;
126 //reg = <0xff968000 0x4000>, <0xff9600b0 0x01>;
127 reg-names = "mipi_lvds_phy", "mipi_lvds_ctl";
128 //clocks = <&dummy>, <&dummy>;
129 //clock-names = "pclk_lvds", "pclk_lvds_ctl";
133 lcdc: lcdc@ff930000 {
134 compatible = "rockchip,rk3368-lcdc";
135 rockchip,prop = <PRMRY>;
136 rockchip,pwr18 = <0>;
137 rockchip,iommu-enabled = <0>;
138 //reg = <0xff930000 0x10000>;
139 reg = <0x0 0xff930000 0x0 0x10000>;
140 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
141 //pinctrl-names = "default", "gpio";
142 //pinctrl-0 = <&lcdc_lcdc>;
143 //pinctrl-1 = <&lcdc_gpio>;
145 //clocks = <&dummy>, <&dummy>, <&dummy>, <&dummy>, <&dummy>;
146 //clock-names = "aclk_lcdc", "dclk_lcdc", "hclk_lcdc", "pd_lcdc", "sclk_lcdc";
147 power_ctr: power_ctr {
148 rockchip,debug = <0>;
151 rockchip,power_type = <GPIO>;
152 gpios = <&gpio7 GPIO_A3 GPIO_ACTIVE_HIGH>;
153 rockchip,delay = <10>;
157 rockchip,power_type = <REGULATOR>;
158 rockchip,delay = <10>;
162 rockchip,power_type = <GPIO>;
163 gpios = <&gpio3 GPIO_D6 GPIO_ACTIVE_HIGH>;
164 rockchip,delay = <5>;