Skip to content

Commit b67cad3

Browse files
Rafał Miłeckiffainelli
authored andcommitted
ARM: dts: BCM5301X: Add cells sizes to PCIe nodes
This fixes: arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dtb: pcie@12000: '#address-cells' is a required property From schema: /lib/python3.10/site-packages/dtschema/schemas/pci/pci-bus.yaml arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dtb: pcie@12000: '#size-cells' is a required property From schema: /lib/python3.10/site-packages/dtschema/schemas/pci/pci-bus.yaml arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dtb: pcie@13000: '#address-cells' is a required property From schema: /lib/python3.10/site-packages/dtschema/schemas/pci/pci-bus.yaml arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dtb: pcie@13000: '#size-cells' is a required property From schema: /lib/python3.10/site-packages/dtschema/schemas/pci/pci-bus.yaml arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dtb: pcie@14000: '#address-cells' is a required property From schema: /lib/python3.10/site-packages/dtschema/schemas/pci/pci-bus.yaml arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dtb: pcie@14000: '#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/20230616105827.21656-1-zajec5@gmail.com Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
1 parent bf3ca24 commit b67cad3

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

arch/arm/boot/dts/bcm-ns.dtsi

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,14 +176,23 @@
176176

177177
pcie0: pcie@12000 {
178178
reg = <0x00012000 0x1000>;
179+
180+
#address-cells = <3>;
181+
#size-cells = <2>;
179182
};
180183

181184
pcie1: pcie@13000 {
182185
reg = <0x00013000 0x1000>;
186+
187+
#address-cells = <3>;
188+
#size-cells = <2>;
183189
};
184190

185191
pcie2: pcie@14000 {
186192
reg = <0x00014000 0x1000>;
193+
194+
#address-cells = <3>;
195+
#size-cells = <2>;
187196
};
188197

189198
usb2: usb2@21000 {

0 commit comments

Comments
 (0)