mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
colibri-imx8x: configure usb hub to bypass mode
This change configures Toradex Colibri iMX8X SoM USB hub to bypass mode, and brings out of the reset state. Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
This commit is contained in:
parent
9c59447444
commit
8a72d193cf
3 changed files with 16 additions and 2 deletions
|
@ -84,6 +84,21 @@
|
|||
bootph-some-ram;
|
||||
};
|
||||
|
||||
&gpio_expander_43 {
|
||||
usb-bypass-n-hog {
|
||||
gpio-hog;
|
||||
gpios = <5 GPIO_ACTIVE_LOW>;
|
||||
line-name = "usb-bypass-n";
|
||||
output-high;
|
||||
};
|
||||
usb-reset-n-hog {
|
||||
gpio-hog;
|
||||
gpios = <4 GPIO_ACTIVE_LOW>;
|
||||
line-name = "usb-reset-n";
|
||||
output-low;
|
||||
};
|
||||
};
|
||||
|
||||
&gpio0 {
|
||||
bootph-some-ram;
|
||||
};
|
||||
|
|
|
@ -319,8 +319,6 @@
|
|||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
reg = <0x43>;
|
||||
initial_io_dir = <0xff>;
|
||||
initial_output = <0x05>;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -65,6 +65,7 @@ CONFIG_BOOTCOUNT_LIMIT=y
|
|||
CONFIG_BOOTCOUNT_ENV=y
|
||||
CONFIG_CLK_IMX8=y
|
||||
CONFIG_CPU=y
|
||||
CONFIG_GPIO_HOG=y
|
||||
CONFIG_FXL6408_GPIO=y
|
||||
CONFIG_MXC_GPIO=y
|
||||
CONFIG_DM_I2C=y
|
||||
|
|
Loading…
Reference in a new issue