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

相关推荐
Nturmoils6 小时前
订单列表慢查询,先看 WHERE、ORDER BY 和 LIMIT
数据库
渣波10 小时前
拒绝 SQL 焦虑!手把手带你用 NestJS + Prisma + DTO 写出“防弹”级后端代码
javascript·数据库·后端
倔强的石头_1 天前
KingbaseES 新版MySQL 兼容版体验:旧版迁移 + 功能实测
数据库
倔强的石头_4 天前
《Kingbase护城河》——数据库存储空间全景探测与精细化瘦身实战
数据库
冬奇Lab5 天前
每日一个开源项目(第134篇):Zvec - 阿里开源的嵌入式向量数据库,向量搜索界的 SQLite
数据库·人工智能·llm
ClouGence5 天前
Oracle CDC 架构优化:从主库直连到 DataGuard 备库同步
数据库·后端·oracle
无响应de神5 天前
三、用户与权限管理
数据库·mysql
麦聪聊数据6 天前
数据服务化时代:企业数据能力输出的核心路径
数据库
shushangyun_6 天前
2026年快消品B2B系统推荐:支持终端门店订货、促销政策自动化的工具?
java·运维·网络·数据库·人工智能·spring·自动化
DARLING Zero two♡6 天前
【MySQL数据库】数据类型与表约束
数据库·mysql