NVIDIA Tegra Clock and Reset Controller
Schema identifier ($id): "http://devicetree.org/schemas/clock/nvidia,tegra124-car.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jon Hunter <jonathanh@nvidia.com>", "Thierry Reding <thierry.reding@gmail.com>"
The Clock and Reset (CAR) is the HW module responsible for muxing and gating Tegra's clocks, and setting their rates. It comprises CLKGEN and RSTGEN units.
CLKGEN provides the registers to program the PLLs. It controls most of the clock source programming and most of the clock dividers.
CLKGEN input signals include the external clock for the reference frequency (12 MHz, 26 MHz) and the external clock for the Real Time Clock (32.768 KHz).
Outputs from CLKGEN are inputs clock of the h/w blocks in the Tegra system.
RSTGEN provides the registers needed to control resetting of each block in the Tegra system.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "nvidia,tegra124-car", "nvidia,tegra132-car"
reg — required here #
Maximum number of items (maxItems): 1
#clock-cells — required here #
Exact value (const): 1
#reset-cells — required here #
Exact value (const): 1
nvidia,external-memory-controller — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
phandle of the external memory controller node
Properties matching a name pattern (patternProperties) #
^emc-timings-[0-9]+$ — name matches this regular expression #
Value type (type): "object"
Properties and child nodes (properties) #
nvidia,ram-code — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
value of the RAM_CODE field in the PMC_STRAPPING_OPT_A register that this timing set is used for
Properties matching a name pattern (patternProperties) #
^timing-[0-9]+$ — name matches this regular expression
Value type (type): "object"
Properties and child nodes (properties)
clock-frequency — required here
external memory clock rate in Hz
Minimum value (minimum): 1000000
Maximum value (maximum): 1000000000
nvidia,parent-clock-frequency — required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
rate of parent clock in Hz
Minimum value (minimum): 1000000
Maximum value (maximum): 1000000000
clocks — required here
Array item rules (items)
Item 1
parent clock of EMC
clock-names — required here
Array item rules (items)
Item 1
Exact value (
const):"emc-parent"
Required in this object (required): "clock-frequency", "nvidia,parent-clock-frequency", "clocks", "clock-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "#clock-cells", "#reset-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/tegra124-car.h>
car: clock-controller@60006000 {
compatible = "nvidia,tegra124-car";
reg = <0x60006000 0x1000>;
#clock-cells = <1>;
#reset-cells = <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause)