Skip to contentSkip to conversation

ARM: dts: rockchip: Reserve unusable memory region on rk3066

PATCH New =?UTF-8?q?Pawe=C5=82=20Jarosz?= 1 participant 1 message Oct 5, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ARM: dts: rockchip: Reserve unusable memory region on rk3066

For some reason accessing memory region above 0x9F000000 freezes system on rk3066. There is similiar bug on later rockchip soc (rk3288) solved same way.

---

Changes in v2:
- updated commit message.

 arch/arm/boot/dts/rk3066a.dtsi | 13 +++++++++++++
 1 file changed, 13 insertions(+)
arch/arm/boot/dts/rk3066a.dtsi +13 -0
index 0d0dae3..44c8956 100644
@@ -93,6 +93,19 @@
 		};
 	};
 
+	reserved-memory {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		ranges;
+		/*
+		 * The rk3066 cannot use the memory area above 0x9F000000
+		 * for some unknown reason.
+		 */
+		unusable at 9F000000 {
+			reg = <0x9F000000 0x1000000>;
+		};
+	};
+
 	i2s0: i2s at 10118000 {
 		compatible = "rockchip,rk3066-i2s";
 		reg = <0x10118000 0x2000>;
Signature · 1 line
2.7.4