Signed-off-by: Leonard Crestez <leonard.crestez@xxxxxxx> --- .../devicetree/bindings/interconnect/imx.yaml | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/interconnect/imx.yaml diff --git a/Documentation/devicetree/bindings/interconnect/imx.yaml b/Documentation/devicetree/bindings/interconnect/imx.yaml new file mode 100644 index 000000000000..c6f173b38f4f --- /dev/null +++ b/Documentation/devicetree/bindings/interconnect/imx.yaml @@ -0,0 +1,38 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interconnect/imx.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Generic i.MX interconnect device + +maintainers: + - Leonard Crestez <leonard.crestez@xxxxxxx> + +properties: + compatible: + contains: + enum: + - fsl,imx8mm-interconnect + "#interconnect-cells": + const: 1 + devfreq-names: + description: Names of devfreq instances for adjustable nodes + devfreq: + description: List of phandle pointing to devfreq instances + +required: + - compatible + - "#interconnect-cells" + - "devfreq-names" + - "devfreq" + +examples: + - | + #include <dt-bindings/interconnect/imx8mm.h> + icc: interconnect { + compatible = "fsl,imx8mm-interconnect"; + #interconnect-cells = <1>; + devfreq-names = "dram", "noc", "axi"; + devfreq = <&ddrc>, <&noc>, <&pl301_main>; + }; -- 2.17.1