Commit 69ef7d9c authored by Francesco Dolcini's avatar Francesco Dolcini Committed by Nishanth Menon

arm64: dts: ti: k3-am625-verdin: add PCIe reset gpio hog

Add a GPIO hog to release PCIe reset on the carrier board, this is
required to use M.2 or mPCIe cards.

Verdin AM62 does not have any PCIe interface, however the Verdin family
has PCIe and normally an M.2 or mPCIe slot is available in the carrier
board that can be used with cards that use only the USB interface toward
the host CPU, for example cellular network modem.
Signed-off-by: default avatarFrancesco Dolcini <francesco.dolcini@toradex.com>
Link: https://lore.kernel.org/r/20240327182801.5997-3-francesco@dolcini.itSigned-off-by: default avatarNishanth Menon <nm@ti.com>
parent 3358aedf
......@@ -160,7 +160,8 @@ &mcu_gpio0 {
pinctrl-0 = <&pinctrl_gpio_1>,
<&pinctrl_gpio_2>,
<&pinctrl_gpio_3>,
<&pinctrl_gpio_4>;
<&pinctrl_gpio_4>,
<&pinctrl_pcie_1_reset>;
};
/* Verdin I2C_3_HDMI */
......@@ -211,6 +212,11 @@ &verdin_gpio_keys {
status = "okay";
};
/* Verdin PCIE_1_RESET# */
&verdin_pcie_1_reset_hog {
status = "okay";
};
/* Verdin UART_2 */
&wkup_uart0 {
status = "okay";
......
......@@ -181,7 +181,8 @@ &mcu_gpio0 {
pinctrl-0 = <&pinctrl_gpio_1>,
<&pinctrl_gpio_2>,
<&pinctrl_gpio_3>,
<&pinctrl_gpio_4>;
<&pinctrl_gpio_4>,
<&pinctrl_pcie_1_reset>;
};
/* Verdin I2C_3_HDMI */
......@@ -232,6 +233,11 @@ &verdin_gpio_keys {
status = "okay";
};
/* Verdin PCIE_1_RESET# */
&verdin_pcie_1_reset_hog {
status = "okay";
};
/* Verdin UART_2 */
&wkup_uart0 {
status = "okay";
......
......@@ -154,7 +154,8 @@ &mcu_gpio0 {
pinctrl-0 = <&pinctrl_gpio_1>,
<&pinctrl_gpio_2>,
<&pinctrl_gpio_3>,
<&pinctrl_gpio_4>;
<&pinctrl_gpio_4>,
<&pinctrl_pcie_1_reset>;
};
/* Verdin I2C_3_HDMI */
......@@ -200,6 +201,11 @@ &verdin_gpio_keys {
status = "okay";
};
/* Verdin PCIE_1_RESET# */
&verdin_pcie_1_reset_hog {
status = "okay";
};
/* Verdin UART_2 */
&wkup_uart0 {
status = "okay";
......
......@@ -159,7 +159,8 @@ &mcu_gpio0 {
pinctrl-0 = <&pinctrl_gpio_1>,
<&pinctrl_gpio_2>,
<&pinctrl_gpio_3>,
<&pinctrl_gpio_4>;
<&pinctrl_gpio_4>,
<&pinctrl_pcie_1_reset>;
};
/* Verdin I2C_3_HDMI */
......@@ -205,6 +206,11 @@ &verdin_gpio_keys {
status = "okay";
};
/* Verdin PCIE_1_RESET# */
&verdin_pcie_1_reset_hog {
status = "okay";
};
/* Verdin UART_2 */
&wkup_uart0 {
status = "okay";
......
......@@ -1413,6 +1413,15 @@ &mcu_gpio0 {
"",
"",
"";
verdin_pcie_1_reset_hog: pcie-1-reset-hog {
gpio-hog;
/* Verdin PCIE_1_RESET# (SODIMM 244) */
gpios = <0 GPIO_ACTIVE_LOW>;
line-name = "PCIE_1_RESET#";
output-low;
status = "disabled";
};
};
/* Verdin CAN_2 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment