From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id B19F2E008C3; Thu, 13 Nov 2014 10:59:22 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] X-Greylist: delayed 363 seconds by postgrey-1.32 at yocto-www; Thu, 13 Nov 2014 10:59:19 PST Received: from nautica.notk.org (nautica.notk.org [91.121.71.147]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 47EFDE00831 for ; Thu, 13 Nov 2014 10:59:19 -0800 (PST) Received: by nautica.notk.org (Postfix, from userid 1000) id C5E53C009; Thu, 13 Nov 2014 19:53:14 +0100 (CET) Date: Thu, 13 Nov 2014 19:53:14 +0100 From: Benjamin Cohen To: meta-freescale@yoctoproject.org Message-ID: <20141113185314.GA8921@notk.org> MIME-Version: 1.0 User-Agent: Mutt/1.5.21 (2010-09-15) Subject: [meta-fsl-arm-extra][PATCH] broadcom-nvram-config: add cubox-i X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Nov 2014 18:59:22 -0000 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline - add bcm4330 nvram config for cubox-i - add bcm4330-nvram-config to MACHINE_EXTRA_RRECOMMENDS for cubox-i Signed-off-by: Benjamin Cohen --- conf/machine/cubox-i.conf | 4 ++ .../broadcom-nvram-config/bcm4330-nvram-config.bb | 2 +- .../files/cubox-i/brcmfmac4330-sdio.txt | 40 ++++++++++++++++++++ 3 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 recipes-bsp/broadcom-nvram-config/files/cubox-i/brcmfmac4330-sdio.txt diff --git a/conf/machine/cubox-i.conf b/conf/machine/cubox-i.conf index 6c67c19..fa90d7c 100644 --- a/conf/machine/cubox-i.conf +++ b/conf/machine/cubox-i.conf @@ -33,4 +33,8 @@ KERNEL_DEVICETREE = "imx6dl-cubox-i.dtb imx6q-cubox-i.dtb imx6dl-hummingboard.dt MACHINE_FEATURES += "pci wifi bluetooth alsa bluetooth irda serial usbhost wifi" MACHINE_FIRMWARE_append_mx6 = " linux-firmware-ath6k" +MACHINE_EXTRA_RRECOMMENDS += " \ + bcm4330-nvram-config \ +" + SERIAL_CONSOLE = "115200 ttymxc0" diff --git a/recipes-bsp/broadcom-nvram-config/bcm4330-nvram-config.bb b/recipes-bsp/broadcom-nvram-config/bcm4330-nvram-config.bb index 592cfc9..d5e7ebb 100644 --- a/recipes-bsp/broadcom-nvram-config/bcm4330-nvram-config.bb +++ b/recipes-bsp/broadcom-nvram-config/bcm4330-nvram-config.bb @@ -5,4 +5,4 @@ include broadcom-nvram-config.inc CHIP_MODEL = "4330" -COMPATIBLE_MACHINE = "(nitrogen6x-lite|wandboard-dual|wandboard-quad)" +COMPATIBLE_MACHINE = "(nitrogen6x-lite|wandboard-dual|wandboard-quad|cubox-i)" diff --git a/recipes-bsp/broadcom-nvram-config/files/cubox-i/brcmfmac4330-sdio.txt b/recipes-bsp/broadcom-nvram-config/files/cubox-i/brcmfmac4330-sdio.txt new file mode 100644 index 0000000..9546246 --- /dev/null +++ b/recipes-bsp/broadcom-nvram-config/files/cubox-i/brcmfmac4330-sdio.txt @@ -0,0 +1,40 @@ +# bcm94330wlsdgb.txt +manfid=0x2d0 +prodid=0x0552 +vendid=0x14e4 +devid=0x4360 +boardtype=0x0552 +boardrev=0x11 +# this design has 2.4GHz SP3T switch +boardflags=0x00080200 +nocrc=1 +xtalfreq=37400 +boardnum=22 +macaddr=00:90:4c:c5:12:38 +ag0=255 +aa2g=1 +ccode=CN +pa0b0=0x14d0 +pa0b1=0xfd98 +pa0b2=0xff78 +rssismf2g=0xa +rssismc2g=0x3 +rssisav2g=0x7 +maxp2ga0=0x50 +sromrev=3 +il0macaddr=00:90:4c:c5:12:38 +wl0id=0x431b +cckPwrOffset=5 +ofdm2gpo=0x66666666 +mcs2gpo0=0x6666 +mcs2gpo1=0x6666 +swctrlmap_2g=0x04040404,0x02020202,0x02020404,0x10202,0x1ff +swctrlmap_5g=0x00100010,0x00280020,0x00200010,0x14202,0x2f8 +rfreg033=0x19 +rfreg033_cck=0x1f +dacrate2g=160 +txalpfbyp2g=1 +bphyscale=17 +cckPwrIdxCorr=-15 +pacalidx2g=45 +txgaintbl=1 -- 1.7.10.4