staging: mt7621-dts: fix some pcie node properties
Subsystems (2)
cover staging: mt7621-dts: fix some pcie node properties
Hi,
Some minor changes in pcie node to be compliant with 'pci-bus.yaml' schema definition.
Best regards,
Sergio Paracuellos
Sergio Paracuellos (2):
staging: mt7621-dts: remove 'bug-range' property
staging: mt7621-dts: add missing device_type in pcie root ports
drivers/staging/mt7621-dts/mt7621.dtsi | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)
Signature · 1 line
2.25.1
PATCH 1/2 staging: mt7621-dts: remove 'bug-range' property
Property 'bus-range' when values are the default are not necessary to be defined. Hence, remove all of them.
Signed-off-by Sergio Paracuellos <[email protected]>
--- drivers/staging/mt7621-dts/mt7621.dtsi | 4 ---- 1 file changed, 4 deletions(-)
drivers/staging/mt7621-dts/mt7621.dtsi +0 -4
@@ -489,7 +489,6 @@ pcie: pcie@1e140000 { device_type = "pci"; - bus-range = <0 255>; ranges = <0x02000000 0 0x00000000 0x60000000 0 0x10000000>, /* pci memory */ <0x01000000 0 0x00000000 0x1e160000 0 0x00010000>; /* io space */
@@ -520,7 +519,6 @@ pcie@0,0 { interrupt-map-mask = <0 0 0 0>; interrupt-map = <0 0 0 0 &gic GIC_SHARED 4 IRQ_TYPE_LEVEL_HIGH>; ranges; - bus-range = <0x00 0xff>; }; pcie@1,0 {
@@ -531,7 +529,6 @@ pcie@1,0 { interrupt-map-mask = <0 0 0 0>; interrupt-map = <0 0 0 0 &gic GIC_SHARED 24 IRQ_TYPE_LEVEL_HIGH>; ranges; - bus-range = <0x00 0xff>; }; pcie@2,0 {
@@ -542,7 +539,6 @@ pcie@2,0 { interrupt-map-mask = <0 0 0 0>; interrupt-map = <0 0 0 0 &gic GIC_SHARED 25 IRQ_TYPE_LEVEL_HIGH>; ranges; - bus-range = <0x00 0xff>; }; };
Signature · 1 line
2.25.1
PATCH 2/2 staging: mt7621-dts: add missing device_type in pcie root ports
In reply to Sergio ParacuellosAccording to the YAML schema 'pci-bus.yaml' the 'device_type' property is mandatory for all pcie root ports. Hence add it.
Signed-off-by Sergio Paracuellos <[email protected]>
--- drivers/staging/mt7621-dts/mt7621.dtsi | 3 +++ 1 file changed, 3 insertions(+)
drivers/staging/mt7621-dts/mt7621.dtsi +3 -0
@@ -515,6 +515,7 @@ pcie@0,0 { reg = <0x0000 0 0 0 0>; #address-cells = <3>; #size-cells = <2>; + device_type = "pci"; #interrupt-cells = <1>; interrupt-map-mask = <0 0 0 0>; interrupt-map = <0 0 0 0 &gic GIC_SHARED 4 IRQ_TYPE_LEVEL_HIGH>;
@@ -525,6 +526,7 @@ pcie@1,0 { reg = <0x0800 0 0 0 0>; #address-cells = <3>; #size-cells = <2>; + device_type = "pci"; #interrupt-cells = <1>; interrupt-map-mask = <0 0 0 0>; interrupt-map = <0 0 0 0 &gic GIC_SHARED 24 IRQ_TYPE_LEVEL_HIGH>;
@@ -535,6 +537,7 @@ pcie@2,0 { reg = <0x1000 0 0 0 0>; #address-cells = <3>; #size-cells = <2>; + device_type = "pci"; #interrupt-cells = <1>; interrupt-map-mask = <0 0 0 0>; interrupt-map = <0 0 0 0 &gic GIC_SHARED 25 IRQ_TYPE_LEVEL_HIGH>;
Signature · 1 line
2.25.1