Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Cristian Ciocaltea and committed by
Manivannan Sadhasivam
b4d1e231 5c8fe583

+14
+14
arch/arm/boot/dts/owl-s500.dtsi
··· 5 5 * Copyright (c) 2016-2017 Andreas Färber 6 6 */ 7 7 8 + #include <dt-bindings/clock/actions,s500-cmu.h> 8 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 10 #include <dt-bindings/power/owl-s500-powergate.h> 10 11 ··· 68 67 hosc: hosc { 69 68 compatible = "fixed-clock"; 70 69 clock-frequency = <24000000>; 70 + #clock-cells = <0>; 71 + }; 72 + 73 + losc: losc { 74 + compatible = "fixed-clock"; 75 + clock-frequency = <32768>; 71 76 #clock-cells = <0>; 72 77 }; 73 78 ··· 174 167 reg = <0xb012c000 0x2000>; 175 168 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; 176 169 status = "disabled"; 170 + }; 171 + 172 + cmu: clock-controller@b0160000 { 173 + compatible = "actions,s500-cmu"; 174 + reg = <0xb0160000 0x8000>; 175 + clocks = <&hosc>, <&losc>; 176 + #clock-cells = <1>; 177 177 }; 178 178 179 179 timer: timer@b0168000 {