diff mbox series

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

Message ID 20190209002641.9105-3-martin.blumenstingl@googlemail.com (mailing list archive)
State Mainlined, archived
Commit f1975b982a2917f4fadd6af96fd1671e5dc57095
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 Meson8b SoC has an internal clock measurer IP which allows
measuring frequencies of various clock paths.
Enable it on meson8b.dtsi so we can use it.

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

Patch

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