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
30 - description: Display Backend registers
31 - description: SAT registers
45 - description: The backend interface clock
46 - description: The backend module clock
47 - description: The backend DRAM clock
48 - description: The SAT clock
61 - description: The Backend reset line
62 - description: The SAT reset line
70 # FIXME: This should be made required eventually once every SoC will
71 # have the MBUS declared.
75 # FIXME: This should be made required eventually once every SoC will
76 # have the MBUS declared.
81 $ref: /schemas/graph.yaml#/properties/ports
85 $ref: /schemas/graph.yaml#/properties/port
87 Input endpoints of the controller.
90 $ref: /schemas/graph.yaml#/properties/port
92 Output endpoints of the controller.
107 additionalProperties: false
113 const: allwinner,sun8i-a33-display-backend
162 * This comes from the clock/sun4i-a10-ccu.h and
163 * reset/sun4i-a10-ccu.h headers, but we can't include them since
164 * it would trigger a bunch of warnings for redefinitions of
165 * symbols with the other example.
168 #define CLK_AHB_DE_BE0 42
169 #define CLK_DRAM_DE_BE0 140
170 #define CLK_DE_BE0 144
173 display-backend@1e60000 {
174 compatible = "allwinner,sun4i-a10-display-backend";
175 reg = <0x01e60000 0x10000>;
177 clocks = <&ccu CLK_AHB_DE_BE0>, <&ccu CLK_DE_BE0>,
178 <&ccu CLK_DRAM_DE_BE0>;
179 clock-names = "ahb", "mod",
181 resets = <&ccu RST_DE_BE0>;
184 #address-cells = <1>;
188 #address-cells = <1>;
194 remote-endpoint = <&fe0_out_be0>;
199 remote-endpoint = <&fe1_out_be0>;
204 #address-cells = <1>;
210 remote-endpoint = <&tcon0_in_be0>;
215 remote-endpoint = <&tcon1_in_be0>;
222 #include <dt-bindings/interrupt-controller/arm-gic.h>
225 * This comes from the clock/sun8i-a23-a33-ccu.h and
226 * reset/sun8i-a23-a33-ccu.h headers, but we can't include them
227 * since it would trigger a bunch of warnings for redefinitions of
228 * symbols with the other example.
231 #define CLK_BUS_DE_BE 40
232 #define CLK_BUS_SAT 46
233 #define CLK_DRAM_DE_BE 84
235 #define RST_BUS_DE_BE 21
236 #define RST_BUS_SAT 27
238 display-backend@1e60000 {
239 compatible = "allwinner,sun8i-a33-display-backend";
240 reg = <0x01e60000 0x10000>, <0x01e80000 0x1000>;
241 reg-names = "be", "sat";
242 interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
243 clocks = <&ccu CLK_BUS_DE_BE>, <&ccu CLK_DE_BE>,
244 <&ccu CLK_DRAM_DE_BE>, <&ccu CLK_BUS_SAT>;
245 clock-names = "ahb", "mod",
247 resets = <&ccu RST_BUS_DE_BE>, <&ccu RST_BUS_SAT>;
248 reset-names = "be", "sat";
251 #address-cells = <1>;
258 remote-endpoint = <&fe0_out_be0>;
266 remote-endpoint = <&drc0_in_be0>;