mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
arm: dts: s900: Add Clock Management Unit (CMU) nodes
This commit adds Clock Management Unit (CMU) nodes for Actions Semi S900 SoC. Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
This commit is contained in:
parent
188d7aa4e2
commit
69e62417c7
1 changed files with 22 additions and 0 deletions
|
@ -6,18 +6,40 @@
|
||||||
// Copyright (C) 2018 Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
|
// Copyright (C) 2018 Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
|
||||||
|
|
||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
|
#include <dt-bindings/clock/s900_cmu.h>
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
compatible = "actions,s900";
|
compatible = "actions,s900";
|
||||||
#address-cells = <0x2>;
|
#address-cells = <0x2>;
|
||||||
#size-cells = <0x2>;
|
#size-cells = <0x2>;
|
||||||
|
|
||||||
|
losc: losc {
|
||||||
|
compatible = "fixed-clock";
|
||||||
|
clock-frequency = <32768>;
|
||||||
|
#clock-cells = <0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
diff24M: diff24M {
|
||||||
|
compatible = "fixed-clock";
|
||||||
|
clock-frequency = <24000000>;
|
||||||
|
#clock-cells = <0>;
|
||||||
|
};
|
||||||
|
|
||||||
soc {
|
soc {
|
||||||
u-boot,dm-pre-reloc;
|
u-boot,dm-pre-reloc;
|
||||||
compatible = "simple-bus";
|
compatible = "simple-bus";
|
||||||
#address-cells = <0x2>;
|
#address-cells = <0x2>;
|
||||||
#size-cells = <0x2>;
|
#size-cells = <0x2>;
|
||||||
ranges;
|
ranges;
|
||||||
|
|
||||||
|
cmu: clock-controller@e0160000 {
|
||||||
|
u-boot,dm-pre-reloc;
|
||||||
|
compatible = "actions,s900-cmu";
|
||||||
|
reg = <0x0 0xe0160000 0x0 0x1000>;
|
||||||
|
clocks = <&losc>, <&diff24M>;
|
||||||
|
clock-names = "losc", "diff24M";
|
||||||
|
#clock-cells = <1>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue