mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-25 21:24:21 +08:00
colibri-imx8x: add on-module gpio expander fxl6408
The FXL6408 GPIO expander manages critical devices, including on-module USB hub. Configure the expander to switch the USB hub into bypass mode, allowing to use on-carrier-board USB hub. Signed-off-by: Oleksandr Suvorov <cryosay@gmail.com> Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
This commit is contained in:
parent
99dd2549a1
commit
4821074bec
@ -129,6 +129,14 @@
|
|||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/* On Module I2C */
|
||||||
|
pinctrl_i2c0: i2c0grp {
|
||||||
|
fsl,pins = <
|
||||||
|
SC_P_MIPI_CSI0_GPIO0_00_ADMA_I2C0_SCL 0x06000021
|
||||||
|
SC_P_MIPI_CSI0_GPIO0_01_ADMA_I2C0_SDA 0x06000021
|
||||||
|
>;
|
||||||
|
};
|
||||||
|
|
||||||
/* Off Module I2C */
|
/* Off Module I2C */
|
||||||
pinctrl_i2c1: i2c1grp {
|
pinctrl_i2c1: i2c1grp {
|
||||||
fsl,pins = <
|
fsl,pins = <
|
||||||
@ -298,6 +306,25 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&i2c0 {
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
clock-frequency = <100000>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&pinctrl_i2c0>;
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
/* GPIO expander */
|
||||||
|
gpio_expander_43: gpio-expander@43 {
|
||||||
|
compatible = "fcs,fxl6408";
|
||||||
|
gpio-controller;
|
||||||
|
#gpio-cells = <2>;
|
||||||
|
reg = <0x43>;
|
||||||
|
initial_io_dir = <0xff>;
|
||||||
|
initial_output = <0x05>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
&i2c1 {
|
&i2c1 {
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
|
@ -41,6 +41,7 @@ CONFIG_TFTP_BLOCKSIZE=4096
|
|||||||
CONFIG_TFTP_TSIZE=y
|
CONFIG_TFTP_TSIZE=y
|
||||||
CONFIG_CLK_IMX8=y
|
CONFIG_CLK_IMX8=y
|
||||||
CONFIG_CPU=y
|
CONFIG_CPU=y
|
||||||
|
CONFIG_FXL6408_GPIO=y
|
||||||
CONFIG_MXC_GPIO=y
|
CONFIG_MXC_GPIO=y
|
||||||
CONFIG_DM_I2C=y
|
CONFIG_DM_I2C=y
|
||||||
CONFIG_SYS_I2C_IMX_LPI2C=y
|
CONFIG_SYS_I2C_IMX_LPI2C=y
|
||||||
|
Loading…
Reference in New Issue
Block a user