1
0
Fork 0

MLK-24440: dts: arm64: freescale: imx8mn ddr4 ab2 Add usb otg node

Add usb otg node in imx8mn ddr4 ab2 dts

Signed-off-by: Dong Hongting <hongting.dong@nxp.com>
Reviewed-by: Adrian Alonso <adrian.alonso@nxp.com>
(cherry picked from commit 3fecbef38c160022dcf03cf3c029a606abae72f7)
5.4-rM2-2.2.x-imx-squashed
Dong Hongting 2020-08-18 09:33:04 +08:00 committed by Adrian Alonso
parent d71fb772f7
commit 876712c1fa
1 changed files with 52 additions and 0 deletions

View File

@ -242,6 +242,12 @@
>;
};
pinctrl_typec1: typec1grp {
fsl,pins = <
MX8MN_IOMUXC_SD1_STROBE_GPIO2_IO11 0x159
>;
};
pinctrl_uart1: uart1grp {
fsl,pins = <
MX8MN_IOMUXC_UART1_RXD_UART1_DCE_RX 0x140
@ -434,6 +440,35 @@
};
};
ptn5110_1: tcpc@50 {
compatible = "nxp,ptn5110";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_typec1>;
reg = <0x50>;
interrupt-parent = <&gpio2>;
interrupts = <11 8>;
status = "okay";
port {
typec1_dr_sw: endpoint {
remote-endpoint = <&usb1_drd_sw>;
};
};
typec1_con: connector {
compatible = "usb-c-connector";
label = "USB-C";
power-role = "dual";
data-role = "dual";
try-power-role = "sink";
source-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>;
sink-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)
PDO_VAR(5000, 20000, 3000)>;
op-sink-microwatt = <15000000>;
self-powered;
};
};
pca6408_2: gpio@20 {
compatible = "ti,tca6408";
reg = <0x20>;
@ -655,6 +690,23 @@
status = "okay";
};
&usbotg1 {
dr_mode = "host";
hnp-disable;
srp-disable;
adp-disable;
usb-role-switch;
picophy,pre-emp-curr-control = <3>;
picophy,dc-vol-level-adjust = <7>;
status = "okay";
port {
usb1_drd_sw: endpoint {
remote-endpoint = <&typec1_dr_sw>;
};
};
};
&usdhc1 {
#address-cells = <1>;
#size-cells = <0>;