Add STM32MP157C-DK2 support. This profile also supports the STM32MP157F-DK2 board. The only difference between these two boards is the CPU frequency (650MHz for 157C and 800MHz for 157F). A SCMI variant is available. With this variant the reset and clock resources are provided by OP-TEE and the associated SCMI services. It is the configuration recommended by STMicroelectronics, with secured system resources. The specifications bellow only list supported features. Specifications -------------- SOC: STM32MP157C RAM: 512 MiB Storage: SD Card Ethernet: 1x 1 Gbps Wireless: 2.4GHz Cypress CYW43455 (802.11b/g/n) LEDs: Heartbeat (Blue) USB: 4x 2.0 Type-A Signed-off-by: Thomas Richard <thomas.richard@bootlin.com> Link: https://github.com/openwrt/openwrt/pull/18119 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
22 lines
327 B
Text
22 lines
327 B
Text
|
|
. /lib/functions/uci-defaults.sh
|
|
. /lib/functions.sh
|
|
. /lib/functions/system.sh
|
|
|
|
board_config_update
|
|
|
|
board=$(board_name)
|
|
|
|
case "$board" in
|
|
st,stm32mp135f-dk)
|
|
ucidef_set_interfaces_lan_wan "eth0" "eth1"
|
|
;;
|
|
st,stm32mp157c-dk2 | \
|
|
st,stm32mp157c-dk2-scmi)
|
|
ucidef_set_interface_lan "eth0"
|
|
;;
|
|
esac
|
|
|
|
board_config_flush
|
|
|
|
exit 0
|