powerpc/mpc85xx: Add ranges to etsec2 nodes
authorScott Wood <scottwood@freescale.com>
Thu, 18 Dec 2014 01:06:31 +0000 (19:06 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Apr 2015 12:02:12 +0000 (14:02 +0200)
commit bb344ca5b90df62b1a3b7a35c6a9d00b306a170d upstream.

Commit 746c9e9f92dd "of/base: Fix PowerPC address parsing hack" limited
the applicability of the workaround whereby a missing ranges is treated
as an empty ranges.  This workaround was hiding a bug in the etsec2
device tree nodes, which have children with reg, but did not have
ranges.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Reported-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/powerpc/boot/dts/fsl/pq3-etsec2-0.dtsi
arch/powerpc/boot/dts/fsl/pq3-etsec2-1.dtsi
arch/powerpc/boot/dts/fsl/pq3-etsec2-2.dtsi

index 1382fec9e8c5f82f4c5bff8bcf22184d28cc7c5b..7fcb1ac0f2325fd73903066953430fb1fa5af64f 100644 (file)
@@ -50,6 +50,7 @@ ethernet@b0000 {
        fsl,num_tx_queues = <0x8>;
        fsl,magic-packet;
        local-mac-address = [ 00 00 00 00 00 00 ];
+       ranges;
 
        queue-group@b0000 {
                #address-cells = <1>;
index 221cd2ea5b3124260e411f697b861da19a9c9920..9f25427c152785c36ed83fee53a5c846820b3f2c 100644 (file)
@@ -50,6 +50,7 @@ ethernet@b1000 {
        fsl,num_tx_queues = <0x8>;
        fsl,magic-packet;
        local-mac-address = [ 00 00 00 00 00 00 ];
+       ranges;
 
        queue-group@b1000 {
                #address-cells = <1>;
index 61456c317609ce751b0551a45e26e0b117a29f4e..cd7c318ab131afac65198ab9556067ca59be04bf 100644 (file)
@@ -49,6 +49,7 @@ ethernet@b2000 {
        fsl,num_tx_queues = <0x8>;
        fsl,magic-packet;
        local-mac-address = [ 00 00 00 00 00 00 ];
+       ranges;
 
        queue-group@b2000 {
                #address-cells = <1>;