bmips: shg2500: add BCM4360 fallback SPROM
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Sun, 23 Apr 2023 09:44:34 +0000 (11:44 +0200)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Sun, 23 Apr 2023 10:19:02 +0000 (12:19 +0200)
Apart from the embedded BCM63268 wireless, this device has an external BCM4360
connected by PCIe which needs a fallback SPROM.
b43 isn't enabled for this device because BCM4360 isn't supported (AC PHY).

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
target/linux/bmips/dts/bcm63168-sercomm-shg2500.dts
target/linux/bmips/image/bcm63268.mk

index 76bedfac94a7a7b1a6e3628d27156d42485e43bd..bcab940771c6712220b3a2a548020403025039bd 100644 (file)
                        debounce-interval = <60>;
                };
        };
+
+       bcm4360-sprom {
+               compatible = "brcm,bcma-sprom";
+
+               pci-bus = <1>;
+               pci-dev = <0>;
+
+               nvmem-cells = <&macaddr_cferom_6a0>;
+               nvmem-cell-names = "mac-address";
+               mac-address-increment = <1>;
+
+               brcm,sprom = "brcm/bcm4360-sprom.bin";
+       };
 };
 
 &ehci {
index 6f7cda74055e5b532b45d5b070aac221bb4ed749..6e27b16624ff7ec2c468e410875ae0da668693a4 100644 (file)
@@ -73,8 +73,9 @@ define Device/sercomm_shg2500
   PAGESIZE := 2048
   SUBPAGESIZE := 512
   VID_HDR_OFFSET := 2048
-  DEVICE_PACKAGES += $(USB2_PACKAGES) kmod-i2c-gpio \
-    kmod-leds-sercomm-msp430
+  DEVICE_PACKAGES += $(USB2_PACKAGES) \
+    broadcom-4360-sprom \
+    kmod-i2c-gpio kmod-leds-sercomm-msp430
   SERCOMM_FSVER := 1001
   SERCOMM_HWVER := 1424e4a
   SERCOMM_SWVER := 3207