目录
前言
RK3568支持SATA/PCIE外围接口,可搭乘固态或者机械硬盘;可用于物联网网关、NVR存储、监控摄像头等行业使用,此篇文章讲解SATA硬盘的调试;
一、设备树配置
由于RK3568的SATA接口与Type-C USB3.0复用,需要先把Type-C配置成USB2.0 OTG;
&sata0 {
status = "okay";
};
&usbdrd_dwc3 {
- dr_mode = "otg";
+ //dr_mode = "otg";
extcon = <&usb2phy0>;
+ phys = <&u2phy0_otg>;
+ phy-names = "usb2-phy";
+ maximum-speed = "high-speed";
+ snps,dis_u2_susphy_quirk;
status = "okay";
};
&c