From: Srinivas Kandagatla <[email protected]>

This patch adds enables 3 instances of root complexes which are
exposed on DB820c board. 3 Instances are terminted as below
PCIE0 => QCA6174
PCIE1 => MINI PCIE CARD
PCIE2 => GBE ETHERNET

Signed-off-by: Srinivas Kandagatla <[email protected]>
---
 arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi 
b/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi
index 789f3e87321e..18c61693529e 100644
--- a/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi
+++ b/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi
@@ -138,6 +138,22 @@
                        pinctrl-names = "default";
                        pinctrl-0 = <&usb2_vbus_det_gpio>;
                };
+
+               agnoc@0 {
+                       qcom,pcie@00600000 {
+                               perst-gpio = <&msmgpio 35 GPIO_ACTIVE_LOW>;
+                       };
+
+                       qcom,pcie@00608000 {
+                               status = "okay";
+                               perst-gpio = <&msmgpio 130 GPIO_ACTIVE_LOW>;
+                       };
+
+                       qcom,pcie@00610000 {
+                               status = "okay";
+                               perst-gpio = <&msmgpio 114 GPIO_ACTIVE_LOW>;
+                       };
+               };
        };
 
 
-- 
2.11.0

Reply via email to