Generic i.MX bus frequency device
Schema identifier ($id): "http://devicetree.org/schemas/interconnect/fsl,imx8m-noc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Peng Fan <peng.fan@nxp.com>"
The i.MX SoC family has multiple buses for which clock frequency (and sometimes voltage) can be adjusted.
Some of those buses expose register areas mentioned in the memory maps as GPV ("Global Programmers View") but not all. Access to this area might be denied for normal (non-secure) world.
The buses are based on externally licensed IPs such as ARM NIC-301 and Arteris FlexNOC but DT bindings are specific to the integration of these bus interconnect IPs into imx SOCs.
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):"fsl,imx8mm-nic","fsl,imx8mn-nic","fsl,imx8mp-nic","fsl,imx8mq-nic"Item 2
Exact value (
const):"fsl,imx8m-nic"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"fsl,imx8mm-noc","fsl,imx8mn-noc","fsl,imx8mp-noc","fsl,imx8mq-noc"Item 2
Exact value (
const):"fsl,imx8m-noc"
Rule 3
Exact value (
const):"fsl,imx8m-nic"
reg — not listed as required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
operating-points-v2 — not listed as required here #
true — No constraints added by this property rule.
opp-table — not listed as required here #
Value type (type): "object"
fsl,ddrc — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Phandle to DDR Controller.
#interconnect-cells — not listed as required here #
If specified then also act as an interconnect provider. Should only be set once per soc on the main noc.
Exact value (const): 1
Required in this object (required): "compatible", "clocks"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/imx8mm-clock.h>
#include <dt-bindings/interconnect/imx8mm.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
noc: interconnect@32700000 {
compatible = "fsl,imx8mm-noc", "fsl,imx8m-noc";
reg = <0x32700000 0x100000>;
clocks = <&clk IMX8MM_CLK_NOC>;
#interconnect-cells = <1>;
fsl,ddrc = <&ddrc>;
operating-points-v2 = <&noc_opp_table>;
noc_opp_table: opp-table {
compatible = "operating-points-v2";
opp-133333333 {
opp-hz = /bits/ 64 <133333333>;
};
opp-800000000 {
opp-hz = /bits/ 64 <800000000>;
};
};
};
ddrc: memory-controller@3d400000 {
compatible = "fsl,imx8mm-ddrc", "fsl,imx8m-ddrc";
reg = <0x3d400000 0x400000>;
clock-names = "core", "pll", "alt", "apb";
clocks = <&clk IMX8MM_CLK_DRAM_CORE>,
<&clk IMX8MM_DRAM_PLL>,
<&clk IMX8MM_CLK_DRAM_ALT>,
<&clk IMX8MM_CLK_DRAM_APB>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0