aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2016-01-07 06:28:00 -0500
committerMaxime Ripard <maxime.ripard@free-electrons.com>2016-09-10 05:50:42 -0400
commitb12684fed5dcf2da14ac98adc38e6a7fb7ad0c7a (patch)
treef6959eb90f360601c8c74cddf1489c5ea9a43416
parent2c89ce4f4b19561218c1acb97172bd7ba1a6ddc2 (diff)
ARM: sun8i: a33: Add display pipeline
Add all the needed blocks to the A33 DTSI. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
-rw-r--r--arch/arm/boot/dts/sun8i-a33.dtsi152
1 files changed, 152 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun8i-a33.dtsi b/arch/arm/boot/dts/sun8i-a33.dtsi
index f3d91d2c96ef..1d21d488cb3e 100644
--- a/arch/arm/boot/dts/sun8i-a33.dtsi
+++ b/arch/arm/boot/dts/sun8i-a33.dtsi
@@ -59,11 +59,53 @@
59 }; 59 };
60 }; 60 };
61 61
62 de: display-engine {
63 compatible = "allwinner,sun8i-a33-display-engine";
64 allwinner,pipelines = <&fe0>;
65 status = "disabled";
66 };
67
62 memory { 68 memory {
63 reg = <0x40000000 0x80000000>; 69 reg = <0x40000000 0x80000000>;
64 }; 70 };
65 71
66 soc@01c00000 { 72 soc@01c00000 {
73 tcon0: lcd-controller@01c0c000 {
74 compatible = "allwinner,sun8i-a33-tcon";
75 reg = <0x01c0c000 0x1000>;
76 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
77 clocks = <&ccu CLK_BUS_LCD>,
78 <&ccu CLK_LCD_CH0>;
79 clock-names = "ahb",
80 "tcon-ch0";
81 clock-output-names = "tcon-pixel-clock";
82 resets = <&ccu RST_BUS_LCD>;
83 reset-names = "lcd";
84 status = "disabled";
85
86 ports {
87 #address-cells = <1>;
88 #size-cells = <0>;
89
90 tcon0_in: port@0 {
91 #address-cells = <1>;
92 #size-cells = <0>;
93 reg = <0>;
94
95 tcon0_in_drc0: endpoint@0 {
96 reg = <0>;
97 remote-endpoint = <&drc0_out_tcon0>;
98 };
99 };
100
101 tcon0_out: port@1 {
102 #address-cells = <1>;
103 #size-cells = <0>;
104 reg = <1>;
105 };
106 };
107 };
108
67 crypto: crypto-engine@01c15000 { 109 crypto: crypto-engine@01c15000 {
68 compatible = "allwinner,sun4i-a10-crypto"; 110 compatible = "allwinner,sun4i-a10-crypto";
69 reg = <0x01c15000 0x1000>; 111 reg = <0x01c15000 0x1000>;
@@ -104,6 +146,116 @@
104 status = "disabled"; 146 status = "disabled";
105 #phy-cells = <1>; 147 #phy-cells = <1>;
106 }; 148 };
149
150 fe0: display-frontend@01e00000 {
151 compatible = "allwinner,sun8i-a33-display-frontend";
152 reg = <0x01e00000 0x20000>;
153 interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
154 clocks = <&ccu CLK_BUS_DE_FE>, <&ccu CLK_DE_FE>,
155 <&ccu CLK_DRAM_DE_FE>;
156 clock-names = "ahb", "mod",
157 "ram";
158 resets = <&ccu RST_BUS_DE_FE>;
159 status = "disabled";
160
161 ports {
162 #address-cells = <1>;
163 #size-cells = <0>;
164
165 fe0_out: port@1 {
166 #address-cells = <1>;
167 #size-cells = <0>;
168 reg = <1>;
169
170 fe0_out_be0: endpoint@0 {
171 reg = <0>;
172 remote-endpoint = <&be0_in_fe0>;
173 };
174 };
175 };
176 };
177
178 be0: display-backend@01e60000 {
179 compatible = "allwinner,sun8i-a33-display-backend";
180 reg = <0x01e60000 0x10000>, <0x01e80000 0x1000>;
181 reg-names = "be", "sat";
182 interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
183 clocks = <&ccu CLK_BUS_DE_BE>, <&ccu CLK_DE_BE>,
184 <&ccu CLK_DRAM_DE_BE>, <&ccu CLK_BUS_SAT>;
185 clock-names = "ahb", "mod",
186 "ram", "sat";
187 resets = <&ccu RST_BUS_DE_BE>, <&ccu RST_BUS_SAT>;
188 reset-names = "be", "sat";
189 assigned-clocks = <&ccu CLK_DE_BE>;
190 assigned-clock-rates = <300000000>;
191
192 ports {
193 #address-cells = <1>;
194 #size-cells = <0>;
195
196 be0_in: port@0 {
197 #address-cells = <1>;
198 #size-cells = <0>;
199 reg = <0>;
200
201 be0_in_fe0: endpoint@0 {
202 reg = <0>;
203 remote-endpoint = <&fe0_out_be0>;
204 };
205 };
206
207 be0_out: port@1 {
208 #address-cells = <1>;
209 #size-cells = <0>;
210 reg = <1>;
211
212 be0_out_drc0: endpoint@0 {
213 reg = <0>;
214 remote-endpoint = <&drc0_in_be0>;
215 };
216 };
217 };
218 };
219
220 drc0: drc@01e70000 {
221 compatible = "allwinner,sun8i-a33-drc";
222 reg = <0x01e70000 0x10000>;
223 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
224 clocks = <&ccu CLK_BUS_DRC>, <&ccu CLK_DRC>,
225 <&ccu CLK_DRAM_DRC>;
226 clock-names = "ahb", "mod", "ram";
227 resets = <&ccu RST_BUS_DRC>;
228
229 assigned-clocks = <&ccu CLK_DRC>;
230 assigned-clock-rates = <300000000>;
231
232 ports {
233 #address-cells = <1>;
234 #size-cells = <0>;
235
236 drc0_in: port@0 {
237 #address-cells = <1>;
238 #size-cells = <0>;
239 reg = <0>;
240
241 drc0_in_be0: endpoint@0 {
242 reg = <0>;
243 remote-endpoint = <&be0_out_drc0>;
244 };
245 };
246
247 drc0_out: port@1 {
248 #address-cells = <1>;
249 #size-cells = <0>;
250 reg = <1>;
251
252 drc0_out_tcon0: endpoint@0 {
253 reg = <0>;
254 remote-endpoint = <&tcon0_in_drc0>;
255 };
256 };
257 };
258 };
107 }; 259 };
108}; 260};
109 261