device-tree: am64x: gemini: add reset signal support

Add support for the Gemini reset gpios.
This commit is contained in:
Stefan Eichenberger 2023-01-23 11:20:23 +01:00
parent 3ad9d4965e
commit 8d686ff5b3
1 changed files with 33 additions and 1 deletions

View File

@ -119,6 +119,13 @@
>;
};
gpio1_pins: gpio1-pins {
pinctrl-single,pins = <
AM64X_IOPAD(0x01a8, PIN_OUTPUT, 7) /* (V1) PRG0_PRU0_GPO18.GPIO1_18 */
AM64X_IOPAD(0x01ac, PIN_OUTPUT, 7) /* (W1) PRG0_PRU0_GPO19.GPIO1_19 */
>;
};
main_i2c2_pins_default: main-i2c2-pins-default {
pinctrl-single,pins = <
AM64X_IOPAD(0x00B0, PIN_INPUT_PULLUP, 1) /* (P19) I2C2_SCL */
@ -334,11 +341,36 @@
};
};
&main_gpio0 {
hub_rst {
gpio-hog;
gpios = <19 GPIO_ACTIVE_HIGH>;
output-high;
line-name = "HUB_RST";
};
gnss_rst {
gpio-hog;
gpios = <39 GPIO_ACTIVE_HIGH>;
output-high;
line-name = "GNSS_RST";
};
};
&main_gpio1 {
status = "okay";
ti,ngpio = <88>;
pinctrl-names = "default";
pinctrl-0 = <&gpio1_pins>;
phy_reset {
brdr_rst {
gpio-hog;
gpios = <18 GPIO_ACTIVE_HIGH>;
output-high;
line-name = "BRDR_RST";
};
eth_rst {
gpio-hog;
gpios = <19 GPIO_ACTIVE_HIGH>;
output-high;