Skip to content

Commit 7072669

Browse files
AlessandroLuokartben
authored andcommitted
dts: ambiq: update ambiq boards dtsi as uart binding changed
This commit updates dtsi for ambiq boards as the uart binding has been changed. Signed-off-by: Hao Luo <hluo@ambiq.com>
1 parent 92e723d commit 7072669

File tree

5 files changed

+20
-30
lines changed

5 files changed

+20
-30
lines changed

dts/arm/ambiq/ambiq_apollo3_blue.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@
170170
};
171171

172172
uart0: uart@4001c000 {
173-
compatible = "ambiq,uart", "arm,pl011";
173+
compatible = "ambiq,pl011-uart", "arm,pl011";
174174
reg = <0x4001c000 0x1000>;
175175
interrupts = <15 0>;
176176
interrupt-names = "UART0";
@@ -180,7 +180,7 @@
180180
};
181181

182182
uart1: uart@4001d000 {
183-
compatible = "ambiq,uart", "arm,pl011";
183+
compatible = "ambiq,pl011-uart", "arm,pl011";
184184
reg = <0x4001d000 0x1000>;
185185
interrupts = <16 0>;
186186
interrupt-names = "UART1";

dts/arm/ambiq/ambiq_apollo3p_blue.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188
};
189189

190190
uart0: uart@4001c000 {
191-
compatible = "ambiq,uart", "arm,pl011";
191+
compatible = "ambiq,pl011-uart", "arm,pl011";
192192
reg = <0x4001c000 0x1000>;
193193
interrupts = <15 0>;
194194
interrupt-names = "UART0";
@@ -198,7 +198,7 @@
198198
};
199199

200200
uart1: uart@4001d000 {
201-
compatible = "ambiq,uart", "arm,pl011";
201+
compatible = "ambiq,pl011-uart", "arm,pl011";
202202
reg = <0x4001d000 0x1000>;
203203
interrupts = <16 0>;
204204
interrupt-names = "UART1";

dts/arm/ambiq/ambiq_apollo4p.dtsi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
};
110110

111111
uart0: uart@4001c000 {
112-
compatible = "ambiq,uart", "arm,pl011";
112+
compatible = "ambiq,pl011-uart";
113113
reg = <0x4001c000 0x1000>;
114114
interrupts = <15 0>;
115115
interrupt-names = "UART0";
@@ -118,7 +118,7 @@
118118
};
119119

120120
uart1: uart@4001d000 {
121-
compatible = "ambiq,uart", "arm,pl011";
121+
compatible = "ambiq,pl011-uart";
122122
reg = <0x4001d000 0x1000>;
123123
interrupts = <16 0>;
124124
interrupt-names = "UART1";
@@ -127,7 +127,7 @@
127127
};
128128

129129
uart2: uart@4001e000 {
130-
compatible = "ambiq,uart", "arm,pl011";
130+
compatible = "ambiq,pl011-uart", "arm,pl011";
131131
reg = <0x4001e000 0x1000>;
132132
interrupts = <17 0>;
133133
interrupt-names = "UART2";
@@ -136,7 +136,7 @@
136136
};
137137

138138
uart3: uart@4001f000 {
139-
compatible = "ambiq,uart", "arm,pl011";
139+
compatible = "ambiq,pl011-uart", "arm,pl011";
140140
reg = <0x4001f000 0x1000>;
141141
interrupts = <18 0>;
142142
interrupt-names = "UART3";

dts/arm/ambiq/ambiq_apollo4p_blue.dtsi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,15 +90,15 @@
9090
};
9191

9292
uart0: uart@4001c000 {
93-
compatible = "ambiq,uart", "arm,pl011";
93+
compatible = "ambiq,pl011-uart", "arm,pl011";
9494
reg = <0x4001c000 0x1000>;
9595
interrupts = <15 0>;
9696
interrupt-names = "UART0";
9797
status = "disabled";
9898
clocks = <&uartclk>;
9999
};
100100
uart1: uart@4001d000 {
101-
compatible = "ambiq,uart", "arm,pl011";
101+
compatible = "ambiq,pl011-uart", "arm,pl011";
102102
reg = <0x4001d000 0x1000>;
103103
interrupts = <16 0>;
104104
interrupt-names = "UART1";
@@ -107,7 +107,7 @@
107107
};
108108

109109
uart2: uart@4001e000 {
110-
compatible = "ambiq,uart", "arm,pl011";
110+
compatible = "ambiq,pl011-uart", "arm,pl011";
111111
reg = <0x4001e000 0x1000>;
112112
interrupts = <17 0>;
113113
interrupt-names = "UART2";
@@ -116,7 +116,7 @@
116116
};
117117

118118
uart3: uart@4001f000 {
119-
compatible = "ambiq,uart", "arm,pl011";
119+
compatible = "ambiq,pl011-uart", "arm,pl011";
120120
reg = <0x4001f000 0x1000>;
121121
interrupts = <18 0>;
122122
interrupt-names = "UART3";

dts/arm/ambiq/ambiq_apollo510.dtsi

Lines changed: 8 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,6 @@
1212

1313
/ {
1414
clocks {
15-
uartclk: apb-pclk {
16-
compatible = "fixed-clock";
17-
clock-frequency = <DT_FREQ_M(24)>;
18-
#clock-cells = <0>;
19-
};
20-
2115
xo32m_xtal: xo32m_xtal {
2216
compatible = "fixed-clock";
2317
clock-frequency = <DT_FREQ_M(32)>;
@@ -470,39 +464,35 @@
470464
};
471465

472466
uart0: uart@UART0_BASE_NAME {
473-
compatible = "ambiq,uart", "arm,pl011";
467+
compatible = "ambiq,uart";
474468
reg = <UART0_REG_BASE UART0_REG_SIZE>;
475469
interrupts = <15 0>;
476-
interrupt-names = "UART0";
470+
clk-src = <0>;
477471
status = "disabled";
478-
clocks = <&uartclk>;
479472
};
480473

481474
uart1: uart@UART1_BASE_NAME {
482-
compatible = "ambiq,uart", "arm,pl011";
475+
compatible = "ambiq,uart";
483476
reg = <UART1_REG_BASE UART1_REG_SIZE>;
484477
interrupts = <16 0>;
485-
interrupt-names = "UART1";
478+
clk-src = <0>;
486479
status = "disabled";
487-
clocks = <&uartclk>;
488480
};
489481

490482
uart2: uart@UART2_BASE_NAME {
491-
compatible = "ambiq,uart", "arm,pl011";
483+
compatible = "ambiq,uart";
492484
reg = <UART2_REG_BASE UART2_REG_SIZE>;
493485
interrupts = <17 0>;
494-
interrupt-names = "UART2";
486+
clk-src = <0>;
495487
status = "disabled";
496-
clocks = <&uartclk>;
497488
};
498489

499490
uart3: uart@UART3_BASE_NAME {
500-
compatible = "ambiq,uart", "arm,pl011";
491+
compatible = "ambiq,uart";
501492
reg = <UART3_REG_BASE UART3_REG_SIZE>;
502493
interrupts = <18 0>;
503-
interrupt-names = "UART3";
494+
clk-src = <0>;
504495
status = "disabled";
505-
clocks = <&uartclk>;
506496
};
507497

508498
mspi0: mspi@MSPI0_BASE_NAME {

0 commit comments

Comments
 (0)