[PATCH] powerpc/fsl: Add empty ranges to etsec2 dts files

Scott Wood scottwood at freescale.com
Tue Jan 13 08:31:54 AEDT 2015


On Mon, 2015-01-12 at 10:27 -0500, Martin Hicks wrote:
> 
> With an earlier change (746c9e9f - Fix PowerPC address parsing hack), ethernet
> has broken on Freescale boards such as the P1022.  All ranges used by the
> ethernet controllers are also covered by sub-devices that properly
> declared the used ranges.  The error shown is:
> 
> fsl-gianfar: probe of soc at ffe00000:ethernet at b0000 failed with error -12
> 
> Signed-off-by: Martin Hicks <mort at bork.org>
> ---
>  arch/powerpc/boot/dts/fsl/pq3-etsec2-0.dtsi |    1 +
>  arch/powerpc/boot/dts/fsl/pq3-etsec2-1.dtsi |    1 +
>  arch/powerpc/boot/dts/fsl/pq3-etsec2-2.dtsi |    1 +
>  3 files changed, 3 insertions(+)

http://patchwork.ozlabs.org/patch/422446/

> diff --git a/arch/powerpc/boot/dts/fsl/pq3-etsec2-0.dtsi b/arch/powerpc/boot/dts/fsl/pq3-etsec2-0.dtsi
> index 1382fec..d1a6c48 100644
> --- a/arch/powerpc/boot/dts/fsl/pq3-etsec2-0.dtsi
> +++ b/arch/powerpc/boot/dts/fsl/pq3-etsec2-0.dtsi
> @@ -43,6 +43,7 @@ mdio at 24000 {
>  ethernet at b0000 {
>  	#address-cells = <1>;
>  	#size-cells = <1>;
> +	ranges = <>;

The " = <>" is usually omitted for empty properties.

-Scott




More information about the Linuxppc-dev mailing list