diff options
author | Liu Ying <victor.liu@nxp.com> | 2021-06-03 15:59:57 +0800 |
---|---|---|
committer | Dong Aisheng <aisheng.dong@nxp.com> | 2021-11-02 17:10:58 +0800 |
commit | 00b84f5eaffb25d85fe83da7785d6a6092b90199 (patch) | |
tree | 3b5cdb4f2e741570e1dafa035c0563cff92abdd8 /Documentation/devicetree/bindings/reset | |
parent | fe2473782815ebec34d40491e599a982ec5aa0b1 (diff) |
MLK-25532-1 dt-bindings: reset: Add i.MX8ulp SIM (System Integration Module) reset binding
This patch adds bindings for reset controller in
i.MX8ulp SIM (System Integration Module).
Cc: Dong Aisheng <aisheng.dong@nxp.com>
Cc: Leo Li <leoyang.li@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
Diffstat (limited to 'Documentation/devicetree/bindings/reset')
-rw-r--r-- | Documentation/devicetree/bindings/reset/nxp,imx8ulp-sim-reset.yaml | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/reset/nxp,imx8ulp-sim-reset.yaml b/Documentation/devicetree/bindings/reset/nxp,imx8ulp-sim-reset.yaml new file mode 100644 index 000000000000..7c9dfd2768b0 --- /dev/null +++ b/Documentation/devicetree/bindings/reset/nxp,imx8ulp-sim-reset.yaml @@ -0,0 +1,50 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/reset/nxp,imx8ulp-sim-reset.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP i.MX8ulp System Integration Module Reset Controller + +maintainers: + - Liu Ying <victor.liu@nxp.com> + +description: | + The i.MX8ulp SIM (System Integration Module) may contain reset controller to + reset peripherals. The reset controller is controlled by the SIM. So, the + reset controller's device node has to be a child node of the SIM's device + node. Peripherals that need access to reset lines should specify them as a + reset phandle in their corresponding device nodes as specified in reset.txt. + +properties: + compatible: + const: nxp,imx8ulp-avd-sim-reset + + '#reset-cells': + const: 1 + +required: + - compatible + - '#reset-cells' + +additionalProperties: false + +examples: + - | + #include <dt-bindings/clock/imx8ulp-clock.h> + syscon@2da50000 { + compatible = "nxp,imx8ulp-avd-sim", "syscon", "simple-mfd"; + reg = <0x2da50000 0x38>; + clocks = <&pcc5 IMX8ULP_CLK_AVD_SIM>; + + reset-controller { + compatible = "nxp,imx8ulp-avd-sim-reset"; + #reset-cells = <1>; + }; + + mux-controller { + compatible = "mmio-mux"; + #mux-control-cells = <1>; + mux-reg-masks = <0x8 0x00000200>; + }; + }; |