Re: [PATCH v7 01/11] arm64: dts: actions: Add S900 clock management unit nodes

From: Manivannan Sadhasivam
Date: Sat Apr 07 2018 - 00:41:14 EST


Hi Andreas,

Since the clk driver got applied, can you please take the dts changes
through linux-actions tree?

Thanks,
Mani

On Mon, Mar 26, 2018 at 11:08:55PM +0530, Manivannan Sadhasivam wrote:
> Add Actions Semi S900 Clock Management Unit (CMU) nodes
>
> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@xxxxxxxxxx>
> ---
> arch/arm64/boot/dts/actions/s900.dtsi | 20 ++++++++++++++++++++
> 1 file changed, 20 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/actions/s900.dtsi b/arch/arm64/boot/dts/actions/s900.dtsi
> index 11406f6d3a6d..fee0c9557656 100644
> --- a/arch/arm64/boot/dts/actions/s900.dtsi
> +++ b/arch/arm64/boot/dts/actions/s900.dtsi
> @@ -4,6 +4,7 @@
> * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
> */
>
> +#include <dt-bindings/clock/actions,s900-cmu.h>
> #include <dt-bindings/interrupt-controller/arm-gic.h>
>
> / {
> @@ -88,6 +89,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>;
> @@ -154,6 +167,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>;
> --
> 2.14.1
>