ARM: dts: imx6q-bx50v3: Enable secure-reg-access
authorPeter Senna Tschudin <peter.senna@collabora.com>
Mon, 5 Feb 2018 17:08:40 +0000 (18:08 +0100)
committerShawn Guo <shawnguo@kernel.org>
Mon, 12 Feb 2018 13:13:20 +0000 (21:13 +0800)
Enable secure debug enable register access for Bx50v3 devices to enable
PMU and hardware counters for perf.

Signed-off-by: Peter Senna Tschudin <peter.senna@collabora.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6q-bx50v3.dtsi
arch/arm/boot/dts/imx6qdl.dtsi

index e8ad6a5..990e411 100644 (file)
        };
 };
 
+&pmu {
+       secure-reg-access;
+};
+
 &usdhc2 {
        status = "disabled";
 };
index 0c70ea8..c003e62 100644 (file)
                };
        };
 
-       pmu {
+       pmu: pmu {
                compatible = "arm,cortex-a9-pmu";
                interrupt-parent = <&gpc>;
                interrupts = <0 94 IRQ_TYPE_LEVEL_HIGH>;