xref: /freebsd-src/sys/contrib/device-tree/Bindings/soc/imx/fsl,imx-iomuxc-gpr.yaml (revision 01950c46b8155250f64374fb72fc11faa44bf099)
1cb7aa33aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2cb7aa33aSEmmanuel Vadot%YAML 1.2
3cb7aa33aSEmmanuel Vadot---
4cb7aa33aSEmmanuel Vadot$id: http://devicetree.org/schemas/soc/imx/fsl,imx-iomuxc-gpr.yaml#
5cb7aa33aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6cb7aa33aSEmmanuel Vadot
7cb7aa33aSEmmanuel Vadottitle: Freescale IOMUX Controller General Purpose Registers
8cb7aa33aSEmmanuel Vadot
9cb7aa33aSEmmanuel Vadotmaintainers:
10cb7aa33aSEmmanuel Vadot  - Peng Fan <peng.fan@nxp.com>
11cb7aa33aSEmmanuel Vadot
12cb7aa33aSEmmanuel Vadotdescription:
13cb7aa33aSEmmanuel Vadot  i.MX Processors have an IOMUXC General Purpose Register group for
14cb7aa33aSEmmanuel Vadot  various System Settings
15cb7aa33aSEmmanuel Vadot
16cb7aa33aSEmmanuel Vadotproperties:
17cb7aa33aSEmmanuel Vadot  compatible:
18cb7aa33aSEmmanuel Vadot    oneOf:
19cb7aa33aSEmmanuel Vadot      - items:
20*01950c46SEmmanuel Vadot          - enum:
21*01950c46SEmmanuel Vadot              - fsl,imx6q-iomuxc-gpr
22*01950c46SEmmanuel Vadot              - fsl,imx8mq-iomuxc-gpr
23*01950c46SEmmanuel Vadot          - const: syscon
24*01950c46SEmmanuel Vadot          - const: simple-mfd
25*01950c46SEmmanuel Vadot      - items:
26*01950c46SEmmanuel Vadot          - enum:
27*01950c46SEmmanuel Vadot              - fsl,imx6sl-iomuxc-gpr
28*01950c46SEmmanuel Vadot              - fsl,imx6sll-iomuxc-gpr
29*01950c46SEmmanuel Vadot              - fsl,imx6ul-iomuxc-gpr
30*01950c46SEmmanuel Vadot          - const: fsl,imx6q-iomuxc-gpr
31*01950c46SEmmanuel Vadot          - const: syscon
32*01950c46SEmmanuel Vadot      - items:
33*01950c46SEmmanuel Vadot          - enum:
34*01950c46SEmmanuel Vadot              - fsl,imx6sx-iomuxc-gpr
35*01950c46SEmmanuel Vadot              - fsl,imx7d-iomuxc-gpr
36*01950c46SEmmanuel Vadot          - const: fsl,imx6q-iomuxc-gpr
37cb7aa33aSEmmanuel Vadot          - const: syscon
38cb7aa33aSEmmanuel Vadot          - const: simple-mfd
39cb7aa33aSEmmanuel Vadot      - items:
40cb7aa33aSEmmanuel Vadot          - enum:
41cb7aa33aSEmmanuel Vadot              - fsl,imx8mm-iomuxc-gpr
42cb7aa33aSEmmanuel Vadot              - fsl,imx8mn-iomuxc-gpr
43cb7aa33aSEmmanuel Vadot              - fsl,imx8mp-iomuxc-gpr
44cb7aa33aSEmmanuel Vadot          - const: syscon
45cb7aa33aSEmmanuel Vadot
46cb7aa33aSEmmanuel Vadot  reg:
47cb7aa33aSEmmanuel Vadot    maxItems: 1
48cb7aa33aSEmmanuel Vadot
49cb7aa33aSEmmanuel Vadot  mux-controller:
50cb7aa33aSEmmanuel Vadot    type: object
51cb7aa33aSEmmanuel Vadot    $ref: /schemas/mux/reg-mux.yaml
52cb7aa33aSEmmanuel Vadot
53cb7aa33aSEmmanuel VadotadditionalProperties: false
54cb7aa33aSEmmanuel Vadot
55cb7aa33aSEmmanuel Vadotrequired:
56cb7aa33aSEmmanuel Vadot  - compatible
57cb7aa33aSEmmanuel Vadot  - reg
58cb7aa33aSEmmanuel Vadot
59cb7aa33aSEmmanuel Vadotexamples:
60cb7aa33aSEmmanuel Vadot  # Pinmux controller node
61cb7aa33aSEmmanuel Vadot  - |
62cb7aa33aSEmmanuel Vadot    iomuxc_gpr: syscon@30340000 {
63cb7aa33aSEmmanuel Vadot        compatible = "fsl,imx8mq-iomuxc-gpr", "syscon", "simple-mfd";
64cb7aa33aSEmmanuel Vadot        reg = <0x30340000 0x10000>;
65cb7aa33aSEmmanuel Vadot
66cb7aa33aSEmmanuel Vadot        mux: mux-controller {
67cb7aa33aSEmmanuel Vadot            compatible = "mmio-mux";
68cb7aa33aSEmmanuel Vadot            #mux-control-cells = <1>;
69cb7aa33aSEmmanuel Vadot            mux-reg-masks = <0x34 0x00000004>; /* MIPI_MUX_SEL */
70cb7aa33aSEmmanuel Vadot        };
71cb7aa33aSEmmanuel Vadot    };
72cb7aa33aSEmmanuel Vadot
73cb7aa33aSEmmanuel Vadot...
74