diff mbox series

arm64: dts: realtek: rtd16xx: Add memory reservations

Message ID 20200103060441.1109-1-afaerber@suse.de (mailing list archive)
State Mainlined
Commit 0d874aad940d60e2763fa95a1d5cb352d5b60b7f
Headers show
Series arm64: dts: realtek: rtd16xx: Add memory reservations | expand

Commit Message

Andreas Färber Jan. 3, 2020, 6:04 a.m. UTC
Reserve memory regions for RPC and TEE.

Fixes: e5a9e237608d ("arm64: dts: realtek: Add RTD1619 SoC and Realtek Mjolnir EVB")
Cc: James Tai <james.tai@realtek.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
---
 arch/arm64/boot/dts/realtek/rtd16xx.dtsi | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

Comments

Andreas Färber Jan. 14, 2020, 10:07 a.m. UTC | #1
Am 03.01.20 um 07:04 schrieb Andreas Färber:
> Reserve memory regions for RPC and TEE.
> 
> Fixes: e5a9e237608d ("arm64: dts: realtek: Add RTD1619 SoC and Realtek Mjolnir EVB")
> Cc: James Tai <james.tai@realtek.com>
> Signed-off-by: Andreas Färber <afaerber@suse.de>
> ---
>   arch/arm64/boot/dts/realtek/rtd16xx.dtsi | 19 +++++++++++++++++++
>   1 file changed, 19 insertions(+)

Ping! @Realtek: Please check the numbers.

Thanks,
Andreas

> diff --git a/arch/arm64/boot/dts/realtek/rtd16xx.dtsi b/arch/arm64/boot/dts/realtek/rtd16xx.dtsi
> index 3c70a0da329e..4dc6c9f13c43 100644
> --- a/arch/arm64/boot/dts/realtek/rtd16xx.dtsi
> +++ b/arch/arm64/boot/dts/realtek/rtd16xx.dtsi
> @@ -14,6 +14,25 @@
>   	#address-cells = <1>;
>   	#size-cells = <1>;
>   
> +	reserved-memory {
> +		#address-cells = <1>;
> +		#size-cells = <1>;
> +		ranges;
> +
> +		rpc_comm: rpc@2f000 {
> +			reg = <0x2f000 0x1000>;
> +		};
> +
> +		rpc_ringbuf: rpc@1ffe000 {
> +			reg = <0x1ffe000 0x4000>;
> +		};
> +
> +		tee: tee@10100000 {
> +			reg = <0x10100000 0xf00000>;
> +			no-map;
> +		};
> +	};
> +
>   	cpus {
>   		#address-cells = <1>;
>   		#size-cells = <0>;
James Tai [戴志峰] Jan. 15, 2020, 8:13 a.m. UTC | #2
> Reserve memory regions for RPC and TEE.
> 
> Fixes: e5a9e237608d ("arm64: dts: realtek: Add RTD1619 SoC and Realtek
> Mjolnir EVB")
> Cc: James Tai <james.tai@realtek.com>
> Signed-off-by: Andreas Färber <afaerber@suse.de>
> ---
>  arch/arm64/boot/dts/realtek/rtd16xx.dtsi | 19 +++++++++++++++++++
>  1 file changed, 19 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/realtek/rtd16xx.dtsi
> b/arch/arm64/boot/dts/realtek/rtd16xx.dtsi
> index 3c70a0da329e..4dc6c9f13c43 100644
> --- a/arch/arm64/boot/dts/realtek/rtd16xx.dtsi
> +++ b/arch/arm64/boot/dts/realtek/rtd16xx.dtsi
> @@ -14,6 +14,25 @@
>  	#address-cells = <1>;
>  	#size-cells = <1>;
> 
> +	reserved-memory {
> +		#address-cells = <1>;
> +		#size-cells = <1>;
> +		ranges;
> +
> +		rpc_comm: rpc@2f000 {
> +			reg = <0x2f000 0x1000>;
> +		};
> +
> +		rpc_ringbuf: rpc@1ffe000 {
> +			reg = <0x1ffe000 0x4000>;
> +		};
> +
> +		tee: tee@10100000 {
> +			reg = <0x10100000 0xf00000>;
> +			no-map;
> +		};
> +	};
> +
>  	cpus {
>  		#address-cells = <1>;
>  		#size-cells = <0>;
> --
> 2.16.4
> 
> 
Acked-by: James Tai <james.tai@realtek.com>
Andreas Färber Jan. 15, 2020, 1:20 p.m. UTC | #3
Am 15.01.20 um 09:13 schrieb James Tai:
>> Reserve memory regions for RPC and TEE.
>>
>> Fixes: e5a9e237608d ("arm64: dts: realtek: Add RTD1619 SoC and Realtek
>> Mjolnir EVB")
>> Cc: James Tai <james.tai@realtek.com>
>> Signed-off-by: Andreas Färber <afaerber@suse.de>
>> ---
>>   arch/arm64/boot/dts/realtek/rtd16xx.dtsi | 19 +++++++++++++++++++
>>   1 file changed, 19 insertions(+)
[...]
> Acked-by: James Tai <james.tai@realtek.com>

Thanks, applied to linux-realtek.git v5.6/dt:

https://git.kernel.org/pub/scm/linux/kernel/git/afaerber/linux-realtek.git/log/?h=v5.6/dt

Regards,
Andreas
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/realtek/rtd16xx.dtsi b/arch/arm64/boot/dts/realtek/rtd16xx.dtsi
index 3c70a0da329e..4dc6c9f13c43 100644
--- a/arch/arm64/boot/dts/realtek/rtd16xx.dtsi
+++ b/arch/arm64/boot/dts/realtek/rtd16xx.dtsi
@@ -14,6 +14,25 @@ 
 	#address-cells = <1>;
 	#size-cells = <1>;
 
+	reserved-memory {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		ranges;
+
+		rpc_comm: rpc@2f000 {
+			reg = <0x2f000 0x1000>;
+		};
+
+		rpc_ringbuf: rpc@1ffe000 {
+			reg = <0x1ffe000 0x4000>;
+		};
+
+		tee: tee@10100000 {
+			reg = <0x10100000 0xf00000>;
+			no-map;
+		};
+	};
+
 	cpus {
 		#address-cells = <1>;
 		#size-cells = <0>;