Allwinner A83T DE2 Rotate

Schema identifier ($id): "http://devicetree.org/schemas/media/allwinner,sun8i-a83t-de2-rotate.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Jernej Skrabec <jernej.skrabec@siol.net>", "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

The Allwinner A83T and A64 have a rotation core used for rotating and flipping images.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "allwinner,sun8i-a83t-de2-rotate"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "allwinner,sun50i-a64-de2-rotate"

Item 2

Exact value (const): "allwinner,sun8i-a83t-de2-rotate"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

Rotate interface clock

Item 2

Rotate module clock

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "bus"

Item 2

Exact value (const): "mod"

resets — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "interrupts", "clocks"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/sun8i-de2.h>
#include <dt-bindings/reset/sun8i-de2.h>

rotate: rotate@1020000 {
    compatible = "allwinner,sun8i-a83t-de2-rotate";
    reg = <0x1020000 0x10000>;
    interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&display_clocks CLK_BUS_ROT>,
             <&display_clocks CLK_ROT>;
    clock-names = "bus",
                  "mod";
    resets = <&display_clocks RST_ROT>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Edit this page