projects
/
openwrt
/
staging
/
xback.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79741dc
)
lantiq: specify the PCIe controller's interrupt, size and address cells
author
Martin Blumenstingl
<
[email protected]
>
Sat, 26 Nov 2016 00:01:11 +0000
(
01:01
+0100)
committer
John Crispin
<
[email protected]
>
Sat, 26 Nov 2016 21:39:27 +0000
(22:39 +0100)
This allows adding devices to the PCIe controller in the .dts files.
Signed-off-by: Martin Blumenstingl <
[email protected]
>
target/linux/lantiq/dts/vr9.dtsi
patch
|
blob
|
history
diff --git
a/target/linux/lantiq/dts/vr9.dtsi
b/target/linux/lantiq/dts/vr9.dtsi
index 779e23e61f7315ea75e8672572b80586fd435444..7f036186e4b74f633414c1b971480976b8478d9a 100644
(file)
--- 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>;
};