Amlogic Always-On Clock Controller
Schema identifier ($id): "http://devicetree.org/schemas/clock/amlogic,gxbb-aoclkc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Allowed values (
enum):"amlogic,meson-gxbb-aoclkc","amlogic,meson-gxl-aoclkc","amlogic,meson-gxm-aoclkc","amlogic,meson-axg-aoclkc"Item 2
Exact value (
const):"amlogic,meson-gx-aoclkc"
Rule 2
Allowed values (
enum):"amlogic,meson-axg-aoclkc","amlogic,meson-g12a-aoclkc"
clocks — required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 5
clock-names — required here #
Minimum number of items (minItems): 2
Array item rules (items) #
Item 1
Exact value (
const):"xtal"
Item 2
Exact value (
const):"mpeg-clk"
Item 3
Exact value (
const):"ext-32k-0"
Item 4
Exact value (
const):"ext-32k-1"
Item 5
Exact value (
const):"ext-32k-2"
#clock-cells — required here #
Exact value (const): 1
#reset-cells — required here #
Exact value (const): 1
Required in this object (required): "compatible", "clocks", "clock-names", "#clock-cells", "#reset-cells"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):2Maximum number of items (
maxItems):3
clock-names— not listed as required hereMinimum number of items (
minItems):2Maximum number of items (
maxItems):3
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"amlogic,meson-gxl-aoclkc","amlogic,meson-gxm-aoclkc","amlogic,meson-axg-aoclkc"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):2
clock-names— not listed as required hereMaximum number of items (
maxItems):2
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)