]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ARM: dts: BCM53573: Add cells sizes to PCIe node
authorRafał Miłecki <rafal@milecki.pl>
Fri, 7 Jul 2023 11:40:03 +0000 (13:40 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Sep 2023 08:46:56 +0000 (10:46 +0200)
[ Upstream commit 3392ef368d9b04622fe758b1079b512664b6110a ]

This fixes:
arch/arm/boot/dts/broadcom/bcm47189-luxul-xap-1440.dtb: pcie@2000: '#address-cells' is a required property
        From schema: /lib/python3.10/site-packages/dtschema/schemas/pci/pci-bus.yaml
arch/arm/boot/dts/broadcom/bcm47189-luxul-xap-1440.dtb: pcie@2000: '#size-cells' is a required property
        From schema: /lib/python3.10/site-packages/dtschema/schemas/pci/pci-bus.yaml

Two properties that need to be added later are "device_type" and
"ranges". Adding "device_type" on its own causes a new warning and the
value of "ranges" needs to be determined yet.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Link: https://lore.kernel.org/r/20230707114004.2740-3-zajec5@gmail.com
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/bcm53573.dtsi

index c698a565b8ae9e2134c36fc796e983159b686a67..99cc83b911c1a8173372db138f43ae73a4e1b01c 100644 (file)
 
                pcie0: pcie@2000 {
                        reg = <0x00002000 0x1000>;
+
+                       #address-cells = <3>;
+                       #size-cells = <2>;
                };
 
                usb2: usb2@4000 {