db410c: update wlan and bt mac addresses from firmware
authorJorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
Wed, 10 Jan 2018 10:34:35 +0000 (11:34 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 15 Jan 2018 21:29:03 +0000 (16:29 -0500)
commite2beb872f7aea055114073218650a1c6234a1cff
tree1a8f19e5eea0125be30341774efa0053cfb4fe1f
parent5bef39982a4c291c6d2183711c91fc6f2cbacdb6
db410c: update wlan and bt mac addresses from firmware

The firmware that runs before u-boot modifies u-boot's device tree
adding the local-mac-address and local-bd-address properties for the
compatibles "qcom,wcnss-bt" and "qcom,wcnss-wlan".

This commit reads that firmware, retrieves the properties and fixups
the device tree that is passed to the kernel before booting.

Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
arch/arm/dts/dragonboard410c.dts
board/qualcomm/dragonboard410c/Makefile
board/qualcomm/dragonboard410c/dragonboard410c.c
board/qualcomm/dragonboard410c/lowlevel_init.S [new file with mode: 0644]
configs/dragonboard410c_defconfig