aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sun5i-a13.dtsi
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2014-02-02 20:51:42 -0500
committerMaxime Ripard <maxime.ripard@free-electrons.com>2014-02-07 14:23:16 -0500
commit3dce8324949eaa1ab4b750e8422ce78ddceb7aa4 (patch)
tree08c3cdd12dba36c06a9e6e3a311c3a740400b159 /arch/arm/boot/dts/sun5i-a13.dtsi
parentdfb12c0c35b6cca5e55f40870b65af87988adb3e (diff)
ARM: dts: sun5i: rename clock node names to clk@N
Device tree naming conventions state that node names should match node function. Change fully functioning clock nodes to match and add clock-output-names to all sunxi clock nodes. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun5i-a13.dtsi')
-rw-r--r--arch/arm/boot/dts/sun5i-a13.dtsi30
1 files changed, 20 insertions, 10 deletions
diff --git a/arch/arm/boot/dts/sun5i-a13.dtsi b/arch/arm/boot/dts/sun5i-a13.dtsi
index 6de40b6abff4..5c121fcbe0af 100644
--- a/arch/arm/boot/dts/sun5i-a13.dtsi
+++ b/arch/arm/boot/dts/sun5i-a13.dtsi
@@ -52,34 +52,38 @@
52 clock-frequency = <0>; 52 clock-frequency = <0>;
53 }; 53 };
54 54
55 osc24M: osc24M@01c20050 { 55 osc24M: clk@01c20050 {
56 #clock-cells = <0>; 56 #clock-cells = <0>;
57 compatible = "allwinner,sun4i-osc-clk"; 57 compatible = "allwinner,sun4i-osc-clk";
58 reg = <0x01c20050 0x4>; 58 reg = <0x01c20050 0x4>;
59 clock-frequency = <24000000>; 59 clock-frequency = <24000000>;
60 clock-output-names = "osc24M";
60 }; 61 };
61 62
62 osc32k: osc32k { 63 osc32k: clk@0 {
63 #clock-cells = <0>; 64 #clock-cells = <0>;
64 compatible = "fixed-clock"; 65 compatible = "fixed-clock";
65 clock-frequency = <32768>; 66 clock-frequency = <32768>;
67 clock-output-names = "osc32k";
66 }; 68 };
67 69
68 pll1: pll1@01c20000 { 70 pll1: clk@01c20000 {
69 #clock-cells = <0>; 71 #clock-cells = <0>;
70 compatible = "allwinner,sun4i-pll1-clk"; 72 compatible = "allwinner,sun4i-pll1-clk";
71 reg = <0x01c20000 0x4>; 73 reg = <0x01c20000 0x4>;
72 clocks = <&osc24M>; 74 clocks = <&osc24M>;
75 clock-output-names = "pll1";
73 }; 76 };
74 77
75 pll4: pll4@01c20018 { 78 pll4: clk@01c20018 {
76 #clock-cells = <0>; 79 #clock-cells = <0>;
77 compatible = "allwinner,sun4i-pll1-clk"; 80 compatible = "allwinner,sun4i-pll1-clk";
78 reg = <0x01c20018 0x4>; 81 reg = <0x01c20018 0x4>;
79 clocks = <&osc24M>; 82 clocks = <&osc24M>;
83 clock-output-names = "pll4";
80 }; 84 };
81 85
82 pll5: pll5@01c20020 { 86 pll5: clk@01c20020 {
83 #clock-cells = <1>; 87 #clock-cells = <1>;
84 compatible = "allwinner,sun4i-pll5-clk"; 88 compatible = "allwinner,sun4i-pll5-clk";
85 reg = <0x01c20020 0x4>; 89 reg = <0x01c20020 0x4>;
@@ -87,7 +91,7 @@
87 clock-output-names = "pll5_ddr", "pll5_other"; 91 clock-output-names = "pll5_ddr", "pll5_other";
88 }; 92 };
89 93
90 pll6: pll6@01c20028 { 94 pll6: clk@01c20028 {
91 #clock-cells = <1>; 95 #clock-cells = <1>;
92 compatible = "allwinner,sun4i-pll6-clk"; 96 compatible = "allwinner,sun4i-pll6-clk";
93 reg = <0x01c20028 0x4>; 97 reg = <0x01c20028 0x4>;
@@ -101,6 +105,7 @@
101 compatible = "allwinner,sun4i-cpu-clk"; 105 compatible = "allwinner,sun4i-cpu-clk";
102 reg = <0x01c20054 0x4>; 106 reg = <0x01c20054 0x4>;
103 clocks = <&osc32k>, <&osc24M>, <&pll1>, <&dummy>; 107 clocks = <&osc32k>, <&osc24M>, <&pll1>, <&dummy>;
108 clock-output-names = "cpu";
104 }; 109 };
105 110
106 axi: axi@01c20054 { 111 axi: axi@01c20054 {
@@ -108,9 +113,10 @@
108 compatible = "allwinner,sun4i-axi-clk"; 113 compatible = "allwinner,sun4i-axi-clk";
109 reg = <0x01c20054 0x4>; 114 reg = <0x01c20054 0x4>;
110 clocks = <&cpu>; 115 clocks = <&cpu>;
116 clock-output-names = "axi";
111 }; 117 };
112 118
113 axi_gates: axi_gates@01c2005c { 119 axi_gates: clk@01c2005c {
114 #clock-cells = <1>; 120 #clock-cells = <1>;
115 compatible = "allwinner,sun4i-axi-gates-clk"; 121 compatible = "allwinner,sun4i-axi-gates-clk";
116 reg = <0x01c2005c 0x4>; 122 reg = <0x01c2005c 0x4>;
@@ -123,9 +129,10 @@
123 compatible = "allwinner,sun4i-ahb-clk"; 129 compatible = "allwinner,sun4i-ahb-clk";
124 reg = <0x01c20054 0x4>; 130 reg = <0x01c20054 0x4>;
125 clocks = <&axi>; 131 clocks = <&axi>;
132 clock-output-names = "ahb";
126 }; 133 };
127 134
128 ahb_gates: ahb_gates@01c20060 { 135 ahb_gates: clk@01c20060 {
129 #clock-cells = <1>; 136 #clock-cells = <1>;
130 compatible = "allwinner,sun5i-a13-ahb-gates-clk"; 137 compatible = "allwinner,sun5i-a13-ahb-gates-clk";
131 reg = <0x01c20060 0x8>; 138 reg = <0x01c20060 0x8>;
@@ -143,9 +150,10 @@
143 compatible = "allwinner,sun4i-apb0-clk"; 150 compatible = "allwinner,sun4i-apb0-clk";
144 reg = <0x01c20054 0x4>; 151 reg = <0x01c20054 0x4>;
145 clocks = <&ahb>; 152 clocks = <&ahb>;
153 clock-output-names = "apb0";
146 }; 154 };
147 155
148 apb0_gates: apb0_gates@01c20068 { 156 apb0_gates: clk@01c20068 {
149 #clock-cells = <1>; 157 #clock-cells = <1>;
150 compatible = "allwinner,sun5i-a13-apb0-gates-clk"; 158 compatible = "allwinner,sun5i-a13-apb0-gates-clk";
151 reg = <0x01c20068 0x4>; 159 reg = <0x01c20068 0x4>;
@@ -158,6 +166,7 @@
158 compatible = "allwinner,sun4i-apb1-mux-clk"; 166 compatible = "allwinner,sun4i-apb1-mux-clk";
159 reg = <0x01c20058 0x4>; 167 reg = <0x01c20058 0x4>;
160 clocks = <&osc24M>, <&pll6 1>, <&osc32k>; 168 clocks = <&osc24M>, <&pll6 1>, <&osc32k>;
169 clock-output-names = "apb1_mux";
161 }; 170 };
162 171
163 apb1: apb1@01c20058 { 172 apb1: apb1@01c20058 {
@@ -165,9 +174,10 @@
165 compatible = "allwinner,sun4i-apb1-clk"; 174 compatible = "allwinner,sun4i-apb1-clk";
166 reg = <0x01c20058 0x4>; 175 reg = <0x01c20058 0x4>;
167 clocks = <&apb1_mux>; 176 clocks = <&apb1_mux>;
177 clock-output-names = "apb1";
168 }; 178 };
169 179
170 apb1_gates: apb1_gates@01c2006c { 180 apb1_gates: clk@01c2006c {
171 #clock-cells = <1>; 181 #clock-cells = <1>;
172 compatible = "allwinner,sun5i-a13-apb1-gates-clk"; 182 compatible = "allwinner,sun5i-a13-apb1-gates-clk";
173 reg = <0x01c2006c 0x4>; 183 reg = <0x01c2006c 0x4>;