1 # SPDX-License-Identifier: GPL-2.0
4 $id: http://devicetree.org/schemas/display/allwinner,sun4i-a10-display-backend.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner A10 Display Engine Backend Device Tree Bindings
10 - Chen-Yu Tsai <wens@csie.org>
11 - Maxime Ripard <mripard@kernel.org>
14 The display engine backend exposes layers and sprites to the system.
19 - allwinner,sun4i-a10-display-backend
20 - allwinner,sun5i-a13-display-backend
21 - allwinner,sun6i-a31-display-backend
22 - allwinner,sun7i-a20-display-backend
23 - allwinner,sun8i-a23-display-backend
24 - allwinner,sun8i-a33-display-backend
25 - allwinner,sun9i-a80-display-backend
31 - description: Display Backend registers
32 - description: SAT registers
48 - description: The backend interface clock
49 - description: The backend module clock
50 - description: The backend DRAM clock
51 - description: The SAT clock
66 - description: The Backend reset line
67 - description: The SAT reset line
76 # FIXME: This should be made required eventually once every SoC will
77 # have the MBUS declared.
81 # FIXME: This should be made required eventually once every SoC will
82 # have the MBUS declared.
87 $ref: /schemas/graph.yaml#/properties/ports
91 $ref: /schemas/graph.yaml#/properties/port
93 Input endpoints of the controller.
96 $ref: /schemas/graph.yaml#/properties/port
98 Output endpoints of the controller.
113 additionalProperties: false
119 const: allwinner,sun8i-a33-display-backend
168 * This comes from the clock/sun4i-a10-ccu.h and
169 * reset/sun4i-a10-ccu.h headers, but we can't include them since
170 * it would trigger a bunch of warnings for redefinitions of
171 * symbols with the other example.
174 #define CLK_AHB_DE_BE0 42
175 #define CLK_DRAM_DE_BE0 140
176 #define CLK_DE_BE0 144
179 display-backend@1e60000 {
180 compatible = "allwinner,sun4i-a10-display-backend";
181 reg = <0x01e60000 0x10000>;
183 clocks = <&ccu CLK_AHB_DE_BE0>, <&ccu CLK_DE_BE0>,
184 <&ccu CLK_DRAM_DE_BE0>;
185 clock-names = "ahb", "mod",
187 resets = <&ccu RST_DE_BE0>;
190 #address-cells = <1>;
194 #address-cells = <1>;
200 remote-endpoint = <&fe0_out_be0>;
205 remote-endpoint = <&fe1_out_be0>;
210 #address-cells = <1>;
216 remote-endpoint = <&tcon0_in_be0>;
221 remote-endpoint = <&tcon1_in_be0>;
228 #include <dt-bindings/interrupt-controller/arm-gic.h>
231 * This comes from the clock/sun8i-a23-a33-ccu.h and
232 * reset/sun8i-a23-a33-ccu.h headers, but we can't include them
233 * since it would trigger a bunch of warnings for redefinitions of
234 * symbols with the other example.
237 #define CLK_BUS_DE_BE 40
238 #define CLK_BUS_SAT 46
239 #define CLK_DRAM_DE_BE 84
241 #define RST_BUS_DE_BE 21
242 #define RST_BUS_SAT 27
244 display-backend@1e60000 {
245 compatible = "allwinner,sun8i-a33-display-backend";
246 reg = <0x01e60000 0x10000>, <0x01e80000 0x1000>;
247 reg-names = "be", "sat";
248 interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
249 clocks = <&ccu CLK_BUS_DE_BE>, <&ccu CLK_DE_BE>,
250 <&ccu CLK_DRAM_DE_BE>, <&ccu CLK_BUS_SAT>;
251 clock-names = "ahb", "mod",
253 resets = <&ccu RST_BUS_DE_BE>, <&ccu RST_BUS_SAT>;
254 reset-names = "be", "sat";
257 #address-cells = <1>;
264 remote-endpoint = <&fe0_out_be0>;
272 remote-endpoint = <&drc0_in_be0>;