summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>2016-11-26 01:01:11 +0100
committerJohn Crispin <john@phrozen.org>2016-11-26 22:39:27 +0100
commitd76ee5bfac68687cb01b70f2d3d400d653ecd9c8 (patch)
tree07b8656ae3a7e514c92c086897e0fe6aa77250ba
parent79741dc379178977a68672f8180f7d07796aae07 (diff)
downloadmtk-20170518-d76ee5bfac68687cb01b70f2d3d400d653ecd9c8.zip
mtk-20170518-d76ee5bfac68687cb01b70f2d3d400d653ecd9c8.tar.gz
mtk-20170518-d76ee5bfac68687cb01b70f2d3d400d653ecd9c8.tar.bz2
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@googlemail.com>
-rw-r--r--target/linux/lantiq/dts/vr9.dtsi12
1 files 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@d900000 {
+ pcie0: pcie@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>;
};