20260310解决瑞芯微原厂RK3576的Android14刷入乐晓电子的K7开发板后适配ADB连接

20260310解决瑞芯微原厂RK3576的Android14刷入乐晓电子的K7开发板后适配ADB连接

2026/3/10 18:20

GPIO3_D6_d USB3_HOST_PWREN_H

GPIO4_C4_d USB_OTG0_PWREN_H

GPIO4_D1_d USBCC_INT_L 23

Y:\orig_RK3576+Android14\kernel-6.1\arch\arm64\boot\dts\rockchip02min\rk3576-evb1.dtsi

Y:\orig_RK3576+Android14\kernel-6.1\arch\arm64\boot\dts\rockchip\rk3576-evb1.dtsi

Y:\k7_rk3576-linux_20251021\kernel-6.1\arch\arm64\boot\dts\rockchip02min_k7\rk3576-kickpi-k7.dtsi

vbus5v0_typec: vbus5v0-typec {

compatible = "regulator-fixed";

regulator-name = "vbus5v0_typec";

regulator-min-microvolt = <5000000>;

regulator-max-microvolt = <5000000>;

enable-active-high;

gpio = <&gpio0 RK_PD1 GPIO_ACTIVE_HIGH>;

vin-supply = <&vcc5v0_device>;

pinctrl-names = "default";

pinctrl-0 = <&usb_otg0_pwren>;

};

修改为:

vbus5v0_typec: vbus5v0-typec {

compatible = "regulator-fixed";

regulator-name = "vbus5v0_typec";

regulator-min-microvolt = <5000000>;

regulator-max-microvolt = <5000000>;

enable-active-high;

gpio = <&gpio4 RK_PC4 GPIO_ACTIVE_HIGH>;

vin-supply = <&vcc5v0_device>;

pinctrl-names = "default";

pinctrl-0 = <&usb_otg0_pwren>;

};

&i2c2 {

status = "okay";

usbc0: husb311@4e {

compatible = "hynetek,husb311";

reg = <0x4e>;

interrupt-parent = <&gpio0>;

interrupts = <RK_PA5 IRQ_TYPE_LEVEL_LOW>;

pinctrl-names = "default";

pinctrl-0 = <&usbc0_int>;

vbus-supply = <&vbus5v0_typec>;

status = "okay";

port {

usbc0_role_sw: endpoint {

remote-endpoint = <&usb_drd0_role_switch>;

};

};

修改为:

&i2c2 {

status = "okay";

usbc0: husb311@4e {

compatible = "hynetek,husb311";

reg = <0x4e>;

interrupt-parent = <&gpio4>;

interrupts = <RK_PD1 IRQ_TYPE_LEVEL_LOW>;

pinctrl-names = "default";

pinctrl-0 = <&usbc0_int>;

vbus-supply = <&vbus5v0_typec>;

status = "okay";

port {

usbc0_role_sw: endpoint {

remote-endpoint = <&usb_drd0_role_switch>;

};

};

headphone {

hp_det: hp-det {

rockchip,pins = <0 RK_PD3 RK_FUNC_GPIO &pcfg_pull_up>;

};

};

usb {

usb_host_pwren: usb-host-pwren {

rockchip,pins = <0 RK_PC7 RK_FUNC_GPIO &pcfg_pull_none>;

};

usb_otg0_pwren: usb-otg0-pwren {

rockchip,pins = <0 RK_PD1 RK_FUNC_GPIO &pcfg_pull_none>;

};

usbc0_int: usbc0-int {

rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>;

};

};

wireless-bluetooth {

uart4_gpios: uart4-gpios {

rockchip,pins = <1 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>;

};

};

修改为:

headphone {

hp_det: hp-det {

rockchip,pins = <0 RK_PD3 RK_FUNC_GPIO &pcfg_pull_up>;

};

};

usb {

usb_host_pwren: usb-host-pwren {

rockchip,pins = <3 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>;

};

usb_otg0_pwren: usb-otg0-pwren {

rockchip,pins = <4 RK_PC4 RK_FUNC_GPIO &pcfg_pull_none>;

};

usbc0_int: usbc0-int {

rockchip,pins = <4 RK_PD1 RK_FUNC_GPIO &pcfg_pull_up>;

};

};

wireless-bluetooth {

uart4_gpios: uart4-gpios {

rockchip,pins = <1 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>;

};

};

GPIO3_D6_d USB3_HOST_PWREN_H

GPIO4_C4_d USB_OTG0_PWREN_H

GPIO4_D1_d USBCC_INT_L 23

相关推荐
暴躁小师兄数据学院2 小时前
【AI大数据工程师特训笔记】第05讲:关联查询
数据库·sql·oracle
倔强的石头_2 小时前
《Kingbase护城河》——跨平台环境下的数据库联调实战
数据库
lzhdim3 小时前
SQL 入门 17:MySQL 数据类型:从字符串到 JSON 的全面解析
数据库·sql·mysql·json
杨云龙UP3 小时前
Oracle RAC / ODA 生产环境指定 PDB 启动 SOP
linux·运维·数据库·oracle
kingwebo'sZone3 小时前
在Cent上安装Mysql 8.0的遇到的问题和解决办法
数据库·mysql·adb
幽络源小助理3 小时前
最新知识付费系统网站源码 PC+H5双端 附安装教程 – 幽络源源码网
大数据·数据库
小白考证进阶中4 小时前
Oracle OCP证书报考&考试全指南
数据库·oracle·oracle ocp·ocp认证·oracle认证·甲骨文认证·oracle ocp题库
Leon-Ning Liu5 小时前
【真实经验分享】 ORA-600 [qesmaGetTblSeg1]
数据库·oracle
与数据交流的路上5 小时前
MySQL 优化 -- 相关
数据库·mysql
Rooting++5 小时前
为什么mysql的表字段的collation会自动变
数据库·mysql