Allwinner A10 Module 1 Clock
Schema identifier ($id): "http://devicetree.org/schemas/clock/allwinner,sun4i-a10-mmc-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>"
Deprecated (deprecated): true
Properties and child nodes (properties) #
#clock-cells — required here #
Exact value (const): 1
There is three different outputs: the main clock, with the ID 0, and the output and sample clocks, with the IDs 1 and 2, respectively.
compatible — required here #
Allowed values (enum): "allwinner,sun4i-a10-mmc-clk", "allwinner,sun9i-a80-mmc-clk"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 3
The parent order must match the hardware programming order.
clock-output-names — required here #
Maximum number of items (maxItems): 3
Required in this object (required): "#clock-cells", "compatible", "reg", "clocks", "clock-output-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Condition (if) #
Properties and child nodes (
properties) #
compatible— not listed as required here #Rule for matching array elements (
contains)Exact value (
const):"allwinner,sun4i-a10-mmc-clk"
When the condition matches (then) #
Properties and child nodes (
properties) #
clocks— not listed as required here #Maximum number of items (
maxItems):3
When the condition does not match (else) #
Properties and child nodes (
properties) #
clocks— not listed as required here #Maximum number of items (
maxItems):2
Examples (examples) #
clk@1c20088 {
#clock-cells = <1>;
compatible = "allwinner,sun4i-a10-mmc-clk";
reg = <0x01c20088 0x4>;
clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
clock-output-names = "mmc0",
"mmc0_output",
"mmc0_sample";
};
clk@6000410 {
#clock-cells = <1>;
compatible = "allwinner,sun9i-a80-mmc-clk";
reg = <0x06000410 0x4>;
clocks = <&osc24M>, <&pll4>;
clock-output-names = "mmc0", "mmc0_output",
"mmc0_sample";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0