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