Browse Source

ARM: dts: am57xx-evm: Add 'gpios' property with gpio2_8

gpio2_8 is connected to the PCIe_RESETn line and it has to be driven low to
reset the PCIe cards.  Add gpios property to PCIe DT node.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Kishon Vijay Abraham I 10 years ago
parent
commit
73c8f0cbb0
2 changed files with 5 additions and 1 deletions
  1. 4 0
      arch/arm/boot/dts/am57xx-beagle-x15.dts
  2. 1 1
      arch/arm/boot/dts/dra7.dtsi

+ 4 - 0
arch/arm/boot/dts/am57xx-beagle-x15.dts

@@ -693,3 +693,7 @@
 		};
 	};
 };
+
+&pcie1 {
+	gpios = <&gpio2 8 GPIO_ACTIVE_LOW>;
+};

+ 1 - 1
arch/arm/boot/dts/dra7.dtsi

@@ -211,7 +211,7 @@
 			#address-cells = <1>;
 			ranges = <0x51000000 0x51000000 0x3000
 				  0x0	     0x20000000 0x10000000>;
-			pcie@51000000 {
+			pcie1: pcie@51000000 {
 				compatible = "ti,dra7-pcie";
 				reg = <0x51000000 0x2000>, <0x51002000 0x14c>, <0x1000 0x2000>;
 				reg-names = "rc_dbics", "ti_conf", "config";