From: Benjamin Cohen <bencoh@notk.org>
To: meta-freescale@yoctoproject.org
Subject: [meta-fsl-arm-extra][PATCH] broadcom-nvram-config: add cubox-i
Date: Thu, 13 Nov 2014 19:53:14 +0100 [thread overview]
Message-ID: <20141113185314.GA8921@notk.org> (raw)
- add bcm4330 nvram config for cubox-i
- add bcm4330-nvram-config to MACHINE_EXTRA_RRECOMMENDS for cubox-i
Signed-off-by: Benjamin Cohen <bencoh@notk.org>
---
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
next reply other threads:[~2014-11-13 18:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-13 18:53 Benjamin Cohen [this message]
2014-11-27 10:43 ` [meta-fsl-arm-extra][PATCH] broadcom-nvram-config: add cubox-i Carlos Rafael Giani
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20141113185314.GA8921@notk.org \
--to=bencoh@notk.org \
--cc=meta-freescale@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.