Skip to content

Commit

Permalink
rockchip: update rk3399 soc support
Browse files Browse the repository at this point in the history
  • Loading branch information
coolsnowwolf committed Dec 17, 2024
1 parent 927e1b6 commit af0a4aa
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 43 deletions.
2 changes: 1 addition & 1 deletion target/linux/rockchip/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ endef

include $(INCLUDE_DIR)/target.mk

DEFAULT_PACKAGES += uboot-envtools partx-utils e2fsprogs mkf2fs kmod-gpio-button-hotplug \
DEFAULT_PACKAGES += uboot-envtools partx-utils e2fsprogs mkf2fs kmod-button-hotplug \
automount autocore-arm e2fsprogs ethtool haveged htop usb-modeswitch

KERNELNAME:=Image dtbs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <dt-bindings/input/input.h>
#include <dt-bindings/pwm/pwm.h>
#include "rk3399.dtsi"
#include "rk3399-op1-opp.dtsi"
#include "rk3399-opp.dtsi"

/ {
model = "RUMU3F Fine3399";
Expand Down
55 changes: 26 additions & 29 deletions target/linux/rockchip/image/armv8.mk
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ define Device/dilusense_dlfr100
SOC := rk3399
UBOOT_DEVICE_NAME := dlfr100-rk3399
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
DEVICE_PACKAGES := kmod-r8168 -urngd
DEVICE_PACKAGES := kmod-gpio-button-hotplug kmod-r8168
endef
TARGET_DEVICES += dilusense_dlfr100

Expand Down Expand Up @@ -108,7 +108,7 @@ define Device/fastrhino_common
DEVICE_VENDOR := FastRhino
SOC := rk3568
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
DEVICE_PACKAGES := kmod-r8125-rss
DEVICE_PACKAGES := kmod-gpio-button-hotplug kmod-r8125-rss
endef

define Device/fastrhino_r66s
Expand Down Expand Up @@ -160,7 +160,7 @@ define Device/friendlyarm_nanopi-r2c
SOC := rk3328
UBOOT_DEVICE_NAME := nanopi-r2c-rk3328
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-bin | gzip | append-metadata
DEVICE_PACKAGES := kmod-usb-net-rtl8152
DEVICE_PACKAGES := kmod-gpio-button-hotplug kmod-usb-net-rtl8152
endef
TARGET_DEVICES += friendlyarm_nanopi-r2c

Expand All @@ -170,7 +170,7 @@ define Device/friendlyarm_nanopi-r2c-plus
SOC := rk3328
UBOOT_DEVICE_NAME := nanopi-r2c-plus-rk3328
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-bin | gzip | append-metadata
DEVICE_PACKAGES := kmod-usb-net-rtl8152
DEVICE_PACKAGES := kmod-gpio-button-hotplug kmod-usb-net-rtl8152
endef
TARGET_DEVICES += friendlyarm_nanopi-r2c-plus

Expand All @@ -180,7 +180,7 @@ define Device/friendlyarm_nanopi-r2s
SOC := rk3328
UBOOT_DEVICE_NAME := nanopi-r2s-rk3328
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-bin | gzip | append-metadata
DEVICE_PACKAGES := kmod-usb-net-rtl8152
DEVICE_PACKAGES := kmod-gpio-button-hotplug kmod-usb-net-rtl8152
endef
TARGET_DEVICES += friendlyarm_nanopi-r2s

Expand All @@ -190,7 +190,7 @@ define Device/friendlyarm_nanopi-r2s-plus
SOC := rk3328
UBOOT_DEVICE_NAME := nanopi-r2s-plus-rk3328
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-bin | gzip | append-metadata
DEVICE_PACKAGES := kmod-usb-net-rtl8152
DEVICE_PACKAGES := kmod-gpio-button-hotplug kmod-usb-net-rtl8152
endef
TARGET_DEVICES += friendlyarm_nanopi-r2s-plus

Expand All @@ -200,7 +200,7 @@ define Device/friendlyarm_nanopi-r3s
SOC := rk3566
UBOOT_DEVICE_NAME := nanopi-r3s-rk3566
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
DEVICE_PACKAGES := kmod-r8168
DEVICE_PACKAGES := kmod-gpio-button-hotplug kmod-r8168
endef
TARGET_DEVICES += friendlyarm_nanopi-r3s

Expand All @@ -210,7 +210,7 @@ define Device/friendlyarm_nanopi-r4s
SOC := rk3399
UBOOT_DEVICE_NAME := nanopi-r4s-rk3399
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-bin | gzip | append-metadata
DEVICE_PACKAGES := kmod-r8168 -urngd
DEVICE_PACKAGES := kmod-gpio-button-hotplug kmod-r8168
endef
TARGET_DEVICES += friendlyarm_nanopi-r4s

Expand All @@ -220,7 +220,7 @@ define Device/friendlyarm_nanopi-r4se
SOC := rk3399
UBOOT_DEVICE_NAME := nanopi-r4se-rk3399
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-bin | gzip | append-metadata
DEVICE_PACKAGES := kmod-r8168 -urngd
DEVICE_PACKAGES := kmod-gpio-button-hotplug kmod-r8168
endef
TARGET_DEVICES += friendlyarm_nanopi-r4se

Expand All @@ -230,7 +230,7 @@ define Device/friendlyarm_nanopi-r5c
SOC := rk3568
UBOOT_DEVICE_NAME := nanopi-r5c-rk3568
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
DEVICE_PACKAGES := kmod-r8125-rss
DEVICE_PACKAGES := kmod-gpio-button-hotplug kmod-r8125-rss
endef
TARGET_DEVICES += friendlyarm_nanopi-r5c

Expand All @@ -240,7 +240,7 @@ define Device/friendlyarm_nanopi-r5s
SOC := rk3568
UBOOT_DEVICE_NAME := nanopi-r5s-rk3568
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
DEVICE_PACKAGES := kmod-r8125-rss
DEVICE_PACKAGES := kmod-gpio-button-hotplug kmod-r8125-rss
endef
TARGET_DEVICES += friendlyarm_nanopi-r5s

Expand All @@ -250,7 +250,7 @@ define Device/friendlyarm_nanopi-r6c
SOC := rk3588s
UBOOT_DEVICE_NAME := nanopi-r6c-rk3588s
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
DEVICE_PACKAGES := kmod-r8125-rss
DEVICE_PACKAGES := kmod-gpio-button-hotplug kmod-r8125-rss
endef
TARGET_DEVICES += friendlyarm_nanopi-r6c

Expand All @@ -260,7 +260,7 @@ define Device/friendlyarm_nanopi-r6s
SOC := rk3588s
UBOOT_DEVICE_NAME := nanopi-r6s-rk3588s
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
DEVICE_PACKAGES := kmod-r8125-rss
DEVICE_PACKAGES := kmod-gpio-button-hotplug kmod-r8125-rss
endef
TARGET_DEVICES += friendlyarm_nanopi-r6s

Expand Down Expand Up @@ -339,7 +339,7 @@ define Device/lyt_t68m
SOC := rk3568
UBOOT_DEVICE_NAME := generic-rk3568
IMAGE/sysupgrade.img.gz := boot-common | boot-script vop | pine64-img | gzip | append-metadata
DEVICE_PACKAGES := kmod-drm-rockchip kmod-mt7921e kmod-r8125-rss wpad-openssl uboot-envtools
DEVICE_PACKAGES := kmod-drm-rockchip kmod-gpio-button-hotplug kmod-r8125-rss uboot-envtools
endef
TARGET_DEVICES += lyt_t68m

Expand All @@ -350,7 +350,7 @@ define Device/mmbox_anas3035
DEVICE_DTS := rockchip/rk3568-mmbox-anas3035
UBOOT_DEVICE_NAME := mmbox-anas3035-rk3568
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
DEVICE_PACKAGES := kmod-r8125-rss kmod-ata-ahci-dwc kmod-hwmon-pwmfan kmod-hwmon-drivetemp
DEVICE_PACKAGES := kmod-ata-ahci-dwc kmod-hwmon-drivetemp kmod-hwmon-pwmfan kmod-r8125-rss
endef
TARGET_DEVICES += mmbox_anas3035

Expand All @@ -370,7 +370,6 @@ define Device/pine64_rockpro64
SOC := rk3399
UBOOT_DEVICE_NAME := rockpro64-rk3399
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
DEVICE_PACKAGES := -urngd
endef
TARGET_DEVICES += pine64_rockpro64

Expand All @@ -380,7 +379,7 @@ define Device/radxa_e20c
DEVICE_DTS := rockchip/rk3528-radxa-e20c
UBOOT_DEVICE_NAME := evb-rk3528
IMAGE/sysupgrade.img.gz := boot-common | boot-script rk3528 | pine64-img | gzip | append-metadata
DEVICE_PACKAGES := kmod-r8168 -urngd
DEVICE_PACKAGES := kmod-gpio-button-hotplug kmod-r8168 -urngd
endef
TARGET_DEVICES += radxa_e20c

Expand Down Expand Up @@ -414,16 +413,14 @@ define Device/radxa_rock-3c
endef
TARGET_DEVICES += radxa_rock-3c

define Device/radxa_rock-pi-4
define Device/radxa_rock-pi-4a
DEVICE_VENDOR := Radxa
DEVICE_MODEL := ROCK Pi 4
DEVICE_MODEL := ROCK Pi 4A
SOC := rk3399
SUPPORTED_DEVICES := radxa,rockpi4
SUPPORTED_DEVICES := radxa,rockpi4a radxa,rockpi4
UBOOT_DEVICE_NAME := rock-pi-4-rk3399
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
DEVICE_PACKAGES := -urngd
endef
TARGET_DEVICES += radxa_rock-pi-4
TARGET_DEVICES += radxa_rock-pi-4a

define Device/radxa_rock-5a
DEVICE_VENDOR := Radxa
Expand All @@ -441,7 +438,7 @@ define Device/rongpin_king3399
SOC := rk3399
UBOOT_DEVICE_NAME := king3399-rk3399
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
DEVICE_PACKAGES := kmod-r8168 -urngd kmod-brcmfmac cypress-firmware-4356-sdio wpad-openssl
DEVICE_PACKAGES := kmod-r8168 kmod-brcmfmac cypress-firmware-4356-sdio wpad-openssl
endef
TARGET_DEVICES += rongpin_king3399

Expand All @@ -451,7 +448,7 @@ define Device/rocktech_mpc1903
SOC := rk3399
UBOOT_DEVICE_NAME := mpc1903-rk3399
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
DEVICE_PACKAGES := kmod-usb-net-smsc75xx kmod-usb-serial-cp210x -urngd
DEVICE_PACKAGES := kmod-usb-net-smsc75xx kmod-usb-serial-cp210x
endef
TARGET_DEVICES += rocktech_mpc1903

Expand All @@ -461,7 +458,7 @@ define Device/rumu3f_fine-3399
SOC := rk3399
UBOOT_DEVICE_NAME := fine3399-rk3399
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
DEVICE_PACKAGES := kmod-r8168 -urngd
DEVICE_PACKAGES := kmod-gpio-button-hotplug kmod-r8168
endef
TARGET_DEVICES += rumu3f_fine-3399

Expand All @@ -472,7 +469,7 @@ define Device/scensmart_sv901-eaio
UBOOT_DEVICE_NAME := sv901-eaio-rk3399
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-bin | gzip | append-metadata
DEVICE_PACKAGES := brcmfmac-nvram-4356-sdio cypress-firmware-4356-sdio kmod-brcmfmac \
kmod-switch-rtl8367b swconfig wpad -urngd
kmod-gpio-button-hotplug kmod-switch-rtl8367b swconfig wpad
endef
TARGET_DEVICES += scensmart_sv901-eaio

Expand Down Expand Up @@ -509,7 +506,7 @@ define Device/sharevdi_h3399pc
SOC := rk3399
UBOOT_DEVICE_NAME := h3399pc-rk3399
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
DEVICE_PACKAGES := kmod-r8168 -urngd
DEVICE_PACKAGES := kmod-gpio-button-hotplug kmod-r8168
endef
TARGET_DEVICES += sharevdi_h3399pc

Expand All @@ -519,7 +516,7 @@ define Device/sharevdi_guangmiao-g4c
SOC := rk3399
UBOOT_DEVICE_NAME := guangmiao-g4c-rk3399
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
DEVICE_PACKAGES := kmod-r8168 -urngd
DEVICE_PACKAGES := kmod-gpio-button-hotplug kmod-r8168
endef
TARGET_DEVICES += sharevdi_guangmiao-g4c

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ Signed-off-by: Tianling Shen <[email protected]>
};
+ opp06 {
+ opp-hz = /bits/ 64 <1608000000>;
+ opp-microvolt = <1225000>;
+ opp-microvolt = <1225000 1225000 1250000>;
+ };
+ opp07 {
+ opp-hz = /bits/ 64 <1800000000>;
+ opp-microvolt = <1275000>;
+ opp-microvolt = <1275000 1275000 1275000>;
+ };
};

Expand All @@ -35,11 +35,11 @@ Signed-off-by: Tianling Shen <[email protected]>
};
+ opp08 {
+ opp-hz = /bits/ 64 <2016000000>;
+ opp-microvolt = <1250000>;
+ opp-microvolt = <1250000 1250000 1250000>;
+ };
+ opp09 {
+ opp-hz = /bits/ 64 <2208000000>;
+ opp-microvolt = <1325000>;
+ opp-microvolt = <1325000 1325000 1325000>;
+ };
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ Signed-off-by: Tianling Shen <[email protected]>
};
+ opp06 {
+ opp-hz = /bits/ 64 <1608000000>;
+ opp-microvolt = <1225000>;
+ opp-microvolt = <1225000 1225000 1250000>;
+ };
+ opp07 {
+ opp-hz = /bits/ 64 <1800000000>;
+ opp-microvolt = <1275000>;
+ opp-microvolt = <1275000 1275000 1275000>;
+ };
};

Expand All @@ -35,11 +35,11 @@ Signed-off-by: Tianling Shen <[email protected]>
};
+ opp08 {
+ opp-hz = /bits/ 64 <2016000000>;
+ opp-microvolt = <1250000>;
+ opp-microvolt = <1250000 1250000 1250000>;
+ };
+ opp09 {
+ opp-hz = /bits/ 64 <2208000000>;
+ opp-microvolt = <1325000>;
+ opp-microvolt = <1325000 1325000 1325000>;
+ };
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ Signed-off-by: Tianling Shen <[email protected]>
};
+ opp06 {
+ opp-hz = /bits/ 64 <1608000000>;
+ opp-microvolt = <1225000>;
+ opp-microvolt = <1225000 1225000 1250000>;
+ };
+ opp07 {
+ opp-hz = /bits/ 64 <1800000000>;
+ opp-microvolt = <1275000>;
+ opp-microvolt = <1275000 1275000 1275000>;
+ };
};

Expand All @@ -35,11 +35,11 @@ Signed-off-by: Tianling Shen <[email protected]>
};
+ opp08 {
+ opp-hz = /bits/ 64 <2016000000>;
+ opp-microvolt = <1250000>;
+ opp-microvolt = <1250000 1250000 1250000>;
+ };
+ opp09 {
+ opp-hz = /bits/ 64 <2208000000>;
+ opp-microvolt = <1325000>;
+ opp-microvolt = <1325000 1325000 1325000>;
+ };
};

Expand Down

0 comments on commit af0a4aa

Please sign in to comment.