Commit 4db4a57f authored by Manivannan Sadhasivam's avatar Manivannan Sadhasivam Committed by Andreas Färber
Browse files

arm64: dts: actions: s900: Add Clock Management Unit nodes



Add Actions Semi S900 Clock Management Unit (CMU) nodes.

Signed-off-by: default avatarManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: default avatarAndreas Färber <afaerber@suse.de>
parent f220d3eb
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
 * Copyright (c) 2017 Andreas Färber
 */

#include <dt-bindings/clock/actions,s900-cmu.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

/ {
@@ -87,6 +88,18 @@
		#clock-cells = <0>;
	};

	losc: losc {
		compatible = "fixed-clock";
		clock-frequency = <32768>;
		#clock-cells = <0>;
	};

	diff24M: diff24M {
		compatible = "fixed-clock";
		clock-frequency = <24000000>;
		#clock-cells = <0>;
	};

	soc {
		compatible = "simple-bus";
		#address-cells = <2>;
@@ -153,6 +166,13 @@
			status = "disabled";
		};

		cmu: clock-controller@e0160000 {
			compatible = "actions,s900-cmu";
			reg = <0x0 0xe0160000 0x0 0x1000>;
			clocks = <&hosc>, <&losc>;
			#clock-cells = <1>;
		};

		timer: timer@e0228000 {
			compatible = "actions,s900-timer";
			reg = <0x0 0xe0228000 0x0 0x8000>;