summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorEmil Renner Berthing <kernel@esmil.dk>2021-05-05 21:03:04 +0300
committerEmil Renner Berthing <kernel@esmil.dk>2022-06-02 01:00:30 +0300
commitf9131fefec65c4dae313ffde4cd013f71a8f21e3 (patch)
tree3d310ce5c01e31b969c04ac593f9728fbe82236b /firmware
parent0d630c887ec13a9205b9124c42c54d37118ac1c1 (diff)
downloadlinux-visionfive-5.17.y.tar.xz
[NOT-FOR-UPSTREAM] Add build instructionsvisionfive-5.17.y
For convenience this also adds a small visionfive_defconfig and the firmware needed for the brcmfmac driver along with the signed regulatory database. The firmware is from the linux-firmware repo and the regulatory database from the wireless-regdb Fedora package. Signed-off-by: Emil Renner Berthing <kernel@esmil.dk> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Drew Fustini <drew@beagleboard.org>
Diffstat (limited to 'firmware')
-rw-r--r--firmware/brcm/BCM43430A1.hcdbin0 -> 36657 bytes
-rw-r--r--firmware/brcm/brcmfmac43430-sdio.AP6212.txt44
-rw-r--r--firmware/brcm/brcmfmac43430-sdio.binbin0 -> 421158 bytes
-rw-r--r--firmware/brcm/brcmfmac43430-sdio.clm_blobbin0 -> 4733 bytes
l---------firmware/brcm/brcmfmac43430-sdio.txt1
-rw-r--r--firmware/brcm/nvram_ap6236.txt67
-rw-r--r--firmware/regulatory.dbbin0 -> 3940 bytes
-rw-r--r--firmware/regulatory.db.p7sbin0 -> 1182 bytes
8 files changed, 112 insertions, 0 deletions
diff --git a/firmware/brcm/BCM43430A1.hcd b/firmware/brcm/BCM43430A1.hcd
new file mode 100644
index 000000000000..77ddeb8d2ac8
--- /dev/null
+++ b/firmware/brcm/BCM43430A1.hcd
Binary files differ
diff --git a/firmware/brcm/brcmfmac43430-sdio.AP6212.txt b/firmware/brcm/brcmfmac43430-sdio.AP6212.txt
new file mode 100644
index 000000000000..901854e67bb5
--- /dev/null
+++ b/firmware/brcm/brcmfmac43430-sdio.AP6212.txt
@@ -0,0 +1,44 @@
+# SPDX-License-Identifier: GPL-2.0+
+# (C) Copyright 2018 Linaro Ltd
+# NVRAM config file for the Ampak AP6212 43430 WiFi/BT module
+aa2g=1
+ag0=255
+AvVmid_c0=0x0,0xc8
+boardflags=0x00404201
+# boardflags3 is not set
+boardnum=22
+boardrev=0x1101
+boardtype=0x0726
+# btc_params is not set
+cckbw202gpo=0x5555
+cckpwroffset0=5
+ccode=ALL
+# cldo_pwm is not set
+deadman_to=0xffffffff
+devid=0x43e2
+extpagain2g=0
+il0macaddr=00:90:4c:c5:12:38
+legofdmbw202gpo=0x77777777
+macaddr=00:90:4c:c5:12:38
+manfid=0x2d0
+maxp2ga0=90
+mcsbw202gpo=0xaaaaaaaa
+muxenab=0x10
+nocrc=1
+ofdmdigfilttype=7
+# ofdmdigfilttypebe is not set
+pa0itssit=0x20
+pa2ga0=-168,7161,-820
+# pacalidx2g is not set
+# papdendidx is not set
+# papdepsoffset is not set
+papdmode=2
+# papdvalidtest is not set
+prodid=0x0726
+# propbw202gpois not set
+# spurconfig is not set
+sromrev=11
+txpwrbckof=6
+vendid=0x14e4
+wl0id=0x431b
+xtalfreq=26000
diff --git a/firmware/brcm/brcmfmac43430-sdio.bin b/firmware/brcm/brcmfmac43430-sdio.bin
new file mode 100644
index 000000000000..bb9b19783fe2
--- /dev/null
+++ b/firmware/brcm/brcmfmac43430-sdio.bin
Binary files differ
diff --git a/firmware/brcm/brcmfmac43430-sdio.clm_blob b/firmware/brcm/brcmfmac43430-sdio.clm_blob
new file mode 100644
index 000000000000..69a3e57ae149
--- /dev/null
+++ b/firmware/brcm/brcmfmac43430-sdio.clm_blob
Binary files differ
diff --git a/firmware/brcm/brcmfmac43430-sdio.txt b/firmware/brcm/brcmfmac43430-sdio.txt
new file mode 120000
index 000000000000..e06912f7d727
--- /dev/null
+++ b/firmware/brcm/brcmfmac43430-sdio.txt
@@ -0,0 +1 @@
+brcmfmac43430-sdio.AP6212.txt \ No newline at end of file
diff --git a/firmware/brcm/nvram_ap6236.txt b/firmware/brcm/nvram_ap6236.txt
new file mode 100644
index 000000000000..1d7a6fc6e394
--- /dev/null
+++ b/firmware/brcm/nvram_ap6236.txt
@@ -0,0 +1,67 @@
+#AP6236_NVRAM_V1.1.2_20191121
+# NVRAM file for BCM943430WLPTH, Bx Chip
+# 2.4 GHz, 20 MHz BW mode
+
+# The following parameter values are just placeholders, need to be updated.
+manfid=0x2d0
+prodid=0x0727
+vendid=0x14e4
+devid=0x43e2
+boardtype=0x0727
+boardrev=0x1331
+boardnum=22
+macaddr=00:90:4c:c5:12:38
+sromrev=11
+boardflags=0x00404201
+boardflags3=0x08000000
+xtalfreq=26000
+nocrc=1
+ag0=255
+aa2g=1
+ccode=ALL
+
+pa0itssit=0x20
+extpagain2g=0
+#PA parameters for 2.4GHz, measured at CHIP OUTPUT
+pa2ga0=-202,5582,-671
+AvVmid_c0=0x0,0xc8
+cckpwroffset0=5
+
+# PPR params
+maxp2ga0=74
+txpwrbckof=6
+cckbw202gpo=0x2222
+legofdmbw202gpo=0x55555555
+mcsbw202gpo=0x76666666
+propbw202gpo=0xcc
+
+# OFDM IIR :
+ofdmdigfilttype=18
+ofdmdigfilttypebe=18
+# PAPD mode:
+papdmode=1
+pacalidx2g=42
+papdepsoffset=-22
+papdendidx=58
+
+# LTECX flags
+ltecxmux=0
+ltecxpadnum=0x0102
+ltecxfnsel=0x44
+ltecxgcigpio=0x01
+
+il0macaddr=00:90:4c:c5:12:38
+wl0id=0x431b
+
+deadman_to=0xffffffff
+# muxenab: 0x1 for UART enable, 0x2 for GPIOs, 0x8 for JTAG
+muxenab=0x10
+# CLDO PWM voltage settings - 0x4 - 1.1 volt
+#cldo_pwm=0x4
+
+#VCO freq 326.4MHz
+spurconfig=0x3
+
+AvVmidIQcal=0x2,0xa8
+glitch_based_crsmin=1
+noccpwrlmt=1 \ No newline at end of file
diff --git a/firmware/regulatory.db b/firmware/regulatory.db
new file mode 100644
index 000000000000..6019e8f1a7cf
--- /dev/null
+++ b/firmware/regulatory.db
Binary files differ
diff --git a/firmware/regulatory.db.p7s b/firmware/regulatory.db.p7s
new file mode 100644
index 000000000000..d04cb251fa41
--- /dev/null
+++ b/firmware/regulatory.db.p7s
Binary files differ