Freescale IOMUX Controller General Purpose Registers
Schema identifier ($id): "http://devicetree.org/schemas/soc/imx/fsl,imx-iomuxc-gpr.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Peng Fan <peng.fan@nxp.com>"
i.MX Processors have an IOMUXC General Purpose Register group for various System Settings
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,imx6q-iomuxc-gpr","fsl,imx8mq-iomuxc-gpr"Item 2
Exact value (
const):"syscon"Item 3
Exact value (
const):"simple-mfd"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"fsl,imx6sl-iomuxc-gpr","fsl,imx6sll-iomuxc-gpr","fsl,imx6ul-iomuxc-gpr"Item 2
Exact value (
const):"fsl,imx6q-iomuxc-gpr"Item 3
Exact value (
const):"syscon"
Rule 3
Array item rules (
items)Item 1
Allowed values (
enum):"fsl,imx6sx-iomuxc-gpr","fsl,imx7d-iomuxc-gpr"Item 2
Exact value (
const):"fsl,imx6q-iomuxc-gpr"Item 3
Exact value (
const):"syscon"Item 4
Exact value (
const):"simple-mfd"
Rule 4
Array item rules (
items)Item 1
Allowed values (
enum):"fsl,imx53-iomuxc-gpr","fsl,imx8mm-iomuxc-gpr","fsl,imx8mn-iomuxc-gpr","fsl,imx8mp-iomuxc-gpr"Item 2
Exact value (
const):"syscon"
reg — required here #
Maximum number of items (maxItems): 1
mux-controller — not listed as required here #
Value type (type): "object"
Shared schema rule ($ref): /schemas/mux/reg-mux.yaml
Properties matching a name pattern (patternProperties) #
^ipu[12]_csi[01]_mux$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): /schemas/media/video-mux.yaml
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereThis rule must not match (
not)Rule for matching array elements (
contains)Exact value (
const):"fsl,imx6q-iomuxc-gpr"When the condition matches (
then) #Properties matching a name pattern (
patternProperties)
^ipu[12]_csi[01]_mux$— name matches this regular expression
false— Not permitted by this property 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"
Examples (examples) #
iomuxc_gpr: syscon@30340000 {
compatible = "fsl,imx8mq-iomuxc-gpr", "syscon", "simple-mfd";
reg = <0x30340000 0x10000>;
mux: mux-controller {
compatible = "mmio-mux";
#mux-control-cells = <1>;
mux-reg-masks = <0x34 0x00000004>; /* MIPI_MUX_SEL */
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 77: Pinmux controller node