|
9 | 9 | model = "Microchip PolarFire SoC"; |
10 | 10 | compatible = "microchip,mpfs"; |
11 | 11 |
|
12 | | - chosen { |
13 | | - }; |
14 | | - |
15 | 12 | cpus { |
16 | 13 | #address-cells = <1>; |
17 | 14 | #size-cells = <0>; |
|
142 | 139 | }; |
143 | 140 | }; |
144 | 141 |
|
| 142 | + refclk: msspllclk { |
| 143 | + compatible = "fixed-clock"; |
| 144 | + #clock-cells = <0>; |
| 145 | + }; |
| 146 | + |
145 | 147 | soc { |
146 | 148 | #address-cells = <2>; |
147 | 149 | #size-cells = <2>; |
|
156 | 158 | cache-size = <2097152>; |
157 | 159 | cache-unified; |
158 | 160 | interrupt-parent = <&plic>; |
159 | | - interrupts = <1 2 3>; |
| 161 | + interrupts = <1>, <2>, <3>; |
160 | 162 | reg = <0x0 0x2010000 0x0 0x1000>; |
161 | 163 | }; |
162 | 164 |
|
163 | 165 | clint@2000000 { |
164 | 166 | compatible = "sifive,fu540-c000-clint", "sifive,clint0"; |
165 | 167 | reg = <0x0 0x2000000 0x0 0xC000>; |
166 | | - interrupts-extended = <&cpu0_intc 3 &cpu0_intc 7 |
167 | | - &cpu1_intc 3 &cpu1_intc 7 |
168 | | - &cpu2_intc 3 &cpu2_intc 7 |
169 | | - &cpu3_intc 3 &cpu3_intc 7 |
170 | | - &cpu4_intc 3 &cpu4_intc 7>; |
| 168 | + interrupts-extended = <&cpu0_intc 3>, <&cpu0_intc 7>, |
| 169 | + <&cpu1_intc 3>, <&cpu1_intc 7>, |
| 170 | + <&cpu2_intc 3>, <&cpu2_intc 7>, |
| 171 | + <&cpu3_intc 3>, <&cpu3_intc 7>, |
| 172 | + <&cpu4_intc 3>, <&cpu4_intc 7>; |
171 | 173 | }; |
172 | 174 |
|
173 | 175 | plic: interrupt-controller@c000000 { |
174 | | - #interrupt-cells = <1>; |
175 | 176 | compatible = "sifive,fu540-c000-plic", "sifive,plic-1.0.0"; |
176 | 177 | reg = <0x0 0xc000000 0x0 0x4000000>; |
177 | | - riscv,ndev = <186>; |
| 178 | + #address-cells = <0>; |
| 179 | + #interrupt-cells = <1>; |
178 | 180 | interrupt-controller; |
179 | | - interrupts-extended = <&cpu0_intc 11 |
180 | | - &cpu1_intc 11 &cpu1_intc 9 |
181 | | - &cpu2_intc 11 &cpu2_intc 9 |
182 | | - &cpu3_intc 11 &cpu3_intc 9 |
183 | | - &cpu4_intc 11 &cpu4_intc 9>; |
| 181 | + interrupts-extended = <&cpu0_intc 11>, |
| 182 | + <&cpu1_intc 11>, <&cpu1_intc 9>, |
| 183 | + <&cpu2_intc 11>, <&cpu2_intc 9>, |
| 184 | + <&cpu3_intc 11>, <&cpu3_intc 9>, |
| 185 | + <&cpu4_intc 11>, <&cpu4_intc 9>; |
| 186 | + riscv,ndev = <186>; |
184 | 187 | }; |
185 | 188 |
|
186 | 189 | dma@3000000 { |
187 | 190 | compatible = "sifive,fu540-c000-pdma"; |
188 | 191 | reg = <0x0 0x3000000 0x0 0x8000>; |
189 | 192 | interrupt-parent = <&plic>; |
190 | | - interrupts = <23 24 25 26 27 28 29 30>; |
| 193 | + interrupts = <23>, <24>, <25>, <26>, <27>, <28>, <29>, |
| 194 | + <30>; |
191 | 195 | #dma-cells = <1>; |
192 | 196 | }; |
193 | 197 |
|
194 | | - refclk: refclk { |
195 | | - compatible = "fixed-clock"; |
196 | | - #clock-cells = <0>; |
197 | | - clock-frequency = <600000000>; |
198 | | - clock-output-names = "msspllclk"; |
199 | | - }; |
200 | | - |
201 | 198 | clkcfg: clkcfg@20002000 { |
202 | 199 | compatible = "microchip,mpfs-clkcfg"; |
203 | 200 | reg = <0x0 0x20002000 0x0 0x1000>; |
204 | | - reg-names = "mss_sysreg"; |
205 | 201 | clocks = <&refclk>; |
206 | 202 | #clock-cells = <1>; |
207 | | - clock-output-names = "cpu", "axi", "ahb", "envm", /* 0-3 */ |
208 | | - "mac0", "mac1", "mmc", "timer", /* 4-7 */ |
209 | | - "mmuart0", "mmuart1", "mmuart2", "mmuart3", /* 8-11 */ |
210 | | - "mmuart4", "spi0", "spi1", "i2c0", /* 12-15 */ |
211 | | - "i2c1", "can0", "can1", "usb", /* 16-19 */ |
212 | | - "rsvd", "rtc", "qspi", "gpio0", /* 20-23 */ |
213 | | - "gpio1", "gpio2", "ddrc", "fic0", /* 24-27 */ |
214 | | - "fic1", "fic2", "fic3", "athena", "cfm"; /* 28-32 */ |
215 | 203 | }; |
216 | 204 |
|
217 | 205 | serial0: serial@20000000 { |
|
267 | 255 | compatible = "microchip,mpfs-sd4hc", "cdns,sd4hc"; |
268 | 256 | reg = <0x0 0x20008000 0x0 0x1000>; |
269 | 257 | interrupt-parent = <&plic>; |
270 | | - interrupts = <88 89>; |
| 258 | + interrupts = <88>, <89>; |
271 | 259 | clocks = <&clkcfg 6>; |
272 | 260 | max-frequency = <200000000>; |
273 | 261 | status = "disabled"; |
|
277 | 265 | compatible = "cdns,macb"; |
278 | 266 | reg = <0x0 0x20110000 0x0 0x2000>; |
279 | 267 | interrupt-parent = <&plic>; |
280 | | - interrupts = <64 65 66 67>; |
| 268 | + interrupts = <64>, <65>, <66>, <67>; |
281 | 269 | local-mac-address = [00 00 00 00 00 00]; |
282 | 270 | clocks = <&clkcfg 4>, <&clkcfg 2>; |
283 | 271 | clock-names = "pclk", "hclk"; |
|
290 | 278 | compatible = "cdns,macb"; |
291 | 279 | reg = <0x0 0x20112000 0x0 0x2000>; |
292 | 280 | interrupt-parent = <&plic>; |
293 | | - interrupts = <70 71 72 73>; |
| 281 | + interrupts = <70>, <71>, <72>, <73>; |
294 | 282 | local-mac-address = [00 00 00 00 00 00]; |
295 | 283 | clocks = <&clkcfg 5>, <&clkcfg 2>; |
296 | 284 | status = "disabled"; |
|
0 commit comments