powerpc/fsl: Add empty ranges to etsec2 dts files
Subsystems (2)
PATCH 1/1 powerpc/fsl: Add empty ranges to etsec2 dts files
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@ffe00000:ethernet@b0000 failed with error -12
--- 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(+)
arch/powerpc/boot/dts/fsl/pq3-etsec2-0.dtsi +1 -0
@@ -43,6 +43,7 @@ mdio@24000 { ethernet@b0000 { #address-cells = <1>; #size-cells = <1>; + ranges = <>; device_type = "network"; model = "eTSEC"; compatible = "fsl,etsec2";
arch/powerpc/boot/dts/fsl/pq3-etsec2-1.dtsi +1 -0
@@ -43,6 +43,7 @@ mdio@25000 { ethernet@b1000 { #address-cells = <1>; #size-cells = <1>; + ranges = <>; device_type = "network"; model = "eTSEC"; compatible = "fsl,etsec2";
arch/powerpc/boot/dts/fsl/pq3-etsec2-2.dtsi +1 -0
@@ -42,6 +42,7 @@ mdio@26000 { ethernet@b2000 { #address-cells = <1>; #size-cells = <1>; + ranges = <>; device_type = "network"; model = "eTSEC"; compatible = "fsl,etsec2";
Signature · 1 line
1.7.10.4
Quoted 6 lines · Martin Hicks
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:
Quoted 8 lines
fsl-gianfar: probe of soc@ffe00000:ethernet@b0000 failed with error -12
Signed-off-by Martin Hicks <[email protected]>--- 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/
arch/powerpc/boot/dts/fsl/pq3-etsec2-0.dtsi mdio@24000 { · line 46
Quoted 9 lines
arch/powerpc/boot/dts/fsl/pq3-etsec2-0.dtsi +1
-0@@ -43,6 +43,7 @@ mdio@24000 { ethernet@b0000 { #address-cells = <1>; #size-cells = <1>; + ranges = <>;
The " = <>" is usually omitted for empty properties.
-Scott
Perfect. I'm glad there's a patch.
mh
Quoted 40 lines · Scott Wood
Quoted 2 lines · Martin Hicks
With an earlier change (
746c9e9f- Fix PowerPC address parsing hack),ethernet
Quoted 4 lines
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:
Quoted 8 lines
fsl-gianfar: probe of soc@ffe00000:ethernet@b0000 failed with error -12
Signed-off-by Martin Hicks <[email protected]>--- 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/
Review
Quoted 1 line
(quoted diff) +0
-0
b/arch/powerpc/boot/dts/fsl/pq3-etsec2-0.dtsiarch/powerpc/boot/dts/fsl/pq3-etsec2-0.dtsi mdio@24000 { · line 46
Quoted 8 lines
index 1382fec..d1a6c48 100644
arch/powerpc/boot/dts/fsl/pq3-etsec2-0.dtsi +1
-0@@ -43,6 +43,7 @@ mdio@24000 { ethernet@b0000 { #address-cells = <1>; #size-cells = <1>; + ranges = <>;The " = <>" is usually omitted for empty properties.
-Scott
_______________________________________________
Linuxppc-dev mailing list
[email protected]
https://lists.ozlabs.org/listinfo/linuxppc-dev
Signature · 2 lines
Martin Hicks P.Eng. | [email protected] Bork Consulting Inc. | +1 (613) 266-2296
This was a sort of unfortunate revelation on how things ‘change’.
While as it is, I found this problem, and ‘fixed’ my device tree source, had this been for units ‘fielded’, I have to sleuth through some amount of kernel code to find where the OF tree was parsed, and then ‘fix’ the kernel, as changing the FDT eeprom image is not really a ‘good’ option for units that are in use, and need a firmware update.
John Clark.
Quoted 34 lines · Martin Hicks [via linuxppc]
Perfect. I'm glad there's a patch.
mhOn Mon, Jan 12, 2015 at 4:31 PM, Scott Wood <[hidden email]> wrote:
Quoted 6 lines · Martin Hicks
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:Quoted 8 lines
fsl-gianfar: probe of soc@ffe00000:ethernet@b0000 failed with error -12
Signed-off-by Martin Hicks <[hidden email]>--- 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/
arch/powerpc/boot/dts/fsl/pq3-etsec2-0.dtsi mdio@24000 { · line 46
Quoted 9 lines
arch/powerpc/boot/dts/fsl/pq3-etsec2-0.dtsi +1
-0@@ -43,6 +43,7 @@ mdio@24000 { ethernet@b0000 { #address-cells = <1>; #size-cells = <1>; + ranges = <>;The " = <>" is usually omitted for empty properties.
Quoted 24 lines
-Scott
_______________________________________________
Linuxppc-dev mailing list
[hidden email]
https://lists.ozlabs.org/listinfo/linuxppc-devSignature · 13 lines
Martin Hicks P.Eng. | [hidden email] Bork Consulting Inc. | +1 (613) 266-2296 _______________________________________________ Linuxppc-dev mailing list [hidden email] https://lists.ozlabs.org/listinfo/linuxppc-dev If you reply to this email, your message will be added to the discussion below: http://linuxppc.10917.n7.nabble.com/PATCH-powerpc-fsl-Add-empty-ranges-to-etsec2-dts-files-tp88699p88773.html To start a new topic under linuxppc-dev, email [email protected] To unsubscribe from linuxppc, click here. NAML
--
View this message in context: http://linuxppc.10917.n7.nabble.com/PATCH-powerpc-fsl-Add-empty-ranges-to-etsec2-dts-files-tp88699p88774.html
Sent from the linuxppc-dev mailing list archive at Nabble.com.