aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorJorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>2018-01-10 11:34:35 +0100
committerTom Rini <trini@konsulko.com>2018-01-15 16:29:03 -0500
commite2beb872f7aea055114073218650a1c6234a1cff (patch)
tree1a8f19e5eea0125be30341774efa0053cfb4fe1f /arch
parent5bef39982a4c291c6d2183711c91fc6f2cbacdb6 (diff)
downloadu-boot-e2beb872f7aea055114073218650a1c6234a1cff.zip
u-boot-e2beb872f7aea055114073218650a1c6234a1cff.tar.gz
u-boot-e2beb872f7aea055114073218650a1c6234a1cff.tar.bz2
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/dragonboard410c.dts10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/dts/dragonboard410c.dts b/arch/arm/dts/dragonboard410c.dts
index 7746622..25aeac4 100644
--- a/arch/arm/dts/dragonboard410c.dts
+++ b/arch/arm/dts/dragonboard410c.dts
@@ -86,6 +86,16 @@
clock-frequency = <200000000>;
};
+ wcnss {
+ bt {
+ compatible="qcom,wcnss-bt";
+ };
+
+ wifi {
+ compatible="qcom,wcnss-wlan";
+ };
+ };
+
spmi@200f000 {
compatible = "qcom,spmi-pmic-arb";
reg = <0x200f800 0x200 0x2400000 0x400000 0x2c00000 0x400000>;