Skip to content

Commit 57337b2

Browse files
committed
arm64: dts: apple: t8103: Rename clk24 to clkref
We now know that this frequency comes from the external reference oscillator and is used for various SoC blocks, and isn't just a random 24MHz clock, so let's call it something more appropriate. Reviewed-by: Mark Kettenis <[email protected]> Reviewed-by: Sven Peter <[email protected]> Signed-off-by: Hector Martin <[email protected]>
1 parent b4d1110 commit 57337b2

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

arch/arm64/boot/dts/apple/t8103.dtsi

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,11 @@
9696
<AIC_FIQ AIC_TMR_HV_VIRT IRQ_TYPE_LEVEL_HIGH>;
9797
};
9898

99-
clk24: clock-24m {
99+
clkref: clock-ref {
100100
compatible = "fixed-clock";
101101
#clock-cells = <0>;
102102
clock-frequency = <24000000>;
103-
clock-output-names = "clk24";
103+
clock-output-names = "clkref";
104104
};
105105

106106
soc {
@@ -114,7 +114,7 @@
114114
i2c0: i2c@235010000 {
115115
compatible = "apple,t8103-i2c", "apple,i2c";
116116
reg = <0x2 0x35010000 0x0 0x4000>;
117-
clocks = <&clk24>;
117+
clocks = <&clkref>;
118118
interrupt-parent = <&aic>;
119119
interrupts = <AIC_IRQ 627 IRQ_TYPE_LEVEL_HIGH>;
120120
pinctrl-0 = <&i2c0_pins>;
@@ -127,7 +127,7 @@
127127
i2c1: i2c@235014000 {
128128
compatible = "apple,t8103-i2c", "apple,i2c";
129129
reg = <0x2 0x35014000 0x0 0x4000>;
130-
clocks = <&clk24>;
130+
clocks = <&clkref>;
131131
interrupt-parent = <&aic>;
132132
interrupts = <AIC_IRQ 628 IRQ_TYPE_LEVEL_HIGH>;
133133
pinctrl-0 = <&i2c1_pins>;
@@ -140,7 +140,7 @@
140140
i2c2: i2c@235018000 {
141141
compatible = "apple,t8103-i2c", "apple,i2c";
142142
reg = <0x2 0x35018000 0x0 0x4000>;
143-
clocks = <&clk24>;
143+
clocks = <&clkref>;
144144
interrupt-parent = <&aic>;
145145
interrupts = <AIC_IRQ 629 IRQ_TYPE_LEVEL_HIGH>;
146146
pinctrl-0 = <&i2c2_pins>;
@@ -154,7 +154,7 @@
154154
i2c3: i2c@23501c000 {
155155
compatible = "apple,t8103-i2c", "apple,i2c";
156156
reg = <0x2 0x3501c000 0x0 0x4000>;
157-
clocks = <&clk24>;
157+
clocks = <&clkref>;
158158
interrupt-parent = <&aic>;
159159
interrupts = <AIC_IRQ 630 IRQ_TYPE_LEVEL_HIGH>;
160160
pinctrl-0 = <&i2c3_pins>;
@@ -167,7 +167,7 @@
167167
i2c4: i2c@235020000 {
168168
compatible = "apple,t8103-i2c", "apple,i2c";
169169
reg = <0x2 0x35020000 0x0 0x4000>;
170-
clocks = <&clk24>;
170+
clocks = <&clkref>;
171171
interrupt-parent = <&aic>;
172172
interrupts = <AIC_IRQ 631 IRQ_TYPE_LEVEL_HIGH>;
173173
pinctrl-0 = <&i2c4_pins>;
@@ -188,7 +188,7 @@
188188
* TODO: figure out the clocking properly, there may
189189
* be a third selectable clock.
190190
*/
191-
clocks = <&clk24>, <&clk24>;
191+
clocks = <&clkref>, <&clkref>;
192192
clock-names = "uart", "clk_uart_baud0";
193193
power-domains = <&ps_uart0>;
194194
status = "disabled";
@@ -200,7 +200,7 @@
200200
reg-io-width = <4>;
201201
interrupt-parent = <&aic>;
202202
interrupts = <AIC_IRQ 607 IRQ_TYPE_LEVEL_HIGH>;
203-
clocks = <&clk24>, <&clk24>;
203+
clocks = <&clkref>, <&clkref>;
204204
clock-names = "uart", "clk_uart_baud0";
205205
power-domains = <&ps_uart2>;
206206
status = "disabled";
@@ -327,7 +327,7 @@
327327
wdt: watchdog@23d2b0000 {
328328
compatible = "apple,t8103-wdt", "apple,wdt";
329329
reg = <0x2 0x3d2b0000 0x0 0x4000>;
330-
clocks = <&clk24>;
330+
clocks = <&clkref>;
331331
interrupt-parent = <&aic>;
332332
interrupts = <AIC_IRQ 338 IRQ_TYPE_LEVEL_HIGH>;
333333
};

0 commit comments

Comments
 (0)