sunxi: add descriptor files for wifi+bt modules (AP6181/6210), add brcmfmac to banana...
authorwigyori <wigyori@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 24 Feb 2016 23:31:48 +0000 (23:31 +0000)
committerwigyori <wigyori@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 24 Feb 2016 23:31:48 +0000 (23:31 +0000)
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48757 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/sunxi/base-files/lib/firmware/brcm/brcmfmac4329-sdio.txt [new file with mode: 0644]
target/linux/sunxi/base-files/lib/firmware/brcm/brcmfmac43362-sdio.txt [new file with mode: 0644]
target/linux/sunxi/profiles/bananapro.mk

diff --git a/target/linux/sunxi/base-files/lib/firmware/brcm/brcmfmac4329-sdio.txt b/target/linux/sunxi/base-files/lib/firmware/brcm/brcmfmac4329-sdio.txt
new file mode 100644 (file)
index 0000000..4aa4287
--- /dev/null
@@ -0,0 +1,57 @@
+#AP6210_NVRAM_V1.2_03192013\r
+manfid=0x2d0\r
+prodid=0x492\r
+vendid=0x14e4\r
+devid=0x4343\r
+boardtype=0x0598\r
+\r
+# Board Revision is P307, same nvram file can be used for P304, P305, P306 and P307 as the tssi pa params used are same\r
+#Please force the automatic RX PER data to the respective board directory if not using P307 board, for e.g. for P305 boards force the data into the following directory /projects/BCM43362/a1_labdata/boardtests/results/sdg_rev0305\r
+boardrev=0x1307\r
+boardnum=777\r
+xtalfreq=26000\r
+boardflags=0x80201\r
+boardflags2=0x80\r
+sromrev=3\r
+wl0id=0x431b\r
+macaddr=00:90:4c:07:71:12\r
+aa2g=1\r
+ag0=2\r
+maxp2ga0=74\r
+cck2gpo=0x2222\r
+ofdm2gpo=0x44444444\r
+mcs2gpo0=0x6666\r
+mcs2gpo1=0x6666\r
+pa0maxpwr=56\r
+\r
+#P207 PA params\r
+#pa0b0=5447\r
+#pa0b1=-658\r
+#pa0b2=-175<div></div>\r
+\r
+#Same PA params for P304,P305, P306, P307\r
+\r
+pa0b0=5447\r
+pa0b1=-607\r
+pa0b2=-160\r
+pa0itssit=62\r
+pa1itssit=62\r
+\r
+\r
+cckPwrOffset=5\r
+ccode=0\r
+rssismf2g=0xa\r
+rssismc2g=0x3\r
+rssisav2g=0x7\r
+triso2g=0\r
+noise_cal_enable_2g=0\r
+noise_cal_po_2g=0\r
+swctrlmap_2g=0x04040404,0x02020202,0x02020202,0x010101,0x1ff\r
+temp_add=29767\r
+temp_mult=425\r
+\r
+btc_flags=0x6\r
+btc_params0=5000\r
+btc_params1=1000\r
+btc_params6=63\r
+\r
diff --git a/target/linux/sunxi/base-files/lib/firmware/brcm/brcmfmac43362-sdio.txt b/target/linux/sunxi/base-files/lib/firmware/brcm/brcmfmac43362-sdio.txt
new file mode 100644 (file)
index 0000000..9ecbfc2
--- /dev/null
@@ -0,0 +1,51 @@
+#AP6181_NVRAM_V1.1_01152013\r
+#adjuest PA parameter for g/n mode\r
+manfid=0x2d0\r
+prodid=0x492\r
+vendid=0x14e4\r
+devid=0x4343\r
+boardtype=0x0598\r
+\r
+# Board Revision is P307, same nvram file can be used for P304, P305, P306 and P307 as the tssi pa params used are same\r
+#Please force the automatic RX PER data to the respective board directory if not using P307 board, for e.g. for P305 boards force the data into the following directory /projects/BCM43362/a1_labdata/boardtests/results/sdg_rev0305\r
+boardrev=0x1307\r
+boardnum=777\r
+xtalfreq=26000\r
+boardflags=0xa00\r
+sromrev=3\r
+wl0id=0x431b\r
+macaddr=00:90:4c:07:71:12\r
+aa2g=1\r
+ag0=2\r
+maxp2ga0=74\r
+cck2gpo=0x2222\r
+ofdm2gpo=0x66666666\r
+mcs2gpo0=0x7777\r
+mcs2gpo1=0x7777\r
+pa0maxpwr=56\r
+\r
+#P207 PA params\r
+#pa0b0=5447\r
+#pa0b1=-658\r
+#pa0b2=-175<div></div>\r
+\r
+#Same PA params for P304,P305, P306, P307\r
+\r
+pa0b0=5447\r
+pa0b1=-607\r
+pa0b2=-160\r
+pa0itssit=62\r
+pa1itssit=62\r
+\r
+\r
+cckPwrOffset=5\r
+ccode=0\r
+rssismf2g=0xa\r
+rssismc2g=0x3\r
+rssisav2g=0x7\r
+triso2g=0\r
+noise_cal_enable_2g=0\r
+noise_cal_po_2g=0\r
+swctrlmap_2g=0x04040404,0x02020202,0x02020202,0x010101,0x1ff\r
+temp_add=29767\r
+temp_mult=425\r
index 9aad066..853b0d4 100644 (file)
@@ -8,7 +8,8 @@
 define Profile/Bananapro
        NAME:=Bananapro
        PACKAGES:=\
-               uboot-sunxi-Bananapro kmod-rtc-sunxi kmod-ata-core kmod-ata-sunxi
+               uboot-sunxi-Bananapro kmod-rtc-sunxi kmod-ata-core kmod-ata-sunxi \
+               kmod-brcmfmac
 endef
 
 define Profile/Bananapro/Description