[PATCH v1] arm64: dts: rockchip: Add USB Type-C support for Radxa ZERO 3W
FUKAUMI Naoki
naoki at radxa.com
Fri Jan 2 04:20:55 PST 2026
Hi Ke,
On 1/1/26 17:34, Ke Sun wrote:
> Add vbus_typec regulator and fusb302 Type-C controller configuration
> for Radxa ZERO 3W board.
>
> Link: https://dl.radxa.com/zero3/docs/hw/3w/radxa_zero_3w_v1110_schematic.pdf
> Signed-off-by: Ke Sun <sunke at kylinos.cn>
> ---
> .../dts/rockchip/rk3566-radxa-zero-3.dtsi | 10 +++++++++
> .../dts/rockchip/rk3566-radxa-zero-3w.dts | 22 +++++++++++++++++++
> 2 files changed, 32 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/rockchip/rk3566-radxa-zero-3.dtsi b/arch/arm64/boot/dts/rockchip/rk3566-radxa-zero-3.dtsi
> index 1ee5d96a46a1b..79448016ab490 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3566-radxa-zero-3.dtsi
> +++ b/arch/arm64/boot/dts/rockchip/rk3566-radxa-zero-3.dtsi
> @@ -35,6 +35,16 @@ led-green {
> };
> };
>
> + vbus_typec: vbus-typec-regulator {
> + compatible = "regulator-fixed";
> + regulator-name = "vbus_typec";
> + regulator-always-on;
> + regulator-boot-on;
> + regulator-min-microvolt = <5000000>;
> + regulator-max-microvolt = <5000000>;
> + vin-supply = <&vcc_sys>;
> + };
> +
> vcc_1v8: regulator-1v8-vcc {
> compatible = "regulator-fixed";
> regulator-name = "vcc_1v8";
> diff --git a/arch/arm64/boot/dts/rockchip/rk3566-radxa-zero-3w.dts b/arch/arm64/boot/dts/rockchip/rk3566-radxa-zero-3w.dts
> index f92475c59deb4..54f20856bcfc6 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3566-radxa-zero-3w.dts
> +++ b/arch/arm64/boot/dts/rockchip/rk3566-radxa-zero-3w.dts
> @@ -50,6 +50,12 @@ wifi_wake_host_h: wifi-wake-host-h {
> rockchip,pins = <0 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>;
> };
> };
> +
> + usb-typec {
> + usbc0_int: usbc0-int {
> + rockchip,pins = <3 RK_PC7 RK_FUNC_GPIO &pcfg_pull_up>;
> + };
> + };
> };
>
> &sdhci {
> @@ -90,3 +96,19 @@ &uart1 {
> uart-has-rtscts;
> status = "okay";
> };
> +
> +&i2c3 {
> + status = "okay";
> + pinctrl-0 = <&i2c3m1_xfer>;
> +
> + usbc0: fusb302 at 22 {
> + compatible = "fcs,fusb302";
> + reg = <0x22>;
> + interrupt-parent = <&gpio3>;
> + interrupts = <RK_PC7 IRQ_TYPE_LEVEL_LOW>;
> + sel-gpios= <&gpio0 RK_PC5 GPIO_ACTIVE_HIGH>;
Where is "sel-gpios" defined or handled?
Best regards,
--
FUKAUMI Naoki
Radxa Computer (Shenzhen) Co., Ltd.
> + pinctrl-names = "default";
> + pinctrl-0 = <&usbc0_int>;
> + vbus-supply = <&vbus_typec>;
> + };
> +};
More information about the linux-arm-kernel
mailing list