mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
rockchip: opc-h68k: add sata support
This commit is contained in:
parent
ae96f27ccb
commit
c1d76d3b25
@ -76,13 +76,13 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
dc_12v: dc-12v {
|
vcc12v_dcin: vcc12v-dcin {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
regulator-always-on;
|
regulator-always-on;
|
||||||
regulator-boot-on;
|
regulator-boot-on;
|
||||||
regulator-min-microvolt = <12000000>;
|
regulator-min-microvolt = <12000000>;
|
||||||
regulator-max-microvolt = <12000000>;
|
regulator-max-microvolt = <12000000>;
|
||||||
regulator-name = "dc_12v";
|
regulator-name = "vcc12v_dcin";
|
||||||
};
|
};
|
||||||
|
|
||||||
vcc3v3_sys: vcc3v3-sys {
|
vcc3v3_sys: vcc3v3-sys {
|
||||||
@ -92,7 +92,7 @@
|
|||||||
regulator-min-microvolt = <3300000>;
|
regulator-min-microvolt = <3300000>;
|
||||||
regulator-max-microvolt = <3300000>;
|
regulator-max-microvolt = <3300000>;
|
||||||
regulator-name = "vcc3v3_sys";
|
regulator-name = "vcc3v3_sys";
|
||||||
vin-supply = <&dc_12v>;
|
vin-supply = <&vcc12v_dcin>;
|
||||||
};
|
};
|
||||||
|
|
||||||
vcc5v0_sys: vcc5v0-sys {
|
vcc5v0_sys: vcc5v0-sys {
|
||||||
@ -102,7 +102,7 @@
|
|||||||
regulator-min-microvolt = <5000000>;
|
regulator-min-microvolt = <5000000>;
|
||||||
regulator-max-microvolt = <5000000>;
|
regulator-max-microvolt = <5000000>;
|
||||||
regulator-name = "vcc5v0_sys";
|
regulator-name = "vcc5v0_sys";
|
||||||
vin-supply = <&dc_12v>;
|
vin-supply = <&vcc12v_dcin>;
|
||||||
};
|
};
|
||||||
|
|
||||||
vcc5v0_usb: vcc5v0-usb {
|
vcc5v0_usb: vcc5v0-usb {
|
||||||
@ -112,7 +112,7 @@
|
|||||||
regulator-min-microvolt = <5000000>;
|
regulator-min-microvolt = <5000000>;
|
||||||
regulator-max-microvolt = <5000000>;
|
regulator-max-microvolt = <5000000>;
|
||||||
regulator-name = "vcc5v0_usb";
|
regulator-name = "vcc5v0_usb";
|
||||||
vin-supply = <&dc_12v>;
|
vin-supply = <&vcc12v_dcin>;
|
||||||
};
|
};
|
||||||
|
|
||||||
vcc5v0_usb_host: vcc5v0-usb-host {
|
vcc5v0_usb_host: vcc5v0-usb-host {
|
||||||
@ -621,6 +621,10 @@
|
|||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&sata0 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
&sdhci {
|
&sdhci {
|
||||||
bus-width = <8>;
|
bus-width = <8>;
|
||||||
max-frequency = <200000000>;
|
max-frequency = <200000000>;
|
||||||
@ -661,11 +665,6 @@
|
|||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
&usb_host0_xhci {
|
|
||||||
dr_mode = "host";
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
&usb_host1_ehci {
|
&usb_host1_ehci {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
@ -687,10 +686,6 @@
|
|||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
&usb2phy0_otg {
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
&usb2phy1 {
|
&usb2phy1 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
@ -18,7 +18,7 @@ define Device/hinlink_opc-h68k
|
|||||||
SOC := rk3568
|
SOC := rk3568
|
||||||
UBOOT_DEVICE_NAME := opc-h68k-rk3568
|
UBOOT_DEVICE_NAME := opc-h68k-rk3568
|
||||||
IMAGE/sysupgrade.img.gz := boot-common | boot-script nanopi-r5s | pine64-img | gzip | append-metadata
|
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
|
endef
|
||||||
TARGET_DEVICES += hinlink_opc-h68k
|
TARGET_DEVICES += hinlink_opc-h68k
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user