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

相关推荐
AI-好学者9 小时前
阶段一-图数据库基础与PropertyGraph模型
数据库·rag·knowledge graph·graphrag
其实防守也摸鱼11 小时前
运维--学习阶段问题解答(1)(自测)
linux·运维·服务器·数据库·学习·自动化·命令模式
懒鸟一枚11 小时前
深入理解 Linux 内存、Swap 交换分区与分页机制的关系
java·linux·数据库
龙仔72511 小时前
SQL Server 创建只读账号完整操作(分两种场景:SSMS图形界面 + T-SQL脚本)
数据库·sql·oracle
霁月的小屋11 小时前
生产环境中的事务实践——银行系统上线记(四)
数据库
Database_Cool_12 小时前
AI 应用数据底座首选:阿里云 PolarDB 为大模型 RAG 提供一体化支撑
数据库·阿里云
玖玥拾12 小时前
C# 语言进阶(十五)C# 游戏服务端 MySQL 数据库
服务器·开发语言·网络·数据库·mysql·c#
IvorySQL13 小时前
PG 日报|社区讨论重构 pg_hba 配置文件格式
数据库·人工智能·postgresql·重构·ivorysql
逝水无殇13 小时前
C# 文件的输入与输出详解
开发语言·数据库·后端·c#
罗政15 小时前
PDF 批量合并工具:本地 AI 自动排序、识别正文日期与合同编号
数据库·pdf·php