The General Purpose Registers IOMUXC_GPR are used to select operating modes for general features in the SoC, usually not related to the IOMUX itself. This binding doc is generated based on the exist usage in dts in order to fix dt schema check failures. Cc: Rob Herring <robh+dt@xxxxxxxxxx> Cc: Shawn Guo <shawnguo@xxxxxxxxxx> Signed-off-by: Dong Aisheng <aisheng.dong@xxxxxxx> --- .../devicetree/bindings/soc/imx/fsl,gpr.yaml | 69 +++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/imx/fsl,gpr.yaml diff --git a/Documentation/devicetree/bindings/soc/imx/fsl,gpr.yaml b/Documentation/devicetree/bindings/soc/imx/fsl,gpr.yaml new file mode 100644 index 000000000000..832b6b7e7c33 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/imx/fsl,gpr.yaml @@ -0,0 +1,69 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/imx/fsl,gpr.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale IOMUX GPR binding + +maintainers: + - Dong Aisheng <aisheng.dong@xxxxxxx> + +description: | + 32-bit general purpose registers - several (GPR0 to GPRn) 32-bit + registers according to SoC requirements for any usage. + + The General Purpose Registers IOMUXC_GPR are used to select operating + modes for general features in the SoC, usually not related to the IOMUX + itself. + +properties: + compatible: + oneOf: + - items: + - const: fsl,imx53-iomuxc-gpr + - const: syscon + - items: + - const: fsl,imx6q-iomuxc-gpr + - const: syscon + - const: simple-mfd + - items: + - enum: + - fsl,imx6sl-iomuxc-gpr + - fsl,imx6sll-iomuxc-gpr + - fsl,imx6sx-iomuxc-gpr + - fsl,imx6ul-iomuxc-gpr + - fsl,imx7d-iomuxc-gpr + - const: fsl,imx6q-iomuxc-gpr + - const: syscon + - items: + - const: fsl,imx7d-iomuxc-gpr + - const: fsl,imx6q-iomuxc-gpr + - const: syscon + - const: simple-mfd + - items: + - const: fsl,imx8mq-iomuxc-gpr + - const: fsl,imx6q-iomuxc-gpr + - const: syscon + - const: simple-mfd + - items: + - enum: + - fsl,imx8mm-iomuxc-gpr + - fsl,imx8mn-iomuxc-gpr + - fsl,imx8mp-iomuxc-gpr + - const: syscon + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: true + +examples: + - | + gpr: iomuxc-gpr@20e0000 { + compatible = "fsl,imx6q-iomuxc-gpr", "syscon", "simple-mfd"; + reg = <0x20e0000 0x38>; + }; -- 2.25.1