14fed4d20SPeng Fan# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
24fed4d20SPeng Fan%YAML 1.2
34fed4d20SPeng Fan---
44fed4d20SPeng Fan$id: http://devicetree.org/schemas/soc/imx/fsl,imx93-src.yaml#
54fed4d20SPeng Fan$schema: http://devicetree.org/meta-schemas/core.yaml#
64fed4d20SPeng Fan
74fed4d20SPeng Fantitle: NXP i.MX93 System Reset Controller
84fed4d20SPeng Fan
94fed4d20SPeng Fanmaintainers:
104fed4d20SPeng Fan  - Peng Fan <peng.fan@nxp.com>
114fed4d20SPeng Fan
124fed4d20SPeng Fandescription: |
134fed4d20SPeng Fan  The System Reset Controller (SRC) is responsible for the generation of
144fed4d20SPeng Fan  all the system reset signals and boot argument latching.
154fed4d20SPeng Fan
164fed4d20SPeng Fan  Its main functions are as follows,
174fed4d20SPeng Fan  - Deals with all global system reset sources from other modules,
184fed4d20SPeng Fan    and generates global system reset.
194fed4d20SPeng Fan  - Responsible for power gating of MIXs (Slices) and their memory
204fed4d20SPeng Fan    low power control.
214fed4d20SPeng Fan
224fed4d20SPeng Fanproperties:
234fed4d20SPeng Fan  compatible:
244fed4d20SPeng Fan    items:
254fed4d20SPeng Fan      - const: fsl,imx93-src
264fed4d20SPeng Fan      - const: syscon
274fed4d20SPeng Fan
284fed4d20SPeng Fan  reg:
294fed4d20SPeng Fan    maxItems: 1
304fed4d20SPeng Fan
314fed4d20SPeng Fan  ranges: true
324fed4d20SPeng Fan
334fed4d20SPeng Fan  '#address-cells':
344fed4d20SPeng Fan    const: 1
354fed4d20SPeng Fan
364fed4d20SPeng Fan  '#size-cells':
374fed4d20SPeng Fan    const: 1
384fed4d20SPeng Fan
394fed4d20SPeng FanpatternProperties:
404fed4d20SPeng Fan  "power-domain@[0-9a-f]+$":
414fed4d20SPeng Fan    type: object
42*e62fc182SRob Herring    additionalProperties: false
43*e62fc182SRob Herring
444fed4d20SPeng Fan    properties:
454fed4d20SPeng Fan      compatible:
464fed4d20SPeng Fan        items:
474fed4d20SPeng Fan          - const: fsl,imx93-src-slice
484fed4d20SPeng Fan
494fed4d20SPeng Fan      '#power-domain-cells':
504fed4d20SPeng Fan        const: 0
514fed4d20SPeng Fan
524fed4d20SPeng Fan      reg:
534fed4d20SPeng Fan        items:
544fed4d20SPeng Fan          - description: mix slice register region
554fed4d20SPeng Fan          - description: mem slice register region
564fed4d20SPeng Fan
574fed4d20SPeng Fan      clocks:
584fed4d20SPeng Fan        description: |
594fed4d20SPeng Fan          A number of phandles to clocks that need to be enabled
604fed4d20SPeng Fan          during domain power-up sequencing to ensure reset
614fed4d20SPeng Fan          propagation into devices located inside this power domain.
624fed4d20SPeng Fan        minItems: 1
634fed4d20SPeng Fan        maxItems: 5
644fed4d20SPeng Fan
654fed4d20SPeng Fan    required:
664fed4d20SPeng Fan      - compatible
674fed4d20SPeng Fan      - '#power-domain-cells'
684fed4d20SPeng Fan      - reg
694fed4d20SPeng Fan
704fed4d20SPeng Fanrequired:
714fed4d20SPeng Fan  - compatible
724fed4d20SPeng Fan  - reg
734fed4d20SPeng Fan  - ranges
744fed4d20SPeng Fan  - '#address-cells'
754fed4d20SPeng Fan  - '#size-cells'
764fed4d20SPeng Fan
774fed4d20SPeng FanadditionalProperties: false
784fed4d20SPeng Fan
794fed4d20SPeng Fanexamples:
804fed4d20SPeng Fan  - |
814fed4d20SPeng Fan    #include <dt-bindings/clock/imx93-clock.h>
824fed4d20SPeng Fan
834fed4d20SPeng Fan    system-controller@44460000 {
844fed4d20SPeng Fan        compatible = "fsl,imx93-src", "syscon";
854fed4d20SPeng Fan        reg = <0x44460000 0x10000>;
864fed4d20SPeng Fan        #address-cells = <1>;
874fed4d20SPeng Fan        #size-cells = <1>;
884fed4d20SPeng Fan        ranges;
894fed4d20SPeng Fan
904fed4d20SPeng Fan        mediamix: power-domain@0 {
914fed4d20SPeng Fan            compatible = "fsl,imx93-src-slice";
924fed4d20SPeng Fan            reg = <0x44462400 0x400>, <0x44465800 0x400>;
934fed4d20SPeng Fan            #power-domain-cells = <0>;
944fed4d20SPeng Fan            clocks = <&clk IMX93_CLK_MEDIA_AXI>,
954fed4d20SPeng Fan                     <&clk IMX93_CLK_MEDIA_APB>;
964fed4d20SPeng Fan        };
974fed4d20SPeng Fan    };
98