ARM: dts: aspeed: p10: Enable USB host ports
authorEddie James <eajames@linux.ibm.com>
Wed, 8 Dec 2021 17:06:40 +0000 (11:06 -0600)
committerJoel Stanley <joel@jms.id.au>
Tue, 21 Dec 2021 04:59:43 +0000 (15:29 +1030)
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>
arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts
arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts

index f42e2d7..3e9edc8 100644 (file)
        /*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","","",
        /*X0-X7*/       "","","","","","","","",
        /*Y0-Y7*/       "","","","","","","","",
        /*Z0-Z7*/   "","","","","","","","";
+
+       usb_power {
+               gpio-hog;
+               gpios = <ASPEED_GPIO(O, 3) GPIO_ACTIVE_LOW>;
+               output-high;
+       };
 };
 
 &i2c0 {
        };
 };
 
+&ehci0 {
+       status = "okay";
+};
+
 &ehci1 {
        status = "okay";
 };
index 866f32c..cb7d86a 100644 (file)
                output-high;
                line-name = "I2C3_MUX_OE_N";
        };
+
+       usb_power {
+               gpio-hog;
+               gpios = <ASPEED_GPIO(O, 3) GPIO_ACTIVE_LOW>;
+               output-high;
+       };
 };
 
 &emmc_controller {