Allwinner A83t Display Engine 2/3 Clock Controller

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

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

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

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

Rule 2

Exact value (const): "allwinner,sun8i-h3-de2-clk"

Rule 3

Exact value (const): "allwinner,sun8i-v3s-de2-clk"

Rule 4

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

Rule 5

Exact value (const): "allwinner,sun50i-h5-de2-clk"

Rule 6

Exact value (const): "allwinner,sun50i-h6-de3-clk"

Rule 7

Exact value (const): "allwinner,sun50i-h616-de33-clk"

Rule 8

Array item rules (items)

Item 1

Exact value (const): "allwinner,sun8i-r40-de2-clk"

Item 2

Exact value (const): "allwinner,sun8i-h3-de2-clk"

Rule 9

Array item rules (items)

Item 1

Exact value (const): "allwinner,sun20i-d1-de2-clk"

Item 2

Exact value (const): "allwinner,sun50i-h5-de2-clk"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

Bus Clock

Item 2

Module Clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "bus"

Item 2

Exact value (const): "mod"

resets — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "#clock-cells", "#reset-cells", "compatible", "reg", "clocks", "clock-names", "resets"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/sun8i-h3-ccu.h>
#include <dt-bindings/reset/sun8i-h3-ccu.h>

de2_clocks: clock@1000000 {
    compatible = "allwinner,sun8i-h3-de2-clk";
    reg = <0x01000000 0x100000>;
    clocks = <&ccu CLK_BUS_DE>,
             <&ccu CLK_DE>;
    clock-names = "bus",
                  "mod";
    resets = <&ccu RST_BUS_DE>;
    #clock-cells = <1>;
    #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0+

Edit this page