Skip to content

Commit a59e927

Browse files
andreilimmind
authored andcommitted
arm64: dts: rockchip: Fix USB power enable pin for BTT CB2 and Pi2
Fix typo into regulator GPIO definition. With current definition - USB powered off. Valid definition can be found on "pinctrl" section: vcc5v0_usb2t_en: vcc5v0-usb2t-en { rockchip,pins = <3 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>; }; vcc5v0_usb2b_en: vcc5v0-usb2b-en { rockchip,pins = <4 RK_PC4 RK_FUNC_GPIO &pcfg_pull_none>; }; Fixes: bfbc663 ("arm64: dts: rockchip: Add BigTreeTech CB2 and Pi2") Signed-off-by: Andrey Leonchikov <andreil499@gmail.com> Link: https://patch.msgid.link/20251105210741.850031-1-andreil499@gmail.com Signed-off-by: Heiko Stuebner <heiko@sntech.de>
1 parent 03c7e96 commit a59e927

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

arch/arm64/boot/dts/rockchip/rk3566-bigtreetech-cb2.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@
187187
vcc5v0_usb2b: regulator-vcc5v0-usb2b {
188188
compatible = "regulator-fixed";
189189
enable-active-high;
190-
gpio = <&gpio0 RK_PC4 GPIO_ACTIVE_HIGH>;
190+
gpio = <&gpio4 RK_PC4 GPIO_ACTIVE_HIGH>;
191191
pinctrl-names = "default";
192192
pinctrl-0 = <&vcc5v0_usb2b_en>;
193193
regulator-name = "vcc5v0_usb2b";
@@ -199,7 +199,7 @@
199199
vcc5v0_usb2t: regulator-vcc5v0-usb2t {
200200
compatible = "regulator-fixed";
201201
enable-active-high;
202-
gpios = <&gpio0 RK_PD5 GPIO_ACTIVE_HIGH>;
202+
gpios = <&gpio3 RK_PD5 GPIO_ACTIVE_HIGH>;
203203
pinctrl-names = "default";
204204
pinctrl-0 = <&vcc5v0_usb2t_en>;
205205
regulator-name = "vcc5v0_usb2t";

0 commit comments

Comments
 (0)