xref: /freebsd/sys/contrib/device-tree/Bindings/soc/imx/fsl,imx93-src.yaml (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
17ef62cebSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
27ef62cebSEmmanuel Vadot%YAML 1.2
37ef62cebSEmmanuel Vadot---
47ef62cebSEmmanuel Vadot$id: http://devicetree.org/schemas/soc/imx/fsl,imx93-src.yaml#
57ef62cebSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
67ef62cebSEmmanuel Vadot
77ef62cebSEmmanuel Vadottitle: NXP i.MX93 System Reset Controller
87ef62cebSEmmanuel Vadot
97ef62cebSEmmanuel Vadotmaintainers:
107ef62cebSEmmanuel Vadot  - Peng Fan <peng.fan@nxp.com>
117ef62cebSEmmanuel Vadot
127ef62cebSEmmanuel Vadotdescription: |
137ef62cebSEmmanuel Vadot  The System Reset Controller (SRC) is responsible for the generation of
147ef62cebSEmmanuel Vadot  all the system reset signals and boot argument latching.
157ef62cebSEmmanuel Vadot
167ef62cebSEmmanuel Vadot  Its main functions are as follows,
177ef62cebSEmmanuel Vadot  - Deals with all global system reset sources from other modules,
187ef62cebSEmmanuel Vadot    and generates global system reset.
197ef62cebSEmmanuel Vadot  - Responsible for power gating of MIXs (Slices) and their memory
207ef62cebSEmmanuel Vadot    low power control.
217ef62cebSEmmanuel Vadot
227ef62cebSEmmanuel Vadotproperties:
237ef62cebSEmmanuel Vadot  compatible:
247ef62cebSEmmanuel Vadot    items:
257ef62cebSEmmanuel Vadot      - const: fsl,imx93-src
267ef62cebSEmmanuel Vadot      - const: syscon
277ef62cebSEmmanuel Vadot
287ef62cebSEmmanuel Vadot  reg:
297ef62cebSEmmanuel Vadot    maxItems: 1
307ef62cebSEmmanuel Vadot
317ef62cebSEmmanuel Vadot  ranges: true
327ef62cebSEmmanuel Vadot
337ef62cebSEmmanuel Vadot  '#address-cells':
347ef62cebSEmmanuel Vadot    const: 1
357ef62cebSEmmanuel Vadot
367ef62cebSEmmanuel Vadot  '#size-cells':
377ef62cebSEmmanuel Vadot    const: 1
387ef62cebSEmmanuel Vadot
397ef62cebSEmmanuel VadotpatternProperties:
407ef62cebSEmmanuel Vadot  "power-domain@[0-9a-f]+$":
417ef62cebSEmmanuel Vadot    type: object
42*fac71e4eSEmmanuel Vadot    additionalProperties: false
43*fac71e4eSEmmanuel Vadot
447ef62cebSEmmanuel Vadot    properties:
457ef62cebSEmmanuel Vadot      compatible:
467ef62cebSEmmanuel Vadot        items:
477ef62cebSEmmanuel Vadot          - const: fsl,imx93-src-slice
487ef62cebSEmmanuel Vadot
497ef62cebSEmmanuel Vadot      '#power-domain-cells':
507ef62cebSEmmanuel Vadot        const: 0
517ef62cebSEmmanuel Vadot
527ef62cebSEmmanuel Vadot      reg:
537ef62cebSEmmanuel Vadot        items:
547ef62cebSEmmanuel Vadot          - description: mix slice register region
557ef62cebSEmmanuel Vadot          - description: mem slice register region
567ef62cebSEmmanuel Vadot
577ef62cebSEmmanuel Vadot      clocks:
587ef62cebSEmmanuel Vadot        description: |
597ef62cebSEmmanuel Vadot          A number of phandles to clocks that need to be enabled
607ef62cebSEmmanuel Vadot          during domain power-up sequencing to ensure reset
617ef62cebSEmmanuel Vadot          propagation into devices located inside this power domain.
627ef62cebSEmmanuel Vadot        minItems: 1
637ef62cebSEmmanuel Vadot        maxItems: 5
647ef62cebSEmmanuel Vadot
657ef62cebSEmmanuel Vadot    required:
667ef62cebSEmmanuel Vadot      - compatible
677ef62cebSEmmanuel Vadot      - '#power-domain-cells'
687ef62cebSEmmanuel Vadot      - reg
697ef62cebSEmmanuel Vadot
707ef62cebSEmmanuel Vadotrequired:
717ef62cebSEmmanuel Vadot  - compatible
727ef62cebSEmmanuel Vadot  - reg
737ef62cebSEmmanuel Vadot  - ranges
747ef62cebSEmmanuel Vadot  - '#address-cells'
757ef62cebSEmmanuel Vadot  - '#size-cells'
767ef62cebSEmmanuel Vadot
777ef62cebSEmmanuel VadotadditionalProperties: false
787ef62cebSEmmanuel Vadot
797ef62cebSEmmanuel Vadotexamples:
807ef62cebSEmmanuel Vadot  - |
817ef62cebSEmmanuel Vadot    #include <dt-bindings/clock/imx93-clock.h>
827ef62cebSEmmanuel Vadot
837ef62cebSEmmanuel Vadot    system-controller@44460000 {
847ef62cebSEmmanuel Vadot        compatible = "fsl,imx93-src", "syscon";
857ef62cebSEmmanuel Vadot        reg = <0x44460000 0x10000>;
867ef62cebSEmmanuel Vadot        #address-cells = <1>;
877ef62cebSEmmanuel Vadot        #size-cells = <1>;
887ef62cebSEmmanuel Vadot        ranges;
897ef62cebSEmmanuel Vadot
907ef62cebSEmmanuel Vadot        mediamix: power-domain@0 {
917ef62cebSEmmanuel Vadot            compatible = "fsl,imx93-src-slice";
927ef62cebSEmmanuel Vadot            reg = <0x44462400 0x400>, <0x44465800 0x400>;
937ef62cebSEmmanuel Vadot            #power-domain-cells = <0>;
947ef62cebSEmmanuel Vadot            clocks = <&clk IMX93_CLK_MEDIA_AXI>,
957ef62cebSEmmanuel Vadot                     <&clk IMX93_CLK_MEDIA_APB>;
967ef62cebSEmmanuel Vadot        };
977ef62cebSEmmanuel Vadot    };
98