ARM: dts: exynos: Disable ARM PMU on Odroid XU3-lite

Message ID 20190218132257.29971-1-m.szyprowski@samsung.com
State New
Headers show
Series
  • ARM: dts: exynos: Disable ARM PMU on Odroid XU3-lite
Related show

Commit Message

Marek Szyprowski Feb. 18, 2019, 1:22 p.m.
ARM Performance Monitoring Units (PMUs) are permanently disabled in the
Exynos5422 SoC version used on Odroid XU3-lite boards. Disable them in
boards dtb to avoid confusing user and getting following warning on boot:

hw-breakpoint: Failed to enable monitor mode on CPU 0

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>

---
 arch/arm/boot/dts/exynos5422-odroidxu3-lite.dts | 8 ++++++++
 1 file changed, 8 insertions(+)

-- 
2.17.1

Patch

diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3-lite.dts b/arch/arm/boot/dts/exynos5422-odroidxu3-lite.dts
index 0db935f2b836..c19b5a51ca44 100644
--- a/arch/arm/boot/dts/exynos5422-odroidxu3-lite.dts
+++ b/arch/arm/boot/dts/exynos5422-odroidxu3-lite.dts
@@ -18,6 +18,14 @@ 
 	compatible = "hardkernel,odroid-xu3-lite", "samsung,exynos5800", "samsung,exynos5";
 };
 
+&arm_a7_pmu {
+	status = "disabled";
+};
+
+&arm_a15_pmu {
+	status = "disabled";
+};
+
 &pwm {
 	/*
 	 * PWM 0 -- fan