]> git.baikalelectronics.ru Git - kernel.git/commitdiff
Revert "ARM: dts: BCM5301X: Add basic PCI controller properties"
authorArnd Bergmann <arnd@arndb.de>
Wed, 5 Oct 2022 08:12:43 +0000 (10:12 +0200)
committerArnd Bergmann <arnd@arndb.de>
Wed, 5 Oct 2022 08:22:40 +0000 (10:22 +0200)
Adding the #address-cells/#size-cells properties without also
adding the other required properties for PCI nodes causes new
build warnings from dtc that now show up everywhere, rather than
just while verifying the yaml bindings:

arch/arm/boot/dts/bcm5301x.dtsi:240.21-246.5: Warning (pci_bridge): /axi@18000000/pcie@12000: missing ranges for PCI bridge (or not a bridge)
arch/arm/boot/dts/bcm5301x.dtsi:248.21-254.5: Warning (pci_bridge): /axi@18000000/pcie@13000: missing ranges for PCI bridge (or not a bridge)
arch/arm/boot/dts/bcm5301x.dtsi:256.21-262.5: Warning (pci_bridge): /axi@18000000/pcie@14000: missing ranges for PCI bridge (or not a bridge)
arch/arm/boot/dts/bcm47094-luxul-xbr-4500.dtb: Warning (unit_address_format): Failed prerequisite 'pci_bridge'

Revert it for now.

Fixes: 61dc1e3850a6 ("ARM: dts: BCM5301X: Add basic PCI controller properties")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/boot/dts/bcm5301x.dtsi

index a06184b8e0d9a50f0b6b54e319ee5f8cde4bd2dd..5fc1b847f4aa540f45420be1c24f8bedb305b5dd 100644 (file)
 
                pcie0: pcie@12000 {
                        reg = <0x00012000 0x1000>;
-                       device_type = "pci";
-
-                       #address-cells = <3>;
-                       #size-cells = <2>;
                };
 
                pcie1: pcie@13000 {
                        reg = <0x00013000 0x1000>;
-                       device_type = "pci";
-
-                       #address-cells = <3>;
-                       #size-cells = <2>;
                };
 
                pcie2: pcie@14000 {
                        reg = <0x00014000 0x1000>;
-                       device_type = "pci";
-
-                       #address-cells = <3>;
-                       #size-cells = <2>;
                };
 
                usb2: usb2@21000 {