[source] lantiq: specify the PCIe controller's interrupt, size and address cells
LEDE Commits
lede-commits at lists.infradead.org
Sat Nov 26 13:40:22 PST 2016
blogic pushed a commit to source.git, branch master:
https://git.lede-project.org/d76ee5bfac68687cb01b70f2d3d400d653ecd9c8
commit d76ee5bfac68687cb01b70f2d3d400d653ecd9c8
Author: Martin Blumenstingl <martin.blumenstingl at googlemail.com>
AuthorDate: Sat Nov 26 01:01:11 2016 +0100
lantiq: specify the PCIe controller's interrupt, size and address cells
This allows adding devices to the PCIe controller in the .dts files.
Signed-off-by: Martin Blumenstingl <martin.blumenstingl at googlemail.com>
---
target/linux/lantiq/dts/vr9.dtsi | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/target/linux/lantiq/dts/vr9.dtsi b/target/linux/lantiq/dts/vr9.dtsi
index 779e23e..7f03618 100644
--- a/target/linux/lantiq/dts/vr9.dtsi
+++ b/target/linux/lantiq/dts/vr9.dtsi
@@ -210,10 +210,18 @@
interrupts = <96>;
};
- pcie at d900000 {
+ pcie0: pcie at d900000 {
+ compatible = "lantiq,pcie-xrx200";
+
+ #interrupt-cells = <1>;
+ #size-cells = <2>;
+ #address-cells = <3>;
+
interrupt-parent = <&icu0>;
interrupts = <161 144>;
- compatible = "lantiq,pcie-xrx200";
+
+ device_type = "pci";
+
gpio-reset = <&gpio 38 GPIO_ACTIVE_HIGH>;
};
More information about the lede-commits
mailing list