Allwinner A80 USB Clock Controller

Schema identifier ($id): "http://devicetree.org/schemas/clock/allwinner,sun9i-a80-usb-clks.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 #

Exact value (const): "allwinner,sun9i-a80-usb-clks"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

Bus Clock

Item 2

High Frequency Oscillator

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "bus"

Item 2

Exact value (const): "hosc"

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

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/sun9i-a80-ccu.h>

usb_clocks: clock@a08000 {
    compatible = "allwinner,sun9i-a80-usb-clks";
    reg = <0x00a08000 0x8>;
    clocks = <&ccu CLK_BUS_USB>, <&osc24M>;
    clock-names = "bus", "hosc";
    #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