net: wireless: bcmdhd: Use DTB to get MAC address
[linux-3.10.git] / arch / arm64 / boot / dts / tegra210-platforms / tegra210-hawkeye-comms.dtsi
1 #include "tegra210-comms.dtsi"
2
3 / {
4         bcm4329_wlan2_ {
5                 compatible = "nvidia,tegra-bcmdhd2-wlan";
6                 interrupt-parent = <&gpio>;
7                 interrupts = <TEGRA_GPIO(I, 1) 0x14>;
8                 wlan-pwr-gpio = <&gpio TEGRA_GPIO(I, 0) 0>;
9 /*
10                 wlan-rst-gpio = <&gpio TEGRA_GPIO(I, xxx) 0>;
11 */
12                 status = "disabled";
13         };
14
15         bcmdhd_wlan {
16                 /* wifi MAC address */
17                 mac-address-chosen-dtb-node = "nvidia,wifi-mac";
18                 mac-address-file = "/mnt/factory/wifi/wifi_mac.txt";
19                 country_code_map {
20                         CC1 {
21                                 iso_abbrev = "XV";
22                                 custom_locale = "XV";
23                                 custom_locale_rev = <998>;
24                         };
25                         CC2 {
26                                 iso_abbrev = "US";
27                                 custom_locale = "Q2";
28                                 custom_locale_rev = <998>;
29                         };
30                         CC3 {
31                                 iso_abbrev = "CA";
32                                 custom_locale = "Q2";
33                                 custom_locale_rev = <998>;
34                         };
35                         CC4 {
36                                 iso_abbrev = "AT";
37                                 custom_locale = "E0";
38                                 custom_locale_rev = <53>;
39                         };
40                         CC5 {
41                                 iso_abbrev = "BE";
42                                 custom_locale = "E0";
43                                 custom_locale_rev = <53>;
44                         };
45                         CC6 {
46                                 iso_abbrev = "BG";
47                                 custom_locale = "E0";
48                                 custom_locale_rev = <53>;
49                         };
50                         CC7 {
51                                 iso_abbrev = "HR";
52                                 custom_locale = "E0";
53                                 custom_locale_rev = <53>;
54                         };
55                         CC8 {
56                                 iso_abbrev = "CZ";
57                                 custom_locale = "E0";
58                                 custom_locale_rev = <53>;
59                         };
60                         CC9 {
61                                 iso_abbrev = "DK";
62                                 custom_locale = "E0";
63                                 custom_locale_rev = <53>;
64                         };
65                         CC10 {
66                                 iso_abbrev = "FR";
67                                 custom_locale = "E0";
68                                 custom_locale_rev = <53>;
69                         };
70                         CC11 {
71                                 iso_abbrev = "DE";
72                                 custom_locale = "E0";
73                                 custom_locale_rev = <53>;
74                         };
75                         CC12 {
76                                 iso_abbrev = "GR";
77                                 custom_locale = "E0";
78                                 custom_locale_rev = <53>;
79                         };
80                         CC13 {
81                                 iso_abbrev = "HU";
82                                 custom_locale = "E0";
83                                 custom_locale_rev = <53>;
84                         };
85                         CC14 {
86                                 iso_abbrev = "IT";
87                                 custom_locale = "E0";
88                                 custom_locale_rev = <53>;
89                         };
90                         CC15 {
91                                 iso_abbrev = "NL";
92                                 custom_locale = "E0";
93                                 custom_locale_rev = <53>;
94                         };
95                         CC16 {
96                                 iso_abbrev = "NO";
97                                 custom_locale = "E0";
98                                 custom_locale_rev = <53>;
99                         };
100                         CC17 {
101                                 iso_abbrev = "PL";
102                                 custom_locale = "E0";
103                                 custom_locale_rev = <53>;
104                         };
105                         CC18 {
106                                 iso_abbrev = "PT";
107                                 custom_locale = "E0";
108                                 custom_locale_rev = <53>;
109                         };
110                         CC19 {
111                                 iso_abbrev = "RO";
112                                 custom_locale = "E0";
113                                 custom_locale_rev = <53>;
114                         };
115                         CC20 {
116                                 iso_abbrev = "SK";
117                                 custom_locale = "E0";
118                                 custom_locale_rev = <53>;
119                         };
120                         CC21 {
121                                 iso_abbrev = "ES";
122                                 custom_locale = "E0";
123                                 custom_locale_rev = <53>;
124                         };
125                         CC22 {
126                                 iso_abbrev = "SE";
127                                 custom_locale = "E0";
128                                 custom_locale_rev = <53>;
129                         };
130                         CC23 {
131                                 iso_abbrev = "CH";
132                                 custom_locale = "E0";
133                                 custom_locale_rev = <53>;
134                         };
135                         CC24 {
136                                 iso_abbrev = "GB";
137                                 custom_locale = "E0";
138                                 custom_locale_rev = <53>;
139                         };
140                         CC25 {
141                                 iso_abbrev = "EU";
142                                 custom_locale = "E0";
143                                 custom_locale_rev = <53>;
144                         };
145                         CC26 {
146                                 iso_abbrev = "E0";
147                                 custom_locale = "E0";
148                                 custom_locale_rev = <53>;
149                         };
150                         CC27 {
151                                 iso_abbrev = "IN";
152                                 custom_locale = "Q2";
153                                 custom_locale_rev = <998>;
154                         };
155                 };
156         };
157 };