From 8f7ece342d5238d9097999435c519c27b1ed9a28 Mon Sep 17 00:00:00 2001 From: Isaac Hermida Date: Fri, 5 Dec 2025 13:25:45 +0100 Subject: [PATCH] linux-dey: ccimx95: add temporary patch to support early prototypes As the HWID support is not implemented yet, is needed to fill the wireless information in the DT structure to have Wi-Fi and Bluetooth working. This is just a temporal patch for initial prototypes. Signed-off-by: Isaac Hermida --- ...rototypes-enable-wireless-interfaces.patch | 48 +++++++++++++++++++ .../recipes-kernel/linux/linux-dey_6.6.bb | 4 ++ 2 files changed, 52 insertions(+) create mode 100644 meta-digi-arm/recipes-kernel/linux/linux-dey/ccimx95/0001-CC95-early-prototypes-enable-wireless-interfaces.patch diff --git a/meta-digi-arm/recipes-kernel/linux/linux-dey/ccimx95/0001-CC95-early-prototypes-enable-wireless-interfaces.patch b/meta-digi-arm/recipes-kernel/linux/linux-dey/ccimx95/0001-CC95-early-prototypes-enable-wireless-interfaces.patch new file mode 100644 index 000000000..07658e875 --- /dev/null +++ b/meta-digi-arm/recipes-kernel/linux/linux-dey/ccimx95/0001-CC95-early-prototypes-enable-wireless-interfaces.patch @@ -0,0 +1,48 @@ +From: Isaac Hermida +Date: Fri, 21 Nov 2025 10:12:53 +0100 +Subject: [PATCH] CC95: early prototypes: enable wireless interfaces + +As the HWID is not completed yet, is needed to fill that info manually. +This is just temporal for the initial prototypes. +Additionally, in U-Boot, is needed to set the overlays as: + setenv overlays ccimx9_wifi.dtbo,ccimx9_bt.dtbo + +Signed-off-by: Isaac Hermida +--- + arch/arm64/boot/dts/digi/ccimx9_bt.dtso | 1 + + arch/arm64/boot/dts/digi/ccimx9_wifi.dtso | 3 +++ + 2 files changed, 4 insertions(+) + +diff --git a/arch/arm64/boot/dts/digi/ccimx9_bt.dtso b/arch/arm64/boot/dts/digi/ccimx9_bt.dtso +index 6b4ca6229706..e073fe328dea 100644 +--- a/arch/arm64/boot/dts/digi/ccimx9_bt.dtso ++++ b/arch/arm64/boot/dts/digi/ccimx9_bt.dtso +@@ -23,6 +23,7 @@ __overlay__ { + overlay-description = "SOM: Bluetooth"; + bluetooth { + /* U-Boot will fill in the MAC address here */ ++ mac-address = [00 04 f3 ff ff fc]; + }; + }; + }; +diff --git a/arch/arm64/boot/dts/digi/ccimx9_wifi.dtso b/arch/arm64/boot/dts/digi/ccimx9_wifi.dtso +index 7d73c4c7764d..80d766215ee0 100644 +--- a/arch/arm64/boot/dts/digi/ccimx9_wifi.dtso ++++ b/arch/arm64/boot/dts/digi/ccimx9_wifi.dtso +@@ -25,6 +25,7 @@ __overlay__ { + overlay-description = "SOM: Wi-Fi"; + wireless { + /* U-Boot will fill in the MAC address here */ ++ mac-address = [00 04 f3 ff ff fb]; + }; + }; + }; +@@ -42,6 +43,8 @@ __overlay__ { + bus-width = <4>; + non-removable; + wakeup-source; ++ // Workaround: limit max freq to 100MHz ++ max-frequency = <100000000>; + status = "okay"; + }; + }; diff --git a/meta-digi-arm/recipes-kernel/linux/linux-dey_6.6.bb b/meta-digi-arm/recipes-kernel/linux/linux-dey_6.6.bb index cb3491fe0..586f8b079 100644 --- a/meta-digi-arm/recipes-kernel/linux/linux-dey_6.6.bb +++ b/meta-digi-arm/recipes-kernel/linux/linux-dey_6.6.bb @@ -26,6 +26,10 @@ SRC_URI:append:ccmp25 = " \ ${@oe.utils.conditional('TRUSTFENCE_ENABLED', '1' , 'file://0001-ARM64-dts-ccmp25-add-signed-firmware-support-for-RPR.patch', '', d)} \ " +SRC_URI:append:ccimx95 = " \ + file://0001-CC95-early-prototypes-enable-wireless-interfaces.patch \ +" + # Define RT config fragments per machine RT_CONFIG_FRAGS:use-nxp-bsp = " ${WORKDIR}/fragment-nxp-rt.config" RT_CONFIG_FRAGS:stm32mpcommon = " \