| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | From 18176b9d82eebaf4408dc0440f54d57a8cbced83 Mon Sep 17 00:00:00 2001 |
| 2 | From: Arnd Bergmann <arnd@arndb.de> |
| 3 | Date: Fri, 13 May 2022 11:11:07 +0200 |
| 4 | Subject: [PATCH] Revert "ARM: dts: BCM5301X: Fix DTC warning for NAND node" |
| 5 | |
| 6 | This reverts commit 90103611d573, which caused a new DTC warning |
| 7 | |
| 8 | arch/arm/boot/dts/bcm953012hr.dts:57.3-33: Warning (reg_format): /nand-controller@18028000/nand@0/partition@0:reg: property has invalid length (8 bytes) (#address-cells == 2, #size-cells == 1) |
| 9 | arch/arm/boot/dts/bcm953012hr.dts:62.3-33: Warning (reg_format): /nand-controller@18028000/nand@0/partition@200000:reg: property has invalid length (8 bytes) (#address-cells == 2, #size-cells == 1) |
| 10 | arch/arm/boot/dts/bcm953012hr.dts:66.3-33: Warning (reg_format): /nand-controller@18028000/nand@0/partition@600000:reg: property has invalid length (8 bytes) (#address-cells == 2, #size-cells == 1) |
| 11 | arch/arm/boot/dts/bcm953012hr.dts:70.3-33: Warning (reg_format): /nand-controller@18028000/nand@0/partition@1000000:reg: property has invalid length (8 bytes) (#address-cells == 2, #size-cells == 1) |
| 12 | arch/arm/boot/dts/bcm953012hr.dtb: Warning (pci_device_reg): Failed prerequisite 'reg_format' |
| 13 | arch/arm/boot/dts/bcm953012hr.dtb: Warning (pci_device_bus_num): Failed prerequisite 'reg_format' |
| 14 | arch/arm/boot/dts/bcm953012hr.dtb: Warning (i2c_bus_reg): Failed prerequisite 'reg_format' |
| 15 | arch/arm/boot/dts/bcm953012hr.dtb: Warning (spi_bus_reg): Failed prerequisite 'reg_format' |
| 16 | |
| 17 | Signed-off-by: Arnd Bergmann <arnd@arndb.de> |
| 18 | --- |
| 19 | arch/arm/boot/dts/bcm5301x-nand-cs0.dtsi | 2 ++ |
| 20 | 1 file changed, 2 insertions(+) |
| 21 | |
| 22 | --- a/arch/arm/boot/dts/bcm5301x-nand-cs0.dtsi |
| 23 | +++ b/arch/arm/boot/dts/bcm5301x-nand-cs0.dtsi |
| 24 | @@ -10,6 +10,8 @@ |
| 25 | nandcs: nand@0 { |
| 26 | compatible = "brcm,nandcs"; |
| 27 | reg = <0>; |
| 28 | + #address-cells = <1>; |
| 29 | + #size-cells = <1>; |
| 30 | |
| 31 | partitions { |
| 32 | compatible = "brcm,bcm947xx-cfe-partitions"; |