* [PATCH] arm64: dts: qcom: monaco-arduino-monza: add USB-C controller and connector
@ 2026-04-21 10:16 Loic Poulain
2026-04-21 10:30 ` Konrad Dybcio
0 siblings, 1 reply; 2+ messages in thread
From: Loic Poulain @ 2026-04-21 10:16 UTC (permalink / raw)
To: andersson, konradybcio
Cc: krzk+dt, conor+dt, linux-arm-msm, devicetree, robh, Loic Poulain
Add the Cypress USB Type-C controller and associated connector.
The controller is connected over I2C12 and wired to the USB1 DWC3.
The USB-C connector routes both high-speed and super-speed signals.
Enable dual-role data and power over the USB-C connector.
Signed-off-by: Loic Poulain <loic.poulain@oss.qualcomm.com>
---
.../boot/dts/qcom/monaco-arduino-monza.dts | 54 +++++++++++++++++++
1 file changed, 54 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/monaco-arduino-monza.dts b/arch/arm64/boot/dts/qcom/monaco-arduino-monza.dts
index ca14f0ea4dae..cac081516844 100644
--- a/arch/arm64/boot/dts/qcom/monaco-arduino-monza.dts
+++ b/arch/arm64/boot/dts/qcom/monaco-arduino-monza.dts
@@ -245,6 +245,46 @@ &i2c12 {
status = "okay";
+ typec@8 {
+ compatible = "cypress,cypd4226";
+ reg = <0x08>;
+ pinctrl-0 = <&typec_default_state>;
+ pinctrl-names = "default";
+ interrupts-extended = <&tlmm 3 IRQ_TYPE_LEVEL_LOW>;
+
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ connector@0 {
+ compatible = "usb-c-connector";
+ reg = <0>;
+ label = "USB-C";
+ data-role = "dual";
+ power-role = "dual";
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@0 {
+ reg = <0>;
+
+ ucsi_hs_ccg_p0: endpoint {
+ remote-endpoint = <&usb_1_dwc3_hs>;
+ };
+ };
+
+ port@1 {
+ reg = <1>;
+
+ ucsi_ss_ccg_p0: endpoint {
+ remote-endpoint = <&usb_1_dwc3_ss>;
+ };
+ };
+ };
+ };
+ };
+
max98091: audio-codec@10 {
compatible = "maxim,max98091";
reg = <0x10>;
@@ -392,6 +432,12 @@ perst-pins {
};
};
+ typec_default_state: typec-default-state {
+ pins = "gpio3";
+ function = "gpio";
+ bias-disable;
+ };
+
ethernet0_default: ethernet0-default-state {
ethernet0_mdc: ethernet0-mdc-pins {
pins = "gpio5";
@@ -458,6 +504,14 @@ &usb_1 {
status = "okay";
};
+&usb_1_dwc3_hs {
+ remote-endpoint = <&ucsi_hs_ccg_p0>;
+};
+
+&usb_1_dwc3_ss {
+ remote-endpoint = <&ucsi_ss_ccg_p0>;
+};
+
/* Internally connected to the MCU (e.g. for DFU). */
&usb_2 {
dr_mode = "host";
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] arm64: dts: qcom: monaco-arduino-monza: add USB-C controller and connector
2026-04-21 10:16 [PATCH] arm64: dts: qcom: monaco-arduino-monza: add USB-C controller and connector Loic Poulain
@ 2026-04-21 10:30 ` Konrad Dybcio
0 siblings, 0 replies; 2+ messages in thread
From: Konrad Dybcio @ 2026-04-21 10:30 UTC (permalink / raw)
To: Loic Poulain, andersson, konradybcio
Cc: krzk+dt, conor+dt, linux-arm-msm, devicetree, robh
On 4/21/26 12:16 PM, Loic Poulain wrote:
> Add the Cypress USB Type-C controller and associated connector.
> The controller is connected over I2C12 and wired to the USB1 DWC3.
> The USB-C connector routes both high-speed and super-speed signals.
>
> Enable dual-role data and power over the USB-C connector.
>
> Signed-off-by: Loic Poulain <loic.poulain@oss.qualcomm.com>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-04-21 10:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-21 10:16 [PATCH] arm64: dts: qcom: monaco-arduino-monza: add USB-C controller and connector Loic Poulain
2026-04-21 10:30 ` Konrad Dybcio
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox