xref: /linux/Documentation/devicetree/bindings/soc/imx/fsl,imx8mp-hsio-blk-ctrl.yaml (revision 1ac731c529cd4d6adbce134754b51ff7d822b145)
18a473f45SLucas Stach# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
28a473f45SLucas Stach%YAML 1.2
38a473f45SLucas Stach---
48a473f45SLucas Stach$id: http://devicetree.org/schemas/soc/imx/fsl,imx8mp-hsio-blk-ctrl.yaml#
58a473f45SLucas Stach$schema: http://devicetree.org/meta-schemas/core.yaml#
68a473f45SLucas Stach
78a473f45SLucas Stachtitle: NXP i.MX8MP HSIO blk-ctrl
88a473f45SLucas Stach
98a473f45SLucas Stachmaintainers:
108a473f45SLucas Stach  - Lucas Stach <l.stach@pengutronix.de>
118a473f45SLucas Stach
128a473f45SLucas Stachdescription:
138a473f45SLucas Stach  The i.MX8MP HSIO blk-ctrl is a top-level peripheral providing access to
148a473f45SLucas Stach  the NoC and ensuring proper power sequencing of the high-speed IO
158a473f45SLucas Stach  (USB an PCIe) peripherals located in the HSIO domain of the SoC.
168a473f45SLucas Stach
178a473f45SLucas Stachproperties:
188a473f45SLucas Stach  compatible:
198a473f45SLucas Stach    items:
208a473f45SLucas Stach      - const: fsl,imx8mp-hsio-blk-ctrl
218a473f45SLucas Stach      - const: syscon
228a473f45SLucas Stach
238a473f45SLucas Stach  reg:
248a473f45SLucas Stach    maxItems: 1
258a473f45SLucas Stach
268a473f45SLucas Stach  '#power-domain-cells':
278a473f45SLucas Stach    const: 1
288a473f45SLucas Stach
298a473f45SLucas Stach  power-domains:
308a473f45SLucas Stach    minItems: 6
318a473f45SLucas Stach    maxItems: 6
328a473f45SLucas Stach
338a473f45SLucas Stach  power-domain-names:
348a473f45SLucas Stach    items:
358a473f45SLucas Stach      - const: bus
368a473f45SLucas Stach      - const: usb
378a473f45SLucas Stach      - const: usb-phy1
388a473f45SLucas Stach      - const: usb-phy2
398a473f45SLucas Stach      - const: pcie
408a473f45SLucas Stach      - const: pcie-phy
418a473f45SLucas Stach
42ba70e173SLucas Stach  '#clock-cells':
43ba70e173SLucas Stach    const: 0
44ba70e173SLucas Stach
458a473f45SLucas Stach  clocks:
468a473f45SLucas Stach    minItems: 2
478a473f45SLucas Stach    maxItems: 2
488a473f45SLucas Stach
498a473f45SLucas Stach  clock-names:
508a473f45SLucas Stach    items:
518a473f45SLucas Stach      - const: usb
528a473f45SLucas Stach      - const: pcie
538a473f45SLucas Stach
5405099a84SPeng Fan  interconnects:
5505099a84SPeng Fan    maxItems: 4
5605099a84SPeng Fan
5705099a84SPeng Fan  interconnect-names:
5805099a84SPeng Fan    items:
5905099a84SPeng Fan      - const: noc-pcie
6005099a84SPeng Fan      - const: usb1
6105099a84SPeng Fan      - const: usb2
6205099a84SPeng Fan      - const: pcie
6305099a84SPeng Fan
648a473f45SLucas Stachrequired:
658a473f45SLucas Stach  - compatible
668a473f45SLucas Stach  - reg
678a473f45SLucas Stach  - power-domains
688a473f45SLucas Stach  - power-domain-names
698a473f45SLucas Stach  - clocks
708a473f45SLucas Stach  - clock-names
718a473f45SLucas Stach
728a473f45SLucas StachadditionalProperties: false
738a473f45SLucas Stach
748a473f45SLucas Stachexamples:
758a473f45SLucas Stach  - |
768a473f45SLucas Stach    #include <dt-bindings/clock/imx8mp-clock.h>
778a473f45SLucas Stach    #include <dt-bindings/power/imx8mp-power.h>
788a473f45SLucas Stach
79*9320fad1SMarek Vasut    blk-ctrl@32f10000 {
808a473f45SLucas Stach        compatible = "fsl,imx8mp-hsio-blk-ctrl", "syscon";
818a473f45SLucas Stach        reg = <0x32f10000 0x24>;
828a473f45SLucas Stach        clocks = <&clk IMX8MP_CLK_USB_ROOT>,
838a473f45SLucas Stach                 <&clk IMX8MP_CLK_PCIE_ROOT>;
848a473f45SLucas Stach        clock-names = "usb", "pcie";
858a473f45SLucas Stach        power-domains = <&pgc_hsiomix>, <&pgc_hsiomix>,
868a473f45SLucas Stach                        <&pgc_usb1_phy>, <&pgc_usb2_phy>,
878a473f45SLucas Stach                        <&pgc_hsiomix>, <&pgc_pcie_phy>;
888a473f45SLucas Stach        power-domain-names = "bus", "usb", "usb-phy1",
898a473f45SLucas Stach                             "usb-phy2", "pcie", "pcie-phy";
908a473f45SLucas Stach        #power-domain-cells = <1>;
91ba70e173SLucas Stach        #clock-cells = <0>;
928a473f45SLucas Stach    };
93