Re: [PATCH 0/7] ARM: dts: Broadcom: Fix W=1 DTC warnings
From: Stefan Wahren
Date: Thu May 30 2019 - 06:16:31 EST
Hi Florian,
Am 29.05.19 um 01:01 schrieb Florian Fainelli:
> Hi all,
>
> This patch series attempts to fix the most obvious W=1 DTC warnings for
> Broadcom SoCs DTS files. Stefan, if you could do the same for all
> bcm283* that would be fantastic.
we tried to fix as much as possible in the past. So there are only those
left, which i don't know how to fix it properly (and without breaking
things):
arch/arm/boot/dts/bcm283x.dtsi:54.6-651.4: Warning
(unit_address_vs_reg): /soc: node has a reg or ranges property, but no
unit name
This from the SoC specific dtsi files which add values for the ranges /
dma-ranges.
soc {
ÂÂÂ ÂÂÂ ranges = <0x7e000000 0x20000000 0x02000000>;
ÂÂÂ ÂÂÂ dma-ranges = <0x40000000 0x00000000 0x20000000>;
};
arch/arm/boot/dts/bcm283x.dtsi:648.12-650.5: Warning (simple_bus_reg):
/soc/gpu: missing or empty reg/ranges property
This comes from the following simple bus child node:
vc4: gpu {
ÂÂÂ ÂÂÂ ÂÂÂ compatible = "brcm,bcm2835-vc4";
};
This issue should also exists in bcm-cygnus.dtsi. From the hardware side
the GPU is part of the SoC, but maybe we should move this node out of
the SoC simple bus?
Stefan