Wp7608 device tree update

Hi ,

I am able to build the kernel source code for wp7608 from the yocto source.
I succesfully flashed the linux distribution with out disturbing the other software components.

swicwe -o custom-firmware.spk -c yocto_wp76xx.4k.cwe
fwupdate download custom-firmware.spk 192.168.2.2

Now my question is
Is The device tree part of the yocto_wp76xx.4k.cwe ?
If so could you please let us know the device tree binary name in the build ? I can see the following

mdm9206-wp77xx-mangoh-green.dtb
mdm9607-swi-ar.dtb
mdm9607-mtp.dtb
mdm9607-wp76xx-mangoh-green.dtb
dtb-zImage-3.18.44-swi-ar.dtb
dtb-zImage-3.18.44-mtp.dtb
dtb-zImage-3.18.44-wp76xx-mangoh-green.dtb

If the device tree is not in the above list then where can we find that in the build ?
How to can flash it on the board ?

Thanks,
Siva

Hi,

I was wondering that any update on this topic ?

Thanks,
Siva

Hi @stirulaka, sorry about the slow response. The device tree used for the WP7608 is the mdm9607-wp76xx-mangoh-green. The name isn’t ideal, but is intended as the default tree for MangOH red as well. If you work backwards from the top level DTSI file (kernel/arch/arm/boot/dts/qcom/mdm9607-wp76xx-mangoh-green.dts), you can see some levels of inheritance, if you wanted to replace the mangoh-green top level with a custom platform, or add to it. The resulting DTB is appended to the kernel image, so yocto_wp76xx.4k.cwe is a good way to load it to the target.

Hope that helps,
Ryan

By the way, you can get a little evidence of this Device Tree selection in the logs:
dmesg | grep “Machine model”
[ 0.000000] Machine model: Sierra Wireless, Inc. MDM 9607 WP series

That string is coming from the top level DTS file.

Ryan