diff options
author | Jorge Ramirez-Ortiz | 2018-01-10 11:34:35 +0100 |
---|---|---|
committer | Tom Rini | 2018-01-15 16:29:03 -0500 |
commit | e2beb872f7aea055114073218650a1c6234a1cff (patch) | |
tree | 1a8f19e5eea0125be30341774efa0053cfb4fe1f /arch/arm/dts/dragonboard410c.dts | |
parent | 5bef39982a4c291c6d2183711c91fc6f2cbacdb6 (diff) |
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/arm/dts/dragonboard410c.dts')
-rw-r--r-- | arch/arm/dts/dragonboard410c.dts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/dts/dragonboard410c.dts b/arch/arm/dts/dragonboard410c.dts index 7746622dda8..25aeac46b13 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>; |