Skip to content

Commit 04f08ef

Browse files
robherringarndb
authored andcommitted
arm/arm64: dts: arm: Use generic clock and regulator nodenames
With the recent defining of preferred naming for fixed clock and regulator nodes, convert the Arm Ltd. boards to use the preferred names. In the cases which had a unit-address, warnings about missing "reg" property are fixed. Signed-off-by: Rob Herring (Arm) <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Reviewed-by: Sudeep Holla <[email protected]> Link: https://lore.kernel.org/[email protected] Signed-off-by: Linus Walleij <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnd Bergmann <[email protected]>
1 parent 7f8165e commit 04f08ef

23 files changed

+104
-104
lines changed

arch/arm/boot/dts/arm/arm-realview-eb-bbrevd.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
/ {
2424
/* Introduce a fixed regulator for the new ethernet controller */
25-
veth: fixedregulator@0 {
25+
veth: regulator-veth {
2626
compatible = "regulator-fixed";
2727
regulator-name = "veth";
2828
regulator-min-microvolt = <3300000>;

arch/arm/boot/dts/arm/arm-realview-eb.dtsi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
};
4646

4747
/* The voltage to the MMC card is hardwired at 3.3V */
48-
vmmc: fixedregulator@0 {
48+
vmmc: regulator-vmmc {
4949
compatible = "regulator-fixed";
5050
regulator-name = "vmmc";
5151
regulator-min-microvolt = <3300000>;
@@ -59,7 +59,7 @@
5959
clock-frequency = <24000000>;
6060
};
6161

62-
timclk: timclk@1M {
62+
timclk: clock-1000000 {
6363
#clock-cells = <0>;
6464
compatible = "fixed-factor-clock";
6565
clock-div = <24>;
@@ -68,7 +68,7 @@
6868
};
6969

7070
/* FIXME: this actually hangs off the PLL clocks */
71-
pclk: pclk@0 {
71+
pclk: clock-pclk {
7272
#clock-cells = <0>;
7373
compatible = "fixed-clock";
7474
clock-frequency = <0>;

arch/arm/boot/dts/arm/arm-realview-pb1176.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
clock-frequency = <24000000>;
7070
};
7171

72-
timclk: timclk@1M {
72+
timclk: clock-1000000 {
7373
#clock-cells = <0>;
7474
compatible = "fixed-factor-clock";
7575
clock-div = <24>;
@@ -78,7 +78,7 @@
7878
};
7979

8080
/* FIXME: this actually hangs off the PLL clocks */
81-
pclk: pclk@0 {
81+
pclk: clock-pclk {
8282
#clock-cells = <0>;
8383
compatible = "fixed-clock";
8484
clock-frequency = <0>;

arch/arm/boot/dts/arm/arm-realview-pb11mp.dts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,13 +169,13 @@
169169
clock-frequency = <24000000>;
170170
};
171171

172-
refclk32khz: refclk32khz {
172+
refclk32khz: clock-32768 {
173173
compatible = "fixed-clock";
174174
#clock-cells = <0>;
175175
clock-frequency = <32768>;
176176
};
177177

178-
timclk: timclk@1M {
178+
timclk: clock-1000000 {
179179
#clock-cells = <0>;
180180
compatible = "fixed-factor-clock";
181181
clock-div = <24>;
@@ -184,7 +184,7 @@
184184
};
185185

186186
/* FIXME: this actually hangs off the PLL clocks */
187-
pclk: pclk@0 {
187+
pclk: clock-pclk {
188188
#clock-cells = <0>;
189189
compatible = "fixed-clock";
190190
clock-frequency = <0>;

arch/arm/boot/dts/arm/arm-realview-pbx.dtsi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,13 @@
6868
clock-frequency = <24000000>;
6969
};
7070

71-
refclk32khz: refclk32khz {
71+
refclk32khz: clock-32768 {
7272
#clock-cells = <0>;
7373
compatible = "fixed-clock";
7474
clock-frequency = <32768>;
7575
};
7676

77-
timclk: timclk@1M {
77+
timclk: clock-1000000 {
7878
#clock-cells = <0>;
7979
compatible = "fixed-factor-clock";
8080
clock-div = <24>;
@@ -83,7 +83,7 @@
8383
};
8484

8585
/* FIXME: this actually hangs off the PLL clocks */
86-
pclk: pclk@0 {
86+
pclk: clock-pclk {
8787
#clock-cells = <0>;
8888
compatible = "fixed-clock";
8989
clock-frequency = <0>;

arch/arm/boot/dts/arm/integratorap-im-pd1.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
};
5555

5656
/* Also used for the Smart Card Interface SCI */
57-
impd1_uartclk: clock@1_4 {
57+
impd1_uartclk: clock-uart {
5858
compatible = "fixed-factor-clock";
5959
#clock-cells = <0>;
6060
clock-div = <4>;
@@ -64,7 +64,7 @@
6464
};
6565

6666
/* For the SSP the clock is divided by 64 */
67-
impd1_sspclk: clock@1_64 {
67+
impd1_sspclk: clock-ssp {
6868
compatible = "fixed-factor-clock";
6969
#clock-cells = <0>;
7070
clock-div = <64>;

arch/arm/boot/dts/arm/integratorap.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
};
6565

6666
/* The UART clock is 14.74 MHz divided by an ICS525 */
67-
uartclk: [email protected] {
67+
uartclk: clock-14745600 {
6868
#clock-cells = <0>;
6969
compatible = "fixed-clock";
7070
clock-frequency = <14745600>;
@@ -73,7 +73,7 @@
7373

7474
core-module@10000000 {
7575
/* 24 MHz chrystal on the core module */
76-
cm24mhz: cm24mhz@24M {
76+
cm24mhz: clock-24000000 {
7777
#clock-cells = <0>;
7878
compatible = "fixed-clock";
7979
clock-frequency = <24000000>;

arch/arm/boot/dts/arm/integratorcp.dts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,14 @@
4747
*/
4848

4949
/* The codec chrystal operates at 24.576 MHz */
50-
xtal_codec: [email protected] {
50+
xtal_codec: clock-24576000 {
5151
#clock-cells = <0>;
5252
compatible = "fixed-clock";
5353
clock-frequency = <24576000>;
5454
};
5555

5656
/* The chrystal is divided by 2 by the codec for the AACI bit clock */
57-
aaci_bitclk: [email protected] {
57+
aaci_bitclk: clock-12288000 {
5858
#clock-cells = <0>;
5959
compatible = "fixed-factor-clock";
6060
clock-div = <2>;
@@ -63,29 +63,29 @@
6363
};
6464

6565
/* This is a 25MHz chrystal on the base board */
66-
xtal25mhz: xtal25mhz@25M {
66+
xtal25mhz: clock-25000000 {
6767
#clock-cells = <0>;
6868
compatible = "fixed-clock";
6969
clock-frequency = <25000000>;
7070
};
7171

7272
/* The UART clock is 14.74 MHz divided from 25MHz by an ICS525 */
73-
uartclk: [email protected] {
73+
uartclk: clock-14745600 {
7474
#clock-cells = <0>;
7575
compatible = "fixed-clock";
7676
clock-frequency = <14745600>;
7777
};
7878

7979
/* Actually sysclk I think */
80-
pclk: pclk@0 {
80+
pclk: clock-pclk {
8181
#clock-cells = <0>;
8282
compatible = "fixed-clock";
8383
clock-frequency = <0>;
8484
};
8585

8686
core-module@10000000 {
8787
/* 24 MHz chrystal on the core module */
88-
cm24mhz: cm24mhz@24M {
88+
cm24mhz: clock-24000000 {
8989
#clock-cells = <0>;
9090
compatible = "fixed-clock";
9191
clock-frequency = <24000000>;
@@ -131,7 +131,7 @@
131131
};
132132

133133
/* The timer clock is the 24 MHz oscillator divided to 1MHz */
134-
timclk: timclk@1M {
134+
timclk: clock-1000000 {
135135
#clock-cells = <0>;
136136
compatible = "fixed-factor-clock";
137137
clock-div = <24>;

arch/arm/boot/dts/arm/mps2.dtsi

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,31 +48,31 @@
4848
#address-cells = <1>;
4949
#size-cells = <1>;
5050

51-
oscclk0: clk-osc0 {
51+
oscclk0: clock-50000000 {
5252
compatible = "fixed-clock";
5353
#clock-cells = <0>;
5454
clock-frequency = <50000000>;
5555
};
5656

57-
oscclk1: clk-osc1 {
57+
oscclk1: clock-24576000 {
5858
compatible = "fixed-clock";
5959
#clock-cells = <0>;
6060
clock-frequency = <24576000>;
6161
};
6262

63-
oscclk2: clk-osc2 {
63+
oscclk2: clock-25000000 {
6464
compatible = "fixed-clock";
6565
#clock-cells = <0>;
6666
clock-frequency = <25000000>;
6767
};
6868

69-
cfgclk: clk-cfg {
69+
cfgclk: clock-5000000 {
7070
compatible = "fixed-clock";
7171
#clock-cells = <0>;
7272
clock-frequency = <5000000>;
7373
};
7474

75-
spicfgclk: clk-spicfg {
75+
spicfgclk: clock-75000000 {
7676
compatible = "fixed-clock";
7777
#clock-cells = <0>;
7878
clock-frequency = <75000000>;
@@ -86,15 +86,15 @@
8686
clock-mult = <1>;
8787
};
8888

89-
audmclk: clk-audm {
89+
audmclk: clk-12388000 {
9090
compatible = "fixed-factor-clock";
9191
clocks = <&oscclk1>;
9292
#clock-cells = <0>;
9393
clock-div = <2>;
9494
clock-mult = <1>;
9595
};
9696

97-
audsclk: clk-auds {
97+
audsclk: clk-3072000 {
9898
compatible = "fixed-factor-clock";
9999
clocks = <&oscclk1>;
100100
#clock-cells = <0>;

arch/arm/boot/dts/arm/versatile-ab.dts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
reg = <0x0 0x08000000>;
2525
};
2626

27-
xtal24mhz: xtal24mhz@24M {
27+
xtal24mhz: clock-24000000 {
2828
#clock-cells = <0>;
2929
compatible = "fixed-clock";
3030
clock-frequency = <24000000>;
@@ -142,22 +142,22 @@
142142
};
143143

144144
/* OSC1 on AB, OSC4 on PB */
145-
osc1: cm_aux_osc@24M {
145+
osc1: clock-osc {
146146
#clock-cells = <0>;
147147
compatible = "arm,versatile-cm-auxosc";
148148
clocks = <&xtal24mhz>;
149149
};
150150

151151
/* The timer clock is the 24 MHz oscillator divided to 1MHz */
152-
timclk: timclk@1M {
152+
timclk: clock-1000000 {
153153
#clock-cells = <0>;
154154
compatible = "fixed-factor-clock";
155155
clock-div = <24>;
156156
clock-mult = <1>;
157157
clocks = <&xtal24mhz>;
158158
};
159159

160-
pclk: pclk@24M {
160+
pclk: clock-24000000 {
161161
#clock-cells = <0>;
162162
compatible = "fixed-factor-clock";
163163
clock-div = <1>;

0 commit comments

Comments
 (0)