diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2021-03-23 20:14:38 +0100 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2021-03-23 20:14:38 +0100 |
commit | 793047bb0f48ed61b2ea7905465ced19cda626ca (patch) | |
tree | 12a947618b1db7e8f58debfac605e7e9403f0a40 /target/linux/bmips/dts | |
parent | 7f04d675170d255580edf77d4ff7c0adebb57609 (diff) | |
download | upstream-793047bb0f48ed61b2ea7905465ced19cda626ca.tar.gz upstream-793047bb0f48ed61b2ea7905465ced19cda626ca.tar.bz2 upstream-793047bb0f48ed61b2ea7905465ced19cda626ca.zip |
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>
Diffstat (limited to 'target/linux/bmips/dts')
-rw-r--r-- | target/linux/bmips/dts/bcm6318-comtrend-ar-5315u.dts | 22 | ||||
-rw-r--r-- | target/linux/bmips/dts/bcm6328-comtrend-ar-5387un.dts | 35 | ||||
-rw-r--r-- | target/linux/bmips/dts/bcm6368-comtrend-vr-3025u.dts | 19 |
3 files changed, 75 insertions, 1 deletions
diff --git a/target/linux/bmips/dts/bcm6318-comtrend-ar-5315u.dts b/target/linux/bmips/dts/bcm6318-comtrend-ar-5315u.dts index 5b44b05e70..725c7e38cd 100644 --- a/target/linux/bmips/dts/bcm6318-comtrend-ar-5315u.dts +++ b/target/linux/bmips/dts/bcm6318-comtrend-ar-5315u.dts @@ -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 { diff --git a/target/linux/bmips/dts/bcm6328-comtrend-ar-5387un.dts b/target/linux/bmips/dts/bcm6328-comtrend-ar-5387un.dts index 261162454f..14608fedb1 100644 --- a/target/linux/bmips/dts/bcm6328-comtrend-ar-5387un.dts +++ b/target/linux/bmips/dts/bcm6328-comtrend-ar-5387un.dts @@ -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 { diff --git a/target/linux/bmips/dts/bcm6368-comtrend-vr-3025u.dts b/target/linux/bmips/dts/bcm6368-comtrend-vr-3025u.dts index c036b1cbec..6466cb3aca 100644 --- a/target/linux/bmips/dts/bcm6368-comtrend-vr-3025u.dts +++ b/target/linux/bmips/dts/bcm6368-comtrend-vr-3025u.dts @@ -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>; }; |