Skip to content

Commit c62f6e2

Browse files
jason77-wangShawn Guo
authored andcommitted
ARM: dts: imx6qdl-sabresd: add dr_mode to usbotg
Currently there are 3 type of boards (imx6q|imx6qp|imx6dl-sabresd) based on imx6qdl-sabresd.dtsi, they all do not set the dr_mode for usbotg device node. The chipidea usb driver will configure it to otg mode by default if the dr_mode is not set, but some testcases need to parse the dr_mode from DT and decide the follow-up test strategy, here set the dr_mode to otg explicitly for these 3 imx6qdl-sabresd based boards. Signed-off-by: Hui Wang <hui.wang@canonical.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
1 parent 8be3e47 commit c62f6e2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

arch/arm/boot/dts/nxp/imx/imx6qdl-sabresd.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -804,6 +804,7 @@
804804
pinctrl-names = "default";
805805
pinctrl-0 = <&pinctrl_usbotg>;
806806
disable-over-current;
807+
dr_mode = "otg";
807808
status = "okay";
808809
};
809810

0 commit comments

Comments
 (0)