Eugen Hristev | 1e30fa1 | 2020-03-10 11:56:03 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
| 2 | /* |
Eugen Hristev | db55fd6 | 2022-03-07 16:29:42 +0200 | [diff] [blame] | 3 | * sama7g5.dtsi - Device Tree Include file for SAMA7G5 family SoC |
Eugen Hristev | 1e30fa1 | 2020-03-10 11:56:03 +0200 | [diff] [blame] | 4 | * |
Eugen Hristev | db55fd6 | 2022-03-07 16:29:42 +0200 | [diff] [blame] | 5 | * Copyright (C) 2020 Microchip Technology, Inc. and its subsidiaries |
Eugen Hristev | 1e30fa1 | 2020-03-10 11:56:03 +0200 | [diff] [blame] | 6 | * |
Eugen Hristev | db55fd6 | 2022-03-07 16:29:42 +0200 | [diff] [blame] | 7 | * Author: Eugen Hristev <eugen.hristev@microchip.com> |
| 8 | * Author: Claudiu Beznea <claudiu.beznea@microchip.com> |
Eugen Hristev | 1e30fa1 | 2020-03-10 11:56:03 +0200 | [diff] [blame] | 9 | * |
| 10 | */ |
| 11 | |
| 12 | #include "skeleton.dtsi" |
Eugen Hristev | 130bdad | 2022-01-04 18:21:54 +0200 | [diff] [blame] | 13 | #include <dt-bindings/interrupt-controller/irq.h> |
| 14 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
Claudiu Beznea | 5002eb7 | 2020-06-02 15:26:12 +0300 | [diff] [blame] | 15 | #include <dt-bindings/clk/at91.h> |
Eugen Hristev | 130bdad | 2022-01-04 18:21:54 +0200 | [diff] [blame] | 16 | #include <dt-bindings/dma/at91.h> |
Eugen Hristev | db55fd6 | 2022-03-07 16:29:42 +0200 | [diff] [blame] | 17 | #include <dt-bindings/gpio/gpio.h> |
Eugen Hristev | 1e30fa1 | 2020-03-10 11:56:03 +0200 | [diff] [blame] | 18 | |
| 19 | / { |
| 20 | model = "Microchip SAMA7G5 family SoC"; |
| 21 | compatible = "microchip,sama7g5"; |
Eugen Hristev | db55fd6 | 2022-03-07 16:29:42 +0200 | [diff] [blame] | 22 | #address-cells = <1>; |
| 23 | #size-cells = <1>; |
Eugen Hristev | 130bdad | 2022-01-04 18:21:54 +0200 | [diff] [blame] | 24 | interrupt-parent = <&gic>; |
Eugen Hristev | 1e30fa1 | 2020-03-10 11:56:03 +0200 | [diff] [blame] | 25 | |
Eugen Hristev | db55fd6 | 2022-03-07 16:29:42 +0200 | [diff] [blame] | 26 | cpus { |
| 27 | #address-cells = <1>; |
| 28 | #size-cells = <0>; |
| 29 | |
| 30 | cpu0: cpu@0 { |
| 31 | device_type = "cpu"; |
| 32 | compatible = "arm,cortex-a7"; |
| 33 | reg = <0x0>; |
| 34 | clocks = <&pmc PMC_TYPE_CORE 8>, <&pmc PMC_TYPE_CORE 22>, <&main_xtal>; |
| 35 | clock-names = "cpu", "master", "xtal"; |
Eugen Hristev | 93f91ca | 2022-05-24 13:01:44 +0300 | [diff] [blame] | 36 | operating-points-v2 = <&cpu_opp_table>; |
Eugen Hristev | db55fd6 | 2022-03-07 16:29:42 +0200 | [diff] [blame] | 37 | }; |
| 38 | }; |
| 39 | |
| 40 | cpu_opp_table: opp-table { |
| 41 | compatible = "operating-points-v2"; |
| 42 | |
| 43 | opp-90000000 { |
| 44 | opp-hz = /bits/ 64 <90000000>; |
| 45 | opp-microvolt = <1050000 1050000 1225000>; |
| 46 | clock-latency-ns = <320000>; |
| 47 | }; |
| 48 | |
| 49 | opp-250000000 { |
| 50 | opp-hz = /bits/ 64 <250000000>; |
| 51 | opp-microvolt = <1050000 1050000 1225000>; |
| 52 | clock-latency-ns = <320000>; |
| 53 | }; |
| 54 | |
| 55 | opp-600000000 { |
| 56 | opp-hz = /bits/ 64 <600000000>; |
| 57 | opp-microvolt = <1050000 1050000 1225000>; |
| 58 | clock-latency-ns = <320000>; |
| 59 | opp-suspend; |
| 60 | }; |
| 61 | |
| 62 | opp-800000000 { |
| 63 | opp-hz = /bits/ 64 <800000000>; |
| 64 | opp-microvolt = <1150000 1125000 1225000>; |
| 65 | clock-latency-ns = <320000>; |
| 66 | }; |
| 67 | |
| 68 | opp-1000000002 { |
| 69 | opp-hz = /bits/ 64 <1000000002>; |
| 70 | opp-microvolt = <1250000 1225000 1300000>; |
| 71 | clock-latency-ns = <320000>; |
| 72 | }; |
| 73 | }; |
| 74 | |
Eugen Hristev | 1e30fa1 | 2020-03-10 11:56:03 +0200 | [diff] [blame] | 75 | clocks { |
Claudiu Beznea | d109282 | 2020-06-02 15:22:21 +0300 | [diff] [blame] | 76 | slow_rc_osc: slow_rc_osc { |
| 77 | compatible = "fixed-clock"; |
| 78 | #clock-cells = <0>; |
| 79 | clock-frequency = <32000>; |
| 80 | }; |
| 81 | |
| 82 | main_rc: main_rc { |
| 83 | compatible = "fixed-clock"; |
| 84 | #clock-cells = <0>; |
| 85 | clock-frequency = <12000000>; |
| 86 | }; |
| 87 | |
Eugen Hristev | 1e30fa1 | 2020-03-10 11:56:03 +0200 | [diff] [blame] | 88 | slow_xtal: slow_xtal { |
| 89 | compatible = "fixed-clock"; |
| 90 | #clock-cells = <0>; |
Eugen Hristev | 1e30fa1 | 2020-03-10 11:56:03 +0200 | [diff] [blame] | 91 | }; |
| 92 | |
| 93 | main_xtal: main_xtal { |
| 94 | compatible = "fixed-clock"; |
| 95 | #clock-cells = <0>; |
Eugen Hristev | db55fd6 | 2022-03-07 16:29:42 +0200 | [diff] [blame] | 96 | }; |
| 97 | |
| 98 | usb_clk: usb_clk { |
| 99 | compatible = "fixed-clock"; |
| 100 | #clock-cells = <0>; |
| 101 | clock-frequency = <48000000>; |
Eugen Hristev | 1e30fa1 | 2020-03-10 11:56:03 +0200 | [diff] [blame] | 102 | }; |
Eugen Hristev | 1e30fa1 | 2020-03-10 11:56:03 +0200 | [diff] [blame] | 103 | }; |
| 104 | |
Eugen Hristev | db55fd6 | 2022-03-07 16:29:42 +0200 | [diff] [blame] | 105 | vddout25: fixed-regulator-vddout25 { |
| 106 | compatible = "regulator-fixed"; |
Claudiu Beznea | 1417d1d | 2020-06-02 15:35:55 +0300 | [diff] [blame] | 107 | |
Eugen Hristev | db55fd6 | 2022-03-07 16:29:42 +0200 | [diff] [blame] | 108 | regulator-name = "VDDOUT25"; |
| 109 | regulator-min-microvolt = <2500000>; |
| 110 | regulator-max-microvolt = <2500000>; |
| 111 | regulator-boot-on; |
| 112 | status = "disabled"; |
| 113 | }; |
| 114 | |
| 115 | ns_sram: sram@100000 { |
| 116 | compatible = "mmio-sram"; |
| 117 | #address-cells = <1>; |
| 118 | #size-cells = <1>; |
| 119 | reg = <0x100000 0x20000>; |
| 120 | ranges; |
Claudiu Beznea | 1417d1d | 2020-06-02 15:35:55 +0300 | [diff] [blame] | 121 | }; |
| 122 | |
Eugen Hristev | db55fd6 | 2022-03-07 16:29:42 +0200 | [diff] [blame] | 123 | soc { |
Eugen Hristev | 1e30fa1 | 2020-03-10 11:56:03 +0200 | [diff] [blame] | 124 | compatible = "simple-bus"; |
| 125 | #address-cells = <1>; |
| 126 | #size-cells = <1>; |
Eugen Hristev | db55fd6 | 2022-03-07 16:29:42 +0200 | [diff] [blame] | 127 | ranges; |
Eugen Hristev | 1e30fa1 | 2020-03-10 11:56:03 +0200 | [diff] [blame] | 128 | |
Eugen Hristev | db55fd6 | 2022-03-07 16:29:42 +0200 | [diff] [blame] | 129 | nfc_sram: sram@600000 { |
| 130 | compatible = "mmio-sram"; |
| 131 | no-memory-wc; |
| 132 | reg = <0x00600000 0x2400>; |
Eugen Hristev | 1e30fa1 | 2020-03-10 11:56:03 +0200 | [diff] [blame] | 133 | #address-cells = <1>; |
| 134 | #size-cells = <1>; |
Eugen Hristev | db55fd6 | 2022-03-07 16:29:42 +0200 | [diff] [blame] | 135 | ranges = <0 0x00600000 0x2400>; |
| 136 | }; |
Eugen Hristev | 1e30fa1 | 2020-03-10 11:56:03 +0200 | [diff] [blame] | 137 | |
Eugen Hristev | db55fd6 | 2022-03-07 16:29:42 +0200 | [diff] [blame] | 138 | nfc_io: nfc-io@10000000 { |
| 139 | compatible = "atmel,sama5d3-nfc-io", "syscon"; |
| 140 | reg = <0x10000000 0x8000000>; |
| 141 | }; |
Eugen Hristev | c06e2fe | 2020-06-04 10:37:13 +0300 | [diff] [blame] | 142 | |
Eugen Hristev | db55fd6 | 2022-03-07 16:29:42 +0200 | [diff] [blame] | 143 | ebi: ebi@40000000 { |
| 144 | compatible = "atmel,sama5d3-ebi"; |
| 145 | #address-cells = <2>; |
| 146 | #size-cells = <1>; |
| 147 | atmel,smc = <&hsmc>; |
| 148 | reg = <0x40000000 0x20000000>; |
| 149 | ranges = <0x0 0x0 0x40000000 0x8000000 |
| 150 | 0x1 0x0 0x48000000 0x8000000 |
| 151 | 0x2 0x0 0x50000000 0x8000000 |
| 152 | 0x3 0x0 0x58000000 0x8000000>; |
| 153 | clocks = <&pmc PMC_TYPE_CORE 13>; /* PMC_MCK1 */ |
| 154 | status = "disabled"; |
| 155 | |
| 156 | nand_controller: nand-controller { |
| 157 | compatible = "atmel,sama5d3-nand-controller"; |
| 158 | atmel,nfc-sram = <&nfc_sram>; |
| 159 | atmel,nfc-io = <&nfc_io>; |
| 160 | ecc-engine = <&pmecc>; |
| 161 | #address-cells = <2>; |
| 162 | #size-cells = <1>; |
| 163 | ranges; |
| 164 | status = "disabled"; |
Eugen Hristev | c06e2fe | 2020-06-04 10:37:13 +0300 | [diff] [blame] | 165 | }; |
Eugen Hristev | db55fd6 | 2022-03-07 16:29:42 +0200 | [diff] [blame] | 166 | }; |
| 167 | |
| 168 | securam: securam@e0000000 { |
| 169 | compatible = "microchip,sama7g5-securam", "atmel,sama5d2-securam", "mmio-sram"; |
| 170 | reg = <0xe0000000 0x4000>; |
| 171 | clocks = <&pmc PMC_TYPE_PERIPHERAL 18>; |
| 172 | #address-cells = <1>; |
| 173 | #size-cells = <1>; |
| 174 | ranges = <0 0xe0000000 0x4000>; |
| 175 | no-memory-wc; |
| 176 | }; |
Eugen Hristev | c06e2fe | 2020-06-04 10:37:13 +0300 | [diff] [blame] | 177 | |
Eugen Hristev | db55fd6 | 2022-03-07 16:29:42 +0200 | [diff] [blame] | 178 | secumod: secumod@e0004000 { |
| 179 | compatible = "microchip,sama7g5-secumod", "atmel,sama5d2-secumod", "syscon"; |
| 180 | reg = <0xe0004000 0x4000>; |
| 181 | gpio-controller; |
| 182 | #gpio-cells = <2>; |
| 183 | }; |
| 184 | |
| 185 | sfrbu: sfr@e0008000 { |
| 186 | compatible = "microchip,sama7g5-sfrbu", "atmel,sama5d2-sfrbu", "syscon"; |
| 187 | reg = <0xe0008000 0x20>; |
| 188 | }; |
| 189 | |
| 190 | pinctrl: pinctrl@e0014000 { |
| 191 | compatible = "microchip,sama7g5-gpio"; |
| 192 | reg = <0xe0014000 0x800>; |
| 193 | interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>, |
| 194 | <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>, |
| 195 | <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>, |
| 196 | <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>, |
| 197 | <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>; |
| 198 | clocks = <&pmc PMC_TYPE_PERIPHERAL 11>; |
| 199 | |
| 200 | pioA: pinctrl_default { |
| 201 | interrupt-controller; |
| 202 | #interrupt-cells = <2>; |
| 203 | gpio-controller; |
| 204 | #gpio-cells = <2>; |
| 205 | compatible = "microchip,sama7g5-pinctrl"; |
Claudiu Beznea | 18401a2 | 2020-06-02 15:24:25 +0300 | [diff] [blame] | 206 | }; |
Eugen Hristev | db55fd6 | 2022-03-07 16:29:42 +0200 | [diff] [blame] | 207 | }; |
| 208 | |
| 209 | pmc: pmc@e0018000 { |
| 210 | compatible = "microchip,sama7g5-pmc", "syscon"; |
| 211 | reg = <0xe0018000 0x200>; |
| 212 | interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; |
| 213 | #clock-cells = <2>; |
| 214 | clocks = <&clk32k 1>, <&clk32k 0>, <&main_xtal>, <&main_rc>; |
| 215 | clock-names = "td_slck", "md_slck", "main_xtal", "main_rc"; |
| 216 | }; |
| 217 | |
| 218 | shdwc: shdwc@e001d010 { |
| 219 | compatible = "microchip,sama7g5-shdwc", "syscon"; |
| 220 | reg = <0xe001d010 0x10>; |
| 221 | clocks = <&clk32k 0>; |
| 222 | #address-cells = <1>; |
| 223 | #size-cells = <0>; |
| 224 | atmel,wakeup-rtc-timer; |
| 225 | atmel,wakeup-rtt-timer; |
| 226 | status = "disabled"; |
| 227 | }; |
| 228 | |
Eugen Hristev | 93f91ca | 2022-05-24 13:01:44 +0300 | [diff] [blame] | 229 | rtt: rtc@e001d020 { |
Eugen Hristev | db55fd6 | 2022-03-07 16:29:42 +0200 | [diff] [blame] | 230 | compatible = "microchip,sama7g5-rtt", "microchip,sam9x60-rtt", "atmel,at91sam9260-rtt"; |
| 231 | reg = <0xe001d020 0x30>; |
| 232 | interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>; |
| 233 | clocks = <&clk32k 0>; |
| 234 | }; |
| 235 | |
Sergiu Moga | b60e977 | 2022-04-01 12:27:23 +0300 | [diff] [blame] | 236 | reset_controller: rstc@e001d000 { |
| 237 | compatible = "microchip,sama7g5-rstc", "microchip,sam9x60-rstc"; |
| 238 | reg = <0xe001d000 0xc>, <0xe001d0e4 0x4>; |
| 239 | #reset-cells = <1>; |
| 240 | clocks = <&clk32k 0>; |
| 241 | }; |
| 242 | |
Eugen Hristev | db55fd6 | 2022-03-07 16:29:42 +0200 | [diff] [blame] | 243 | clk32k: clock-controller@e001d050 { |
| 244 | compatible = "microchip,sama7g5-sckc", "microchip,sam9x60-sckc"; |
| 245 | reg = <0xe001d050 0x4>; |
| 246 | clocks = <&slow_rc_osc>, <&slow_xtal>; |
| 247 | #clock-cells = <1>; |
| 248 | }; |
| 249 | |
| 250 | gpbr: gpbr@e001d060 { |
| 251 | compatible = "microchip,sama7g5-gpbr", "syscon"; |
| 252 | reg = <0xe001d060 0x48>; |
| 253 | }; |
| 254 | |
| 255 | rtc: rtc@e001d0a8 { |
| 256 | compatible = "microchip,sama7g5-rtc", "microchip,sam9x60-rtc"; |
| 257 | reg = <0xe001d0a8 0x30>; |
| 258 | interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; |
| 259 | clocks = <&clk32k 1>; |
| 260 | }; |
| 261 | |
| 262 | ps_wdt: watchdog@e001d180 { |
| 263 | compatible = "microchip,sama7g5-wdt"; |
| 264 | reg = <0xe001d180 0x24>; |
| 265 | interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>; |
| 266 | clocks = <&clk32k 0>; |
| 267 | }; |
| 268 | |
| 269 | chipid@e0020000 { |
| 270 | compatible = "microchip,sama7g5-chipid"; |
| 271 | reg = <0xe0020000 0x8>; |
| 272 | }; |
| 273 | |
| 274 | tcb1: timer@e0800000 { |
| 275 | compatible = "atmel,sama5d2-tcb", "simple-mfd", "syscon"; |
| 276 | #address-cells = <1>; |
| 277 | #size-cells = <0>; |
| 278 | reg = <0xe0800000 0x100>; |
| 279 | interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>; |
| 280 | clocks = <&pmc PMC_TYPE_PERIPHERAL 91>, <&pmc PMC_TYPE_PERIPHERAL 92>, <&pmc PMC_TYPE_PERIPHERAL 93>, <&clk32k 1>; |
| 281 | clock-names = "t0_clk", "t1_clk", "t2_clk", "slow_clk"; |
| 282 | }; |
Claudiu Beznea | 18401a2 | 2020-06-02 15:24:25 +0300 | [diff] [blame] | 283 | |
Eugen Hristev | db55fd6 | 2022-03-07 16:29:42 +0200 | [diff] [blame] | 284 | hsmc: hsmc@e0808000 { |
| 285 | compatible = "atmel,sama5d2-smc", "syscon", "simple-mfd"; |
| 286 | reg = <0xe0808000 0x1000>; |
| 287 | interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>; |
| 288 | clocks = <&pmc PMC_TYPE_PERIPHERAL 21>; |
| 289 | #address-cells = <1>; |
| 290 | #size-cells = <1>; |
| 291 | ranges; |
| 292 | |
| 293 | pmecc: ecc-engine@e0808070 { |
| 294 | compatible = "atmel,sama5d2-pmecc"; |
| 295 | reg = <0xe0808070 0x490>, |
| 296 | <0xe0808500 0x200>; |
Claudiu Beznea | c09db79 | 2020-06-02 15:23:49 +0300 | [diff] [blame] | 297 | }; |
Eugen Hristev | db55fd6 | 2022-03-07 16:29:42 +0200 | [diff] [blame] | 298 | }; |
Claudiu Beznea | c09db79 | 2020-06-02 15:23:49 +0300 | [diff] [blame] | 299 | |
Eugen Hristev | db55fd6 | 2022-03-07 16:29:42 +0200 | [diff] [blame] | 300 | qspi0: spi@e080c000 { |
| 301 | compatible = "microchip,sama7g5-ospi"; |
| 302 | reg = <0xe080c000 0x400>, <0x20000000 0x10000000>; |
| 303 | reg-names = "qspi_base", "qspi_mmap"; |
| 304 | interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>; |
| 305 | dmas = <&dma0 AT91_XDMAC_DT_PERID(41)>, |
| 306 | <&dma0 AT91_XDMAC_DT_PERID(40)>; |
| 307 | dma-names = "tx", "rx"; |
| 308 | clocks = <&pmc PMC_TYPE_PERIPHERAL 78>, <&pmc PMC_TYPE_GCK 78>; |
| 309 | clock-names = "pclk", "gclk"; |
| 310 | assigned-clocks = <&pmc PMC_TYPE_GCK 78>; |
| 311 | assigned-clock-parents = <&pmc PMC_TYPE_CORE 10>; /* sys pll div. */ |
| 312 | #address-cells = <1>; |
| 313 | #size-cells = <0>; |
| 314 | status = "disabled"; |
| 315 | }; |
| 316 | |
| 317 | qspi1: spi@e0810000 { |
| 318 | compatible = "microchip,sama7g5-qspi"; |
| 319 | reg = <0xe0810000 0x400>, <0x30000000 0x10000000>; |
| 320 | reg-names = "qspi_base", "qspi_mmap"; |
| 321 | interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>; |
| 322 | dmas = <&dma0 AT91_XDMAC_DT_PERID(43)>, |
| 323 | <&dma0 AT91_XDMAC_DT_PERID(42)>; |
| 324 | dma-names = "tx", "rx"; |
| 325 | clocks = <&pmc PMC_TYPE_PERIPHERAL 79>, <&pmc PMC_TYPE_GCK 79>; |
| 326 | clock-names = "pclk", "gclk"; |
Tudor Ambarus | 58e33ff | 2022-04-08 11:41:11 +0300 | [diff] [blame] | 327 | assigned-clocks = <&pmc PMC_TYPE_GCK 79>; |
Eugen Hristev | db55fd6 | 2022-03-07 16:29:42 +0200 | [diff] [blame] | 328 | assigned-clock-parents = <&pmc PMC_TYPE_CORE 10>; /* sys pll div. */ |
| 329 | #address-cells = <1>; |
| 330 | #size-cells = <0>; |
| 331 | status = "disabled"; |
| 332 | }; |
| 333 | |
| 334 | can0: can@e0828000 { |
| 335 | compatible = "bosch,m_can"; |
| 336 | reg = <0xe0828000 0x100>, <0x100000 0x7800>; |
| 337 | reg-names = "m_can", "message_ram"; |
| 338 | interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH |
| 339 | GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>; |
| 340 | interrupt-names = "int0", "int1"; |
| 341 | clocks = <&pmc PMC_TYPE_PERIPHERAL 61>, <&pmc PMC_TYPE_GCK 61>; |
| 342 | clock-names = "hclk", "cclk"; |
| 343 | assigned-clocks = <&pmc PMC_TYPE_GCK 61>; |
| 344 | assigned-clock-parents = <&pmc PMC_TYPE_CORE 10>; /* sys pll div */ |
| 345 | assigned-clock-rates = <40000000>; |
| 346 | bosch,mram-cfg = <0x3400 0 0 64 0 0 32 32>; |
| 347 | status = "disabled"; |
| 348 | }; |
| 349 | |
| 350 | can1: can@e082c000 { |
| 351 | compatible = "bosch,m_can"; |
| 352 | reg = <0xe082c000 0x100>, <0x100000 0xbc00>; |
| 353 | reg-names = "m_can", "message_ram"; |
| 354 | interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH |
| 355 | GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>; |
| 356 | interrupt-names = "int0", "int1"; |
| 357 | clocks = <&pmc PMC_TYPE_PERIPHERAL 62>, <&pmc PMC_TYPE_GCK 62>; |
| 358 | clock-names = "hclk", "cclk"; |
| 359 | assigned-clocks = <&pmc PMC_TYPE_GCK 62>; |
| 360 | assigned-clock-parents = <&pmc PMC_TYPE_CORE 10>; /* sys pll div */ |
| 361 | assigned-clock-rates = <40000000>; |
| 362 | bosch,mram-cfg = <0x7800 0 0 64 0 0 32 32>; |
| 363 | status = "disabled"; |
| 364 | }; |
| 365 | |
| 366 | can2: can@e0830000 { |
| 367 | compatible = "bosch,m_can"; |
| 368 | reg = <0xe0830000 0x100>, <0x100000 0x10000>; |
| 369 | reg-names = "m_can", "message_ram"; |
| 370 | interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH |
| 371 | GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>; |
| 372 | interrupt-names = "int0", "int1"; |
| 373 | clocks = <&pmc PMC_TYPE_PERIPHERAL 63>, <&pmc PMC_TYPE_GCK 63>; |
| 374 | clock-names = "hclk", "cclk"; |
| 375 | assigned-clocks = <&pmc PMC_TYPE_GCK 63>; |
| 376 | assigned-clock-parents = <&pmc PMC_TYPE_CORE 10>; /* sys pll div */ |
| 377 | assigned-clock-rates = <40000000>; |
| 378 | bosch,mram-cfg = <0xbc00 0 0 64 0 0 32 32>; |
| 379 | status = "disabled"; |
| 380 | }; |
| 381 | |
| 382 | can3: can@e0834000 { |
| 383 | compatible = "bosch,m_can"; |
| 384 | reg = <0xe0834000 0x100>, <0x110000 0x4400>; |
| 385 | reg-names = "m_can", "message_ram"; |
| 386 | interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH |
| 387 | GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>; |
| 388 | interrupt-names = "int0", "int1"; |
| 389 | clocks = <&pmc PMC_TYPE_PERIPHERAL 64>, <&pmc PMC_TYPE_GCK 64>; |
| 390 | clock-names = "hclk", "cclk"; |
| 391 | assigned-clocks = <&pmc PMC_TYPE_GCK 64>; |
| 392 | assigned-clock-parents = <&pmc PMC_TYPE_CORE 10>; /* sys pll div */ |
| 393 | assigned-clock-rates = <40000000>; |
| 394 | bosch,mram-cfg = <0x0 0 0 64 0 0 32 32>; |
| 395 | status = "disabled"; |
| 396 | }; |
| 397 | |
| 398 | can4: can@e0838000 { |
| 399 | compatible = "bosch,m_can"; |
| 400 | reg = <0xe0838000 0x100>, <0x110000 0x8800>; |
| 401 | reg-names = "m_can", "message_ram"; |
| 402 | interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH |
| 403 | GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>; |
| 404 | interrupt-names = "int0", "int1"; |
| 405 | clocks = <&pmc PMC_TYPE_PERIPHERAL 65>, <&pmc PMC_TYPE_GCK 65>; |
| 406 | clock-names = "hclk", "cclk"; |
| 407 | assigned-clocks = <&pmc PMC_TYPE_GCK 65>; |
| 408 | assigned-clock-parents = <&pmc PMC_TYPE_CORE 10>; /* sys pll div */ |
| 409 | assigned-clock-rates = <40000000>; |
| 410 | bosch,mram-cfg = <0x4400 0 0 64 0 0 32 32>; |
| 411 | status = "disabled"; |
| 412 | }; |
| 413 | |
| 414 | can5: can@e083c000 { |
| 415 | compatible = "bosch,m_can"; |
| 416 | reg = <0xe083c000 0x100>, <0x110000 0xcc00>; |
| 417 | reg-names = "m_can", "message_ram"; |
| 418 | interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH |
| 419 | GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>; |
| 420 | interrupt-names = "int0", "int1"; |
| 421 | clocks = <&pmc PMC_TYPE_PERIPHERAL 66>, <&pmc PMC_TYPE_GCK 66>; |
| 422 | clock-names = "hclk", "cclk"; |
| 423 | assigned-clocks = <&pmc PMC_TYPE_GCK 66>; |
| 424 | assigned-clock-parents = <&pmc PMC_TYPE_CORE 10>; /* sys pll div */ |
| 425 | assigned-clock-rates = <40000000>; |
| 426 | bosch,mram-cfg = <0x8800 0 0 64 0 0 32 32>; |
| 427 | status = "disabled"; |
| 428 | }; |
| 429 | |
| 430 | adc: adc@e1000000 { |
| 431 | compatible = "microchip,sama7g5-adc"; |
| 432 | reg = <0xe1000000 0x200>; |
| 433 | interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>; |
| 434 | clocks = <&pmc PMC_TYPE_GCK 26>; |
| 435 | assigned-clocks = <&pmc PMC_TYPE_GCK 26>; |
| 436 | assigned-clock-rates = <100000000>; |
| 437 | clock-names = "adc_clk"; |
| 438 | dmas = <&dma0 AT91_XDMAC_DT_PERID(0)>; |
| 439 | dma-names = "rx"; |
| 440 | atmel,min-sample-rate-hz = <200000>; |
| 441 | atmel,max-sample-rate-hz = <20000000>; |
| 442 | atmel,startup-time-ms = <4>; |
| 443 | status = "disabled"; |
| 444 | }; |
| 445 | |
| 446 | sdmmc0: mmc@e1204000 { |
| 447 | compatible = "microchip,sama7g5-sdhci", "microchip,sam9x60-sdhci"; |
| 448 | reg = <0xe1204000 0x4000>; |
| 449 | interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>; |
| 450 | clocks = <&pmc PMC_TYPE_PERIPHERAL 80>, <&pmc PMC_TYPE_GCK 80>; |
| 451 | clock-names = "hclock", "multclk"; |
| 452 | assigned-clock-parents = <&pmc PMC_TYPE_CORE 10>; /* sys pll div. */ |
| 453 | assigned-clocks = <&pmc PMC_TYPE_GCK 80>; |
| 454 | assigned-clock-rates = <200000000>; |
| 455 | microchip,sdcal-inverted; |
| 456 | status = "disabled"; |
| 457 | }; |
| 458 | |
| 459 | sdmmc1: mmc@e1208000 { |
| 460 | compatible = "microchip,sama7g5-sdhci", "microchip,sam9x60-sdhci"; |
| 461 | reg = <0xe1208000 0x4000>; |
| 462 | interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>; |
| 463 | clocks = <&pmc PMC_TYPE_PERIPHERAL 81>, <&pmc PMC_TYPE_GCK 81>; |
| 464 | clock-names = "hclock", "multclk"; |
| 465 | assigned-clock-parents = <&pmc PMC_TYPE_CORE 10>; /* sys pll div. */ |
| 466 | assigned-clocks = <&pmc PMC_TYPE_GCK 81>; |
| 467 | assigned-clock-rates = <200000000>; |
| 468 | microchip,sdcal-inverted; |
| 469 | status = "disabled"; |
| 470 | }; |
| 471 | |
| 472 | sdmmc2: mmc@e120c000 { |
| 473 | compatible = "microchip,sama7g5-sdhci", "microchip,sam9x60-sdhci"; |
| 474 | reg = <0xe120c000 0x4000>; |
| 475 | interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>; |
| 476 | clocks = <&pmc PMC_TYPE_PERIPHERAL 82>, <&pmc PMC_TYPE_GCK 82>; |
| 477 | clock-names = "hclock", "multclk"; |
| 478 | assigned-clock-parents = <&pmc PMC_TYPE_CORE 10>; /* sys pll div */ |
| 479 | assigned-clocks = <&pmc PMC_TYPE_GCK 82>; |
| 480 | assigned-clock-rates = <200000000>; |
| 481 | microchip,sdcal-inverted; |
| 482 | status = "disabled"; |
| 483 | }; |
| 484 | |
| 485 | pwm: pwm@e1604000 { |
| 486 | compatible = "microchip,sama7g5-pwm", "atmel,sama5d2-pwm"; |
| 487 | reg = <0xe1604000 0x4000>; |
| 488 | interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>; |
| 489 | #pwm-cells = <3>; |
| 490 | clocks = <&pmc PMC_TYPE_PERIPHERAL 77>; |
| 491 | status = "disabled"; |
| 492 | }; |
| 493 | |
Eugen Hristev | 93f91ca | 2022-05-24 13:01:44 +0300 | [diff] [blame] | 494 | pdmc0: sound@e1608000 { |
| 495 | compatible = "microchip,sama7g5-pdmc"; |
| 496 | reg = <0xe1608000 0x1000>; |
| 497 | interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>; |
| 498 | #sound-dai-cells = <0>; |
| 499 | dmas = <&dma0 AT91_XDMAC_DT_PERID(37)>; |
| 500 | dma-names = "rx"; |
| 501 | clocks = <&pmc PMC_TYPE_PERIPHERAL 68>, <&pmc PMC_TYPE_GCK 68>; |
| 502 | clock-names = "pclk", "gclk"; |
| 503 | status = "disabled"; |
| 504 | }; |
| 505 | |
| 506 | pdmc1: sound@e160c000 { |
| 507 | compatible = "microchip,sama7g5-pdmc"; |
| 508 | reg = <0xe160c000 0x1000>; |
| 509 | interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>; |
| 510 | #sound-dai-cells = <0>; |
| 511 | dmas = <&dma0 AT91_XDMAC_DT_PERID(38)>; |
| 512 | dma-names = "rx"; |
| 513 | clocks = <&pmc PMC_TYPE_PERIPHERAL 69>, <&pmc PMC_TYPE_GCK 69>; |
| 514 | clock-names = "pclk", "gclk"; |
| 515 | status = "disabled"; |
| 516 | }; |
| 517 | |
Eugen Hristev | db55fd6 | 2022-03-07 16:29:42 +0200 | [diff] [blame] | 518 | spdifrx: spdifrx@e1614000 { |
| 519 | #sound-dai-cells = <0>; |
| 520 | compatible = "microchip,sama7g5-spdifrx"; |
| 521 | reg = <0xe1614000 0x4000>; |
| 522 | interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>; |
| 523 | dmas = <&dma0 AT91_XDMAC_DT_PERID(49)>; |
| 524 | dma-names = "rx"; |
| 525 | clocks = <&pmc PMC_TYPE_PERIPHERAL 84>, <&pmc PMC_TYPE_GCK 84>; |
| 526 | clock-names = "pclk", "gclk"; |
| 527 | status = "disabled"; |
| 528 | }; |
| 529 | |
| 530 | spdiftx: spdiftx@e1618000 { |
| 531 | #sound-dai-cells = <0>; |
| 532 | compatible = "microchip,sama7g5-spdiftx"; |
| 533 | reg = <0xe1618000 0x4000>; |
| 534 | interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>; |
| 535 | dmas = <&dma0 AT91_XDMAC_DT_PERID(50)>; |
| 536 | dma-names = "tx"; |
| 537 | clocks = <&pmc PMC_TYPE_PERIPHERAL 85>, <&pmc PMC_TYPE_GCK 85>; |
| 538 | clock-names = "pclk", "gclk"; |
| 539 | }; |
| 540 | |
| 541 | i2s0: i2s@e161c000 { |
| 542 | compatible = "microchip,sama7g5-i2smcc"; |
| 543 | #sound-dai-cells = <0>; |
| 544 | reg = <0xe161c000 0x4000>; |
| 545 | interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>; |
| 546 | dmas = <&dma0 AT91_XDMAC_DT_PERID(34)>, <&dma0 AT91_XDMAC_DT_PERID(33)>; |
| 547 | dma-names = "tx", "rx"; |
| 548 | clocks = <&pmc PMC_TYPE_PERIPHERAL 57>, <&pmc PMC_TYPE_GCK 57>; |
| 549 | clock-names = "pclk", "gclk"; |
| 550 | status = "disabled"; |
| 551 | }; |
| 552 | |
| 553 | i2s1: i2s@e1620000 { |
| 554 | compatible = "microchip,sama7g5-i2smcc"; |
| 555 | #sound-dai-cells = <0>; |
| 556 | reg = <0xe1620000 0x4000>; |
| 557 | interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>; |
| 558 | dmas = <&dma0 AT91_XDMAC_DT_PERID(36)>, <&dma0 AT91_XDMAC_DT_PERID(35)>; |
| 559 | dma-names = "tx", "rx"; |
| 560 | clocks = <&pmc PMC_TYPE_PERIPHERAL 58>, <&pmc PMC_TYPE_GCK 58>; |
| 561 | clock-names = "pclk", "gclk"; |
| 562 | status = "disabled"; |
| 563 | }; |
| 564 | |
| 565 | eic: interrupt-controller@e1628000 { |
| 566 | compatible = "microchip,sama7g5-eic"; |
| 567 | reg = <0xe1628000 0xec>; |
| 568 | interrupt-parent = <&gic>; |
| 569 | interrupt-controller; |
| 570 | #interrupt-cells = <2>; |
| 571 | interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>, |
| 572 | <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>; |
| 573 | clocks = <&pmc PMC_TYPE_PERIPHERAL 37>; |
| 574 | clock-names = "pclk"; |
| 575 | status = "disabled"; |
| 576 | }; |
| 577 | |
| 578 | pit64b0: timer@e1800000 { |
| 579 | compatible = "microchip,sama7g5-pit64b", "microchip,sam9x60-pit64b"; |
| 580 | reg = <0xe1800000 0x4000>; |
| 581 | interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>; |
| 582 | clocks = <&pmc PMC_TYPE_PERIPHERAL 70>, <&pmc PMC_TYPE_GCK 70>; |
| 583 | clock-names = "pclk", "gclk"; |
| 584 | }; |
| 585 | |
| 586 | pit64b1: timer@e1804000 { |
| 587 | compatible = "microchip,sama7g5-pit64b", "microchip,sam9x60-pit64b"; |
| 588 | reg = <0xe1804000 0x4000>; |
| 589 | interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>; |
| 590 | clocks = <&pmc PMC_TYPE_PERIPHERAL 71>, <&pmc PMC_TYPE_GCK 71>; |
| 591 | clock-names = "pclk", "gclk"; |
| 592 | }; |
| 593 | |
| 594 | aes: crypto@e1810000 { |
| 595 | compatible = "atmel,at91sam9g46-aes"; |
| 596 | reg = <0xe1810000 0x100>; |
| 597 | interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>; |
| 598 | clocks = <&pmc PMC_TYPE_PERIPHERAL 27>; |
| 599 | clock-names = "aes_clk"; |
| 600 | dmas = <&dma0 AT91_XDMAC_DT_PERID(1)>, |
| 601 | <&dma0 AT91_XDMAC_DT_PERID(2)>; |
| 602 | dma-names = "tx", "rx"; |
| 603 | }; |
| 604 | |
| 605 | sha: crypto@e1814000 { |
| 606 | compatible = "atmel,at91sam9g46-sha"; |
| 607 | reg = <0xe1814000 0x100>; |
| 608 | interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>; |
| 609 | clocks = <&pmc PMC_TYPE_PERIPHERAL 83>; |
| 610 | clock-names = "sha_clk"; |
| 611 | dmas = <&dma0 AT91_XDMAC_DT_PERID(48)>; |
| 612 | dma-names = "tx"; |
| 613 | }; |
| 614 | |
| 615 | flx0: flexcom@e1818000 { |
| 616 | compatible = "atmel,sama5d2-flexcom"; |
| 617 | reg = <0xe1818000 0x200>; |
| 618 | clocks = <&pmc PMC_TYPE_PERIPHERAL 38>; |
| 619 | #address-cells = <1>; |
| 620 | #size-cells = <1>; |
| 621 | ranges = <0x0 0xe1818000 0x800>; |
| 622 | status = "disabled"; |
| 623 | |
| 624 | uart0: serial@200 { |
| 625 | compatible = "atmel,at91sam9260-usart"; |
| 626 | reg = <0x200 0x200>; |
| 627 | interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>; |
| 628 | clocks = <&pmc PMC_TYPE_PERIPHERAL 38>; |
| 629 | clock-names = "usart"; |
| 630 | dmas = <&dma1 AT91_XDMAC_DT_PERID(6)>, |
| 631 | <&dma1 AT91_XDMAC_DT_PERID(5)>; |
| 632 | dma-names = "tx", "rx"; |
| 633 | atmel,use-dma-rx; |
| 634 | atmel,use-dma-tx; |
Tudor Ambarus | f774fd9 | 2021-11-03 19:07:40 +0200 | [diff] [blame] | 635 | status = "disabled"; |
| 636 | }; |
Eugen Hristev | db55fd6 | 2022-03-07 16:29:42 +0200 | [diff] [blame] | 637 | }; |
Tudor Ambarus | f774fd9 | 2021-11-03 19:07:40 +0200 | [diff] [blame] | 638 | |
Eugen Hristev | db55fd6 | 2022-03-07 16:29:42 +0200 | [diff] [blame] | 639 | flx1: flexcom@e181c000 { |
| 640 | compatible = "atmel,sama5d2-flexcom"; |
| 641 | reg = <0xe181c000 0x200>; |
| 642 | clocks = <&pmc PMC_TYPE_PERIPHERAL 39>; |
| 643 | #address-cells = <1>; |
| 644 | #size-cells = <1>; |
| 645 | ranges = <0x0 0xe181c000 0x800>; |
| 646 | status = "disabled"; |
| 647 | |
| 648 | i2c1: i2c@600 { |
| 649 | compatible = "microchip,sama7g5-i2c", "microchip,sam9x60-i2c"; |
| 650 | reg = <0x600 0x200>; |
| 651 | interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>; |
Tudor Ambarus | f774fd9 | 2021-11-03 19:07:40 +0200 | [diff] [blame] | 652 | #address-cells = <1>; |
| 653 | #size-cells = <0>; |
Eugen Hristev | db55fd6 | 2022-03-07 16:29:42 +0200 | [diff] [blame] | 654 | clocks = <&pmc PMC_TYPE_PERIPHERAL 39>; |
| 655 | atmel,fifo-size = <32>; |
Eugen Hristev | 93f91ca | 2022-05-24 13:01:44 +0300 | [diff] [blame] | 656 | dmas = <&dma0 AT91_XDMAC_DT_PERID(8)>, |
| 657 | <&dma0 AT91_XDMAC_DT_PERID(7)>; |
| 658 | dma-names = "tx", "rx"; |
Tudor Ambarus | f774fd9 | 2021-11-03 19:07:40 +0200 | [diff] [blame] | 659 | status = "disabled"; |
| 660 | }; |
Eugen Hristev | db55fd6 | 2022-03-07 16:29:42 +0200 | [diff] [blame] | 661 | }; |
Tudor Ambarus | f774fd9 | 2021-11-03 19:07:40 +0200 | [diff] [blame] | 662 | |
Eugen Hristev | db55fd6 | 2022-03-07 16:29:42 +0200 | [diff] [blame] | 663 | flx3: flexcom@e1824000 { |
| 664 | compatible = "atmel,sama5d2-flexcom"; |
| 665 | reg = <0xe1824000 0x200>; |
| 666 | clocks = <&pmc PMC_TYPE_PERIPHERAL 41>; |
| 667 | #address-cells = <1>; |
| 668 | #size-cells = <1>; |
| 669 | ranges = <0x0 0xe1824000 0x800>; |
| 670 | status = "disabled"; |
Eugen Hristev | b67871f | 2020-07-30 15:52:13 +0300 | [diff] [blame] | 671 | |
Eugen Hristev | db55fd6 | 2022-03-07 16:29:42 +0200 | [diff] [blame] | 672 | uart3: serial@200 { |
| 673 | compatible = "atmel,at91sam9260-usart"; |
| 674 | reg = <0x200 0x200>; |
| 675 | interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; |
| 676 | clocks = <&pmc PMC_TYPE_PERIPHERAL 41>; |
| 677 | clock-names = "usart"; |
| 678 | dmas = <&dma1 AT91_XDMAC_DT_PERID(12)>, |
| 679 | <&dma1 AT91_XDMAC_DT_PERID(11)>; |
| 680 | dma-names = "tx", "rx"; |
| 681 | atmel,use-dma-rx; |
| 682 | atmel,use-dma-tx; |
Eugen Hristev | 1e30fa1 | 2020-03-10 11:56:03 +0200 | [diff] [blame] | 683 | status = "disabled"; |
| 684 | }; |
Eugen Hristev | db55fd6 | 2022-03-07 16:29:42 +0200 | [diff] [blame] | 685 | }; |
Eugen Hristev | 1e30fa1 | 2020-03-10 11:56:03 +0200 | [diff] [blame] | 686 | |
Eugen Hristev | db55fd6 | 2022-03-07 16:29:42 +0200 | [diff] [blame] | 687 | trng: rng@e2010000 { |
| 688 | compatible = "microchip,sama7g5-trng", "atmel,at91sam9g45-trng"; |
| 689 | reg = <0xe2010000 0x100>; |
| 690 | interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>; |
| 691 | clocks = <&pmc PMC_TYPE_PERIPHERAL 97>; |
| 692 | status = "disabled"; |
| 693 | }; |
Claudiu Beznea | 5430a4e | 2020-06-02 18:42:18 +0300 | [diff] [blame] | 694 | |
Eugen Hristev | db55fd6 | 2022-03-07 16:29:42 +0200 | [diff] [blame] | 695 | tdes: crypto@e2014000 { |
| 696 | compatible = "atmel,at91sam9g46-tdes"; |
| 697 | reg = <0xe2014000 0x100>; |
| 698 | interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>; |
| 699 | clocks = <&pmc PMC_TYPE_PERIPHERAL 96>; |
| 700 | clock-names = "tdes_clk"; |
| 701 | dmas = <&dma0 AT91_XDMAC_DT_PERID(54)>, |
| 702 | <&dma0 AT91_XDMAC_DT_PERID(53)>; |
| 703 | dma-names = "tx", "rx"; |
| 704 | }; |
Eugen Hristev | 9e95bf7 | 2020-07-31 15:19:23 +0300 | [diff] [blame] | 705 | |
Eugen Hristev | db55fd6 | 2022-03-07 16:29:42 +0200 | [diff] [blame] | 706 | flx4: flexcom@e2018000 { |
| 707 | compatible = "atmel,sama5d2-flexcom"; |
| 708 | reg = <0xe2018000 0x200>; |
| 709 | clocks = <&pmc PMC_TYPE_PERIPHERAL 42>; |
| 710 | #address-cells = <1>; |
| 711 | #size-cells = <1>; |
| 712 | ranges = <0x0 0xe2018000 0x800>; |
| 713 | status = "disabled"; |
Eugen Hristev | 9e95bf7 | 2020-07-31 15:19:23 +0300 | [diff] [blame] | 714 | |
Eugen Hristev | db55fd6 | 2022-03-07 16:29:42 +0200 | [diff] [blame] | 715 | uart4: serial@200 { |
Eugen Hristev | 1e30fa1 | 2020-03-10 11:56:03 +0200 | [diff] [blame] | 716 | compatible = "atmel,at91sam9260-usart"; |
Eugen Hristev | db55fd6 | 2022-03-07 16:29:42 +0200 | [diff] [blame] | 717 | reg = <0x200 0x200>; |
| 718 | interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>; |
| 719 | clocks = <&pmc PMC_TYPE_PERIPHERAL 42>; |
Eugen Hristev | 1e30fa1 | 2020-03-10 11:56:03 +0200 | [diff] [blame] | 720 | clock-names = "usart"; |
Eugen Hristev | db55fd6 | 2022-03-07 16:29:42 +0200 | [diff] [blame] | 721 | dmas = <&dma1 AT91_XDMAC_DT_PERID(14)>, |
| 722 | <&dma1 AT91_XDMAC_DT_PERID(13)>; |
| 723 | dma-names = "tx", "rx"; |
| 724 | atmel,use-dma-rx; |
| 725 | atmel,use-dma-tx; |
| 726 | atmel,fifo-size = <16>; |
Eugen Hristev | 1e30fa1 | 2020-03-10 11:56:03 +0200 | [diff] [blame] | 727 | status = "disabled"; |
| 728 | }; |
Eugen Hristev | db55fd6 | 2022-03-07 16:29:42 +0200 | [diff] [blame] | 729 | }; |
Claudiu Beznea | 45cca2b | 2020-06-09 13:53:00 +0300 | [diff] [blame] | 730 | |
Eugen Hristev | db55fd6 | 2022-03-07 16:29:42 +0200 | [diff] [blame] | 731 | flx7: flexcom@e2024000 { |
| 732 | compatible = "atmel,sama5d2-flexcom"; |
| 733 | reg = <0xe2024000 0x200>; |
| 734 | clocks = <&pmc PMC_TYPE_PERIPHERAL 45>; |
| 735 | #address-cells = <1>; |
| 736 | #size-cells = <1>; |
| 737 | ranges = <0x0 0xe2024000 0x800>; |
| 738 | status = "disabled"; |
| 739 | |
| 740 | uart7: serial@200 { |
| 741 | compatible = "atmel,at91sam9260-usart"; |
| 742 | reg = <0x200 0x200>; |
| 743 | interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>; |
| 744 | clocks = <&pmc PMC_TYPE_PERIPHERAL 45>; |
| 745 | clock-names = "usart"; |
| 746 | dmas = <&dma1 AT91_XDMAC_DT_PERID(20)>, |
| 747 | <&dma1 AT91_XDMAC_DT_PERID(19)>; |
| 748 | dma-names = "tx", "rx"; |
| 749 | atmel,use-dma-rx; |
| 750 | atmel,use-dma-tx; |
| 751 | atmel,fifo-size = <16>; |
Claudiu Beznea | 45cca2b | 2020-06-09 13:53:00 +0300 | [diff] [blame] | 752 | status = "disabled"; |
| 753 | }; |
Eugen Hristev | db55fd6 | 2022-03-07 16:29:42 +0200 | [diff] [blame] | 754 | }; |
| 755 | |
| 756 | gmac0: ethernet@e2800000 { |
| 757 | compatible = "cdns,sama7g5-gem"; |
| 758 | reg = <0xe2800000 0x1000>; |
| 759 | interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH |
| 760 | GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH |
| 761 | GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH |
| 762 | GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH |
| 763 | GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH |
| 764 | GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>; |
| 765 | clocks = <&pmc PMC_TYPE_PERIPHERAL 51>, <&pmc PMC_TYPE_PERIPHERAL 51>, <&pmc PMC_TYPE_GCK 51>, <&pmc PMC_TYPE_GCK 53>; |
| 766 | clock-names = "pclk", "hclk", "tx_clk", "tsu_clk"; |
| 767 | assigned-clocks = <&pmc PMC_TYPE_GCK 51>; |
| 768 | assigned-clock-parents = <&pmc PMC_TYPE_CORE 21>; /* eth pll div. */ |
| 769 | assigned-clock-rates = <125000000>; |
| 770 | status = "disabled"; |
| 771 | }; |
| 772 | |
| 773 | gmac1: ethernet@e2804000 { |
| 774 | compatible = "cdns,sama7g5-emac"; |
| 775 | reg = <0xe2804000 0x1000>; |
| 776 | interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH |
| 777 | GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>; |
| 778 | clocks = <&pmc PMC_TYPE_PERIPHERAL 52>, <&pmc PMC_TYPE_PERIPHERAL 52>; |
| 779 | clock-names = "pclk", "hclk"; |
| 780 | status = "disabled"; |
| 781 | }; |
| 782 | |
| 783 | dma0: dma-controller@e2808000 { |
| 784 | compatible = "microchip,sama7g5-dma"; |
| 785 | reg = <0xe2808000 0x1000>; |
| 786 | interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>; |
| 787 | #dma-cells = <1>; |
| 788 | clocks = <&pmc PMC_TYPE_PERIPHERAL 22>; |
| 789 | clock-names = "dma_clk"; |
| 790 | status = "disabled"; |
| 791 | }; |
| 792 | |
| 793 | dma1: dma-controller@e280c000 { |
| 794 | compatible = "microchip,sama7g5-dma"; |
| 795 | reg = <0xe280c000 0x1000>; |
| 796 | interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>; |
| 797 | #dma-cells = <1>; |
| 798 | clocks = <&pmc PMC_TYPE_PERIPHERAL 23>; |
| 799 | clock-names = "dma_clk"; |
| 800 | status = "disabled"; |
| 801 | }; |
| 802 | |
| 803 | /* Place dma2 here despite it's address */ |
| 804 | dma2: dma-controller@e1200000 { |
| 805 | compatible = "microchip,sama7g5-dma"; |
| 806 | reg = <0xe1200000 0x1000>; |
| 807 | interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>; |
| 808 | #dma-cells = <1>; |
| 809 | clocks = <&pmc PMC_TYPE_PERIPHERAL 24>; |
| 810 | clock-names = "dma_clk"; |
| 811 | dma-requests = <0>; |
| 812 | status = "disabled"; |
| 813 | }; |
| 814 | |
| 815 | tcb0: timer@e2814000 { |
| 816 | compatible = "atmel,sama5d2-tcb", "simple-mfd", "syscon"; |
| 817 | #address-cells = <1>; |
| 818 | #size-cells = <0>; |
| 819 | reg = <0xe2814000 0x100>; |
| 820 | interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>; |
| 821 | clocks = <&pmc PMC_TYPE_PERIPHERAL 88>, <&pmc PMC_TYPE_PERIPHERAL 89>, <&pmc PMC_TYPE_PERIPHERAL 90>, <&clk32k 1>; |
| 822 | clock-names = "t0_clk", "t1_clk", "t2_clk", "slow_clk"; |
| 823 | }; |
| 824 | |
| 825 | flx8: flexcom@e2818000 { |
| 826 | compatible = "atmel,sama5d2-flexcom"; |
| 827 | reg = <0xe2818000 0x200>; |
| 828 | clocks = <&pmc PMC_TYPE_PERIPHERAL 46>; |
| 829 | #address-cells = <1>; |
| 830 | #size-cells = <1>; |
| 831 | ranges = <0x0 0xe2818000 0x800>; |
| 832 | status = "disabled"; |
Claudiu Beznea | 4455012 | 2020-06-09 13:53:45 +0300 | [diff] [blame] | 833 | |
Eugen Hristev | db55fd6 | 2022-03-07 16:29:42 +0200 | [diff] [blame] | 834 | i2c8: i2c@600 { |
| 835 | compatible = "microchip,sama7g5-i2c", "microchip,sam9x60-i2c"; |
| 836 | reg = <0x600 0x200>; |
| 837 | interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>; |
| 838 | #address-cells = <1>; |
| 839 | #size-cells = <0>; |
| 840 | clocks = <&pmc PMC_TYPE_PERIPHERAL 46>; |
| 841 | atmel,fifo-size = <32>; |
Eugen Hristev | 93f91ca | 2022-05-24 13:01:44 +0300 | [diff] [blame] | 842 | dmas = <&dma0 AT91_XDMAC_DT_PERID(22)>, |
| 843 | <&dma0 AT91_XDMAC_DT_PERID(21)>; |
| 844 | dma-names = "tx", "rx"; |
Claudiu Beznea | 4455012 | 2020-06-09 13:53:45 +0300 | [diff] [blame] | 845 | status = "disabled"; |
| 846 | }; |
Eugen Hristev | db55fd6 | 2022-03-07 16:29:42 +0200 | [diff] [blame] | 847 | }; |
Eugen Hristev | 130bdad | 2022-01-04 18:21:54 +0200 | [diff] [blame] | 848 | |
Eugen Hristev | db55fd6 | 2022-03-07 16:29:42 +0200 | [diff] [blame] | 849 | flx9: flexcom@e281c000 { |
| 850 | compatible = "atmel,sama5d2-flexcom"; |
| 851 | reg = <0xe281c000 0x200>; |
| 852 | clocks = <&pmc PMC_TYPE_PERIPHERAL 47>; |
| 853 | #address-cells = <1>; |
| 854 | #size-cells = <1>; |
| 855 | ranges = <0x0 0xe281c000 0x800>; |
| 856 | status = "disabled"; |
| 857 | |
| 858 | i2c9: i2c@600 { |
| 859 | compatible = "microchip,sama7g5-i2c", "microchip,sam9x60-i2c"; |
| 860 | reg = <0x600 0x200>; |
| 861 | interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>; |
| 862 | #address-cells = <1>; |
| 863 | #size-cells = <0>; |
| 864 | clocks = <&pmc PMC_TYPE_PERIPHERAL 47>; |
| 865 | atmel,fifo-size = <32>; |
Eugen Hristev | 93f91ca | 2022-05-24 13:01:44 +0300 | [diff] [blame] | 866 | dmas = <&dma0 AT91_XDMAC_DT_PERID(24)>, |
| 867 | <&dma0 AT91_XDMAC_DT_PERID(23)>; |
| 868 | dma-names = "tx", "rx"; |
Eugen Hristev | 130bdad | 2022-01-04 18:21:54 +0200 | [diff] [blame] | 869 | status = "disabled"; |
| 870 | }; |
Eugen Hristev | db55fd6 | 2022-03-07 16:29:42 +0200 | [diff] [blame] | 871 | }; |
Eugen Hristev | 130bdad | 2022-01-04 18:21:54 +0200 | [diff] [blame] | 872 | |
Eugen Hristev | db55fd6 | 2022-03-07 16:29:42 +0200 | [diff] [blame] | 873 | flx11: flexcom@e2824000 { |
| 874 | compatible = "atmel,sama5d2-flexcom"; |
| 875 | reg = <0xe2824000 0x200>; |
| 876 | clocks = <&pmc PMC_TYPE_PERIPHERAL 49>; |
| 877 | #address-cells = <1>; |
| 878 | #size-cells = <1>; |
| 879 | ranges = <0x0 0xe2824000 0x800>; |
| 880 | status = "disabled"; |
| 881 | |
| 882 | spi11: spi@400 { |
| 883 | compatible = "atmel,at91rm9200-spi"; |
| 884 | reg = <0x400 0x200>; |
| 885 | interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>; |
| 886 | clocks = <&pmc PMC_TYPE_PERIPHERAL 49>; |
| 887 | clock-names = "spi_clk"; |
Eugen Hristev | 130bdad | 2022-01-04 18:21:54 +0200 | [diff] [blame] | 888 | #address-cells = <1>; |
Eugen Hristev | db55fd6 | 2022-03-07 16:29:42 +0200 | [diff] [blame] | 889 | #size-cells = <0>; |
| 890 | atmel,fifo-size = <32>; |
| 891 | dmas = <&dma0 AT91_XDMAC_DT_PERID(27)>, |
| 892 | <&dma0 AT91_XDMAC_DT_PERID(28)>; |
| 893 | dma-names = "rx", "tx"; |
Eugen Hristev | 130bdad | 2022-01-04 18:21:54 +0200 | [diff] [blame] | 894 | status = "disabled"; |
Eugen Hristev | 130bdad | 2022-01-04 18:21:54 +0200 | [diff] [blame] | 895 | }; |
Eugen Hristev | db55fd6 | 2022-03-07 16:29:42 +0200 | [diff] [blame] | 896 | }; |
Eugen Hristev | 130bdad | 2022-01-04 18:21:54 +0200 | [diff] [blame] | 897 | |
Eugen Hristev | db55fd6 | 2022-03-07 16:29:42 +0200 | [diff] [blame] | 898 | uddrc: uddrc@e3800000 { |
| 899 | compatible = "microchip,sama7g5-uddrc"; |
| 900 | reg = <0xe3800000 0x4000>; |
| 901 | }; |
| 902 | |
| 903 | ddr3phy: ddr3phy@e3804000 { |
| 904 | compatible = "microchip,sama7g5-ddr3phy"; |
| 905 | reg = <0xe3804000 0x1000>; |
| 906 | }; |
| 907 | |
| 908 | gic: interrupt-controller@e8c11000 { |
| 909 | compatible = "arm,cortex-a7-gic"; |
| 910 | #interrupt-cells = <3>; |
| 911 | #address-cells = <0>; |
| 912 | interrupt-controller; |
Eugen Hristev | db55fd6 | 2022-03-07 16:29:42 +0200 | [diff] [blame] | 913 | reg = <0xe8c11000 0x1000>, |
| 914 | <0xe8c12000 0x2000>; |
Eugen Hristev | 1e30fa1 | 2020-03-10 11:56:03 +0200 | [diff] [blame] | 915 | }; |
| 916 | }; |
| 917 | }; |