Jelajahi Sumber

ramips: mt7621: pbr-m1: add pcie reset for asm1061

this board has a pcie to sata bridge connected to pcie2 with a
separated pcie reset on gpio7.
add reset-gpios and corresponding pinctrl nodes into dts.

Signed-off-by: Chuanhong Guo <[email protected]>
Chuanhong Guo 5 tahun lalu
induk
melakukan
6f2c95f0cf
1 mengubah file dengan 12 tambahan dan 0 penghapusan
  1. 12 0
      target/linux/ramips/dts/mt7621_d-team_pbr-m1.dts

+ 12 - 0
target/linux/ramips/dts/mt7621_d-team_pbr-m1.dts

@@ -144,8 +144,20 @@
 	};
 };
 
+&pinctrl {
+	uart3_gpio: uart3-gpio {
+		uart3 {
+			groups = "uart3";
+			function = "gpio";
+		};
+	};
+};
+
 &pcie {
 	status = "okay";
+	pinctrl-0 = <&pcie_pins>, <&uart3_gpio>;
+	reset-gpios = <&gpio 19 GPIO_ACTIVE_LOW>,
+		      <&gpio 7 GPIO_ACTIVE_LOW>;
 };
 
 &pcie0 {