Commit 44955042 authored by Andreas Färber's avatar Andreas Färber
Browse files

arm64: dts: realtek: rtd16xx: Carve out boot ROM from memory



Update Mjolnir /memory node to exclude 0..0x2dfff from reg entry.
Add this region to /soc ranges instead.

Fixes: d8a6c3b3 ("arm64: dts: realtek: Add RTD1619 SoC and Realtek Mjolnir EVB")
Suggested-by: default avatarRob Herring <robh@kernel.org>
Cc: James Tai <james.tai@realtek.com>
Signed-off-by: default avatarAndreas Färber <afaerber@suse.de>
parent d8a6c3b3
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause)
/*
 * Copyright (c) 2019 Realtek Semiconductor Corp.
 * Copyright (c) 2019 Andreas Färber
 */

/dts-v1/;
@@ -11,9 +12,9 @@
	compatible = "realtek,mjolnir", "realtek,rtd1619";
	model = "Realtek Mjolnir EVB";

	memory@0 {
	memory@2e000 {
		device_type = "memory";
		reg = <0x0 0x80000000>;
		reg = <0x2e000 0x7ffd2000>; /* boot ROM to 2 GiB */
	};

	chosen {
+3 −1
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
 * Realtek RTD16xx SoC family
 *
 * Copyright (c) 2019 Realtek Semiconductor Corp.
 * Copyright (c) 2019 Andreas Färber
 */

#include <dt-bindings/interrupt-controller/arm-gic.h>
@@ -107,7 +108,8 @@
		compatible = "simple-bus";
		#address-cells = <1>;
		#size-cells = <1>;
		ranges = <0x98000000 0x98000000 0x68000000>;
		ranges = <0x00000000 0x00000000 0x0002e000>, /* boot ROM */
			 <0x98000000 0x98000000 0x68000000>;

		rbus: bus@98000000 {
			compatible = "simple-bus";