0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/soc/imx/fsl,imx8mp-hsio-blk-ctrl.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: NXP i.MX8MP HSIO blk-ctrl
0008
0009 maintainers:
0010 - Lucas Stach <l.stach@pengutronix.de>
0011
0012 description:
0013 The i.MX8MP HSIO blk-ctrl is a top-level peripheral providing access to
0014 the NoC and ensuring proper power sequencing of the high-speed IO
0015 (USB an PCIe) peripherals located in the HSIO domain of the SoC.
0016
0017 properties:
0018 compatible:
0019 items:
0020 - const: fsl,imx8mp-hsio-blk-ctrl
0021 - const: syscon
0022
0023 reg:
0024 maxItems: 1
0025
0026 '#power-domain-cells':
0027 const: 1
0028
0029 power-domains:
0030 minItems: 6
0031 maxItems: 6
0032
0033 power-domain-names:
0034 items:
0035 - const: bus
0036 - const: usb
0037 - const: usb-phy1
0038 - const: usb-phy2
0039 - const: pcie
0040 - const: pcie-phy
0041
0042 clocks:
0043 minItems: 2
0044 maxItems: 2
0045
0046 clock-names:
0047 items:
0048 - const: usb
0049 - const: pcie
0050
0051 required:
0052 - compatible
0053 - reg
0054 - power-domains
0055 - power-domain-names
0056 - clocks
0057 - clock-names
0058
0059 additionalProperties: false
0060
0061 examples:
0062 - |
0063 #include <dt-bindings/clock/imx8mp-clock.h>
0064 #include <dt-bindings/power/imx8mp-power.h>
0065
0066 hsio_blk_ctrl: blk-ctrl@32f10000 {
0067 compatible = "fsl,imx8mp-hsio-blk-ctrl", "syscon";
0068 reg = <0x32f10000 0x24>;
0069 clocks = <&clk IMX8MP_CLK_USB_ROOT>,
0070 <&clk IMX8MP_CLK_PCIE_ROOT>;
0071 clock-names = "usb", "pcie";
0072 power-domains = <&pgc_hsiomix>, <&pgc_hsiomix>,
0073 <&pgc_usb1_phy>, <&pgc_usb2_phy>,
0074 <&pgc_hsiomix>, <&pgc_pcie_phy>;
0075 power-domain-names = "bus", "usb", "usb-phy1",
0076 "usb-phy2", "pcie", "pcie-phy";
0077 #power-domain-cells = <1>;
0078 };