arm64: dts: imx8ulp-evk: enable usb nodes and add ptn5150 nodes
Enable 2 USB nodes and add 2 PTN5150 nodes on i.MX8ULP evk board. Signed-off-by: Xu Yang <xu.yang_2@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
parent
95049bf5e6
commit
c4b4593ecb
@ -127,12 +127,70 @@
|
||||
pinctrl-1 = <&pinctrl_lpi2c7>;
|
||||
status = "okay";
|
||||
|
||||
ptn5150_1: typec@1d {
|
||||
compatible = "nxp,ptn5150";
|
||||
reg = <0x1d>;
|
||||
int-gpios = <&gpiof 3 IRQ_TYPE_EDGE_FALLING>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_typec1>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
pcal6408: gpio@21 {
|
||||
compatible = "nxp,pcal9554b";
|
||||
reg = <0x21>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
};
|
||||
|
||||
ptn5150_2: typec@3d {
|
||||
compatible = "nxp,ptn5150";
|
||||
reg = <0x3d>;
|
||||
int-gpios = <&gpiof 5 IRQ_TYPE_EDGE_FALLING>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_typec2>;
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
|
||||
&usbotg1 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_usb1>;
|
||||
dr_mode = "otg";
|
||||
hnp-disable;
|
||||
srp-disable;
|
||||
adp-disable;
|
||||
over-current-active-low;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usbphy1 {
|
||||
fsl,tx-d-cal = <110>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usbmisc1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usbotg2 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_usb2>;
|
||||
dr_mode = "otg";
|
||||
hnp-disable;
|
||||
srp-disable;
|
||||
adp-disable;
|
||||
over-current-active-low;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usbphy2 {
|
||||
fsl,tx-d-cal = <110>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usbmisc2 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usdhc0 {
|
||||
@ -224,6 +282,32 @@
|
||||
>;
|
||||
};
|
||||
|
||||
pinctrl_typec1: typec1grp {
|
||||
fsl,pins = <
|
||||
MX8ULP_PAD_PTF3__PTF3 0x3
|
||||
>;
|
||||
};
|
||||
|
||||
pinctrl_typec2: typec2grp {
|
||||
fsl,pins = <
|
||||
MX8ULP_PAD_PTF5__PTF5 0x3
|
||||
>;
|
||||
};
|
||||
|
||||
pinctrl_usb1: usb1grp {
|
||||
fsl,pins = <
|
||||
MX8ULP_PAD_PTF2__USB0_ID 0x10003
|
||||
MX8ULP_PAD_PTF4__USB0_OC 0x10003
|
||||
>;
|
||||
};
|
||||
|
||||
pinctrl_usb2: usb2grp {
|
||||
fsl,pins = <
|
||||
MX8ULP_PAD_PTD23__USB1_ID 0x10003
|
||||
MX8ULP_PAD_PTF6__USB1_OC 0x10003
|
||||
>;
|
||||
};
|
||||
|
||||
pinctrl_usdhc0: usdhc0grp {
|
||||
fsl,pins = <
|
||||
MX8ULP_PAD_PTD1__SDHC0_CMD 0x3
|
||||
|
Loading…
x
Reference in New Issue
Block a user