Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

MIPS: Loongson64: DTS: Fix PCIe port nodes for ls7a

Add various required properties to silent warnings:

arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi:116.16-297.5: Warning (interrupt_provider): /bus@10000000/pci@1a000000: '#interrupt-cells' found, but node is not an interrupt provider
arch/mips/boot/dts/loongson/loongson64_2core_2k1000.dtb: Warning (interrupt_map): Failed prerequisite 'interrupt_provider'

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>

authored by

Jiaxun Yang and committed by
Thomas Bogendoerfer
d89a415f 98a9e2ac

+30 -7
+30 -7
arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi
··· 118 118 device_type = "pci"; 119 119 #address-cells = <3>; 120 120 #size-cells = <2>; 121 - #interrupt-cells = <2>; 122 121 123 122 reg = <0 0x1a000000 0 0x02000000>, 124 123 <0xfe 0x00000000 0 0x20000000>; ··· 203 204 interrupt-parent = <&liointc0>; 204 205 }; 205 206 206 - pci_bridge@9,0 { 207 + pcie@9,0 { 207 208 compatible = "pci0014,7a19.0", 208 209 "pci0014,7a19", 209 210 "pciclass060400", 210 211 "pciclass0604"; 211 212 212 213 reg = <0x4800 0x0 0x0 0x0 0x0>; 214 + #address-cells = <3>; 215 + #size-cells = <2>; 216 + device_type = "pci"; 213 217 #interrupt-cells = <1>; 214 218 interrupts = <0 IRQ_TYPE_LEVEL_LOW>; 215 219 interrupt-parent = <&liointc1>; 216 220 interrupt-map-mask = <0 0 0 0>; 217 221 interrupt-map = <0 0 0 0 &liointc1 0 IRQ_TYPE_LEVEL_LOW>; 222 + ranges; 218 223 external-facing; 219 224 }; 220 225 221 - pci_bridge@a,0 { 226 + pcie@a,0 { 222 227 compatible = "pci0014,7a09.0", 223 228 "pci0014,7a09", 224 229 "pciclass060400", 225 230 "pciclass0604"; 226 231 227 232 reg = <0x5000 0x0 0x0 0x0 0x0>; 233 + #address-cells = <3>; 234 + #size-cells = <2>; 235 + device_type = "pci"; 228 236 #interrupt-cells = <1>; 229 237 interrupts = <1 IRQ_TYPE_LEVEL_LOW>; 230 238 interrupt-parent = <&liointc1>; 231 239 interrupt-map-mask = <0 0 0 0>; 232 240 interrupt-map = <0 0 0 0 &liointc1 1 IRQ_TYPE_LEVEL_LOW>; 241 + ranges; 233 242 external-facing; 234 243 }; 235 244 236 - pci_bridge@b,0 { 245 + pcie@b,0 { 237 246 compatible = "pci0014,7a09.0", 238 247 "pci0014,7a09", 239 248 "pciclass060400", 240 249 "pciclass0604"; 241 250 242 251 reg = <0x5800 0x0 0x0 0x0 0x0>; 252 + #address-cells = <3>; 253 + #size-cells = <2>; 254 + device_type = "pci"; 243 255 #interrupt-cells = <1>; 244 256 interrupts = <2 IRQ_TYPE_LEVEL_LOW>; 245 257 interrupt-parent = <&liointc1>; 246 258 interrupt-map-mask = <0 0 0 0>; 247 259 interrupt-map = <0 0 0 0 &liointc1 2 IRQ_TYPE_LEVEL_LOW>; 260 + ranges; 248 261 external-facing; 249 262 }; 250 263 251 - pci_bridge@c,0 { 264 + pcie@c,0 { 252 265 compatible = "pci0014,7a09.0", 253 266 "pci0014,7a09", 254 267 "pciclass060400", 255 268 "pciclass0604"; 256 269 257 270 reg = <0x6000 0x0 0x0 0x0 0x0>; 271 + #address-cells = <3>; 272 + #size-cells = <2>; 273 + device_type = "pci"; 258 274 #interrupt-cells = <1>; 259 275 interrupts = <3 IRQ_TYPE_LEVEL_LOW>; 260 276 interrupt-parent = <&liointc1>; 261 277 interrupt-map-mask = <0 0 0 0>; 262 278 interrupt-map = <0 0 0 0 &liointc1 3 IRQ_TYPE_LEVEL_LOW>; 279 + ranges; 263 280 external-facing; 264 281 }; 265 282 266 - pci_bridge@d,0 { 283 + pcie@d,0 { 267 284 compatible = "pci0014,7a19.0", 268 285 "pci0014,7a19", 269 286 "pciclass060400", 270 287 "pciclass0604"; 271 288 272 289 reg = <0x6800 0x0 0x0 0x0 0x0>; 290 + #address-cells = <3>; 291 + #size-cells = <2>; 292 + device_type = "pci"; 273 293 #interrupt-cells = <1>; 274 294 interrupts = <4 IRQ_TYPE_LEVEL_LOW>; 275 295 interrupt-parent = <&liointc1>; 276 296 interrupt-map-mask = <0 0 0 0>; 277 297 interrupt-map = <0 0 0 0 &liointc1 4 IRQ_TYPE_LEVEL_LOW>; 298 + ranges; 278 299 external-facing; 279 300 }; 280 301 281 - pci_bridge@e,0 { 302 + pcie@e,0 { 282 303 compatible = "pci0014,7a09.0", 283 304 "pci0014,7a09", 284 305 "pciclass060400", 285 306 "pciclass0604"; 286 307 287 308 reg = <0x7000 0x0 0x0 0x0 0x0>; 309 + #address-cells = <3>; 310 + #size-cells = <2>; 311 + device_type = "pci"; 288 312 #interrupt-cells = <1>; 289 313 interrupts = <5 IRQ_TYPE_LEVEL_LOW>; 290 314 interrupt-parent = <&liointc1>; 291 315 interrupt-map-mask = <0 0 0 0>; 292 316 interrupt-map = <0 0 0 0 &liointc1 5 IRQ_TYPE_LEVEL_LOW>; 317 + ranges; 293 318 external-facing; 294 319 }; 295 320