[openwrt/openwrt] ramips: mt7621-dts: add missing device_type in pcie root ports
LEDE Commits
lede-commits at lists.infradead.org
Sat Nov 6 15:41:20 PDT 2021
chunkeey pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/2bc659ee07fa06b82a6272185865cac29819c254
commit 2bc659ee07fa06b82a6272185865cac29819c254
Author: Sergio Paracuellos <sergio.paracuellos at gmail.com>
AuthorDate: Thu May 6 19:07:42 2021 +0200
ramips: mt7621-dts: add missing device_type in pcie root ports
According 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 <sergio.paracuellos at gmail.com>
Link: https://lore.kernel.org/r/20210506170742.28196-3-sergio.paracuellos@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
---
target/linux/ramips/dts/mt7621.dtsi | 3 +++
1 file changed, 3 insertions(+)
diff --git a/target/linux/ramips/dts/mt7621.dtsi b/target/linux/ramips/dts/mt7621.dtsi
index f9d719cf52..d1c4756cec 100644
--- a/target/linux/ramips/dts/mt7621.dtsi
+++ b/target/linux/ramips/dts/mt7621.dtsi
@@ -578,6 +578,7 @@
reg = <0x0000 0 0 0 0>;
#address-cells = <3>;
#size-cells = <2>;
+ device_type = "pci";
ranges;
};
@@ -585,6 +586,7 @@
reg = <0x0800 0 0 0 0>;
#address-cells = <3>;
#size-cells = <2>;
+ device_type = "pci";
ranges;
};
@@ -592,6 +594,7 @@
reg = <0x1000 0 0 0 0>;
#address-cells = <3>;
#size-cells = <2>;
+ device_type = "pci";
ranges;
};
};
More information about the lede-commits
mailing list