diff mbox series

[1/2] ARM: dts: meson8: add the internal clock measurer

Message ID 20190209002641.9105-2-martin.blumenstingl@googlemail.com (mailing list archive)
State Mainlined
Commit b6eac0d06b82712db8ffba36804e7e1225ce5919
Headers show
Series ARM: dts: add the clock measurer on Meson8/Meson8b | expand

Commit Message

Martin Blumenstingl Feb. 9, 2019, 12:26 a.m. UTC
The Amlogic Meson8 SoC has an internal clock measurer IP which allows
measuring frequencies of various clock paths.
Enable it on meson8.dtsi so we can use it.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
---
 arch/arm/boot/dts/meson8.dtsi | 5 +++++
 1 file changed, 5 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/meson8.dtsi b/arch/arm/boot/dts/meson8.dtsi
index c9bd46120cb5..d83c6e96ace8 100644
--- a/arch/arm/boot/dts/meson8.dtsi
+++ b/arch/arm/boot/dts/meson8.dtsi
@@ -345,6 +345,11 @@ 
 		status = "disabled";
 	};
 
+	clock-measure@8758 {
+		compatible = "amlogic,meson8-clk-measure";
+		reg = <0x8758 0x1c>;
+	};
+
 	pinctrl_cbus: pinctrl@9880 {
 		compatible = "amlogic,meson8-cbus-pinctrl";
 		reg = <0x9880 0x10>;