sunxi: driver refresh for 3.13
[openwrt.git] / target / linux / sunxi / patches-3.13 / 254-dt-sun7i-change-32k-osc-nodename.patch
1 From 673fac742946bcb7cc43b9e67459862d6c4a8a6c Mon Sep 17 00:00:00 2001
2 From: Chen-Yu Tsai <wens@csie.org>
3 Date: Wed, 1 Jan 2014 10:30:47 +0800
4 Subject: [PATCH] ARM: dts: sun7i: Change 32768 Hz oscillator node name to
5  clk@N style
6
7 Device tree naming conventions state that node names should match
8 the nodes function. Change external low speed oscillator node name
9 to match.
10
11 Signed-off-by: Chen-Yu Tsai <wens@csie.org>
12 Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
13 ---
14  arch/arm/boot/dts/sun7i-a20.dtsi | 3 ++-
15  1 file changed, 2 insertions(+), 1 deletion(-)
16
17 diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
18 index 898b021..edad6f1 100644
19 --- a/arch/arm/boot/dts/sun7i-a20.dtsi
20 +++ b/arch/arm/boot/dts/sun7i-a20.dtsi
21 @@ -53,10 +53,11 @@
22                         clock-frequency = <24000000>;
23                 };
24  
25 -               osc32k: osc32k {
26 +               osc32k: clk@0 {
27                         #clock-cells = <0>;
28                         compatible = "fixed-clock";
29                         clock-frequency = <32768>;
30 +                       clock-output-names = "osc32k";
31                 };
32  
33                 pll1: pll1@01c20000 {
34 -- 
35 1.8.5.5
36