rockchip: opc-h68k: add sata support

This commit is contained in:
AmadeusGhost 2022-11-09 23:15:12 +08:00
parent ae96f27ccb
commit c1d76d3b25
2 changed files with 10 additions and 15 deletions

View File

@ -76,13 +76,13 @@
};
};
dc_12v: dc-12v {
vcc12v_dcin: vcc12v-dcin {
compatible = "regulator-fixed";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <12000000>;
regulator-max-microvolt = <12000000>;
regulator-name = "dc_12v";
regulator-name = "vcc12v_dcin";
};
vcc3v3_sys: vcc3v3-sys {
@ -92,7 +92,7 @@
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-name = "vcc3v3_sys";
vin-supply = <&dc_12v>;
vin-supply = <&vcc12v_dcin>;
};
vcc5v0_sys: vcc5v0-sys {
@ -102,7 +102,7 @@
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-name = "vcc5v0_sys";
vin-supply = <&dc_12v>;
vin-supply = <&vcc12v_dcin>;
};
vcc5v0_usb: vcc5v0-usb {
@ -112,7 +112,7 @@
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-name = "vcc5v0_usb";
vin-supply = <&dc_12v>;
vin-supply = <&vcc12v_dcin>;
};
vcc5v0_usb_host: vcc5v0-usb-host {
@ -621,6 +621,10 @@
status = "okay";
};
&sata0 {
status = "okay";
};
&sdhci {
bus-width = <8>;
max-frequency = <200000000>;
@ -661,11 +665,6 @@
status = "okay";
};
&usb_host0_xhci {
dr_mode = "host";
status = "okay";
};
&usb_host1_ehci {
status = "okay";
};
@ -687,10 +686,6 @@
status = "okay";
};
&usb2phy0_otg {
status = "okay";
};
&usb2phy1 {
status = "okay";
};

View File

@ -18,7 +18,7 @@ define Device/hinlink_opc-h68k
SOC := rk3568
UBOOT_DEVICE_NAME := opc-h68k-rk3568
IMAGE/sysupgrade.img.gz := boot-common | boot-script nanopi-r5s | pine64-img | gzip | append-metadata
DEVICE_PACKAGES := kmod-mt7921e kmod-r8125
DEVICE_PACKAGES := kmod-ata-ahci-platform kmod-mt7921e kmod-r8125
endef
TARGET_DEVICES += hinlink_opc-h68k