Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 1 | // SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
| 2 | /* Copyright (c) 2020-2021 Microchip Technology Inc */ |
| 3 | |
| 4 | #include "dt-bindings/clock/microchip-mpfs-clock.h" |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 5 | |
| 6 | / { |
| 7 | #address-cells = <2>; |
| 8 | #size-cells = <2>; |
| 9 | model = "Microchip PolarFire SoC"; |
| 10 | compatible = "microchip,mpfs"; |
| 11 | |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 12 | cpus { |
| 13 | #address-cells = <1>; |
| 14 | #size-cells = <0>; |
| 15 | |
| 16 | cpu0: cpu@0 { |
| 17 | compatible = "sifive,e51", "sifive,rocket0", "riscv"; |
| 18 | device_type = "cpu"; |
| 19 | i-cache-block-size = <64>; |
| 20 | i-cache-sets = <128>; |
| 21 | i-cache-size = <16384>; |
| 22 | reg = <0>; |
| 23 | riscv,isa = "rv64imac"; |
| 24 | clocks = <&clkcfg CLK_CPU>; |
| 25 | status = "disabled"; |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 26 | |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 27 | cpu0_intc: interrupt-controller { |
| 28 | #interrupt-cells = <1>; |
| 29 | compatible = "riscv,cpu-intc"; |
| 30 | interrupt-controller; |
| 31 | }; |
| 32 | }; |
| 33 | |
| 34 | cpu1: cpu@1 { |
| 35 | compatible = "sifive,u54-mc", "sifive,rocket0", "riscv"; |
| 36 | d-cache-block-size = <64>; |
| 37 | d-cache-sets = <64>; |
| 38 | d-cache-size = <32768>; |
| 39 | d-tlb-sets = <1>; |
| 40 | d-tlb-size = <32>; |
| 41 | device_type = "cpu"; |
| 42 | i-cache-block-size = <64>; |
| 43 | i-cache-sets = <64>; |
| 44 | i-cache-size = <32768>; |
| 45 | i-tlb-sets = <1>; |
| 46 | i-tlb-size = <32>; |
| 47 | mmu-type = "riscv,sv39"; |
| 48 | reg = <1>; |
| 49 | riscv,isa = "rv64imafdc"; |
| 50 | clocks = <&clkcfg CLK_CPU>; |
| 51 | tlb-split; |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 52 | next-level-cache = <&cctrllr>; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 53 | status = "okay"; |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 54 | |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 55 | cpu1_intc: interrupt-controller { |
| 56 | #interrupt-cells = <1>; |
| 57 | compatible = "riscv,cpu-intc"; |
| 58 | interrupt-controller; |
| 59 | }; |
| 60 | }; |
| 61 | |
| 62 | cpu2: cpu@2 { |
| 63 | compatible = "sifive,u54-mc", "sifive,rocket0", "riscv"; |
| 64 | d-cache-block-size = <64>; |
| 65 | d-cache-sets = <64>; |
| 66 | d-cache-size = <32768>; |
| 67 | d-tlb-sets = <1>; |
| 68 | d-tlb-size = <32>; |
| 69 | device_type = "cpu"; |
| 70 | i-cache-block-size = <64>; |
| 71 | i-cache-sets = <64>; |
| 72 | i-cache-size = <32768>; |
| 73 | i-tlb-sets = <1>; |
| 74 | i-tlb-size = <32>; |
| 75 | mmu-type = "riscv,sv39"; |
| 76 | reg = <2>; |
| 77 | riscv,isa = "rv64imafdc"; |
| 78 | clocks = <&clkcfg CLK_CPU>; |
| 79 | tlb-split; |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 80 | next-level-cache = <&cctrllr>; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 81 | status = "okay"; |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 82 | |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 83 | cpu2_intc: interrupt-controller { |
| 84 | #interrupt-cells = <1>; |
| 85 | compatible = "riscv,cpu-intc"; |
| 86 | interrupt-controller; |
| 87 | }; |
| 88 | }; |
| 89 | |
| 90 | cpu3: cpu@3 { |
| 91 | compatible = "sifive,u54-mc", "sifive,rocket0", "riscv"; |
| 92 | d-cache-block-size = <64>; |
| 93 | d-cache-sets = <64>; |
| 94 | d-cache-size = <32768>; |
| 95 | d-tlb-sets = <1>; |
| 96 | d-tlb-size = <32>; |
| 97 | device_type = "cpu"; |
| 98 | i-cache-block-size = <64>; |
| 99 | i-cache-sets = <64>; |
| 100 | i-cache-size = <32768>; |
| 101 | i-tlb-sets = <1>; |
| 102 | i-tlb-size = <32>; |
| 103 | mmu-type = "riscv,sv39"; |
| 104 | reg = <3>; |
| 105 | riscv,isa = "rv64imafdc"; |
| 106 | clocks = <&clkcfg CLK_CPU>; |
| 107 | tlb-split; |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 108 | next-level-cache = <&cctrllr>; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 109 | status = "okay"; |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 110 | |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 111 | cpu3_intc: interrupt-controller { |
| 112 | #interrupt-cells = <1>; |
| 113 | compatible = "riscv,cpu-intc"; |
| 114 | interrupt-controller; |
| 115 | }; |
| 116 | }; |
| 117 | |
| 118 | cpu4: cpu@4 { |
| 119 | compatible = "sifive,u54-mc", "sifive,rocket0", "riscv"; |
| 120 | d-cache-block-size = <64>; |
| 121 | d-cache-sets = <64>; |
| 122 | d-cache-size = <32768>; |
| 123 | d-tlb-sets = <1>; |
| 124 | d-tlb-size = <32>; |
| 125 | device_type = "cpu"; |
| 126 | i-cache-block-size = <64>; |
| 127 | i-cache-sets = <64>; |
| 128 | i-cache-size = <32768>; |
| 129 | i-tlb-sets = <1>; |
| 130 | i-tlb-size = <32>; |
| 131 | mmu-type = "riscv,sv39"; |
| 132 | reg = <4>; |
| 133 | riscv,isa = "rv64imafdc"; |
| 134 | clocks = <&clkcfg CLK_CPU>; |
| 135 | tlb-split; |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 136 | next-level-cache = <&cctrllr>; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 137 | status = "okay"; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 138 | cpu4_intc: interrupt-controller { |
| 139 | #interrupt-cells = <1>; |
| 140 | compatible = "riscv,cpu-intc"; |
| 141 | interrupt-controller; |
| 142 | }; |
| 143 | }; |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 144 | |
| 145 | cpu-map { |
| 146 | cluster0 { |
| 147 | core0 { |
| 148 | cpu = <&cpu0>; |
| 149 | }; |
| 150 | |
| 151 | core1 { |
| 152 | cpu = <&cpu1>; |
| 153 | }; |
| 154 | |
| 155 | core2 { |
| 156 | cpu = <&cpu2>; |
| 157 | }; |
| 158 | |
| 159 | core3 { |
| 160 | cpu = <&cpu3>; |
| 161 | }; |
| 162 | |
| 163 | core4 { |
| 164 | cpu = <&cpu4>; |
| 165 | }; |
| 166 | }; |
| 167 | }; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 168 | }; |
| 169 | |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 170 | refclk: mssrefclk { |
Conor Dooley | 3f35270 | 2022-10-25 08:58:49 +0100 | [diff] [blame] | 171 | compatible = "fixed-clock"; |
| 172 | #clock-cells = <0>; |
| 173 | }; |
| 174 | |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 175 | syscontroller: syscontroller { |
| 176 | compatible = "microchip,mpfs-sys-controller"; |
| 177 | mboxes = <&mbox 0>; |
| 178 | }; |
| 179 | |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 180 | soc { |
| 181 | #address-cells = <2>; |
| 182 | #size-cells = <2>; |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 183 | compatible = "simple-bus"; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 184 | ranges; |
| 185 | |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 186 | cctrllr: cache-controller@2010000 { |
| 187 | compatible = "microchip,mpfs-ccache", "sifive,fu540-c000-ccache", "cache"; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 188 | reg = <0x0 0x2010000 0x0 0x1000>; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 189 | cache-block-size = <64>; |
| 190 | cache-level = <2>; |
| 191 | cache-sets = <1024>; |
| 192 | cache-size = <2097152>; |
| 193 | cache-unified; |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 194 | interrupt-parent = <&plic>; |
| 195 | interrupts = <1>, <3>, <4>, <2>; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 196 | }; |
| 197 | |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 198 | clint: clint@2000000 { |
| 199 | compatible = "sifive,fu540-c000-clint", "sifive,clint0"; |
| 200 | reg = <0x0 0x2000000 0x0 0xC000>; |
| 201 | interrupts-extended = <&cpu0_intc 3>, <&cpu0_intc 7>, |
| 202 | <&cpu1_intc 3>, <&cpu1_intc 7>, |
| 203 | <&cpu2_intc 3>, <&cpu2_intc 7>, |
| 204 | <&cpu3_intc 3>, <&cpu3_intc 7>, |
| 205 | <&cpu4_intc 3>, <&cpu4_intc 7>; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 206 | }; |
| 207 | |
| 208 | plic: interrupt-controller@c000000 { |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 209 | compatible = "sifive,fu540-c000-plic", "sifive,plic-1.0.0"; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 210 | reg = <0x0 0xc000000 0x0 0x4000000>; |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 211 | #address-cells = <0>; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 212 | #interrupt-cells = <1>; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 213 | interrupt-controller; |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 214 | interrupts-extended = <&cpu0_intc 11>, |
| 215 | <&cpu1_intc 11>, <&cpu1_intc 9>, |
| 216 | <&cpu2_intc 11>, <&cpu2_intc 9>, |
| 217 | <&cpu3_intc 11>, <&cpu3_intc 9>, |
| 218 | <&cpu4_intc 11>, <&cpu4_intc 9>; |
| 219 | riscv,ndev = <186>; |
| 220 | }; |
| 221 | |
| 222 | pdma: dma-controller@3000000 { |
| 223 | compatible = "sifive,fu540-c000-pdma", "sifive,pdma0"; |
| 224 | reg = <0x0 0x3000000 0x0 0x8000>; |
| 225 | interrupt-parent = <&plic>; |
| 226 | interrupts = <5 6>, <7 8>, <9 10>, <11 12>; |
| 227 | dma-channels = <4>; |
| 228 | #dma-cells = <1>; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 229 | }; |
| 230 | |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 231 | clkcfg: clkcfg@20002000 { |
| 232 | compatible = "microchip,mpfs-clkcfg"; |
Conor Dooley | 3f35270 | 2022-10-25 08:58:49 +0100 | [diff] [blame] | 233 | reg = <0x0 0x20002000 0x0 0x1000>, <0x0 0x3E001000 0x0 0x1000>; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 234 | clocks = <&refclk>; |
| 235 | #clock-cells = <1>; |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 236 | #reset-cells = <1>; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 237 | }; |
| 238 | |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 239 | ccc_se: clock-controller@38010000 { |
| 240 | compatible = "microchip,mpfs-ccc"; |
| 241 | reg = <0x0 0x38010000 0x0 0x1000>, <0x0 0x38020000 0x0 0x1000>, |
| 242 | <0x0 0x39010000 0x0 0x1000>, <0x0 0x39020000 0x0 0x1000>; |
| 243 | #clock-cells = <1>; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 244 | status = "disabled"; |
| 245 | }; |
| 246 | |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 247 | ccc_ne: clock-controller@38040000 { |
| 248 | compatible = "microchip,mpfs-ccc"; |
| 249 | reg = <0x0 0x38040000 0x0 0x1000>, <0x0 0x38080000 0x0 0x1000>, |
| 250 | <0x0 0x39040000 0x0 0x1000>, <0x0 0x39080000 0x0 0x1000>; |
| 251 | #clock-cells = <1>; |
| 252 | status = "disabled"; |
| 253 | }; |
| 254 | |
| 255 | ccc_nw: clock-controller@38100000 { |
| 256 | compatible = "microchip,mpfs-ccc"; |
| 257 | reg = <0x0 0x38100000 0x0 0x1000>, <0x0 0x38200000 0x0 0x1000>, |
| 258 | <0x0 0x39100000 0x0 0x1000>, <0x0 0x39200000 0x0 0x1000>; |
| 259 | #clock-cells = <1>; |
| 260 | status = "disabled"; |
| 261 | }; |
| 262 | |
| 263 | ccc_sw: clock-controller@38400000 { |
| 264 | compatible = "microchip,mpfs-ccc"; |
| 265 | reg = <0x0 0x38400000 0x0 0x1000>, <0x0 0x38800000 0x0 0x1000>, |
| 266 | <0x0 0x39400000 0x0 0x1000>, <0x0 0x39800000 0x0 0x1000>; |
| 267 | #clock-cells = <1>; |
| 268 | status = "disabled"; |
| 269 | }; |
| 270 | |
| 271 | mmuart0: serial@20000000 { |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 272 | compatible = "ns16550a"; |
| 273 | reg = <0x0 0x20000000 0x0 0x400>; |
| 274 | reg-io-width = <4>; |
| 275 | reg-shift = <2>; |
| 276 | interrupt-parent = <&plic>; |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 277 | interrupts = <90>; |
| 278 | current-speed = <115200>; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 279 | clocks = <&clkcfg CLK_MMUART0>; |
| 280 | status = "disabled"; /* Reserved for the HSS */ |
| 281 | }; |
| 282 | |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 283 | mmuart1: serial@20100000 { |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 284 | compatible = "ns16550a"; |
| 285 | reg = <0x0 0x20100000 0x0 0x400>; |
| 286 | reg-io-width = <4>; |
| 287 | reg-shift = <2>; |
| 288 | interrupt-parent = <&plic>; |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 289 | interrupts = <91>; |
| 290 | current-speed = <115200>; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 291 | clocks = <&clkcfg CLK_MMUART1>; |
| 292 | status = "disabled"; |
| 293 | }; |
| 294 | |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 295 | mmuart2: serial@20102000 { |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 296 | compatible = "ns16550a"; |
| 297 | reg = <0x0 0x20102000 0x0 0x400>; |
| 298 | reg-io-width = <4>; |
| 299 | reg-shift = <2>; |
| 300 | interrupt-parent = <&plic>; |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 301 | interrupts = <92>; |
| 302 | current-speed = <115200>; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 303 | clocks = <&clkcfg CLK_MMUART2>; |
| 304 | status = "disabled"; |
| 305 | }; |
| 306 | |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 307 | mmuart3: serial@20104000 { |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 308 | compatible = "ns16550a"; |
| 309 | reg = <0x0 0x20104000 0x0 0x400>; |
| 310 | reg-io-width = <4>; |
| 311 | reg-shift = <2>; |
| 312 | interrupt-parent = <&plic>; |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 313 | interrupts = <93>; |
| 314 | current-speed = <115200>; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 315 | clocks = <&clkcfg CLK_MMUART3>; |
| 316 | status = "disabled"; |
| 317 | }; |
| 318 | |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 319 | mmuart4: serial@20106000 { |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 320 | compatible = "ns16550a"; |
| 321 | reg = <0x0 0x20106000 0x0 0x400>; |
| 322 | reg-io-width = <4>; |
| 323 | reg-shift = <2>; |
| 324 | interrupt-parent = <&plic>; |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 325 | interrupts = <94>; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 326 | clocks = <&clkcfg CLK_MMUART4>; |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 327 | current-speed = <115200>; |
| 328 | status = "disabled"; |
| 329 | }; |
| 330 | |
| 331 | /* Common node entry for emmc/sd */ |
| 332 | mmc: mmc@20008000 { |
| 333 | compatible = "microchip,mpfs-sd4hc", "cdns,sd4hc"; |
| 334 | reg = <0x0 0x20008000 0x0 0x1000>; |
| 335 | interrupt-parent = <&plic>; |
| 336 | interrupts = <88>; |
| 337 | clocks = <&clkcfg CLK_MMC>; |
| 338 | max-frequency = <200000000>; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 339 | status = "disabled"; |
| 340 | }; |
| 341 | |
| 342 | spi0: spi@20108000 { |
| 343 | compatible = "microchip,mpfs-spi"; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 344 | #address-cells = <1>; |
| 345 | #size-cells = <0>; |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 346 | reg = <0x0 0x20108000 0x0 0x1000>; |
| 347 | interrupt-parent = <&plic>; |
| 348 | interrupts = <54>; |
| 349 | clocks = <&clkcfg CLK_SPI0>; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 350 | status = "disabled"; |
| 351 | }; |
| 352 | |
| 353 | spi1: spi@20109000 { |
| 354 | compatible = "microchip,mpfs-spi"; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 355 | #address-cells = <1>; |
| 356 | #size-cells = <0>; |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 357 | reg = <0x0 0x20109000 0x0 0x1000>; |
| 358 | interrupt-parent = <&plic>; |
| 359 | interrupts = <55>; |
| 360 | clocks = <&clkcfg CLK_SPI1>; |
| 361 | status = "disabled"; |
| 362 | }; |
| 363 | |
| 364 | qspi: spi@21000000 { |
| 365 | compatible = "microchip,mpfs-qspi", "microchip,coreqspi-rtl-v2"; |
| 366 | #address-cells = <1>; |
| 367 | #size-cells = <0>; |
| 368 | reg = <0x0 0x21000000 0x0 0x1000>; |
| 369 | interrupt-parent = <&plic>; |
| 370 | interrupts = <85>; |
| 371 | clocks = <&clkcfg CLK_QSPI>; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 372 | status = "disabled"; |
| 373 | }; |
| 374 | |
| 375 | i2c0: i2c@2010a000 { |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 376 | compatible = "microchip,mpfs-i2c", "microchip,corei2c-rtl-v7"; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 377 | reg = <0x0 0x2010a000 0x0 0x1000>; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 378 | #address-cells = <1>; |
| 379 | #size-cells = <0>; |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 380 | interrupt-parent = <&plic>; |
| 381 | interrupts = <58>; |
| 382 | clocks = <&clkcfg CLK_I2C0>; |
| 383 | clock-frequency = <100000>; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 384 | status = "disabled"; |
| 385 | }; |
| 386 | |
| 387 | i2c1: i2c@2010b000 { |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 388 | compatible = "microchip,mpfs-i2c", "microchip,corei2c-rtl-v7"; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 389 | reg = <0x0 0x2010b000 0x0 0x1000>; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 390 | #address-cells = <1>; |
| 391 | #size-cells = <0>; |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 392 | interrupt-parent = <&plic>; |
| 393 | interrupts = <61>; |
| 394 | clocks = <&clkcfg CLK_I2C1>; |
| 395 | clock-frequency = <100000>; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 396 | status = "disabled"; |
| 397 | }; |
| 398 | |
| 399 | can0: can@2010c000 { |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 400 | compatible = "microchip,mpfs-can"; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 401 | reg = <0x0 0x2010c000 0x0 0x1000>; |
| 402 | clocks = <&clkcfg CLK_CAN0>; |
| 403 | interrupt-parent = <&plic>; |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 404 | interrupts = <56>; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 405 | status = "disabled"; |
| 406 | }; |
| 407 | |
| 408 | can1: can@2010d000 { |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 409 | compatible = "microchip,mpfs-can"; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 410 | reg = <0x0 0x2010d000 0x0 0x1000>; |
| 411 | clocks = <&clkcfg CLK_CAN1>; |
| 412 | interrupt-parent = <&plic>; |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 413 | interrupts = <57>; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 414 | status = "disabled"; |
| 415 | }; |
| 416 | |
| 417 | mac0: ethernet@20110000 { |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 418 | compatible = "microchip,mpfs-macb", "cdns,macb"; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 419 | reg = <0x0 0x20110000 0x0 0x2000>; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 420 | #address-cells = <1>; |
| 421 | #size-cells = <0>; |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 422 | interrupt-parent = <&plic>; |
| 423 | interrupts = <64>, <65>, <66>, <67>, <68>, <69>; |
| 424 | local-mac-address = [00 00 00 00 00 00]; |
| 425 | clocks = <&clkcfg CLK_MAC0>, <&clkcfg CLK_AHB>; |
| 426 | clock-names = "pclk", "hclk"; |
| 427 | resets = <&clkcfg CLK_MAC0>; |
| 428 | status = "disabled"; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 429 | }; |
| 430 | |
| 431 | mac1: ethernet@20112000 { |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 432 | compatible = "microchip,mpfs-macb", "cdns,macb"; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 433 | reg = <0x0 0x20112000 0x0 0x2000>; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 434 | #address-cells = <1>; |
| 435 | #size-cells = <0>; |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 436 | interrupt-parent = <&plic>; |
| 437 | interrupts = <70>, <71>, <72>, <73>, <74>, <75>; |
| 438 | local-mac-address = [00 00 00 00 00 00]; |
| 439 | clocks = <&clkcfg CLK_MAC1>, <&clkcfg CLK_AHB>; |
| 440 | clock-names = "pclk", "hclk"; |
| 441 | resets = <&clkcfg CLK_MAC1>; |
| 442 | status = "disabled"; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 443 | }; |
| 444 | |
| 445 | gpio0: gpio@20120000 { |
| 446 | compatible = "microchip,mpfs-gpio"; |
| 447 | reg = <0x0 0x20120000 0x0 0x1000>; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 448 | interrupt-parent = <&plic>; |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 449 | interrupt-controller; |
| 450 | #interrupt-cells = <1>; |
| 451 | clocks = <&clkcfg CLK_GPIO0>; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 452 | gpio-controller; |
| 453 | #gpio-cells = <2>; |
| 454 | status = "disabled"; |
| 455 | }; |
| 456 | |
| 457 | gpio1: gpio@20121000 { |
| 458 | compatible = "microchip,mpfs-gpio"; |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 459 | reg = <0x0 0x20121000 0x0 0x1000>; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 460 | interrupt-parent = <&plic>; |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 461 | interrupt-controller; |
| 462 | #interrupt-cells = <1>; |
| 463 | clocks = <&clkcfg CLK_GPIO1>; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 464 | gpio-controller; |
| 465 | #gpio-cells = <2>; |
| 466 | status = "disabled"; |
| 467 | }; |
| 468 | |
| 469 | gpio2: gpio@20122000 { |
| 470 | compatible = "microchip,mpfs-gpio"; |
| 471 | reg = <0x0 0x20122000 0x0 0x1000>; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 472 | interrupt-parent = <&plic>; |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 473 | interrupt-controller; |
| 474 | #interrupt-cells = <1>; |
| 475 | clocks = <&clkcfg CLK_GPIO2>; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 476 | gpio-controller; |
| 477 | #gpio-cells = <2>; |
| 478 | status = "disabled"; |
| 479 | }; |
| 480 | |
| 481 | rtc: rtc@20124000 { |
| 482 | compatible = "microchip,mpfs-rtc"; |
| 483 | reg = <0x0 0x20124000 0x0 0x1000>; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 484 | interrupt-parent = <&plic>; |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 485 | interrupts = <80>, <81>; |
| 486 | clocks = <&clkcfg CLK_RTC>, <&clkcfg CLK_RTCREF>; |
| 487 | clock-names = "rtc", "rtcref"; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 488 | status = "disabled"; |
| 489 | }; |
| 490 | |
| 491 | usb: usb@20201000 { |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 492 | compatible = "microchip,mpfs-musb"; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 493 | reg = <0x0 0x20201000 0x0 0x1000>; |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 494 | interrupt-parent = <&plic>; |
| 495 | interrupts = <86>, <87>; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 496 | clocks = <&clkcfg CLK_USB>; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 497 | interrupt-names = "dma","mc"; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 498 | status = "disabled"; |
| 499 | }; |
| 500 | |
| 501 | mbox: mailbox@37020000 { |
| 502 | compatible = "microchip,mpfs-mailbox"; |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 503 | reg = <0x0 0x37020000 0x0 0x58>, <0x0 0x2000318C 0x0 0x40>, |
| 504 | <0x0 0x37020800 0x0 0x100>; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 505 | interrupt-parent = <&plic>; |
Conor Dooley | 4e99899 | 2023-06-15 11:12:43 +0100 | [diff] [blame] | 506 | interrupts = <96>; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 507 | #mbox-cells = <1>; |
| 508 | status = "disabled"; |
| 509 | }; |
Padmarao Begari | 06142d6 | 2021-11-17 18:21:17 +0530 | [diff] [blame] | 510 | }; |
| 511 | }; |