Skip to content

Commit

Permalink
ARM: dts: BCM53573: Add cells sizes to PCIe node
Browse files Browse the repository at this point in the history
[ Upstream commit 3392ef3 ]

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>
  • Loading branch information
Rafał Miłecki authored and gregkh committed Sep 13, 2023
1 parent ee1d740 commit ab5154a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/arm/boot/dts/bcm53573.dtsi
Expand Up @@ -127,6 +127,9 @@

pcie0: pcie@2000 {
reg = <0x00002000 0x1000>;

#address-cells = <3>;
#size-cells = <2>;
};

usb2: usb2@4000 {
Expand Down

0 comments on commit ab5154a

Please sign in to comment.