diff mbox series

[V2,1/8] dt-bindings: soc: imx: add binding for i.MX9 syscon

Message ID 20220831074923.3085937-2-peng.fan@oss.nxp.com
State New
Headers show
Series [V2,1/8] dt-bindings: soc: imx: add binding for i.MX9 syscon | expand

Commit Message

Peng Fan (OSS) Aug. 31, 2022, 7:49 a.m. UTC
From: Peng Fan <peng.fan@nxp.com>

Add binding doc for i.MX9 blk_ctrl_ns_aonmix and blk_ctrl_wakeupmix

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
 .../bindings/soc/imx/fsl,imx9-syscon.yaml     | 37 +++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/soc/imx/fsl,imx9-syscon.yaml
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/soc/imx/fsl,imx9-syscon.yaml b/Documentation/devicetree/bindings/soc/imx/fsl,imx9-syscon.yaml
new file mode 100644
index 000000000000..90c5e354f86c
--- /dev/null
+++ b/Documentation/devicetree/bindings/soc/imx/fsl,imx9-syscon.yaml
@@ -0,0 +1,37 @@ 
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: "http://devicetree.org/schemas/soc/imx/fsl,imx9-syscon.yaml#"
+$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+
+title: NXP i.MX9 Platforms System Controller bindings
+
+maintainers:
+  - Peng Fan <peng.fan@nxp.com>
+
+properties:
+  compatible:
+    oneOf:
+      - items:
+          - enum:
+              - fsl,imx93-aonmix-ns-syscfg
+              - fsl,imx93-wakeupmix-syscfg
+          - const: syscon
+
+  reg:
+    maxItems: 1
+
+required:
+  - compatible
+  - reg
+
+additionalProperties: false
+
+examples:
+  - |
+    anomix_ns_gpr: syscon@44210000 {
+        compatible = "fsl,imx93-aonmix-ns-syscfg", "syscon";
+        reg = <0x44210000 0x1000>;
+    };
+
+...