Commit 8ba92cf5 authored by Saravanan Sekar's avatar Saravanan Sekar Committed by Andreas Färber

arm64: dts: actions: s700: Add Clock Management Unit

Add Clock Management Unit for Actions Semi S700 SoC.
Signed-off-by: default avatarParthiban Nallathambi <pn@denx.de>
Signed-off-by: default avatarSaravanan Sekar <sravanhome@gmail.com>
Reviewed-by: default avatarManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: default avatarManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: default avatarAndreas Färber <afaerber@suse.de>
parent c432aaa2
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
* Copyright (c) 2017 Andreas Färber * Copyright (c) 2017 Andreas Färber
*/ */
#include <dt-bindings/clock/actions,s700-cmu.h>
#include <dt-bindings/interrupt-controller/arm-gic.h> #include <dt-bindings/interrupt-controller/arm-gic.h>
/ { / {
...@@ -87,6 +88,12 @@ hosc: hosc { ...@@ -87,6 +88,12 @@ hosc: hosc {
#clock-cells = <0>; #clock-cells = <0>;
}; };
losc: losc {
compatible = "fixed-clock";
clock-frequency = <32768>;
#clock-cells = <0>;
};
soc { soc {
compatible = "simple-bus"; compatible = "simple-bus";
#address-cells = <2>; #address-cells = <2>;
...@@ -153,6 +160,13 @@ uart6: serial@e012c000 { ...@@ -153,6 +160,13 @@ uart6: serial@e012c000 {
status = "disabled"; status = "disabled";
}; };
cmu: clock-controller@e0168000 {
compatible = "actions,s700-cmu";
reg = <0x0 0xe0168000 0x0 0x1000>;
clocks = <&hosc>, <&losc>;
#clock-cells = <1>;
};
sps: power-controller@e01b0100 { sps: power-controller@e01b0100 {
compatible = "actions,s700-sps"; compatible = "actions,s700-sps";
reg = <0x0 0xe01b0100 0x0 0x100>; reg = <0x0 0xe01b0100 0x0 0x100>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment