From: Martin Blumenstingl Date: Sat, 26 Nov 2016 00:01:11 +0000 (+0100) Subject: lantiq: specify the PCIe controller's interrupt, size and address cells X-Git-Tag: v17.01.0-rc1~714 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d76ee5bfac68687cb01b70f2d3d400d653ecd9c8;p=openwrt%2Fstaging%2Fchunkeey.git 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 --- 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>; };