Marvell Armada 3720 UART clocks
Schema identifier ($id): "http://devicetree.org/schemas/clock/marvell,armada-3700-uart-clock.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Pali Rohár <pali@kernel.org>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "marvell,armada-3700-uart-clock"
reg — required here #
Array item rules (items) #
Item 1
UART Clock Control Register
Item 2
UART 2 Baud Rate Divisor Register
clocks — required here #
List of parent clocks suitable for UART from following set:
"TBG-A-P", "TBG-B-P", "TBG-A-S", "TBG-B-S", "xtal"
UART clock can use one from this set and when more are provided
then kernel would choose and configure the most suitable one.
It is suggest to specify at least one TBG clock to achieve
baudrates above 230400 and also to specify clock which bootloader
used for UART (most probably xtal) for smooth boot log on UART.
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"TBG-A-P"
Item 2
Exact value (
const):"TBG-B-P"
Item 3
Exact value (
const):"TBG-A-S"
Item 4
Exact value (
const):"TBG-B-S"
Item 5
Exact value (
const):"xtal"
Minimum number of items (minItems): 1
#clock-cells — required here #
Exact value (const): 1
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "#clock-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
uartclk: clock-controller@12010 {
compatible = "marvell,armada-3700-uart-clock";
reg = <0x12010 0x4>, <0x12210 0x4>;
clocks = <&tbg 0>, <&tbg 1>, <&tbg 2>, <&tbg 3>, <&xtalclk>;
clock-names = "TBG-A-P", "TBG-B-P", "TBG-A-S", "TBG-B-S", "xtal";
#clock-cells = <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause