aboutsummaryrefslogtreecommitdiff
path: root/target/linux/bmips/dts
Commit message (Collapse)AuthorAge
* bmips: bcm6358: add support for Huawei HG553Álvaro Fernández Rojas2025-06-12
| | | | | | | | | | | | | | | | | | | | | | | | | | Specifications: - SoC: Broadcom BCM6358 dual 300MHz MIPS - Flash: 16MB NOR - RAM: 64MB DDR - Ethernet: 4x 100M - Wifi: Broadcom BCM4318 - 2x USB 2.0 port - 2x Button - 9x LED - RJ11 2x FXS VoIP (unsupported) - RJ11 xDSL (unsupported) Install instructions: - Assign static IP 192.168.1.100 to PC. - Unplug the power source. - Press the RESTART button at the router, don't release it yet! - Plug the power source and wait at least 15 seconds. - Release the RESTART button. - Browse to http://192.168.1.1 with your PC. - Upload the openwrt-bmips-bcm6358-huawei_hg553-squashfs-cfe.bin file. - Wait some minutes until the firmware upgrade completes. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: bcm6358: add support for Huawei HG556a ver CÁlvaro Fernández Rojas2025-06-11
| | | | | | | | | | | | | | | | | | | | | | | | | | Specifications: - SoC: Broadcom BCM6358 dual 300MHz MIPS - Flash: 16MB NOR Macronix MX29GL128EHT2I-90G - RAM: 64MB DDR - Ethernet: 4x 100M - Wifi: Ralink RT3062F - 3x USB 2.0 port - 4x Button - 13x LED - RJ11 2x FXS VoIP (unsupported) - RJ11 xDSL (unsupported) Install instructions: - Assign static IP 192.168.1.100 to PC. - Unplug the power source. - Press the RESTART button at the router, don't release it yet! - Plug the power source and wait at least 15 seconds. - Release the RESTART button. - Browse to http://192.168.1.1 with your PC. - Upload the openwrt-bmips-bcm6358-huawei_hg556a-c-squashfs-cfe.bin file. - Wait some minutes until the firmware upgrade completes. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: bcm6358: add support for Huawei HG556a ver AÁlvaro Fernández Rojas2025-06-08
| | | | | | | | | | | | | | | | | | | | | | | | | | Specifications: - SoC: Broadcom BCM6358 dual 300MHz MIPS - Flash: 16MB NOR Spansion S29GL128P10 - RAM: 64MB DDR - Ethernet: 4x 100M - Wifi: Atheros AR9223 - 3x USB 2.0 port - 4x Button - 13x LED - RJ11 2x FXS VoIP (unsupported) - RJ11 xDSL (unsupported) Install instructions: - Assign static IP 192.168.1.100 to PC. - Unplug the power source. - Press the RESTART button at the router, don't release it yet! - Plug the power source and wait at least 15 seconds. - Release the RESTART button. - Browse to http://192.168.1.1 with your PC. - Upload the openwrt-bmips-bcm6358-huawei_hg556a-a-squashfs-cfe.bin file. - Wait some minutes until the firmware upgrade completes. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* generic: 6.12: backport b53 RGMII port patchesÁlvaro Fernández Rojas2025-06-07
| | | | | | Update b53 RGMII port patches to the accepted upstream version. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: huawei,hg556a-b: enable external switchÁlvaro Fernández Rojas2025-06-01
| | | | | | | | | | | | | | | | The external switch of the Huawei HG556a is a BCM5325E connected by MDIO. All the DSA brcm legacy FCS tag and b53 patches have been submitted upstream and will be backported when accepted. There are still some sporadic FDB errors, but at least the switch is working and stable on my device: bcm53xx fffe4800.ethernet-mii:1e: port 0 failed to add 72:31:59:xx:xx:xx vid 1 to fdb: -28 bcm53xx fffe4800.ethernet-mii:1e: port 0 failed to add 5c:4c:a9:xx:xx:xx vid 0 to fdb: -28 bcm53xx fffe4800.ethernet-mii:1e: port 0 failed to add 5c:4c:a9:xx:xx:xx vid 1 to fdb: -28 bcm53xx fffe4800.ethernet-mii:1e: port 0 failed to delete 72:31:59:xx:xx:xx vid 1 from fdb: -2 Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* treewide: strip trailing whitespaceMieczyslaw Nalewaj2025-05-20
| | | | | | | | | | | | Strip trailing whitespace in all code: find . -type f | grep "\.c$" | xargs sed -i 's/[ \t]\+$//' find . -type f | grep "\.h$" | xargs sed -i 's/[ \t]\+$//' find . -type f | grep "\.dts$" | xargs sed -i 's/[ \t]\+$//' find . -type f | grep "\.dtsi$" | xargs sed -i 's/[ \t]\+$//' Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/18626 Signed-off-by: Robert Marko <robimarko@gmail.com>
* bmips: add support for Actiontec T1200HKyle Hendry2025-04-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Specifications: - SoC: Broadcom BCM63168 dual 400MHz MIPS - Flash: 128MB NAND ESMT F59L1G81A - RAM: 128MB DDR3 - Ethernet: 5x 1000M - Wifi: BCM435F - 1x USB 2.0 port - 2x Button - 11x LED - Coax HPNA (unsupported) - RJ11 xDSL (unsupported) Install instructions: The booloader will only install signed firmware so the image has to be manually flashed. - Set up a TFTP server on 192.168.1.0/24 to serve the initramfs image - Interrupt the bootloader and run from RAM with r 192.168.1.100:openwrt-bmips-bcm63268-actiontec_t1200h-initramfs.elf - On the openwrt console, copy the wfi image using wget/tftp/scp, i.e scp user@192.168.1.100:~/openwrt/bin/targets/bmips/bcm63268/openwrt-bmips-bcm63268-actiontec_t1200h-squashfs-cfe.bin /tmp/ - Erase half the flash partition where openwrt will be installed with flash_erase -j /dev/mtd1 0 491 - Flash the openwrt image with nandwrite -p /dev/mtd1 /tmp/openwrt-bmips-bcm63268-actiontec_t1200h-squashfs-cfe.bin - Reboot - Interrupt the bootloader again and use the c command to boot from previous firmware if vendor image is loaded Signed-off-by: Kyle Hendry <kylehendrydev@gmail.com> [Minor improvements to DTS file] Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: shg2500: add missing led controller cellsÁlvaro Fernández Rojas2025-01-28
| | | | | | | | | Fixes the following DT warnings: ../dts/bcm63168-sercomm-shg2500.dts:76.4-14: Warning (reg_format): /ubus/spi@10001000/led-controller@1/led@1:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1) ../dts/bcm63168-sercomm-shg2500.dts:75.9-78.5: Warning (avoid_default_addr_size): /ubus/spi@10001000/led-controller@1/led@1: Relying on default #address-cells value ../dts/bcm63168-sercomm-shg2500.dts:75.9-78.5: Warning (avoid_default_addr_size): /ubus/spi@10001000/led-controller@1/led@1: Relying on default #size-cells value Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: dts: fix pinctrl errorKyle Hendry2024-12-24
| | | | | | | | | | | | | | | | The kernel logs the error "bcm6368_nand 10000200.nand: there is not valid maps for state default" on boot and all nand pins show as UNCLAIMED in sysfs pinmux-pins. bcm6362.dtsi, bcm6368.dtsi and bcm63268.dtsi use the undocumented property group which the driver doesn't understand. This has been documented upstream in commit caf963efd4b0b9ff42ca12e52b8efe277264d35b. Replacing group with pins allows the nand pins to be properly configured. Signed-off-by: Kyle Hendry <kylehendrydev@gmail.com> [add bcm636/bcm6368 and fix commit title] Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: dsl-2750b-b1: fix calibration sizeRosen Penev2024-12-23
| | | | | | | | AR9287 uses 3d8, not 440 like newer chips. Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17278 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* bmips: fix kernel panic caused by missing CBR addressDaniel González Cabanelas2024-10-01
| | | | | | | | | | | | The cbr-reg DTS property uses a wrong name causing the RAC kernel panic again on BCM6358 BCM6368 boards. Use the correct cbr-reg name property. Fixes: 7c9644a7b5 ("bmips: backport upstreamed RAC patches") Signed-off-by: Daniel González Cabanelas <dgcbueu@gmail.com> Link: https://github.com/openwrt/openwrt/pull/16561 Signed-off-by: Robert Marko <robimarko@gmail.com>
* bmips: add support for TP-Link TD-W8968 V3Mathesh Velayudan2024-08-24
| | | | | | | | | | | | | | | | | | | | | | | | | | TP-Link TD-W8968 v3 is an 300Mbps Wireless N USB ADSL2+ Modem Router based on Broadcom BCM6318 SoC. Hardware: CPU: Broadcom BCM6318, 333 MHz, 1 core Flash: 8MB RAM: 64 MB Ethernet: 4x 10/100 Mbps Wireless: 802.11b/g/n, BCM43217 LEDs/Buttons: 10x / 3x USB: 1x 2.0 Flash instructions: * Assign static IP 192.168.1.100 to PC * Unplug the power source * Press the RESET button at the router, don't release it yet! * Plug the power source. Wait for some seconds * Release the RESET button * Browse to http://192.168.1.1 * Upload the openwrt-bmips-bcm6318-tp-link_td-w8968-v3-squashfs-cfe.bin file * Wait some minutes until the firmware upgrade finish. Signed-off-by: Mathesh Velayudan <123v.mathesh@gmail.com>
* bmips: bcm6328: add support for D-Link DSL-2750B rev B1Samuele Longhi2024-08-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The D-Link DSL-2750B rev B1 (AW4339U) is a wifi fast ethernet router, 2.4 GHz single band with two external antennas. This ports the device from old target bcm63xx/generic to bmips/bcm6328. The hardware is the same of D-Link DSL-2740B rev F1 and DSL-2741B rev F1, plus a usb2 port. Hardware: - SoC: Broadcom BCM63281 - CPU: single core BMIPS4350 @ 320Mhz - RAM: 64 MB (Nanya NT5TU32M16DG) - Flash: 8 MB NOR (Macronix MX25L6406ENI-12G) - Ethernet LAN: 4x 100Mbit (Broadcom BCM63281) - Wifi 2.4 GHz: 802.11bgn (Atheros AR9287) - USB: 1x 2.0 - Buttons: 3x - LEDs: 10x - UART: yes Installation via CFE web UI: 1. Power off the router. 2. Press reset button near the power switch. 3. Keep it pressed while powering up during ~20+ seconds. 4. Browse to http://192.168.1.1 and upload the firmware. 5. Wait a few minutes for it to finish. Signed-off-by: Samuele Longhi <agave@dracaena.it>
* bmips: fix gpio-leds DTS nodesÁlvaro Fernández Rojas2024-08-20
| | | | | | | | gpio-leds doesn't have reg property and pin number is not an address, so "-" should be used instead of "@". https://github.com/torvalds/linux/blob/6e4436539ae182dc86d57d13849862bcafaa4709/Documentation/devicetree/bindings/leds/leds-gpio.yaml#L24 Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: inteno-xg6846: Add DSA LED definitionsLinus Walleij2024-08-14
| | | | | | | | | | | | This adds the LED definitons for the XG6846 DSA port LEDs. These are standard properties compatible with the existing Marvell 88e6xxx DT bindings and fully standardized so this is fine to add. They will be used by the in-flight Marvell 88e6xxx LEDs support patch. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> [add empty lines between leds, remove default-state="off"] Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: inteno-xg6846: Add EEPROM nodeLinus Walleij2024-08-14
| | | | | | | | For some troublesome devices it is necessary to obtain direct access to the SFP module EEPROM so define it in the device tree. Suggested-by: Paul Donald <newtwen@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
* bmips: inteno-xg6846: Activate USB portLinus Walleij2024-08-14
| | | | | | | | | | | Some versions of the Inteno XG6846 has a USB port mounted. For these machines the corresponing USB port nodes need to be enabled. Suggested-by: Henrik Ginstmark <henrik@ginstmark.se> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> [reorder DTS alphabetically] Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: refactor Inteno XG6846 device treeÁlvaro Fernández Rojas2024-08-07
| | | | | | | Refactor Inteno XG6846 device tree to be in line with other bmips devices. Also expose USB LED automatically. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: backport upstreamed RAC patchesChristian Marangi2024-06-27
| | | | | | | | Replace downstream bmips RAC fixes with upstream patches. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> [backport upstream patches] Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: add support for Sagem F@ST3864OPHang Zhou2024-06-26
| | | | | | | | | | | | | | | | | | | Specifications: * SoC: BCM63168 * RAM: NT5CC64M16GP-DI, DDR3 128MiB * NAND: W29N01HVSINA, 128MiB * Ethernet: 4x1000M LAN, 1x 1000M WAN * Serial interface: on board but not populated, 3.3V, 115200, 8N1 Notes: * Use DSA for VLAN and switches * Ethernet ports and USB works * gpio-leds are not working * WLAN, xDSL, and FXS are not going to work Signed-off-by: Hang Zhou <929513338@qq.com> [refactor, reorder, drop unneeded or not working stuff] Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: sercomm,ad1018: remove unneeded LED default-stateÁlvaro Fernández Rojas2024-06-25
| | | | | | | Remove unneeded default-state from led_power_green (led@8) to be in line with other bmips devices. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: innacomm,w3400v6: remove unneeded LED default-stateÁlvaro Fernández Rojas2024-06-25
| | | | | | | Remove unneeded default-state from led_power_green (led@4) to be in line with other bmips devices. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: Build U-Boot into the XG6846 targetLinus Walleij2024-05-01
| | | | | | | | | | | | | | | | | | It appears that the CFE boot loader found in the XG6846 cannot load kernels over a certain size, and the old relocate hack is not working. What to do? We can build a small U-Boot into the image, make CFE boot that, place the kernel immediately after U-Boot, and use U-Boot to boot the system instead. The compiled u-boot.bin becomes around ~300KB and with LZMA compression it will swiftly fit into 128KB, so we use two 64KB erase blocks right after the CFE to store an imagetag:ed U-Boot. Reviewed-by: Paul Donald <newtwen+github@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
* bmips: Add Inteno XG6846 targetLinus Walleij2024-05-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a device tree and build options for the XG6846 switch/router to the BMIPS target. Hardware: - SoC: Broadcom BCM6328 - CPU: BMIPS4350 V7.5 - RAM: 64 MB DDR - NOR Flash: 16 MB parallel (CFE and OS) - Ethernet LAN: 4x 1Gbit - Ethernet WAN: 2x 1Gbit, fiber and TP - Buttons: reset - LEDs: 7 or 8, power and USB LEDs are GPIO-based, the LAN LEDs are controlled by the Marvell DSA Switch. - USB: on some versions - UART: yes The device ODM (original device manufacturer) is XAVi http://www.xavi.com.tw/ It is possible to boot the initramfs version openwrt-bmips-bcm6328-inteno_xg6846-initramfs.elf from CFE by interrupting the boot on the UART console and downloading it from a TFTP server e.g.: CFE> r 192.168.1.2:openwrt-bmips-bcm6328-inteno_xg6846-initramfs.elf Installation to target flash is not possible using CFE because the image becomes too big for the CFE version found in these devices. A separate U-Boot two-stage solution exists for actually booting the device. This device is called a "managed ethernet switch" by the vendor and "media converter" or "fiber modem" by some of the ISPs using it: the main purpose is to convert fiber connections to ethernet, most devices just act as switches bridging the fiber SFP to ethernet TP. The device has a Marvell MV88E6352 DSA switch managed by a BCM6328 BMIPS SoC. This port makes it possible to use the XG6846 to grab an IP number from the fiber connection and use all four LAN connections out, turning it into a proper router. This support is based mostly on the observations by the people on the forum thread "Help with Inteno XG6846" where users NPeca75, mrhaav, systemcrash and csom helped out to reverse engineer the device. Then I made it work on the BMIPS target, figured out the two-level switch hierarchy and settings. Link: https://forum.openwrt.org/t/help-with-inteno-xg6846/68276/14 Signed-off-by: Paul Donald <newtwen+github@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
* bmips: add support for SmartRG SR505nKyle Hendry2024-03-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | Specifications: - SoC: Broadcom BCM63168 dual 400MHz MIPS - Flash: 16MB SPI NOR W25Q128WFG - RAM: 128MB DDR3 W631GG6KB-15 - Ethernet: 1x 1000M, 3x 100M - Wifi: BCM435F - 1x USB 2.0 port - 3x Button - 12x LED Flashing via serial - Connect to the 3.3V TTL UART on the board (J6 pinout Vcc Rx Tx Gnd) at 115200-8-N-1 - Press any key in the serial console when powering up the board to enter the CFE prompt - Configure an interface on your workstation to static IP 192.168.1.100 and connect it to the board - Start a TFTP server with the firmware image - On the CFE prompt, enter the command "f 192.168.1.100:openwrt-bmips-bcm63268-smartrg_sr505n-squashfs-cfe.bin" Signed-off-by: Kyle Hendry <kylehendrydev@gmail.com> [Remove unneeded LED labels] Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: dts: move leds dt-bindings include to SoCsÁlvaro Fernández Rojas2024-02-08
| | | | | | | bmips has all the dt-bindings includes inside each SoC .dtsi files, so let's move the new includes there instead of adding them to each board .dts files. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: convert to new LED color/function format where possibleChristian Marangi2024-02-07
| | | | | | | | Initial conversion to new LED color/function format and drop label format where possible. The same label is composed at runtime. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* bmips: dts: remove unneeded cferom aliasÁlvaro Fernández Rojas2024-01-18
| | | | | | | This is no longer needed after nvmem-layout changes. Same as 6f328dfe19 for NAND devices. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: dts: remove unneeded cfe aliasÁlvaro Fernández Rojas2024-01-16
| | | | | | This is no longer needed after nvmem-layout changes. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: bcm6328: add Innacomm W3400V6Sieng-Piaw Liew2024-01-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Innacomm W3400V6 is an xDSL B/G wireless router based on Broadcom BCM6328 SoC. SoC: Broadcom BCM6328 CPU: BMIPS4350 V8.0, 320 MHz, 1 core Flash: SPI-NOR 8MB, MX25L6406E RAM: 64 MB Ethernet: 4x 10/100 Mbps Switch: Integrated Wireless: 802.11b/g, BCM4312 LEDs/Buttons: 9x / 2x Flash instruction, web UI: 1. Set a static IP on your computer compatible with 192.168.1.1, i.e 192.168.1.100. 2. Connect the ethernet cable from your computer to the router. 3. Make sure the router is powered off. 4. Press the reset button, don't release it yet! 5. While pressing reset, power on the router. 6. Wait 10 seconds or more. Note: The power LED is red at first then turns to solid green when ready. 7. Release the reset button. 8. Browse to 192.168.1.1 9. Select .bin file. 10. Upgrade the image. 11. Wait for it to reboot. Signed-off-by: Sieng-Piaw Liew <liew.s.piaw@gmail.com> [Fix cfe nvmem-layout and pinctrl_leds indentation] Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: remove mac-address-incrementRosen Penev2023-11-22
| | | | | | It's deprecated. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* bmips: add support for Arcadyan AR7516Daniel González Cabanelas2023-06-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Arcadyan AR7516, AKA Orange Bright Box or EE Bright Box 1, is a wifi fast ethernet router, 2.4 GHz single band with two internal antennas. It comes with a horizontal stand black shiny casing. Newer Bright Box 1 model stands vertically, and comes with a totally different board inside, not compatible with this firmware. Hardware: - SoC: Broadcom BCM6328 - CPU: single core BMIPS4350 V7.5 @ 320Mhz - RAM: 64 MB DDR2 - Flash: 8 MB SPI NOR - Ethernet LAN: 4x 100Mbit - Wifi 2.4 GHz: Broadcom BCM43227 802.11bgn (onboard) - USB: 1x 2.0 - ADSL: yes, unsupported - Buttons: 2x - LEDs: 9x, power LED is hardware controlled - UART: yes Installation in two steps, new CFE bootloader and firmware: Install new CFE: 1. Power off the router and press the RESET button 2. Power on the router and wait some seconds 3. Release the RESET button 3. Browse to http://192.168.1.1, this web interface will offer both firmware (“Software”) upgrade and bootloader upgrade; be sure to use the bootloader section of the upload form. 4. Upload the new CFE (availabe at the wiki page) 5. Wait about a minute for flashing to finish and reboot into the new bootloader. Install OpenWrt via new CFE web UI: 1. After installing the new CFE, visit http://192.168.1.1 2. Upload the Openwrt cfe firmware 5. Wait a few minutes for it to finish Signed-off-by: Daniel González Cabanelas <dgcbueu@gmail.com>
* bmips: add support for NuCom R5010UNv2Daniel González Cabanelas2023-06-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | The NuCom R5010UNv2 is a wifi fast ethernet router, 2.4 GHz single band with two external antennas. Hardware: - SoC: Broadcom BCM6328 - CPU: single core BMIPS4350 V7.5 @ 320Mhz - RAM: 64 MB DDR2 - Flash: 16 MB SPI NOR - Ethernet LAN: 4x 100Mbit - Wifi 2.4 GHz: Broadcom BCM43217 802.11bgn (onboard) - USB: 1x 2.0 - Buttons: 2x - ADSL: yes, unsupported - LEDs: 7x - UART: yes Installation via CFE web UI: 1. Power off the router and press the RESET button 2. Power on the router and wait 12 or more seconds 3. Release the RESET button 4. Browse to http://192.168.1.1 and upload the Openwrt cfe firmware 5. Wait a few minutes for it to finish Signed-off-by: Daniel González Cabanelas <dgcbueu@gmail.com>
* bmips: add support for Comtrend VG-8050Álvaro Fernández Rojas2023-06-16
| | | | | | | | | | | | | | | | | | | | | | | | | | The Comtrend VG-8050 is a wifi gigabit ethernet router, 2.4 GHz single band with two external antennas. Hardware: - SoC: Broadcom BCM63169 - CPU: dual core BMIPS4350 @ 400Mhz - RAM: 128 MB DDR - Flash: 128 MB NAND - LAN switch: Broadcom BCM53125, 5x 1Gbit - Wifi 2.4 GHz: SoC (BCM63268) 802.11bgn - USB: 1x 2.0 (optional) - Buttons: 2x (reset) - LEDs: yes - UART: yes Installation via CFE web UI: 1. Power off the router. 2. Press reset button near the power switch. 3. Keep it pressed while powering up during ~20+ seconds. 4. Browse to http://192.168.1.1 and upload the firmware. 5. Wait a few minutes for it to finish. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: dts: dgnd3700: fix WAN portÁlvaro Fernández Rojas2023-06-15
| | | | | | | All switch ports are labeled as port@address so let's follow the same pattern. Fixes: ed79519b8d89 ("bmips: add support for Netgear DGND3700 v1, DGND3800B") Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: add support for Sercomm AD1018Álvaro Fernández Rojas2023-06-15
| | | | | | | | | | | | | | | | | | | | | | | | The Sercomm AD1018 is a wifi fast ethernet router, 2.4 GHz single band with two internal antennas. Hardware: - SoC: Broadcom BCM6328 - CPU: single core BMIPS4350 @ 320Mhz - RAM: 64 MB (v1) / 128 MB (v2) DDR - Flash: 128 MB NAND - Ethernet LAN: 4x 100Mbit - Wifi 2.4 GHz: miniPCI Broadcom BCM43217 802.11bgn - USB: 1x 2.0 - Buttons: 3x (reset) - LEDs: yes - UART: yes Installation via OEM web UI: 1. Use the admin credentials to login via web UI 2. Go to Managament->Update firmware and select the OpenWrt CFE firmware 3. Press "Update Firmware" button and wait some minutes until it finish Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: add support for Actiontec R1000HDaniel González Cabanelas2023-06-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Actiontec R1000H is a gigabit wifi router, 2.4 GHz single band with two external antennas. It comes with a coaxial HomePNA port. Hardware: - SoC: Broadcom BCM6368 - CPU: dual core BMIPS4350 V3.1 @400Mhz - RAM: 64 MB DDR - Flash: 32 MB parallel NOR - LAN switch: Broadcom BCM53115, 5x 1Gbit - LAN coaxial : 1x HPNA 3.1, CG3211 + CG3213 - Wifi 2.4 GHz: Broadcom BCM4322 802.11bgn - USB: 1x 2.0 - Buttons: 2x, 1 reset - LEDs: 7x - UART: yes The HPNA hardware probably needs a firmware to make the coaxial port work. In the OEM firmware, it's apparently sent with an utility (inhpna) through the ethernet port. Installation via CFE web UI: 1. Connect the UART serial port. 2. Power on the router and press enter at the console prompt to stop the bootloader. 4. Browse to http://192.168.1.1 and upload the OpenWrt CFE firmware 5. Wait a few minutes for it to finish Signed-off-by: Daniel González Cabanelas <dgcbueu@gmail.com>
* bmips: fix NETGEAR DGND3700v2 boot loopÁlvaro Fernández Rojas2023-06-14
| | | | | | | | | | | | The DGND3700v2 renames the cferam bootloader from cferam to cfeXXX, where XXX is the number of firmware upgrades performed by the bootloader. Other bcm63xx devices rename cferam.000 to cferam.XXX, but this device is special because the cferam name isn't changed on the first firmware flashing but it's changed on the subsequent ones. Therefore, we need to look for "cfe" instead of "cferam" to properly detect the cferam partition and fix the bootlop. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: add support for Comtrend AR-5381uÁlvaro Fernández Rojas2023-06-12
| | | | | | | | | | | | | | | | | | | | | | | | | | The Comtrend AR-5381u is a wifi fast ethernet router, 2.4 GHz single band with two internal antennas. Hardware: - SoC: Broadcom BCM6328 - CPU: single core BMIPS4350 @ 320Mhz - RAM: 64 MB DDR - Flash: 16 MB SPI NOR - Ethernet LAN: 4x 100Mbit - Wifi 2.4 GHz: miniPCI Broadcom BCM43225 802.11bgn - USB: 1x 2.0 - Buttons: 1x (reset) - LEDs: yes - UART: yes Installation via CFE web UI: 1. Power off the router. 2. Press reset button near the power switch. 3. Keep it pressed while powering up during ~20+ seconds. 4. Browse to http://192.168.1.1 and upload the firmware. 5. Wait a few minutes for it to finish. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: add support for Comtrend WAP-5813nÁlvaro Fernández Rojas2023-06-11
| | | | | | | | | | | | | | | | | | | | | | | | | | The Comtrend WAP-5813n is a wifi gigabit router, 2.4 GHz single band with two external antennas. Hardware: - SoC: Broadcom BCM6369 - CPU: dual core BMIPS4350 @ 400Mhz - RAM: 64 MB DDR - Flash: 8 MB parallel NOR - LAN switch: Broadcom BCM53115, 5x 1Gbit - Wifi 2.4 GHz: miniPCI Broadcom BCM4322 802.11bgn - USB: 1x 2.0 (optional) - Buttons: 3x (reset) - LEDs: yes - UART: yes Installation via CFE web UI: 1. Power off the router. 2. Press reset button near the power switch. 3. Keep it pressed while powering up during ~20+ seconds. 4. Browse to http://192.168.1.1 and upload the firmware. 5. Wait a few minutes for it to finish. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: add support for Comtrend VR-3025unÁlvaro Fernández Rojas2023-06-11
| | | | | | | | | | | | | | | | | | | | | | | | | | The Comtrend VR-3025un is a wifi gigabit router, 2.4 GHz single band with two external antennas. Hardware: - SoC: Broadcom BCM6368 - CPU: dual core BMIPS4350 @ 400Mhz - RAM: 64 MB DDR - Flash: 8 MB parallel NOR - Ethernet LAN: 4x 100Mbit - Wifi 2.4 GHz: miniPCI Broadcom BCM43222 802.11bgn - USB: 1x 2.0 - Buttons: 1x (reset) - LEDs: yes - UART: yes Installation via CFE web UI: 1. Power off the router. 2. Press reset button near the antenna. 3. Keep it pressed while powering up during ~20+ seconds. 4. Browse to http://192.168.1.1 and upload the firmware. 5. Wait a few minutes for it to finish. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: dts: improve and align device tree filesÁlvaro Fernández Rojas2023-06-11
| | | | | | | Align all the device tree files and follow the same criteria before more devices are ported from bcm63xx and this goes out of control. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: add support for Netgear EVG2000Daniel González Cabanelas2023-06-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Netgear EVG2000 is a wifi gigabit router, 2.4 GHz single band with two internal antennas integrated in the main PCB. Hardware: - SoC: Broadcom BCM6369 - CPU: dual core BMIPS4350 V3.1 @400Mhz - RAM: 64 MB DDR - Flash: 16 MB parallel NOR - LAN switch: Broadcom BCM53115, 5x 1Gbit - Wifi 2.4 GHz: Broadcom BCM4322 802.11bgn - USB: 2x 2.0 - Buttons: 2x, 1 reset - LEDs: 10x - FXS: 2x - UART: yes Installation via CFE web UI: 1. Power off the router and make a temporal TX-RX shortcircuit on the serial pins. 2. Power on the router and wait 3 or more seconds 3. Remove the TX-RX shortcircuit 4. Browse to http://192.168.1.1 or http://192.168.0.1 and upload the firmware 5. Wait a few minutes for it to finish Signed-off-by: Daniel González Cabanelas <dgcbueu@gmail.com>
* bmips: add support for Netgear DGND3700 v1, DGND3800BDaniel González Cabanelas2023-06-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Netgear DGND3700 v1 and DGND3800B are the same device but with different factory firmwares. It's an xDSL wifi router with a slim black shiny casing and 4 PCB internal antennas connected via UFL to a miniPCI detachable card. Hardware: - SoC: Broadcom BCM6368 - CPU: dual core BMIPS4350 V3.1 @400Mhz - RAM: 128 MB DDR - NOR Flash: 32 MB parallel (CFE and OS) - NAND flash: 128 MB (empty) - Ethernet LAN: 5x 1Gbit - Wifi 2.4 GHz: Broadcom BCM43222 802.11bgn - Wifi 5 GHz: Broadcom BCM43222 802.11abgn - USB: 2x 2.0 - Buttons: 3x, 1 reset - LEDs: 11x - UART: yes Installation via OEM web UI: 1. Open the Netgear administration web interface, by default: http://192.168.0.1 user: admin password: password 2. Look for "upgrade firmware" and proceed 3. Wait some minutes until it finishes Signed-off-by: Daniel González Cabanelas <dgcbueu@gmail.com>
* bmips: add support for Observa VH4032NDaniel González Cabanelas2023-06-09
| | | | | | | | | | | | | | | | | | | | | | | | The Observa VH4032N is an xDSL wifi router with a vertical white casing and two internal antennas connected via UFL. Hardware: - SoC: Broadcom BCM6368 - CPU: dual core BMIPS4350 V3.1 @400MHz - RAM: 128 MB DDR - Flash: 32 MB parallel NOR - Ethernet LAN: 4x 100Mbit - Wifi 2.4/5 GHz: onboard Broadcom BCM43222 802.11abgn - USB: 3x 2.0 - Buttons: 2x, 1 reset - LEDs: 8x, blue and red - UART: 1x Installation via OEM web UI: 1. Use the admin credentials to login via web UI 2. Go to Managament->Update firmware and select the OpenWrt CFE firmware 3. Press "Update Firmware" button and wait some minutes until it finish Signed-off-by: Daniel González Cabanelas <dgcbueu@gmail.com>
* bmips: document GPIO external interruptsÁlvaro Fernández Rojas2023-04-27
| | | | | | | BCM63xx SoCs have an external interrupt controller which can be used for specific GPIO keys. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: increment polled keys interval to 100Álvaro Fernández Rojas2023-04-27
| | | | | | | There's no need to poll the gpio keys every 20 ms and the linux kernel documentation suggests 100 ms. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: shg2500: add BCM4360 fallback SPROMÁlvaro Fernández Rojas2023-04-23
| | | | | | | | 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>
* bmips: switch to generic bcma/ssb fallback SPROMÁlvaro Fernández Rojas2023-04-23
| | | | | | | | Stop using bmips b43-sprom fixups and switch to generic bcma/ssb fallback SPROMs. This way we don't need to include the b43-sprom fixups on devices without Broadcom wireless. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: pci-bcm6348: load IO resource from DT rangesÁlvaro Fernández Rojas2023-04-18
| | | | | | Correctly load IO resource from DT ranges and remove the specific IO resource. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>