ARM: dts: aspeed: p10: Enable USB host ports

Ensure both controllers are enabled on, and add GPIO hog for USB power
control to set the USB power to always on.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Link: https://lore.kernel.org/r/20211208170641.13322-1-eajames@linux.ibm.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
This commit is contained in:
Eddie James 2021-12-08 11:06:40 -06:00 committed by Joel Stanley
parent 30daf3cd89
commit 1fe5c05c7c
2 changed files with 17 additions and 1 deletions

View File

@ -280,7 +280,7 @@ &gpio0 {
/*L0-L7*/ "","","","","","","","",
/*M0-M7*/ "","","","","","","","",
/*N0-N7*/ "","","","","","","","",
/*O0-O7*/ "","","","","","","","",
/*O0-O7*/ "","","","usb-power","","","","",
/*P0-P7*/ "","","","","led-pcieslot-power","","","",
/*Q0-Q7*/ "","","regulator-standby-faulted","","","","","",
/*R0-R7*/ "bmc-tpm-reset","power-chassis-control","power-chassis-good","","","I2C_FLASH_MICRO_N","","",
@ -292,6 +292,12 @@ &gpio0 {
/*X0-X7*/ "","","","","","","","",
/*Y0-Y7*/ "","","","","","","","",
/*Z0-Z7*/ "","","","","","","","";
usb_power {
gpio-hog;
gpios = <ASPEED_GPIO(O, 3) GPIO_ACTIVE_LOW>;
output-high;
};
};
&i2c0 {
@ -2375,6 +2381,10 @@ i2c15mux2chn3: i2c@3 {
};
};
&ehci0 {
status = "okay";
};
&ehci1 {
status = "okay";
};

View File

@ -275,6 +275,12 @@ i2c3_mux_oe_n {
output-high;
line-name = "I2C3_MUX_OE_N";
};
usb_power {
gpio-hog;
gpios = <ASPEED_GPIO(O, 3) GPIO_ACTIVE_LOW>;
output-high;
};
};
&emmc_controller {