[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211110192417.4177741-3-fparent@baylibre.com>
Date: Wed, 10 Nov 2021 20:24:17 +0100
From: Fabien Parent <fparent@...libre.com>
To: Rob Herring <robh+dt@...nel.org>,
Matthias Brugger <matthias.bgg@...il.com>
Cc: Fabien Parent <fparent@...libre.com>, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: [PATCH 3/3] arm64: dts: mediatek: mt8183-pumpkin: add USB host support
The MT8183 Pumpkin board provides USB host support through 2 type-A
ports. In addition the board provides Ethernet support
with the LAN9512 IP connected on the USB bus.
Signed-off-by: Fabien Parent <fparent@...libre.com>
---
.../boot/dts/mediatek/mt8183-pumpkin.dts | 26 +++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts b/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts
index d5a6628e9c5b..541b382c0e81 100644
--- a/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts
+++ b/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts
@@ -434,6 +434,18 @@ pins_gpio {
<PINMUX_GPIO28__FUNC_GPIO28>;
};
};
+
+ usb_pins: usb-pins {
+ pins_usb {
+ pinmux = <PINMUX_GPIO42__FUNC_GPIO42>;
+ output-low;
+ };
+
+ pins_hub_rst {
+ pinmux = <PINMUX_GPIO9__FUNC_GPIO9>;
+ output-low;
+ };
+ };
};
&mfg {
@@ -496,3 +508,17 @@ dpi_out: endpoint {
};
};
};
+
+&ssusb {
+ pinctrl-names = "default";
+ pinctrl-0 = <&usb_pins>;
+ maximum-speed = "high-speed";
+ dr_mode = "host";
+ vusb33-supply = <&mt6358_vusb_reg>;
+ status = "okay";
+};
+
+&usb_host {
+ vusb33-supply = <&mt6358_vusb_reg>;
+ status = "okay";
+};
--
2.33.1
Powered by blists - more mailing lists