mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-26 21:54:11 +08:00
arm: dts: owl-s500: Add Clock Management Unit
Add Clock Management Unit for Actions Semi S500 SoC. Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@gmail.com> Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
This commit is contained in:
parent
5c8fe583cc
commit
b4d1e231fc
@ -5,6 +5,7 @@
|
||||
* Copyright (c) 2016-2017 Andreas Färber
|
||||
*/
|
||||
|
||||
#include <dt-bindings/clock/actions,s500-cmu.h>
|
||||
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
||||
#include <dt-bindings/power/owl-s500-powergate.h>
|
||||
|
||||
@ -70,6 +71,12 @@
|
||||
#clock-cells = <0>;
|
||||
};
|
||||
|
||||
losc: losc {
|
||||
compatible = "fixed-clock";
|
||||
clock-frequency = <32768>;
|
||||
#clock-cells = <0>;
|
||||
};
|
||||
|
||||
soc {
|
||||
compatible = "simple-bus";
|
||||
#address-cells = <1>;
|
||||
@ -169,6 +176,13 @@
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
cmu: clock-controller@b0160000 {
|
||||
compatible = "actions,s500-cmu";
|
||||
reg = <0xb0160000 0x8000>;
|
||||
clocks = <&hosc>, <&losc>;
|
||||
#clock-cells = <1>;
|
||||
};
|
||||
|
||||
timer: timer@b0168000 {
|
||||
compatible = "actions,s500-timer";
|
||||
reg = <0xb0168000 0x8000>;
|
||||
|
Loading…
Reference in New Issue
Block a user