dt-bindings: PCI: MediaTek: fix dtc warnings
dtc recently added PCI bus checks. Fix these warnings: Warning (pci_bridge): Node /pcie@1a140000/pcie@0,0 missing bus-range for PCI bridge Warning (pci_bridge): Node /pcie@1a140000/pcie@1,0 missing bus-range for PCI bridge Warning (pci_bridge): Node /pcie@1a140000/pcie@2,0 missing bus-range for PCI bridge Warning (unit_address_format): Failed prerequisite 'pci_bridge' Warning (pci_device_reg): Failed prerequisite 'pci_bridge' Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' Signed-off-by: Ryder Lee <ryder.lee@mediatek.com> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Reviewed-by: Rob Herring <robh@kernel.org>
This commit is contained in:
parent
7928b2cbe5
commit
af7b9b7983
|
@ -78,7 +78,7 @@ Examples for MT7623:
|
||||||
#reset-cells = <1>;
|
#reset-cells = <1>;
|
||||||
};
|
};
|
||||||
|
|
||||||
pcie: pcie-controller@1a140000 {
|
pcie: pcie@1a140000 {
|
||||||
compatible = "mediatek,mt7623-pcie";
|
compatible = "mediatek,mt7623-pcie";
|
||||||
device_type = "pci";
|
device_type = "pci";
|
||||||
reg = <0 0x1a140000 0 0x1000>, /* PCIe shared registers */
|
reg = <0 0x1a140000 0 0x1000>, /* PCIe shared registers */
|
||||||
|
@ -111,7 +111,6 @@ Examples for MT7623:
|
||||||
0x83000000 0 0x60000000 0 0x60000000 0 0x10000000>; /* memory space */
|
0x83000000 0 0x60000000 0 0x60000000 0 0x10000000>; /* memory space */
|
||||||
|
|
||||||
pcie@0,0 {
|
pcie@0,0 {
|
||||||
device_type = "pci";
|
|
||||||
reg = <0x0000 0 0 0 0>;
|
reg = <0x0000 0 0 0 0>;
|
||||||
#address-cells = <3>;
|
#address-cells = <3>;
|
||||||
#size-cells = <2>;
|
#size-cells = <2>;
|
||||||
|
@ -123,7 +122,6 @@ Examples for MT7623:
|
||||||
};
|
};
|
||||||
|
|
||||||
pcie@1,0 {
|
pcie@1,0 {
|
||||||
device_type = "pci";
|
|
||||||
reg = <0x0800 0 0 0 0>;
|
reg = <0x0800 0 0 0 0>;
|
||||||
#address-cells = <3>;
|
#address-cells = <3>;
|
||||||
#size-cells = <2>;
|
#size-cells = <2>;
|
||||||
|
@ -135,7 +133,6 @@ Examples for MT7623:
|
||||||
};
|
};
|
||||||
|
|
||||||
pcie@2,0 {
|
pcie@2,0 {
|
||||||
device_type = "pci";
|
|
||||||
reg = <0x1000 0 0 0 0>;
|
reg = <0x1000 0 0 0 0>;
|
||||||
#address-cells = <3>;
|
#address-cells = <3>;
|
||||||
#size-cells = <2>;
|
#size-cells = <2>;
|
||||||
|
@ -148,6 +145,7 @@ Examples for MT7623:
|
||||||
};
|
};
|
||||||
|
|
||||||
Examples for MT2712:
|
Examples for MT2712:
|
||||||
|
|
||||||
pcie: pcie@11700000 {
|
pcie: pcie@11700000 {
|
||||||
compatible = "mediatek,mt2712-pcie";
|
compatible = "mediatek,mt2712-pcie";
|
||||||
device_type = "pci";
|
device_type = "pci";
|
||||||
|
@ -169,7 +167,6 @@ Examples for MT2712:
|
||||||
ranges = <0x82000000 0 0x20000000 0x0 0x20000000 0 0x10000000>;
|
ranges = <0x82000000 0 0x20000000 0x0 0x20000000 0 0x10000000>;
|
||||||
|
|
||||||
pcie0: pcie@0,0 {
|
pcie0: pcie@0,0 {
|
||||||
device_type = "pci";
|
|
||||||
reg = <0x0000 0 0 0 0>;
|
reg = <0x0000 0 0 0 0>;
|
||||||
#address-cells = <3>;
|
#address-cells = <3>;
|
||||||
#size-cells = <2>;
|
#size-cells = <2>;
|
||||||
|
@ -189,7 +186,6 @@ Examples for MT2712:
|
||||||
};
|
};
|
||||||
|
|
||||||
pcie1: pcie@1,0 {
|
pcie1: pcie@1,0 {
|
||||||
device_type = "pci";
|
|
||||||
reg = <0x0800 0 0 0 0>;
|
reg = <0x0800 0 0 0 0>;
|
||||||
#address-cells = <3>;
|
#address-cells = <3>;
|
||||||
#size-cells = <2>;
|
#size-cells = <2>;
|
||||||
|
@ -210,6 +206,7 @@ Examples for MT2712:
|
||||||
};
|
};
|
||||||
|
|
||||||
Examples for MT7622:
|
Examples for MT7622:
|
||||||
|
|
||||||
pcie: pcie@1a140000 {
|
pcie: pcie@1a140000 {
|
||||||
compatible = "mediatek,mt7622-pcie";
|
compatible = "mediatek,mt7622-pcie";
|
||||||
device_type = "pci";
|
device_type = "pci";
|
||||||
|
@ -243,7 +240,6 @@ Examples for MT7622:
|
||||||
ranges = <0x82000000 0 0x20000000 0x0 0x20000000 0 0x10000000>;
|
ranges = <0x82000000 0 0x20000000 0x0 0x20000000 0 0x10000000>;
|
||||||
|
|
||||||
pcie0: pcie@0,0 {
|
pcie0: pcie@0,0 {
|
||||||
device_type = "pci";
|
|
||||||
reg = <0x0000 0 0 0 0>;
|
reg = <0x0000 0 0 0 0>;
|
||||||
#address-cells = <3>;
|
#address-cells = <3>;
|
||||||
#size-cells = <2>;
|
#size-cells = <2>;
|
||||||
|
@ -263,7 +259,6 @@ Examples for MT7622:
|
||||||
};
|
};
|
||||||
|
|
||||||
pcie1: pcie@1,0 {
|
pcie1: pcie@1,0 {
|
||||||
device_type = "pci";
|
|
||||||
reg = <0x0800 0 0 0 0>;
|
reg = <0x0800 0 0 0 0>;
|
||||||
#address-cells = <3>;
|
#address-cells = <3>;
|
||||||
#size-cells = <2>;
|
#size-cells = <2>;
|
||||||
|
|
Loading…
Reference in New Issue