net: wireless: bcmdhd: Use DTB to get MAC address
[linux-3.10.git] / arch / arm64 / boot / dts / tegra210-platforms / tegra210-comms.dtsi
1 #include <dt-bindings/gpio/tegra-gpio.h>
2
3 / {
4         gpio: gpio@6000d000 {
5                 gpio-init-1 = <&wlan_default>;
6
7                 wlan_default: wlan-default {
8                         gpio-input = <
9                                 TEGRA_GPIO(H, 2)
10                                 >;
11                         gpio-output-high = <
12                                 TEGRA_GPIO(H, 0)
13                                 TEGRA_GPIO(H, 1)
14                                 >;
15                 };
16         };
17
18         bluedroid_pm {
19                 compatible = "nvidia,tegra-bluedroid_pm";
20                 id = <0>;
21                 bluedroid_pm,reset-gpio = <&gpio TEGRA_GPIO(H, 4) 0>;
22                 bluedroid_pm,host-wake-gpio = <&gpio TEGRA_GPIO(H, 5) 0>;
23                 bluedroid_pm,ext-wake-gpio = <&gpio TEGRA_GPIO(H, 3) 0>;
24                 interrupt-parent = <&gpio>;
25                 interrupts = <TEGRA_GPIO(H, 5) 0x01>;
26         };
27
28         bcmdhd_wlan {
29                 compatible = "android,bcmdhd_wlan";
30                 interrupt-parent = <&gpio>;
31                 interrupts = <TEGRA_GPIO(H, 2) 0x14>;
32                 wlan-pwr-gpio = <&gpio TEGRA_GPIO(H, 0) 0>;
33                 wlan-rst-gpio = <&gpio TEGRA_GPIO(H, 1) 0>;
34                 status = "okay";
35                 /* wifi MAC address */
36                 mac-address-chosen-dtb-node = "nvidia,wifi-mac";
37                 mac-address-file = "/mnt/factory/wifi/wifi_mac.txt";
38         };
39 };