imx8m_evk.c : fix USB type C HW setup

parent 307bd2d8
......@@ -208,7 +208,7 @@ static void dwc3_nxp_usb_phy_init(struct dwc3_device *dwc3)
struct tcpc_port port;
struct tcpc_port_config port_config = {
.i2c_bus = 0,
.addr = 0x50,
.addr = 0x52,
.port_type = TYPEC_PORT_UFP,
.max_snk_mv = 20000,
.max_snk_ma = 3000,
......@@ -216,10 +216,10 @@ struct tcpc_port_config port_config = {
.op_snk_mv = 9000,
};
#define USB_TYPEC_SEL IMX_GPIO_NR(3, 15)
#define USB_TYPEC_SEL IMX_GPIO_NR(3, 12)
static iomux_v3_cfg_t ss_mux_gpio[] = {
IMX8MQ_PAD_NAND_RE_B__GPIO3_IO15 | MUX_PAD_CTRL(NO_PAD_CTRL),
MX8MQ_IOMUXC_NAND_DATA06_GPIO3_IO12 | MUX_PAD_CTRL(NO_PAD_CTRL),
};
void ss_mux_select(enum typec_cc_polarity pol)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment