]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ARM: dts: imx6qdl-sabresd: add dr_mode to usbotg
authorHui Wang <hui.wang@canonical.com>
Mon, 16 Dec 2024 04:07:22 +0000 (12:07 +0800)
committerShawn Guo <shawnguo@kernel.org>
Mon, 30 Dec 2024 07:48:42 +0000 (15:48 +0800)
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>
arch/arm/boot/dts/nxp/imx/imx6qdl-sabresd.dtsi

index 7fac1d2aa199a7191ea72afe62d04c81e424d100..960e83f5e9043babb5fb9cc979208cdd94256cc8 100644 (file)
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_usbotg>;
        disable-over-current;
+       dr_mode = "otg";
        status = "okay";
 };