dt-bindings: soc: qcom: Add local-bd-address property to WCNSS-BT
authorLoic Poulain <loic.poulain@linaro.org>
Fri, 8 Sep 2017 13:57:54 +0000 (15:57 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 6 Oct 2017 18:35:47 +0000 (20:35 +0200)
Add optional local-bd-address property which is a 6-byte array
storing the assigned BD address. Since having a unique BD address
is critical, a per-device property value should be allocated.
This property is usually added by the boot loader which has access
to the provisioned data.

Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.txt

index 4ea39e9186a75acd972101553c9cb699f43b68ba..042a2e4159bd64db798a2efaa878ee3e7fd6efa5 100644 (file)
@@ -37,6 +37,11 @@ The following properties are defined to the bluetooth node:
        Definition: must be:
                    "qcom,wcnss-bt"
 
+- local-bd-address:
+       Usage: optional
+       Value type: <u8 array>
+       Definition: see Documentation/devicetree/bindings/net/bluetooth.txt
+
 == WiFi
 The following properties are defined to the WiFi node:
 
@@ -91,6 +96,9 @@ smd {
 
                        bt {
                                compatible = "qcom,wcnss-bt";
+
+                               /* BD address 00:11:22:33:44:55 */
+                               local-bd-address = [ 55 44 33 22 11 00 ];
                        };
 
                        wlan {