OSDN Git Service

arm64: allwinner: a64: Add RTC clock to phandle 32kHz external oscillator
authorJagan Teki <jagan@amarulasolutions.com>
Fri, 1 Jun 2018 17:35:26 +0000 (23:05 +0530)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Mon, 18 Jun 2018 07:29:51 +0000 (09:29 +0200)
Outside of SOC few chips need external clock source
through RTC example Wifi chip. So RTC clock nodes to
phandle 32kHz external oscillator.

prefix rtc- with clock-output-names defined in
dt-binding to avoid confusion with existing osc32k name.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi

index 1b2ef28..82516ae 100644 (file)
                        reg = <0x01f00000 0x54>;
                        interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
                                     <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
+                       clock-output-names = "rtc-osc32k", "rtc-osc32k-out";
+                       clocks = <&osc32k>;
+                       #clock-cells = <1>;
                };
 
                r_intc: interrupt-controller@1f00c00 {