1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/media/allwinner,sun8i-a83t-de2-rotate.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner A83T DE2 Rotate Device Tree Bindings
10 - Jernej Skrabec <jernej.skrabec@siol.net>
11 - Chen-Yu Tsai <wens@csie.org>
12 - Maxime Ripard <mripard@kernel.org>
15 The Allwinner A83T and A64 have a rotation core used for
16 rotating and flipping images.
21 - const: allwinner,sun8i-a83t-de2-rotate
23 - const: allwinner,sun50i-a64-de2-rotate
24 - const: allwinner,sun8i-a83t-de2-rotate
34 - description: Rotate interface clock
35 - description: Rotate module clock
51 additionalProperties: false
55 #include <dt-bindings/interrupt-controller/arm-gic.h>
56 #include <dt-bindings/clock/sun8i-de2.h>
57 #include <dt-bindings/reset/sun8i-de2.h>
59 rotate: rotate@1020000 {
60 compatible = "allwinner,sun8i-a83t-de2-rotate";
61 reg = <0x1020000 0x10000>;
62 interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
63 clocks = <&display_clocks CLK_BUS_ROT>,
64 <&display_clocks CLK_ROT>;
67 resets = <&display_clocks RST_ROT>;