[U-Boot] [PATCH 4/4] ARM: dts: stm32: Add ipcc mailbox support on stm32mp1

Patrice CHOTARD patrice.chotard at st.com
Thu May 16 07:50:15 UTC 2019



On 5/14/19 11:20 AM, Fabien Dessenne wrote:
> Add IPCC mailbox support on stm32mp157 eval and disco boards.
> 
> Signed-off-by: Fabien Dessenne <fabien.dessenne at st.com>
> ---
>  arch/arm/dts/stm32mp157a-dk1.dts |  4 ++++
>  arch/arm/dts/stm32mp157c-ed1.dts |  4 ++++
>  arch/arm/dts/stm32mp157c.dtsi    | 13 +++++++++++++
>  3 files changed, 21 insertions(+)
> 
> diff --git a/arch/arm/dts/stm32mp157a-dk1.dts b/arch/arm/dts/stm32mp157a-dk1.dts
> index e36773d..b8dd4ba 100644
> --- a/arch/arm/dts/stm32mp157a-dk1.dts
> +++ b/arch/arm/dts/stm32mp157a-dk1.dts
> @@ -228,6 +228,10 @@
>  	};
>  };
>  
> +&ipcc {
> +	status = "okay";
> +};
> +
>  &iwdg2 {
>  	timeout-sec = <32>;
>  	status = "okay";
> diff --git a/arch/arm/dts/stm32mp157c-ed1.dts b/arch/arm/dts/stm32mp157c-ed1.dts
> index b10208f..ab11c83 100644
> --- a/arch/arm/dts/stm32mp157c-ed1.dts
> +++ b/arch/arm/dts/stm32mp157c-ed1.dts
> @@ -318,6 +318,10 @@
>  	};
>  };
>  
> +&ipcc {
> +	status = "okay";
> +};
> +
>  &iwdg2 {
>  	timeout-sec = <32>;
>  	status = "okay";
> diff --git a/arch/arm/dts/stm32mp157c.dtsi b/arch/arm/dts/stm32mp157c.dtsi
> index 9463433..d90028a 100644
> --- a/arch/arm/dts/stm32mp157c.dtsi
> +++ b/arch/arm/dts/stm32mp157c.dtsi
> @@ -849,6 +849,19 @@
>  			status = "disabled";
>  		};
>  
> +		ipcc: mailbox at 4c001000 {
> +			compatible = "st,stm32mp1-ipcc";
> +			#mbox-cells = <1>;
> +			reg = <0x4c001000 0x400>;
> +			st,proc-id = <0>;
> +			interrupts-extended =
> +				<&intc GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
> +				<&intc GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
> +			interrupt-names = "rx", "tx";
> +			clocks = <&rcc IPCC>;
> +			status = "disabled";
> +		};
> +
>  		rcc: rcc at 50000000 {
>  			compatible = "st,stm32mp1-rcc", "syscon";
>  			reg = <0x50000000 0x1000>;
> 

Reviewed-by: Patrice Chotard <patrice.chotard at st.com>

Thanks


More information about the U-Boot mailing list