bmips: add B43 SPROM PCI fixups
Add support for registering fallback BCMA/SSB B43 SPROMs. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
This commit is contained in:
parent
7f04d67517
commit
793047bb0f
@ -31,6 +31,28 @@
|
||||
debounce-interval = <60>;
|
||||
};
|
||||
};
|
||||
|
||||
bcm43217-sprom {
|
||||
compatible = "brcm,bcm43217-sprom";
|
||||
|
||||
pci-bus = <1>;
|
||||
pci-dev = <0>;
|
||||
|
||||
mtd-mac-address = <&cfe 0x6a0>;
|
||||
mtd-mac-address-increment = <1>;
|
||||
|
||||
brcm,sprom-fixups = <6 0x1c00>,
|
||||
<65 0x1255>,
|
||||
<97 0xfe55>,
|
||||
<98 0x171d>,
|
||||
<99 0xfa42>,
|
||||
<113 0xfeb7>,
|
||||
<114 0x18cd>,
|
||||
<115 0xfa4f>,
|
||||
<162 0x6444>,
|
||||
<170 0x6444>,
|
||||
<172 0x6444>;
|
||||
};
|
||||
};
|
||||
|
||||
&ehci {
|
||||
|
@ -24,6 +24,41 @@
|
||||
debounce-interval = <60>;
|
||||
};
|
||||
};
|
||||
|
||||
bcm43225-sprom {
|
||||
compatible = "brcm,bcm43225-sprom";
|
||||
|
||||
pci-bus = <1>;
|
||||
pci-dev = <0>;
|
||||
|
||||
mtd-mac-address = <&cfe 0x6a0>;
|
||||
mtd-mac-address-increment = <1>;
|
||||
|
||||
brcm,sprom-fixups = <2 0x05bb>,
|
||||
<65 0x1204>,
|
||||
<78 0x0303>,
|
||||
<79 0x0202>,
|
||||
<80 0xff02>,
|
||||
<87 0x0315>,
|
||||
<88 0x0315>,
|
||||
<96 0x2048>,
|
||||
<97 0xff11>,
|
||||
<98 0x1567>,
|
||||
<99 0xfb24>,
|
||||
<100 0x3e3c>,
|
||||
<101 0x4038>,
|
||||
<102 0xfe7f>,
|
||||
<103 0x1279>,
|
||||
<112 0x2048>,
|
||||
<113 0xff03>,
|
||||
<114 0x154c>,
|
||||
<115 0xfb27>,
|
||||
<116 0x3e3c>,
|
||||
<117 0x4038>,
|
||||
<118 0xfe87>,
|
||||
<119 0x1233>,
|
||||
<203 0x2226>;
|
||||
};
|
||||
};
|
||||
|
||||
&ehci {
|
||||
|
@ -53,6 +53,23 @@
|
||||
gpios = <&pinctrl 31 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
};
|
||||
|
||||
bcm43222-sprom {
|
||||
compatible = "brcm,bcm43222-sprom";
|
||||
|
||||
pci-bus = <0>;
|
||||
pci-dev = <1>;
|
||||
|
||||
mtd-mac-address = <&cfe 0x6a0>;
|
||||
mtd-mac-address-increment = <1>;
|
||||
|
||||
brcm,sprom-fixups = <97 0xfeb3>,
|
||||
<98 0x1618>,
|
||||
<99 0xfab0>,
|
||||
<113 0xfed1>,
|
||||
<114 0x1609>,
|
||||
<115 0xfad9>;
|
||||
};
|
||||
};
|
||||
|
||||
&ehci {
|
||||
@ -102,7 +119,7 @@
|
||||
|
||||
&pinctrl {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_pci &pinctrl_ephy0_led &pinctrl_ephy1_led
|
||||
pinctrl-0 = <&pinctrl_ephy0_led &pinctrl_ephy1_led
|
||||
&pinctrl_ephy2_led &pinctrl_ephy3_led>;
|
||||
};
|
||||
|
||||
|
1195
target/linux/bmips/files/arch/mips/bmips/b43-sprom.c
Normal file
1195
target/linux/bmips/files/arch/mips/bmips/b43-sprom.c
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,6 @@
|
||||
--- a/arch/mips/bmips/Makefile
|
||||
+++ b/arch/mips/bmips/Makefile
|
||||
@@ -1,2 +1,3 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
obj-y += setup.o irq.o dma.o
|
||||
+obj-y += b43-sprom.o
|
Loading…
Reference in New Issue
Block a user