ccmp15: add overlay for SOM hardware version 1
At the moment, this overlay adds RTC calibration to compensate the drift observed in the 32kHz input frequency of hardware version 1 of the SOM. Signed-off-by: Hector Palacios <hector.palacios@digi.com> https://onedigi.atlassian.net/browse/DEL-8987
This commit is contained in:
parent
c1fa1190d3
commit
18ba3f592c
|
|
@ -53,6 +53,7 @@ STM32MP_KERNEL_DEVICETREE:ccmp15-dvk += " \
|
|||
_ov_som_bt_ccmp15.dtbo \
|
||||
_ov_som_bt_test_ccmp15.dtbo \
|
||||
_ov_som_m4_ccmp15.dtbo \
|
||||
_ov_som_v1_ccmp15.dtbo \
|
||||
_ov_som_wifi_ccmp15.dtbo \
|
||||
"
|
||||
# Set DTB load address to U-Boot fdt_addr_r
|
||||
|
|
|
|||
|
|
@ -57,6 +57,13 @@ setexpr module_has_wifi ${hwid_2} \& 20000
|
|||
setexpr module_has_wifi ${module_has_wifi} / 20000
|
||||
setexpr module_has_bt ${hwid_2} \& 40000
|
||||
setexpr module_has_bt ${module_has_bt} / 40000
|
||||
setexpr som_hv ${hwid_2} \& 78
|
||||
setexpr som_hv ${som_hv} / 8
|
||||
|
||||
# Apply SOMv1 overlay if the HWID field 'hv' is 1
|
||||
if test "${som_hv}" -eq "1"; then
|
||||
setenv overlays _ov_som_v1_ccmp15.dtbo,${overlays}
|
||||
fi
|
||||
|
||||
if test "${module_has_bt}" = "1" && test -z "${disable_bt}"; then
|
||||
setenv overlays _ov_som_bt_ccmp15.dtbo,${overlays}
|
||||
|
|
|
|||
Loading…
Reference in New Issue