Broadcom Kona family clock control units (CCU)
Schema identifier ($id): "http://devicetree.org/schemas/clock/brcm,kona-ccu.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Florian Fainelli <florian.fainelli@broadcom.com>", "Ray Jui <rjui@broadcom.com>", "Scott Branden <sbranden@broadcom.com>"
Broadcom "Kona" style clock control unit (CCU) is a clock provider that manages a set of clock signals.
All available clock IDs are defined in - include/dt-bindings/clock/bcm281xx.h for BCM281XX family - include/dt-bindings/clock/bcm21664.h for BCM21664 family
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "brcm,bcm11351-aon-ccu", "brcm,bcm11351-hub-ccu", "brcm,bcm11351-master-ccu", "brcm,bcm11351-root-ccu", "brcm,bcm11351-slave-ccu", "brcm,bcm21664-aon-ccu", "brcm,bcm21664-master-ccu", "brcm,bcm21664-root-ccu", "brcm,bcm21664-slave-ccu"
reg — required here #
Maximum number of items (maxItems): 1
#clock-cells — required here #
Exact value (const): 1
clock-output-names — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 10
Required in this object (required): "compatible", "reg", "#clock-cells", "clock-output-names"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"brcm,bcm11351-aon-ccu"When the condition matches (
then) #Properties and child nodes (
properties)
clock-output-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"hub_timer"Item 2
Exact value (
const):"pmu_bsc"Item 3
Exact value (
const):"pmu_bsc_var"
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"brcm,bcm11351-hub-ccu"When the condition matches (
then) #Properties and child nodes (
properties)
clock-output-names— not listed as required hereExact value (
const):"tmon_1m"
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"brcm,bcm11351-master-ccu"When the condition matches (
then) #Properties and child nodes (
properties)
clock-output-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"sdio1"Item 2
Exact value (
const):"sdio2"Item 3
Exact value (
const):"sdio3"Item 4
Exact value (
const):"sdio4"Item 5
Exact value (
const):"usb_ic"Item 6
Exact value (
const):"hsic2_48m"Item 7
Exact value (
const):"hsic2_12m"
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"brcm,bcm11351-root-ccu","brcm,bcm21664-root-ccu"When the condition matches (
then) #Properties and child nodes (
properties)
clock-output-names— not listed as required hereExact value (
const):"frac_1m"
Rule 5 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"brcm,bcm11351-slave-ccu"When the condition matches (
then) #Properties and child nodes (
properties)
clock-output-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"uartb"Item 2
Exact value (
const):"uartb2"Item 3
Exact value (
const):"uartb3"Item 4
Exact value (
const):"uartb4"Item 5
Exact value (
const):"ssp0"Item 6
Exact value (
const):"ssp2"Item 7
Exact value (
const):"bsc1"Item 8
Exact value (
const):"bsc2"Item 9
Exact value (
const):"bsc3"Item 10
Exact value (
const):"pwm"
Rule 6 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"brcm,bcm21664-aon-ccu"When the condition matches (
then) #Properties and child nodes (
properties)
clock-output-names— not listed as required hereExact value (
const):"hub_timer"
Rule 7 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"brcm,bcm21664-master-ccu"When the condition matches (
then) #Properties and child nodes (
properties)
clock-output-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"sdio1"Item 2
Exact value (
const):"sdio2"Item 3
Exact value (
const):"sdio3"Item 4
Exact value (
const):"sdio4"Item 5
Exact value (
const):"sdio1_sleep"Item 6
Exact value (
const):"sdio2_sleep"Item 7
Exact value (
const):"sdio3_sleep"Item 8
Exact value (
const):"sdio4_sleep"
Rule 8 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"brcm,bcm21664-slave-ccu"When the condition matches (
then) #Properties and child nodes (
properties)
clock-output-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"uartb"Item 2
Exact value (
const):"uartb2"Item 3
Exact value (
const):"uartb3"Item 4
Exact value (
const):"bsc1"Item 5
Exact value (
const):"bsc2"Item 6
Exact value (
const):"bsc3"Item 7
Exact value (
const):"bsc4"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
clock-controller@3e011000 {
compatible = "brcm,bcm11351-slave-ccu";
reg = <0x3e011000 0x0f00>;
#clock-cells = <1>;
clock-output-names = "uartb",
"uartb2",
"uartb3",
"uartb4",
"ssp0",
"ssp2",
"bsc1",
"bsc2",
"bsc3",
"pwm";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause