aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
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 /target/linux
parent79741dc379178977a68672f8180f7d07796aae07 (diff)
downloadupstream-d76ee5bfac68687cb01b70f2d3d400d653ecd9c8.tar.gz
upstream-d76ee5bfac68687cb01b70f2d3d400d653ecd9c8.tar.bz2
upstream-d76ee5bfac68687cb01b70f2d3d400d653ecd9c8.zip
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>
Diffstat (limited to 'target/linux')
-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 779e23e61f..7f036186e4 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>;
};