Skip to contentSkip to conversation

ARM: dts: am572x-idk: Add gpios property to control PCIE_RESETn

PATCH In review Kishon Vijay Abraham I 2 participants 2 messages Dec 30, 2016 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: am572x-idk: Add gpios property to control PCIE_RESETn

Add 'gpios' property to pcie1 dt node and populate it with GPIO3_23 in order to drive PCIE_RESETn high.

This gets PCIe cards to be detected in AM572X IDK board.

---
 arch/arm/boot/dts/am572x-idk.dts |    4 ++++
 1 file changed, 4 insertions(+)
arch/arm/boot/dts/am572x-idk.dts +4 -0
index 27d9149..1540f7a 100644
@@ -87,3 +87,7 @@
 &sn65hvs882 {
 	load-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>;
 };
+
+&pcie1 {
+	gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>;
+};
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 15 lines · Kishon Vijay Abraham I

Add 'gpios' property to pcie1 dt node and populate it with GPIO3_23 in order to drive PCIE_RESETn high.

This gets PCIe cards to be detected in AM572X IDK board.

---
 arch/arm/boot/dts/am572x-idk.dts |    4 ++++
 1 file changed, 4 insertions(+)
arch/arm/boot/dts/am572x-idk.dts +0 -0
index 27d9149..1540f7a 100644

arch/arm/boot/dts/am572x-idk.dts line 93

Quoted 7 lines
arch/arm/boot/dts/am572x-idk.dts +4 -0
@@ -87,3 +87,7 @@
 &sn65hvs882 {
 	load-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>;
 };
+
+&pcie1 {
+	gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>;
+};

I'll apply this into omap-for-v4.10/fixes thanks.

Tony