diff --git a/meta-digi-arm/conf/machine/ccmp15-dvk.conf b/meta-digi-arm/conf/machine/ccmp15-dvk.conf index a4bf1d40b..9887a7759 100644 --- a/meta-digi-arm/conf/machine/ccmp15-dvk.conf +++ b/meta-digi-arm/conf/machine/ccmp15-dvk.conf @@ -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 diff --git a/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccmp15-dvk/boot.txt b/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccmp15-dvk/boot.txt index afe3de4c0..cbf3976b3 100644 --- a/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccmp15-dvk/boot.txt +++ b/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccmp15-dvk/boot.txt @@ -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}