diff --git a/patch/kernel/archive/rockchip64-6.12/dt/rk3399-am40.dts b/patch/kernel/archive/rockchip64-6.12/dt/rk3399-am40.dts index 510b1584c..555b661bb 100644 --- a/patch/kernel/archive/rockchip64-6.12/dt/rk3399-am40.dts +++ b/patch/kernel/archive/rockchip64-6.12/dt/rk3399-am40.dts @@ -685,6 +685,10 @@ &u2phy0 { status = "okay"; + u2phy0_otg: otg-port { + status = "okay"; + }; + u2phy0_host: host-port { phy-supply = <&vcc5v0_host>; status = "okay"; @@ -694,6 +698,10 @@ &u2phy1 { status = "okay"; + u2phy1_otg: otg-port { + status = "okay"; + }; + u2phy1_host: host-port { phy-supply = <&vcc5v0_host>; status = "okay"; diff --git a/patch/kernel/archive/rockchip64-6.16/dt/rk3399-am40.dts b/patch/kernel/archive/rockchip64-6.16/dt/rk3399-am40.dts index 510b1584c..555b661bb 100644 --- a/patch/kernel/archive/rockchip64-6.16/dt/rk3399-am40.dts +++ b/patch/kernel/archive/rockchip64-6.16/dt/rk3399-am40.dts @@ -685,6 +685,10 @@ &u2phy0 { status = "okay"; + u2phy0_otg: otg-port { + status = "okay"; + }; + u2phy0_host: host-port { phy-supply = <&vcc5v0_host>; status = "okay"; @@ -694,6 +698,10 @@ &u2phy1 { status = "okay"; + u2phy1_otg: otg-port { + status = "okay"; + }; + u2phy1_host: host-port { phy-supply = <&vcc5v0_host>; status = "okay"; diff --git a/patch/u-boot/v2025.04/board_smart-am40/add-board-smart-am40.patch b/patch/u-boot/v2025.04/board_smart-am40/add-board-smart-am40.patch index 6cb3df4a8..8f332394c 100644 --- a/patch/u-boot/v2025.04/board_smart-am40/add-board-smart-am40.patch +++ b/patch/u-boot/v2025.04/board_smart-am40/add-board-smart-am40.patch @@ -94,10 +94,10 @@ index 00000000..8ea5266f +CONFIG_ERRNO_STR=y diff --git a/dts/upstream/src/arm64/rockchip/rk3399-am40.dts b/dts/upstream/src/arm64/rockchip/rk3399-am40.dts new file mode 100644 -index 00000000..cf667415 +index 00000000..555b661b --- /dev/null +++ b/dts/upstream/src/arm64/rockchip/rk3399-am40.dts -@@ -0,0 +1,779 @@ +@@ -0,0 +1,787 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2017 Fuzhou Rockchip Electronics Co., Ltd. @@ -785,6 +785,10 @@ index 00000000..cf667415 +&u2phy0 { + status = "okay"; + ++ u2phy0_otg: otg-port { ++ status = "okay"; ++ }; ++ + u2phy0_host: host-port { + phy-supply = <&vcc5v0_host>; + status = "okay"; @@ -794,6 +798,10 @@ index 00000000..cf667415 +&u2phy1 { + status = "okay"; + ++ u2phy1_otg: otg-port { ++ status = "okay"; ++ }; ++ + u2phy1_host: host-port { + phy-supply = <&vcc5v0_host>; + status = "okay";