Message ID | 20220401102002.15765-1-arinc.unal@arinc9.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [1/5] ARM: dts: BCM5301X: Fix DTC warning for NAND node | expand |
On 2022-04-01 12:19, Arınç ÜNAL wrote: > Remove the unnecessary #address-cells and #size-cells properties on the > nand@0 node to fix the warning below. > > Warning (avoid_unnecessary_addr_size): > /nand-controller@18028000/nand@0: unnecessary > #address-cells/#size-cells without "ranges" or child "reg" property > > Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com> Acked-by: Rafał Miłecki <rafal@milecki.pl>
On Fri, 1 Apr 2022 13:19:58 +0300, Arınç ÜNAL <arinc.unal@arinc9.com> wrote: > Remove the unnecessary #address-cells and #size-cells properties on the > nand@0 node to fix the warning below. > > Warning (avoid_unnecessary_addr_size): /nand-controller@18028000/nand@0: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property > > Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com> > --- Applied to https://github.com/Broadcom/stblinux/commits/devicetree/next, thanks! -- Florian
diff --git a/arch/arm/boot/dts/bcm5301x-nand-cs0.dtsi b/arch/arm/boot/dts/bcm5301x-nand-cs0.dtsi index be9a00ff752d..bdf1b4a608e6 100644 --- a/arch/arm/boot/dts/bcm5301x-nand-cs0.dtsi +++ b/arch/arm/boot/dts/bcm5301x-nand-cs0.dtsi @@ -10,8 +10,6 @@ nand-controller@18028000 { nandcs: nand@0 { compatible = "brcm,nandcs"; reg = <0>; - #address-cells = <1>; - #size-cells = <1>; partitions { compatible = "brcm,bcm947xx-cfe-partitions";
Remove the unnecessary #address-cells and #size-cells properties on the nand@0 node to fix the warning below. Warning (avoid_unnecessary_addr_size): /nand-controller@18028000/nand@0: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com> --- arch/arm/boot/dts/bcm5301x-nand-cs0.dtsi | 2 -- 1 file changed, 2 deletions(-)