Skip to content

Commit 4374055

Browse files
committed
arm64: dts: visconti: Update the clock providers for UART
Remove fixed clock and source common clock for UART. Signed-off-by: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp> Link: https://lore.kernel.org/r/20220510015229.139818-2-nobuhiro1.iwamatsu@toshiba.co.jp/
1 parent 34f7c6e commit 4374055

3 files changed

Lines changed: 8 additions & 14 deletions

File tree

arch/arm64/boot/dts/toshiba/tmpv7708-rm-mbrc.dts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,10 @@
3232

3333
&uart0 {
3434
status = "okay";
35-
clocks = <&uart_clk>;
36-
clock-names = "apb_pclk";
3735
};
3836

3937
&uart1 {
4038
status = "okay";
41-
clocks = <&uart_clk>;
42-
clock-names = "apb_pclk";
4339
};
4440

4541
&piether {

arch/arm64/boot/dts/toshiba/tmpv7708-visrobo-vrb.dts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,10 @@
3232

3333
&uart0 {
3434
status = "okay";
35-
clocks = <&uart_clk>;
36-
clock-names = "apb_pclk";
3735
};
3836

3937
&uart1 {
4038
status = "okay";
41-
clocks = <&uart_clk>;
42-
clock-names = "apb_pclk";
4339
};
4440

4541
&piether {

arch/arm64/boot/dts/toshiba/tmpv7708.dtsi

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -129,12 +129,6 @@
129129
<GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>;
130130
};
131131

132-
uart_clk: uart-clk {
133-
compatible = "fixed-clock";
134-
clock-frequency = <150000000>;
135-
#clock-cells = <0>;
136-
};
137-
138132
clk25mhz: clk25mhz {
139133
compatible = "fixed-clock";
140134
#clock-cells = <0>;
@@ -243,6 +237,8 @@
243237
interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
244238
pinctrl-names = "default";
245239
pinctrl-0 = <&uart0_pins>;
240+
clocks = <&pismu TMPV770X_CLK_PIUART0>;
241+
clock-names = "apb_pclk";
246242
status = "disabled";
247243
};
248244

@@ -252,6 +248,8 @@
252248
interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>;
253249
pinctrl-names = "default";
254250
pinctrl-0 = <&uart1_pins>;
251+
clocks = <&pismu TMPV770X_CLK_PIUART1>;
252+
clock-names = "apb_pclk";
255253
status = "disabled";
256254
};
257255

@@ -261,6 +259,8 @@
261259
interrupts = <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>;
262260
pinctrl-names = "default";
263261
pinctrl-0 = <&uart2_pins>;
262+
clocks = <&pismu TMPV770X_CLK_PIUART2>;
263+
clock-names = "apb_pclk";
264264
status = "disabled";
265265
};
266266

@@ -270,6 +270,8 @@
270270
interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
271271
pinctrl-names = "default";
272272
pinctrl-0 = <&uart3_pins>;
273+
clocks = <&pismu TMPV770X_CLK_PIUART2>;
274+
clock-names = "apb_pclk";
273275
status = "disabled";
274276
};
275277

0 commit comments

Comments
 (0)