Эх сурвалжийг харах

powerpc/mpc85xx: Add ranges to etsec2 nodes

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>
Scott Wood 10 жил өмнө
parent
commit
bb344ca5b9

+ 1 - 0
arch/powerpc/boot/dts/fsl/pq3-etsec2-0.dtsi

@@ -50,6 +50,7 @@ ethernet@b0000 {
 	fsl,num_tx_queues = <0x8>;
 	fsl,num_tx_queues = <0x8>;
 	fsl,magic-packet;
 	fsl,magic-packet;
 	local-mac-address = [ 00 00 00 00 00 00 ];
 	local-mac-address = [ 00 00 00 00 00 00 ];
+	ranges;
 
 
 	queue-group@b0000 {
 	queue-group@b0000 {
 		#address-cells = <1>;
 		#address-cells = <1>;

+ 1 - 0
arch/powerpc/boot/dts/fsl/pq3-etsec2-1.dtsi

@@ -50,6 +50,7 @@ ethernet@b1000 {
 	fsl,num_tx_queues = <0x8>;
 	fsl,num_tx_queues = <0x8>;
 	fsl,magic-packet;
 	fsl,magic-packet;
 	local-mac-address = [ 00 00 00 00 00 00 ];
 	local-mac-address = [ 00 00 00 00 00 00 ];
+	ranges;
 
 
 	queue-group@b1000 {
 	queue-group@b1000 {
 		#address-cells = <1>;
 		#address-cells = <1>;

+ 1 - 0
arch/powerpc/boot/dts/fsl/pq3-etsec2-2.dtsi

@@ -49,6 +49,7 @@ ethernet@b2000 {
 	fsl,num_tx_queues = <0x8>;
 	fsl,num_tx_queues = <0x8>;
 	fsl,magic-packet;
 	fsl,magic-packet;
 	local-mac-address = [ 00 00 00 00 00 00 ];
 	local-mac-address = [ 00 00 00 00 00 00 ];
+	ranges;
 
 
 	queue-group@b2000 {
 	queue-group@b2000 {
 		#address-cells = <1>;
 		#address-cells = <1>;