From 70fa29c71663e1c0882c263c6fd5c089d4d90e0b Mon Sep 17 00:00:00 2001 From: Ye Li Date: Wed, 30 Jan 2019 22:31:02 -0800 Subject: [PATCH] MLK-20886-7 DTS: imx8qm/qxp: Add MU8 and MU9 nodes We use MU8 and MU9 to communicate with M4_0 and M4_1 in u-boot. Add relevant nodes for the MU driver. Signed-off-by: Ye Li (cherry picked from commit b06674a91991fe3bfe5a2f6000195cb8546c72a6) --- arch/arm/dts/fsl-imx8qm.dtsi | 26 ++++++++++++++++++++++++++ arch/arm/dts/fsl-imx8qxp.dtsi | 13 +++++++++++++ include/dt-bindings/soc/imx8_pd.h | 2 ++ 3 files changed, 41 insertions(+) diff --git a/arch/arm/dts/fsl-imx8qm.dtsi b/arch/arm/dts/fsl-imx8qm.dtsi index cb4cdc0..b48c2f8 100644 --- a/arch/arm/dts/fsl-imx8qm.dtsi +++ b/arch/arm/dts/fsl-imx8qm.dtsi @@ -104,6 +104,22 @@ (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_HIGH)>; }; + mu8: mu@5d230000 { + compatible = "fsl,imx-m4-mu"; + reg = <0x0 0x5d230000 0x0 0x10000>; + interrupts = ; + power-domains = <&pd_lsio_mu8a>; + status = "okay"; + }; + + mu9: mu@5d240000 { + compatible = "fsl,imx-m4-mu"; + reg = <0x0 0x5d240000 0x0 0x10000>; + interrupts = ; + power-domains = <&pd_lsio_mu9a>; + status = "okay"; + }; + mu: mu@5d1b0000 { compatible = "fsl,imx8-mu"; reg = <0x0 0x5d1b0000 0x0 0x10000>; @@ -453,6 +469,16 @@ #power-domain-cells = <0>; power-domains = <&pd_lsio>; }; + pd_lsio_mu8a: PD_LSIO_MU8A { + reg = ; + #power-domain-cells = <0>; + power-domains = <&pd_lsio>; + }; + pd_lsio_mu9a: PD_LSIO_MU9A { + reg = ; + #power-domain-cells = <0>; + power-domains = <&pd_lsio>; + }; }; pd_conn: PD_CONN { diff --git a/arch/arm/dts/fsl-imx8qxp.dtsi b/arch/arm/dts/fsl-imx8qxp.dtsi index 7c8cc31..f338334 100644 --- a/arch/arm/dts/fsl-imx8qxp.dtsi +++ b/arch/arm/dts/fsl-imx8qxp.dtsi @@ -99,6 +99,14 @@ (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_HIGH)>; }; + mu8: mu@5d230000 { + compatible = "fsl,imx-m4-mu"; + reg = <0x0 0x5d230000 0x0 0x10000>; + interrupts = ; + power-domains = <&pd_lsio_mu8a>; + status = "okay"; + }; + mu: mu@5d1b0000 { compatible = "fsl,imx8-mu"; reg = <0x0 0x5d1b0000 0x0 0x10000>; @@ -270,6 +278,11 @@ #power-domain-cells = <0>; power-domains = <&pd_lsio>; }; + pd_lsio_mu8a: PD_LSIO_MU8A { + reg = ; + #power-domain-cells = <0>; + power-domains = <&pd_lsio>; + }; }; pd_conn: PD_CONN { diff --git a/include/dt-bindings/soc/imx8_pd.h b/include/dt-bindings/soc/imx8_pd.h index 12d56e3..017fbb7 100644 --- a/include/dt-bindings/soc/imx8_pd.h +++ b/include/dt-bindings/soc/imx8_pd.h @@ -102,6 +102,8 @@ #define PD_LSIO_PWM_5 lsio_pwm5 #define PD_LSIO_PWM_6 lsio_pwm6 #define PD_LSIO_PWM_7 lsio_pwm7 +#define PD_LSIO_MU8A lsio_mu8a +#define PD_LSIO_MU9A lsio_mu9a #define PD_CONN connectivity_power_domain #define PD_CONN_SDHC_0 conn_sdhc0 -- 1.9.1