From: Zoltan Herpai Date: Wed, 24 Feb 2016 23:31:48 +0000 (+0000) Subject: sunxi: add descriptor files for wifi+bt modules (AP6181/6210), add brcmfmac to banana... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9c0d3fcf824cffd0814496e71c398264f4a7c87c;p=openwrt%2Fstaging%2Fldir.git sunxi: add descriptor files for wifi+bt modules (AP6181/6210), add brcmfmac to bananapro profile Signed-off-by: Zoltan HERPAI SVN-Revision: 48757 --- 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 index 0000000000..6cb3fd730e --- /dev/null +++ b/target/linux/sunxi/base-files/lib/firmware/brcm/brcmfmac4329-sdio.txt @@ -0,0 +1,57 @@ +#AP6210_NVRAM_V1.2_03192013 +manfid=0x2d0 +prodid=0x492 +vendid=0x14e4 +devid=0x4343 +boardtype=0x0598 + +# Board Revision is P307, same nvram file can be used for P304, P305, P306 and P307 as the tssi pa params used are same +#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 +boardrev=0x1307 +boardnum=777 +xtalfreq=26000 +boardflags=0x80201 +boardflags2=0x80 +sromrev=3 +wl0id=0x431b +macaddr=00:90:4c:07:71:12 +aa2g=1 +ag0=2 +maxp2ga0=74 +cck2gpo=0x2222 +ofdm2gpo=0x44444444 +mcs2gpo0=0x6666 +mcs2gpo1=0x6666 +pa0maxpwr=56 + +#P207 PA params +#pa0b0=5447 +#pa0b1=-658 +#pa0b2=-175
+ +#Same PA params for P304,P305, P306, P307 + +pa0b0=5447 +pa0b1=-607 +pa0b2=-160 +pa0itssit=62 +pa1itssit=62 + + +cckPwrOffset=5 +ccode=0 +rssismf2g=0xa +rssismc2g=0x3 +rssisav2g=0x7 +triso2g=0 +noise_cal_enable_2g=0 +noise_cal_po_2g=0 +swctrlmap_2g=0x04040404,0x02020202,0x02020202,0x010101,0x1ff +temp_add=29767 +temp_mult=425 + +btc_flags=0x6 +btc_params0=5000 +btc_params1=1000 +btc_params6=63 + 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 index 0000000000..901e7825b8 --- /dev/null +++ b/target/linux/sunxi/base-files/lib/firmware/brcm/brcmfmac43362-sdio.txt @@ -0,0 +1,51 @@ +#AP6181_NVRAM_V1.1_01152013 +#adjuest PA parameter for g/n mode +manfid=0x2d0 +prodid=0x492 +vendid=0x14e4 +devid=0x4343 +boardtype=0x0598 + +# Board Revision is P307, same nvram file can be used for P304, P305, P306 and P307 as the tssi pa params used are same +#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 +boardrev=0x1307 +boardnum=777 +xtalfreq=26000 +boardflags=0xa00 +sromrev=3 +wl0id=0x431b +macaddr=00:90:4c:07:71:12 +aa2g=1 +ag0=2 +maxp2ga0=74 +cck2gpo=0x2222 +ofdm2gpo=0x66666666 +mcs2gpo0=0x7777 +mcs2gpo1=0x7777 +pa0maxpwr=56 + +#P207 PA params +#pa0b0=5447 +#pa0b1=-658 +#pa0b2=-175
+ +#Same PA params for P304,P305, P306, P307 + +pa0b0=5447 +pa0b1=-607 +pa0b2=-160 +pa0itssit=62 +pa1itssit=62 + + +cckPwrOffset=5 +ccode=0 +rssismf2g=0xa +rssismc2g=0x3 +rssisav2g=0x7 +triso2g=0 +noise_cal_enable_2g=0 +noise_cal_po_2g=0 +swctrlmap_2g=0x04040404,0x02020202,0x02020202,0x010101,0x1ff +temp_add=29767 +temp_mult=425 diff --git a/target/linux/sunxi/profiles/bananapro.mk b/target/linux/sunxi/profiles/bananapro.mk index 9aad066332..853b0d4d56 100644 --- a/target/linux/sunxi/profiles/bananapro.mk +++ b/target/linux/sunxi/profiles/bananapro.mk @@ -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