|
3 | 3 | * Copyright (c) 2025 Microchip Technology Inc. and its subsidiaries. |
4 | 4 | */ |
5 | 5 |
|
6 | | -#include <dt-bindings/clock/microchip,lan969x.h> |
| 6 | +#include <dt-bindings/clock/microchip,lan9691.h> |
7 | 7 | #include <dt-bindings/dma/at91.h> |
8 | 8 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
9 | 9 | #include <dt-bindings/mfd/at91-usart.h> |
|
14 | 14 | #size-cells = <1>; |
15 | 15 |
|
16 | 16 | model = "Microchip LAN969x"; |
17 | | - compatible = "microchip,lan969x"; |
| 17 | + compatible = "microchip,lan9691"; |
18 | 18 | interrupt-parent = <&gic>; |
19 | 19 |
|
20 | | - psci { |
21 | | - compatible = "arm,psci-1.0"; |
22 | | - method = "smc"; |
23 | | - }; |
24 | | - |
25 | 20 | clocks { |
26 | 21 | fx100_clk: fx100-clk { |
27 | 22 | compatible = "fixed-clock"; |
|
66 | 61 | }; |
67 | 62 | }; |
68 | 63 |
|
| 64 | + psci { |
| 65 | + compatible = "arm,psci-1.0"; |
| 66 | + method = "smc"; |
| 67 | + }; |
| 68 | + |
69 | 69 | pmu { |
70 | 70 | compatible = "arm,cortex-a53-pmu"; |
71 | 71 | interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>; |
|
105 | 105 | }; |
106 | 106 |
|
107 | 107 | flx0: flexcom@e0040000 { |
108 | | - compatible = "atmel,sama5d2-flexcom"; |
| 108 | + compatible = "microchip,lan9691-flexcom", "atmel,sama5d2-flexcom"; |
109 | 109 | reg = <0xe0040000 0x100>; |
| 110 | + ranges = <0x0 0xe0040000 0x800>; |
110 | 111 | clocks = <&clks GCK_ID_FLEXCOM0>; |
111 | 112 | #address-cells = <1>; |
112 | 113 | #size-cells = <1>; |
113 | | - ranges = <0x0 0xe0040000 0x800>; |
114 | 114 | status = "disabled"; |
115 | 115 |
|
116 | 116 | usart0: serial@200 { |
117 | | - compatible = "atmel,at91sam9260-usart"; |
| 117 | + compatible = "microchip,lan9691-usart", "atmel,at91sam9260-usart"; |
118 | 118 | reg = <0x200 0x200>; |
119 | | - atmel,usart-mode = <AT91_USART_MODE_SERIAL>; |
120 | 119 | interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>; |
121 | 120 | dmas = <&dma AT91_XDMAC_DT_PERID(3)>, |
122 | 121 | <&dma AT91_XDMAC_DT_PERID(2)>; |
123 | 122 | dma-names = "tx", "rx"; |
124 | 123 | clocks = <&fabric_clk>; |
125 | 124 | clock-names = "usart"; |
126 | 125 | atmel,fifo-size = <32>; |
| 126 | + atmel,usart-mode = <AT91_USART_MODE_SERIAL>; |
127 | 127 | status = "disabled"; |
128 | 128 | }; |
129 | 129 |
|
130 | 130 | spi0: spi@400 { |
131 | | - compatible = "atmel,at91rm9200-spi"; |
| 131 | + compatible = "microchip,lan9691-spi", "atmel,at91rm9200-spi"; |
132 | 132 | reg = <0x400 0x200>; |
133 | 133 | interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>; |
134 | 134 | dmas = <&dma AT91_XDMAC_DT_PERID(3)>, |
135 | 135 | <&dma AT91_XDMAC_DT_PERID(2)>; |
136 | 136 | dma-names = "tx", "rx"; |
137 | 137 | clocks = <&fabric_clk>; |
138 | 138 | clock-names = "spi_clk"; |
139 | | - atmel,fifo-size = <32>; |
140 | 139 | #address-cells = <1>; |
141 | 140 | #size-cells = <0>; |
| 141 | + atmel,fifo-size = <32>; |
142 | 142 | status = "disabled"; |
143 | 143 | }; |
144 | 144 |
|
145 | 145 | i2c0: i2c@600 { |
146 | | - compatible = "microchip,sam9x60-i2c"; |
| 146 | + compatible = "microchip,lan9691-i2c", "microchip,sam9x60-i2c"; |
147 | 147 | reg = <0x600 0x200>; |
148 | 148 | interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>; |
149 | 149 | dmas = <&dma AT91_XDMAC_DT_PERID(3)>, |
|
157 | 157 | }; |
158 | 158 |
|
159 | 159 | flx1: flexcom@e0044000 { |
160 | | - compatible = "atmel,sama5d2-flexcom"; |
| 160 | + compatible = "microchip,lan9691-flexcom", "atmel,sama5d2-flexcom"; |
161 | 161 | reg = <0xe0044000 0x100>; |
| 162 | + ranges = <0x0 0xe0044000 0x800>; |
162 | 163 | clocks = <&clks GCK_ID_FLEXCOM1>; |
163 | 164 | #address-cells = <1>; |
164 | 165 | #size-cells = <1>; |
165 | | - ranges = <0x0 0xe0044000 0x800>; |
166 | 166 | status = "disabled"; |
167 | 167 |
|
168 | 168 | usart1: serial@200 { |
169 | | - compatible = "atmel,at91sam9260-usart"; |
| 169 | + compatible = "microchip,lan9691-usart", "atmel,at91sam9260-usart"; |
170 | 170 | reg = <0x200 0x200>; |
171 | | - atmel,usart-mode = <AT91_USART_MODE_SERIAL>; |
172 | 171 | interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>; |
173 | 172 | dmas = <&dma AT91_XDMAC_DT_PERID(3)>, |
174 | 173 | <&dma AT91_XDMAC_DT_PERID(2)>; |
175 | 174 | dma-names = "tx", "rx"; |
176 | 175 | clocks = <&fabric_clk>; |
177 | 176 | clock-names = "usart"; |
178 | 177 | atmel,fifo-size = <32>; |
| 178 | + atmel,usart-mode = <AT91_USART_MODE_SERIAL>; |
179 | 179 | status = "disabled"; |
180 | 180 | }; |
181 | 181 |
|
182 | 182 | spi1: spi@400 { |
183 | | - compatible = "atmel,at91rm9200-spi"; |
| 183 | + compatible = "microchip,lan9691-spi", "atmel,at91rm9200-spi"; |
184 | 184 | reg = <0x400 0x200>; |
185 | 185 | interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>; |
186 | 186 | dmas = <&dma AT91_XDMAC_DT_PERID(3)>, |
187 | 187 | <&dma AT91_XDMAC_DT_PERID(2)>; |
188 | 188 | dma-names = "tx", "rx"; |
189 | 189 | clocks = <&fabric_clk>; |
190 | 190 | clock-names = "spi_clk"; |
191 | | - atmel,fifo-size = <32>; |
192 | 191 | #address-cells = <1>; |
193 | 192 | #size-cells = <0>; |
| 193 | + atmel,fifo-size = <32>; |
194 | 194 | status = "disabled"; |
195 | 195 | }; |
196 | 196 |
|
197 | 197 | i2c1: i2c@600 { |
198 | | - compatible = "microchip,sam9x60-i2c"; |
| 198 | + compatible = "microchip,lan9691-i2c", "microchip,sam9x60-i2c"; |
199 | 199 | reg = <0x600 0x200>; |
200 | 200 | interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>; |
201 | 201 | dmas = <&dma AT91_XDMAC_DT_PERID(3)>, |
|
209 | 209 | }; |
210 | 210 |
|
211 | 211 | trng: rng@e0048000 { |
212 | | - compatible = "atmel,at91sam9g45-trng"; |
| 212 | + compatible = "microchip,lan9691-trng", "atmel,at91sam9g45-trng"; |
213 | 213 | reg = <0xe0048000 0x100>; |
214 | 214 | clocks = <&fabric_clk>; |
215 | 215 | status = "disabled"; |
216 | 216 | }; |
217 | 217 |
|
218 | 218 | aes: crypto@e004c000 { |
219 | | - compatible = "atmel,at91sam9g46-aes"; |
| 219 | + compatible = "microchip,lan9691-aes", "atmel,at91sam9g46-aes"; |
220 | 220 | reg = <0xe004c000 0x100>; |
221 | 221 | interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>; |
222 | 222 | dmas = <&dma AT91_XDMAC_DT_PERID(12)>, |
|
228 | 228 | }; |
229 | 229 |
|
230 | 230 | flx2: flexcom@e0060000 { |
231 | | - compatible = "atmel,sama5d2-flexcom"; |
| 231 | + compatible = "microchip,lan9691-flexcom", "atmel,sama5d2-flexcom"; |
232 | 232 | reg = <0xe0060000 0x100>; |
| 233 | + ranges = <0x0 0xe0060000 0x800>; |
233 | 234 | clocks = <&clks GCK_ID_FLEXCOM2>; |
234 | 235 | #address-cells = <1>; |
235 | 236 | #size-cells = <1>; |
236 | | - ranges = <0x0 0xe0060000 0x800>; |
237 | 237 | status = "disabled"; |
238 | 238 |
|
239 | 239 | usart2: serial@200 { |
240 | | - compatible = "atmel,at91sam9260-usart"; |
| 240 | + compatible = "microchip,lan9691-usart", "atmel,at91sam9260-usart"; |
241 | 241 | reg = <0x200 0x200>; |
242 | | - atmel,usart-mode = <AT91_USART_MODE_SERIAL>; |
243 | 242 | interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>; |
244 | 243 | dmas = <&dma AT91_XDMAC_DT_PERID(7)>, |
245 | 244 | <&dma AT91_XDMAC_DT_PERID(6)>; |
246 | 245 | dma-names = "tx", "rx"; |
247 | 246 | clocks = <&fabric_clk>; |
248 | 247 | clock-names = "usart"; |
249 | 248 | atmel,fifo-size = <32>; |
| 249 | + atmel,usart-mode = <AT91_USART_MODE_SERIAL>; |
250 | 250 | status = "disabled"; |
251 | 251 | }; |
252 | 252 |
|
253 | 253 | spi2: spi@400 { |
254 | | - compatible = "atmel,at91rm9200-spi"; |
| 254 | + compatible = "microchip,lan9691-spi", "atmel,at91rm9200-spi"; |
255 | 255 | reg = <0x400 0x200>; |
256 | 256 | interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>; |
257 | 257 | dmas = <&dma AT91_XDMAC_DT_PERID(7)>, |
258 | 258 | <&dma AT91_XDMAC_DT_PERID(6)>; |
259 | 259 | dma-names = "tx", "rx"; |
260 | 260 | clocks = <&fabric_clk>; |
261 | 261 | clock-names = "spi_clk"; |
262 | | - atmel,fifo-size = <32>; |
263 | 262 | #address-cells = <1>; |
264 | 263 | #size-cells = <0>; |
| 264 | + atmel,fifo-size = <32>; |
265 | 265 | status = "disabled"; |
266 | 266 | }; |
267 | 267 |
|
268 | 268 | i2c2: i2c@600 { |
269 | | - compatible = "microchip,sam9x60-i2c"; |
| 269 | + compatible = "microchip,lan9691-i2c", "microchip,sam9x60-i2c"; |
270 | 270 | reg = <0x600 0x200>; |
271 | 271 | interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>; |
| 272 | + dmas = <&dma AT91_XDMAC_DT_PERID(7)>, |
| 273 | + <&dma AT91_XDMAC_DT_PERID(6)>; |
| 274 | + dma-names = "tx", "rx"; |
272 | 275 | clocks = <&fabric_clk>; |
273 | 276 | #address-cells = <1>; |
274 | 277 | #size-cells = <0>; |
|
277 | 280 | }; |
278 | 281 |
|
279 | 282 | flx3: flexcom@e0064000 { |
280 | | - compatible = "atmel,sama5d2-flexcom"; |
| 283 | + compatible = "microchip,lan9691-flexcom", "atmel,sama5d2-flexcom"; |
281 | 284 | reg = <0xe0064000 0x100>; |
| 285 | + ranges = <0x0 0xe0064000 0x800>; |
282 | 286 | clocks = <&clks GCK_ID_FLEXCOM3>; |
283 | 287 | #address-cells = <1>; |
284 | 288 | #size-cells = <1>; |
285 | | - ranges = <0x0 0xe0064000 0x800>; |
286 | 289 | status = "disabled"; |
287 | 290 |
|
288 | 291 | usart3: serial@200 { |
289 | | - compatible = "atmel,at91sam9260-usart"; |
| 292 | + compatible = "microchip,lan9691-usart", "atmel,at91sam9260-usart"; |
290 | 293 | reg = <0x200 0x200>; |
291 | | - atmel,usart-mode = <AT91_USART_MODE_SERIAL>; |
292 | 294 | interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>; |
293 | 295 | dmas = <&dma AT91_XDMAC_DT_PERID(9)>, |
294 | 296 | <&dma AT91_XDMAC_DT_PERID(8)>; |
295 | 297 | dma-names = "tx", "rx"; |
296 | 298 | clocks = <&fabric_clk>; |
297 | 299 | clock-names = "usart"; |
298 | 300 | atmel,fifo-size = <32>; |
| 301 | + atmel,usart-mode = <AT91_USART_MODE_SERIAL>; |
299 | 302 | status = "disabled"; |
300 | 303 | }; |
301 | 304 |
|
302 | 305 | spi3: spi@400 { |
303 | | - compatible = "atmel,at91rm9200-spi"; |
| 306 | + compatible = "microchip,lan9691-spi", "atmel,at91rm9200-spi"; |
304 | 307 | reg = <0x400 0x200>; |
305 | 308 | interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>; |
306 | 309 | dmas = <&dma AT91_XDMAC_DT_PERID(9)>, |
307 | 310 | <&dma AT91_XDMAC_DT_PERID(8)>; |
308 | 311 | dma-names = "tx", "rx"; |
309 | 312 | clocks = <&fabric_clk>; |
310 | 313 | clock-names = "spi_clk"; |
311 | | - atmel,fifo-size = <32>; |
312 | 314 | #address-cells = <1>; |
313 | 315 | #size-cells = <0>; |
| 316 | + atmel,fifo-size = <32>; |
314 | 317 | status = "disabled"; |
315 | 318 | }; |
316 | 319 |
|
317 | 320 | i2c3: i2c@600 { |
318 | | - compatible = "microchip,sam9x60-i2c"; |
| 321 | + compatible = "microchip,lan9691-i2c", "microchip,sam9x60-i2c"; |
319 | 322 | reg = <0x600 0x200>; |
320 | 323 | interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>; |
321 | 324 | dmas = <&dma AT91_XDMAC_DT_PERID(9)>, |
|
329 | 332 | }; |
330 | 333 |
|
331 | 334 | dma: dma-controller@e0068000 { |
332 | | - compatible = "microchip,sama7g5-dma"; |
| 335 | + compatible = "microchip,lan9691-dma", "microchip,sama7g5-dma"; |
333 | 336 | reg = <0xe0068000 0x1000>; |
334 | 337 | interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>; |
335 | 338 | dma-channels = <16>; |
|
339 | 342 | }; |
340 | 343 |
|
341 | 344 | sha: crypto@e006c000 { |
342 | | - compatible = "atmel,at91sam9g46-sha"; |
| 345 | + compatible = "microchip,lan9691-sha", "atmel,at91sam9g46-sha"; |
343 | 346 | reg = <0xe006c000 0xec>; |
344 | 347 | interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>; |
345 | 348 | dmas = <&dma AT91_XDMAC_DT_PERID(14)>; |
|
386 | 389 |
|
387 | 390 | clks: clock-controller@e00c00b4 { |
388 | 391 | compatible = "microchip,lan9691-gck"; |
| 392 | + reg = <0xe00c00b4 0x30>, <0xe00c0308 0x4>; |
389 | 393 | #clock-cells = <1>; |
390 | 394 | clocks = <&cpu_clk>, <&ddr_clk>, <&fx100_clk>; |
391 | 395 | clock-names = "cpu", "ddr", "sys"; |
392 | | - reg = <0xe00c00b4 0x30>, <0xe00c0308 0x4>; |
393 | 396 | }; |
394 | 397 |
|
395 | 398 | qspi0: spi@e0804000 { |
|
445 | 448 | }; |
446 | 449 |
|
447 | 450 | reset: reset-controller@e201000c { |
448 | | - compatible = "microchip,lan9691-switch-reset", "microchip,lan966x-switch-reset"; |
| 451 | + compatible = "microchip,lan9691-switch-reset", |
| 452 | + "microchip,lan966x-switch-reset"; |
449 | 453 | reg = <0xe201000c 0x4>; |
450 | 454 | reg-names = "gcb"; |
451 | 455 | #reset-cells = <1>; |
|
465 | 469 | }; |
466 | 470 |
|
467 | 471 | mdio0: mdio@e20101a8 { |
468 | | - compatible = "mscc,ocelot-miim"; |
| 472 | + compatible = "microchip,lan9691-miim", "mscc,ocelot-miim"; |
| 473 | + reg = <0xe20101a8 0x24>; |
469 | 474 | #address-cells = <1>; |
470 | 475 | #size-cells = <0>; |
471 | | - reg = <0xe20101a8 0x24>; |
472 | 476 | clocks = <&fx100_clk>; |
473 | 477 | status = "disabled"; |
474 | 478 | }; |
475 | 479 |
|
476 | 480 | mdio1: mdio@e20101cc { |
477 | | - compatible = "mscc,ocelot-miim"; |
| 481 | + compatible = "microchip,lan9691-miim", "mscc,ocelot-miim"; |
| 482 | + reg = <0xe20101cc 0x24>; |
478 | 483 | #address-cells = <1>; |
479 | 484 | #size-cells = <0>; |
480 | | - reg = <0xe20101cc 0x24>; |
481 | 485 | clocks = <&fx100_clk>; |
482 | 486 | status = "disabled"; |
483 | 487 | }; |
484 | 488 |
|
485 | 489 | sgpio: gpio@e2010230 { |
486 | | - compatible = "microchip,sparx5-sgpio"; |
| 490 | + compatible = "microchip,lan9691-sgpio", "microchip,sparx5-sgpio"; |
487 | 491 | reg = <0xe2010230 0x118>; |
488 | 492 | clocks = <&fx100_clk>; |
489 | 493 | resets = <&reset 0>; |
|
493 | 497 | status = "disabled"; |
494 | 498 |
|
495 | 499 | sgpio_in: gpio@0 { |
496 | | - compatible = "microchip,sparx5-sgpio-bank"; |
| 500 | + compatible = "microchip,lan9691-sgpio-bank", |
| 501 | + "microchip,sparx5-sgpio-bank"; |
497 | 502 | reg = <0>; |
498 | 503 | gpio-controller; |
499 | 504 | #gpio-cells = <3>; |
|
503 | 508 | }; |
504 | 509 |
|
505 | 510 | sgpio_out: gpio@1 { |
506 | | - compatible = "microchip,sparx5-sgpio-bank"; |
| 511 | + compatible = "microchip,lan9691-sgpio-bank", |
| 512 | + "microchip,sparx5-sgpio-bank"; |
507 | 513 | reg = <1>; |
508 | 514 | gpio-controller; |
509 | 515 | #gpio-cells = <3>; |
510 | 516 | }; |
511 | 517 | }; |
512 | 518 |
|
513 | 519 | tmon: hwmon@e2020100 { |
514 | | - compatible = "microchip,sparx5-temp"; |
| 520 | + compatible = "microchip,lan9691-temp", "microchip,sparx5-temp"; |
515 | 521 | reg = <0xe2020100 0xc>; |
516 | 522 | clocks = <&fx100_clk>; |
517 | 523 | #thermal-sensor-cells = <0>; |
518 | 524 | }; |
519 | 525 |
|
520 | 526 | serdes: serdes@e3410000 { |
521 | 527 | compatible = "microchip,lan9691-serdes"; |
| 528 | + reg = <0xe3410000 0x150000>; |
522 | 529 | #phy-cells = <1>; |
523 | 530 | clocks = <&fabric_clk>; |
524 | | - reg = <0xe3410000 0x150000>; |
525 | 531 | }; |
526 | 532 |
|
527 | 533 | gic: interrupt-controller@e8c11000 { |
528 | 534 | compatible = "arm,gic-400"; |
529 | | - #interrupt-cells = <3>; |
530 | | - interrupt-controller; |
531 | 535 | reg = <0xe8c11000 0x1000>, /* Distributor GICD_ */ |
532 | 536 | <0xe8c12000 0x2000>, /* CPU interface GICC_ */ |
533 | 537 | <0xe8c14000 0x2000>, /* Virt interface control */ |
534 | 538 | <0xe8c16000 0x2000>; /* Virt CPU interface */ |
| 539 | + #interrupt-cells = <3>; |
| 540 | + interrupt-controller; |
535 | 541 | interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>; |
536 | 542 | }; |
537 | 543 | }; |
|
0 commit comments