target/rockchip: add radxa e24c
This commit is contained in:
parent
4f1c0da970
commit
f04bac6632
@ -62,6 +62,12 @@ radxa,e52c)
|
||||
ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth0"
|
||||
ucidef_set_led_netdev "lan" "LAN" "green:lan" "eth1"
|
||||
;;
|
||||
radxa,e24c)
|
||||
ucidef_set_led_switch "wan" "wan" "green:wan" "switch0" "0x1"
|
||||
ucidef_set_led_switch "lan1" "lan1" "green:lan:1" "switch0" "0x2"
|
||||
ucidef_set_led_switch "lan2" "lan2" "green:lan:2" "switch0" "0x4"
|
||||
ucidef_set_led_switch "lan3" "lan3" "green:lan:3" "switch0" "0x8"
|
||||
;;
|
||||
radxa,e54c)
|
||||
ucidef_set_led_switch "wan" "wan" "green:wan" "switch0" "0x8"
|
||||
ucidef_set_led_switch "lan1" "lan1" "green:lan:1" "switch0" "0x4"
|
||||
|
||||
@ -59,6 +59,10 @@ rockchip_setup_interfaces()
|
||||
sinovoip,rk3568-bpi-r2pro)
|
||||
ucidef_set_interfaces_lan_wan 'lan0 lan1 lan2 lan3' 'eth0'
|
||||
;;
|
||||
radxa,e24c)
|
||||
ucidef_add_switch "switch0" \
|
||||
"0:wan" "1:lan" "2:lan" "3:lan" "6t@eth0"
|
||||
;;
|
||||
radxa,e54c)
|
||||
ucidef_add_switch "switch0" \
|
||||
"3:wan" "2:lan" "1:lan" "0:lan" "6t@eth0"
|
||||
|
||||
@ -52,6 +52,14 @@ $(call Device/Legacy/rk3528_rtl8111h,$(1))
|
||||
endef
|
||||
TARGET_DEVICES += radxa_e20c
|
||||
|
||||
define Device/radxa_e24c
|
||||
$(call Device/Legacy/rk3528,$(1))
|
||||
DEVICE_VENDOR := Radxa
|
||||
DEVICE_MODEL := E24C
|
||||
DEVICE_PACKAGES += kmod-nvme kmod-hwmon-pwmfan kmod-thermal kmod-switch-rtl8367b swconfig
|
||||
endef
|
||||
TARGET_DEVICES += radxa_e24c
|
||||
|
||||
|
||||
# RK3568
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user