|
@@ -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>;
|