bcm53xx: drop linux 4.4 and 4.9 support
authorFelix Fietkau <nbd@nbd.name>
Mon, 9 Apr 2018 07:50:23 +0000 (09:50 +0200)
committerFelix Fietkau <nbd@nbd.name>
Fri, 27 Apr 2018 13:19:19 +0000 (15:19 +0200)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
179 files changed:
target/linux/bcm53xx/config-4.4 [deleted file]
target/linux/bcm53xx/config-4.9 [deleted file]
target/linux/bcm53xx/files-4.4/drivers/firmware/broadcom/bcm47xx_sprom.c [deleted file]
target/linux/bcm53xx/patches-4.4/020-ARM-BCM5301X-remove-workaround-imprecise-abort-fault.patch [deleted file]
target/linux/bcm53xx/patches-4.4/021-ARM-BCM5310X-activate-erratas-needed-for-SoC.patch [deleted file]
target/linux/bcm53xx/patches-4.4/022-ARM-BCM-Clean-up-SMP-support-for-Broadcom-Kona.patch [deleted file]
target/linux/bcm53xx/patches-4.4/023-ARM-BCM-Add-SMP-support-for-Broadcom-NSP.patch [deleted file]
target/linux/bcm53xx/patches-4.4/024-ARM-BCM-Add-SMP-support-for-Broadcom-4708.patch [deleted file]
target/linux/bcm53xx/patches-4.4/030-ARM-dts-bcm5301x-Add-BCM-SVK-DT-files.patch [deleted file]
target/linux/bcm53xx/patches-4.4/031-ARM-dts-enable-clock-support-for-BCM5301X.patch [deleted file]
target/linux/bcm53xx/patches-4.4/032-ARM-BCM5301X-Add-missing-Netgear-R8000-LEDs.patch [deleted file]
target/linux/bcm53xx/patches-4.4/033-dt-bindings-add-SMP-enable-method-for-Broadcom-NSP.patch [deleted file]
target/linux/bcm53xx/patches-4.4/034-ARM-BCM5301X-Add-DT-for-D-Link-DIR-885L.patch [deleted file]
target/linux/bcm53xx/patches-4.4/035-ARM-BCM5301X-Set-vcc-gpio-for-USB-controllers-of-few.patch [deleted file]
target/linux/bcm53xx/patches-4.4/036-ARM-BCM5301X-Enable-earlycon-on-tested-devices.patch [deleted file]
target/linux/bcm53xx/patches-4.4/037-0001-ARM-BCM5301X-Add-DT-entry-for-SPI-controller-and-NOR.patch [deleted file]
target/linux/bcm53xx/patches-4.4/037-0002-ARM-BCM5301X-Enable-SPI-NOR-on-dual-flash-devices.patch [deleted file]
target/linux/bcm53xx/patches-4.4/038-0001-ARM-dts-Enable-SRAB-switch-and-GMACs-on-5301x-DTS.patch [deleted file]
target/linux/bcm53xx/patches-4.4/038-0002-ARM-dts-BCM5301X-Add-SRAB-interrupts.patch [deleted file]
target/linux/bcm53xx/patches-4.4/038-0003-ARM-dts-BCM5310x-Enable-switch-ports-on-SmartRG-SR40.patch [deleted file]
target/linux/bcm53xx/patches-4.4/039-ARM-dts-BCM5301x-Add-RNG-Device-Tree-node.patch [deleted file]
target/linux/bcm53xx/patches-4.4/040-ARM-dts-BCM5301x-Add-BCM953012ER-board.patch [deleted file]
target/linux/bcm53xx/patches-4.4/041-0001-ARM-BCM5301X-Specify-NAND-chip-select-and-ECC-in-sep.patch [deleted file]
target/linux/bcm53xx/patches-4.4/041-0002-ARM-BCM5301X-Fix-NAND-ECC-parameters-for-D-Link-DIR-.patch [deleted file]
target/linux/bcm53xx/patches-4.4/042-ARM-BCM5301X-Specify-PHY-of-USB-2.0-in-DT.patch [deleted file]
target/linux/bcm53xx/patches-4.4/043-0001-ARM-BCM53573-Initial-support-for-Broadcom-BCM53573-S.patch [deleted file]
target/linux/bcm53xx/patches-4.4/044-0001-ARM-BCM5301X-Add-DT-for-Netgear-R8500.patch [deleted file]
target/linux/bcm53xx/patches-4.4/044-0002-ARM-BCM5301X-Add-basic-dts-for-BCM53573-based-Tenda-.patch [deleted file]
target/linux/bcm53xx/patches-4.4/044-0003-ARM-BCM5301X-Add-separated-DTS-include-file-for-BCM4.patch [deleted file]
target/linux/bcm53xx/patches-4.4/044-0004-ARM-BCM5301X-Enable-UART-on-Netgear-R8000.patch [deleted file]
target/linux/bcm53xx/patches-4.4/044-0005-ARM-BCM5301X-Specify-USB-3.0-PHY-in-DT.patch [deleted file]
target/linux/bcm53xx/patches-4.4/044-0006-ARM-BCM5301X-Add-DT-for-Luxul-XAP-1510.patch [deleted file]
target/linux/bcm53xx/patches-4.4/044-0007-ARM-BCM5301X-Add-DT-for-Luxul-XWR-3100.patch [deleted file]
target/linux/bcm53xx/patches-4.4/044-0008-ARM-BCM53573-Specify-PMU-and-its-ILP-clock-in-the-DT.patch [deleted file]
target/linux/bcm53xx/patches-4.4/044-0009-ARM-BCM5301X-Add-DT-for-TP-LINK-Archer-C9-V1.patch [deleted file]
target/linux/bcm53xx/patches-4.4/045-ARM-BCM5301X-Add-back-handler-ignoring-external-impr.patch [deleted file]
target/linux/bcm53xx/patches-4.4/046-0001-ARM-BCM5301X-Enable-UART-by-default-for-BCM4708-1-BC.patch [deleted file]
target/linux/bcm53xx/patches-4.4/046-0002-ARM-BCM5301X-Fix-LAN-LED-labels-for-Luxul-XWR-3100.patch [deleted file]
target/linux/bcm53xx/patches-4.4/046-0003-ARM-BCM5301X-Specify-USB-controllers-in-DT.patch [deleted file]
target/linux/bcm53xx/patches-4.4/046-0004-ARM-BCM5301X-Set-GPIO-enabling-USB-power-on-Netgear-.patch [deleted file]
target/linux/bcm53xx/patches-4.4/046-0005-ARM-BCM5301X-Specify-all-RAM-by-including-an-extra-b.patch [deleted file]
target/linux/bcm53xx/patches-4.4/046-0006-ARM-BCM53573-Specify-USB-ports-of-on-SoC-controllers.patch [deleted file]
target/linux/bcm53xx/patches-4.4/046-0007-ARM-BCM5301X-Set-5-GHz-wireless-frequency-limits-on-.patch [deleted file]
target/linux/bcm53xx/patches-4.4/046-0008-ARM-BCM5301X-Add-DT-for-Luxul-XAP-1410.patch [deleted file]
target/linux/bcm53xx/patches-4.4/046-0009-ARM-BCM5301X-Add-DT-for-Luxul-XWR-1200.patch [deleted file]
target/linux/bcm53xx/patches-4.4/047-0001-ARM-dts-BCM5301X-Add-basic-DT-for-Linksys-EA9200.patch [deleted file]
target/linux/bcm53xx/patches-4.4/047-0002-ARM-dts-BCM5301X-Add-basic-DT-for-Linksys-EA6300-V1.patch [deleted file]
target/linux/bcm53xx/patches-4.4/047-0003-ARM-dts-BCM5301X-Add-NAND-entries-to-bcm953012k.patch [deleted file]
target/linux/bcm53xx/patches-4.4/047-0005-ARM-dts-BCM5301X-Add-basic-DT-for-Linksys-EA9500.patch [deleted file]
target/linux/bcm53xx/patches-4.4/047-0006-ARM-dts-BCM5301X-Add-support-for-BCM953012HR.patch [deleted file]
target/linux/bcm53xx/patches-4.4/047-0007-ARM-dts-BCM53573-Describe-Tenda-AC9-PCIe-card-in-DT.patch [deleted file]
target/linux/bcm53xx/patches-4.4/047-0008-ARM-dts-BCM53573-Add-Tenda-AC9-2-GHz-LED.patch [deleted file]
target/linux/bcm53xx/patches-4.4/047-0009-ARM-dts-BCM5301X-Relicense-DTS-files-I-created-to-th.patch [deleted file]
target/linux/bcm53xx/patches-4.4/047-0010-ARM-dts-BCM5301X-Add-missing-Netgear-R8000-LEDs-and-.patch [deleted file]
target/linux/bcm53xx/patches-4.4/047-0011-ARM-dts-BCM53573-Don-t-use-nonexistent-default-off-L.patch [deleted file]
target/linux/bcm53xx/patches-4.4/047-0012-ARM-dts-BCM5301X-Don-t-use-nonexistent-default-off-L.patch [deleted file]
target/linux/bcm53xx/patches-4.4/047-0014-ARM-dts-BCM5301X-Add-TWD-WD-Support-to-DT.patch [deleted file]
target/linux/bcm53xx/patches-4.4/047-0015-ARM-dts-BCM5301X-Add-I2C-support-to-the-DT.patch [deleted file]
target/linux/bcm53xx/patches-4.4/047-0016-ARM-dts-BCM5301X-Add-support-for-TP-LINK-Archer-C5-V.patch [deleted file]
target/linux/bcm53xx/patches-4.4/047-0017-ARM-dts-BCM953012HR-Add-ethernet-aliases.patch [deleted file]
target/linux/bcm53xx/patches-4.4/047-0018-ARM-dts-BCM5301X-Specify-serial-console-params-in-dt.patch [deleted file]
target/linux/bcm53xx/patches-4.4/047-0019-ARM-dts-BCM53573-Specify-serial-console-parameters.patch [deleted file]
target/linux/bcm53xx/patches-4.4/047-0020-ARM-dts-BCM5301X-Add-CPU-thermal-sensor-and-zone.patch [deleted file]
target/linux/bcm53xx/patches-4.4/047-0021-ARM-dts-BCM5301X-Specify-MDIO-bus-in-the-DT.patch [deleted file]
target/linux/bcm53xx/patches-4.4/049-v4.14-0001-ARM-dts-BCM5301X-Specify-USB-ports-for-each-controll.patch [deleted file]
target/linux/bcm53xx/patches-4.4/049-v4.14-0002-ARM-dts-BCM5301X-Specify-USB-ports-for-USB-LEDs-of-f.patch [deleted file]
target/linux/bcm53xx/patches-4.4/049-v4.14-0003-ARM-dts-BCM53573-Add-Broadcom-BCM947189ACDBMR-board-.patch [deleted file]
target/linux/bcm53xx/patches-4.4/049-v4.14-0004-ARM-BCM53573-Specify-ports-for-USB-LED-for-Tenda-AC9.patch [deleted file]
target/linux/bcm53xx/patches-4.4/049-v4.15-0001-ARM-dts-BCM5301X-Specify-USB-ports-for-USB-LED-of-Lu.patch [deleted file]
target/linux/bcm53xx/patches-4.4/049-v4.15-0002-ARM-dts-BCM5301X-Add-DT-for-Luxul-XBR-4500.patch [deleted file]
target/linux/bcm53xx/patches-4.4/049-v4.15-0003-ARM-dts-BCM5301X-Add-DT-for-Luxul-ABR-4500.patch [deleted file]
target/linux/bcm53xx/patches-4.4/049-v4.15-0004-ARM-dts-BCM53573-Add-DT-for-Luxul-XAP-810.patch [deleted file]
target/linux/bcm53xx/patches-4.4/049-v4.15-0005-ARM-dts-BCM53573-Add-DT-for-Luxul-XAP-1440.patch [deleted file]
target/linux/bcm53xx/patches-4.4/070-0001-phy-bcm-ns-usb2-new-driver-for-USB-2.0-PHY-on-Norths.patch [deleted file]
target/linux/bcm53xx/patches-4.4/070-0002-phy-bcm-ns-usb2-checking-the-wrong-variable.patch [deleted file]
target/linux/bcm53xx/patches-4.4/071-0001-phy-bcm-ns-usb3-new-driver-for-USB-3.0-PHY-on-Norths.patch [deleted file]
target/linux/bcm53xx/patches-4.4/071-0002-phy-bcm-ns-usb3-split-all-writes-into-reg-val-pairs.patch [deleted file]
target/linux/bcm53xx/patches-4.4/080-USB-bcma-switch-to-GPIO-descriptor-for-power-control.patch [deleted file]
target/linux/bcm53xx/patches-4.4/081-0001-USB-bcma-make-helper-creating-platform-dev-more-gene.patch [deleted file]
target/linux/bcm53xx/patches-4.4/081-0002-USB-bcma-separate-code-initializing-USB-2.0-core.patch [deleted file]
target/linux/bcm53xx/patches-4.4/081-0003-USB-bcma-use-simpler-devm-helper-for-getting-vcc-GPI.patch [deleted file]
target/linux/bcm53xx/patches-4.4/082-0001-USB-bcma-initialize-Northstar-USB-3.0-controller.patch [deleted file]
target/linux/bcm53xx/patches-4.4/082-0002-USB-bcma-support-old-USB-2.0-controller-on-Northstar.patch [deleted file]
target/linux/bcm53xx/patches-4.4/082-0003-USB-bcma-drop-Northstar-PHY-2.0-initialization-code.patch [deleted file]
target/linux/bcm53xx/patches-4.4/083-0001-spi-bcm-qspi-Add-Broadcom-MSPI-driver.patch [deleted file]
target/linux/bcm53xx/patches-4.4/083-0002-spi-brcmstb-qspi-Broadcom-settop-platform-driver.patch [deleted file]
target/linux/bcm53xx/patches-4.4/083-0003-spi-bcm-qspi-Add-BSPI-spi-nor-flash-controller-drive.patch [deleted file]
target/linux/bcm53xx/patches-4.4/083-0004-spi-bcm-qspi-don-t-include-linux-mtd-cfi.h.patch [deleted file]
target/linux/bcm53xx/patches-4.4/083-0005-spi-bcm-qspi-fix-suspend-resume-ifdef.patch [deleted file]
target/linux/bcm53xx/patches-4.4/083-0006-spi-bcm-qspi-Fix-return-value-check-in-bcm_qspi_prob.patch [deleted file]
target/linux/bcm53xx/patches-4.4/083-0007-spi-bcm-qspi-Fix-error-return-code-in-bcm_qspi_probe.patch [deleted file]
target/linux/bcm53xx/patches-4.4/083-0008-spi-iproc-qspi-Add-Broadcom-iProc-SoCs-support.patch [deleted file]
target/linux/bcm53xx/patches-4.4/084-0001-spi-bcm53xx-set-of_node-to-let-DT-specify-device-s.patch [deleted file]
target/linux/bcm53xx/patches-4.4/084-0002-spi-bcm53xx-re-license-code-to-the-GPL-v2.patch [deleted file]
target/linux/bcm53xx/patches-4.4/084-0003-spi-bcm53xx-simplify-reading-SPI-data.patch [deleted file]
target/linux/bcm53xx/patches-4.4/085-PCI-iproc-Hide-CONFIG_PCIE_IPROC.patch [deleted file]
target/linux/bcm53xx/patches-4.4/086-PCI-iproc-Do-not-use-0x-in-front-of-pap.patch [deleted file]
target/linux/bcm53xx/patches-4.4/087-0001-PCI-iproc-Update-iProc-PCIe-device-tree-binding.patch [deleted file]
target/linux/bcm53xx/patches-4.4/087-0002-PCI-iproc-Add-PAXC-interface-support.patch [deleted file]
target/linux/bcm53xx/patches-4.4/087-0003-PCI-iproc-Add-iProc-PCIe-MSI-device-tree-binding.patch [deleted file]
target/linux/bcm53xx/patches-4.4/087-0004-PCI-iproc-Add-iProc-PCIe-MSI-support.patch [deleted file]
target/linux/bcm53xx/patches-4.4/088-PCI-iproc-Allow-multiple-devices-except-on-PAXC.patch [deleted file]
target/linux/bcm53xx/patches-4.4/089-clk-bcm-Add-driver-for-BCM53573-ILP-clock.patch [deleted file]
target/linux/bcm53xx/patches-4.4/101-use-part-parser.patch [deleted file]
target/linux/bcm53xx/patches-4.4/112-bcm53xx-sprom-add-sprom-driver.patch [deleted file]
target/linux/bcm53xx/patches-4.4/140-mtd-brcmnand-set-initial-ECC-params-based-on-info-fr.patch [deleted file]
target/linux/bcm53xx/patches-4.4/180-usb-xhci-add-support-for-performing-fake-doorbell.patch [deleted file]
target/linux/bcm53xx/patches-4.4/300-ARM-BCM5301X-Disable-MMU-and-Dcache-during-decompres.patch [deleted file]
target/linux/bcm53xx/patches-4.4/301-ARM-BCM5301X-Add-DT-for-Netgear-R7900.patch [deleted file]
target/linux/bcm53xx/patches-4.4/320-ARM-dts-BCM5301X-Add-serial-to-the-bootargs.patch [deleted file]
target/linux/bcm53xx/patches-4.4/332-ARM-BCM5301X-Add-power-button-for-Buffalo-WZR-1750DHP.patch [deleted file]
target/linux/bcm53xx/patches-4.4/400-mtd-brcmnand-stop-special-treating-ECC-strength-1-as.patch [deleted file]
target/linux/bcm53xx/patches-4.4/405-mtd-spi-nor-detect-JEDEC-incompatible-w25q128-using-.patch [deleted file]
target/linux/bcm53xx/patches-4.4/500-UBI-Detect-EOF-mark-and-erase-all-remaining-blocks.patch [deleted file]
target/linux/bcm53xx/patches-4.4/710-b53-add-hacky-CPU-port-fixes-for-devices-not-using-p.patch [deleted file]
target/linux/bcm53xx/patches-4.4/901-mtd-bcm47xxpart-add-device-specific-workarounds.patch [deleted file]
target/linux/bcm53xx/patches-4.4/905-BCM53573-minor-hacks.patch [deleted file]
target/linux/bcm53xx/patches-4.9/030-0001-ARM-BCM5301X-Add-DT-for-Netgear-R8500.patch [deleted file]
target/linux/bcm53xx/patches-4.9/030-0002-ARM-BCM5301X-Add-basic-dts-for-BCM53573-based-Tenda-.patch [deleted file]
target/linux/bcm53xx/patches-4.9/030-0003-ARM-BCM5301X-Add-separated-DTS-include-file-for-BCM4.patch [deleted file]
target/linux/bcm53xx/patches-4.9/030-0004-ARM-BCM5301X-Enable-UART-on-Netgear-R8000.patch [deleted file]
target/linux/bcm53xx/patches-4.9/030-0005-ARM-BCM5301X-Specify-USB-3.0-PHY-in-DT.patch [deleted file]
target/linux/bcm53xx/patches-4.9/030-0006-ARM-BCM5301X-Add-DT-for-Luxul-XAP-1510.patch [deleted file]
target/linux/bcm53xx/patches-4.9/030-0007-ARM-BCM5301X-Add-DT-for-Luxul-XWR-3100.patch [deleted file]
target/linux/bcm53xx/patches-4.9/030-0008-ARM-BCM53573-Specify-PMU-and-its-ILP-clock-in-the-DT.patch [deleted file]
target/linux/bcm53xx/patches-4.9/030-0009-ARM-BCM5301X-Add-DT-for-TP-LINK-Archer-C9-V1.patch [deleted file]
target/linux/bcm53xx/patches-4.9/032-0001-ARM-BCM5301X-Enable-UART-by-default-for-BCM4708-1-BC.patch [deleted file]
target/linux/bcm53xx/patches-4.9/032-0002-ARM-BCM5301X-Fix-LAN-LED-labels-for-Luxul-XWR-3100.patch [deleted file]
target/linux/bcm53xx/patches-4.9/032-0003-ARM-BCM5301X-Specify-USB-controllers-in-DT.patch [deleted file]
target/linux/bcm53xx/patches-4.9/032-0004-ARM-BCM5301X-Set-GPIO-enabling-USB-power-on-Netgear-.patch [deleted file]
target/linux/bcm53xx/patches-4.9/032-0005-ARM-BCM5301X-Specify-all-RAM-by-including-an-extra-b.patch [deleted file]
target/linux/bcm53xx/patches-4.9/032-0006-ARM-BCM53573-Specify-USB-ports-of-on-SoC-controllers.patch [deleted file]
target/linux/bcm53xx/patches-4.9/032-0007-ARM-BCM5301X-Set-5-GHz-wireless-frequency-limits-on-.patch [deleted file]
target/linux/bcm53xx/patches-4.9/032-0008-ARM-BCM5301X-Add-DT-for-Luxul-XAP-1410.patch [deleted file]
target/linux/bcm53xx/patches-4.9/032-0009-ARM-BCM5301X-Add-DT-for-Luxul-XWR-1200.patch [deleted file]
target/linux/bcm53xx/patches-4.9/033-0001-ARM-dts-BCM5301X-Add-basic-DT-for-Linksys-EA9200.patch [deleted file]
target/linux/bcm53xx/patches-4.9/033-0002-ARM-dts-BCM5301X-Add-basic-DT-for-Linksys-EA6300-V1.patch [deleted file]
target/linux/bcm53xx/patches-4.9/033-0003-ARM-dts-BCM5301X-Add-NAND-entries-to-bcm953012k.patch [deleted file]
target/linux/bcm53xx/patches-4.9/033-0005-ARM-dts-BCM5301X-Add-basic-DT-for-Linksys-EA9500.patch [deleted file]
target/linux/bcm53xx/patches-4.9/033-0006-ARM-dts-BCM5301X-Add-support-for-BCM953012HR.patch [deleted file]
target/linux/bcm53xx/patches-4.9/033-0007-ARM-dts-BCM53573-Describe-Tenda-AC9-PCIe-card-in-DT.patch [deleted file]
target/linux/bcm53xx/patches-4.9/033-0008-ARM-dts-BCM53573-Add-Tenda-AC9-2-GHz-LED.patch [deleted file]
target/linux/bcm53xx/patches-4.9/033-0009-ARM-dts-BCM5301X-Relicense-DTS-files-I-created-to-th.patch [deleted file]
target/linux/bcm53xx/patches-4.9/033-0010-ARM-dts-BCM5301X-Add-missing-Netgear-R8000-LEDs-and-.patch [deleted file]
target/linux/bcm53xx/patches-4.9/033-0011-ARM-dts-BCM53573-Don-t-use-nonexistent-default-off-L.patch [deleted file]
target/linux/bcm53xx/patches-4.9/033-0012-ARM-dts-BCM5301X-Don-t-use-nonexistent-default-off-L.patch [deleted file]
target/linux/bcm53xx/patches-4.9/033-0014-ARM-dts-BCM5301X-Add-TWD-WD-Support-to-DT.patch [deleted file]
target/linux/bcm53xx/patches-4.9/033-0015-ARM-dts-BCM5301X-Add-I2C-support-to-the-DT.patch [deleted file]
target/linux/bcm53xx/patches-4.9/033-0016-ARM-dts-BCM5301X-Add-support-for-TP-LINK-Archer-C5-V.patch [deleted file]
target/linux/bcm53xx/patches-4.9/033-0017-ARM-dts-BCM953012HR-Add-ethernet-aliases.patch [deleted file]
target/linux/bcm53xx/patches-4.9/033-0018-ARM-dts-BCM5301X-Specify-serial-console-params-in-dt.patch [deleted file]
target/linux/bcm53xx/patches-4.9/033-0019-ARM-dts-BCM53573-Specify-serial-console-parameters.patch [deleted file]
target/linux/bcm53xx/patches-4.9/033-0020-ARM-dts-BCM5301X-Add-CPU-thermal-sensor-and-zone.patch [deleted file]
target/linux/bcm53xx/patches-4.9/033-0021-ARM-dts-BCM5301X-Specify-MDIO-bus-in-the-DT.patch [deleted file]
target/linux/bcm53xx/patches-4.9/035-v4.14-0001-ARM-dts-BCM5301X-Specify-USB-ports-for-each-controll.patch [deleted file]
target/linux/bcm53xx/patches-4.9/035-v4.14-0002-ARM-dts-BCM5301X-Specify-USB-ports-for-USB-LEDs-of-f.patch [deleted file]
target/linux/bcm53xx/patches-4.9/035-v4.14-0003-ARM-dts-BCM53573-Add-Broadcom-BCM947189ACDBMR-board-.patch [deleted file]
target/linux/bcm53xx/patches-4.9/035-v4.14-0004-ARM-BCM53573-Specify-ports-for-USB-LED-for-Tenda-AC9.patch [deleted file]
target/linux/bcm53xx/patches-4.9/035-v4.15-0001-ARM-dts-BCM5301X-Specify-USB-ports-for-USB-LED-of-Lu.patch [deleted file]
target/linux/bcm53xx/patches-4.9/035-v4.15-0002-ARM-dts-BCM5301X-Add-DT-for-Luxul-XBR-4500.patch [deleted file]
target/linux/bcm53xx/patches-4.9/035-v4.15-0003-ARM-dts-BCM5301X-Add-DT-for-Luxul-ABR-4500.patch [deleted file]
target/linux/bcm53xx/patches-4.9/035-v4.15-0004-ARM-dts-BCM53573-Add-DT-for-Luxul-XAP-810.patch [deleted file]
target/linux/bcm53xx/patches-4.9/035-v4.15-0005-ARM-dts-BCM53573-Add-DT-for-Luxul-XAP-1440.patch [deleted file]
target/linux/bcm53xx/patches-4.9/070-0001-phy-bcm-ns-usb3-split-all-writes-into-reg-val-pairs.patch [deleted file]
target/linux/bcm53xx/patches-4.9/080-0001-spi-bcm53xx-set-of_node-to-let-DT-specify-device-s.patch [deleted file]
target/linux/bcm53xx/patches-4.9/080-0002-spi-bcm53xx-re-license-code-to-the-GPL-v2.patch [deleted file]
target/linux/bcm53xx/patches-4.9/080-0003-spi-bcm53xx-simplify-reading-SPI-data.patch [deleted file]
target/linux/bcm53xx/patches-4.9/130-ARM-dts-BCM5301X-add-missing-LEDs-for-Buffalo-WZR-90.patch [deleted file]
target/linux/bcm53xx/patches-4.9/180-usb-xhci-add-support-for-performing-fake-doorbell.patch [deleted file]
target/linux/bcm53xx/patches-4.9/300-ARM-BCM5301X-Disable-MMU-and-Dcache-during-decompres.patch [deleted file]
target/linux/bcm53xx/patches-4.9/310-ARM-BCM5301X-Add-DT-for-Netgear-R7900.patch [deleted file]
target/linux/bcm53xx/patches-4.9/311-ARM-BCM5301X-Add-power-button-for-Buffalo-WZR-1750DHP.patch [deleted file]
target/linux/bcm53xx/patches-4.9/320-ARM-dts-BCM5301X-Add-serial-to-the-bootargs.patch [deleted file]
target/linux/bcm53xx/patches-4.9/400-mtd-spi-nor-detect-JEDEC-incompatible-w25q128-using-.patch [deleted file]
target/linux/bcm53xx/patches-4.9/410-Use-brcm-bcm947xx-cfe-partitions-binding-for-Broadco.patch [deleted file]
target/linux/bcm53xx/patches-4.9/500-UBI-Detect-EOF-mark-and-erase-all-remaining-blocks.patch [deleted file]
target/linux/bcm53xx/patches-4.9/700-b53-add-hacky-CPU-port-fixes-for-devices-not-using-p.patch [deleted file]
target/linux/bcm53xx/patches-4.9/900-mtd-bcm47xxpart-add-device-specific-workarounds.patch [deleted file]
target/linux/bcm53xx/patches-4.9/905-BCM53573-minor-hacks.patch [deleted file]

diff --git a/target/linux/bcm53xx/config-4.4 b/target/linux/bcm53xx/config-4.4
deleted file mode 100644 (file)
index 19166b9..0000000
+++ /dev/null
@@ -1,339 +0,0 @@
-CONFIG_ALIGNMENT_TRAP=y
-CONFIG_ARCH_BCM=y
-# CONFIG_ARCH_BCM_21664 is not set
-# CONFIG_ARCH_BCM_281XX is not set
-CONFIG_ARCH_BCM_5301X=y
-CONFIG_ARCH_BCM_53573=y
-# CONFIG_ARCH_BCM_63XX is not set
-# CONFIG_ARCH_BCM_CYGNUS is not set
-CONFIG_ARCH_BCM_IPROC=y
-# CONFIG_ARCH_BCM_NSP is not set
-# CONFIG_ARCH_BRCMSTB is not set
-CONFIG_ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE=y
-CONFIG_ARCH_HAS_ELF_RANDOMIZE=y
-CONFIG_ARCH_HAS_GCOV_PROFILE_ALL=y
-CONFIG_ARCH_HAS_SG_CHAIN=y
-CONFIG_ARCH_HAS_TICK_BROADCAST=y
-CONFIG_ARCH_HAVE_CUSTOM_GPIO_H=y
-CONFIG_ARCH_HIBERNATION_POSSIBLE=y
-CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y
-CONFIG_ARCH_MULTIPLATFORM=y
-# CONFIG_ARCH_MULTI_CPU_AUTO is not set
-CONFIG_ARCH_MULTI_V6_V7=y
-CONFIG_ARCH_MULTI_V7=y
-CONFIG_ARCH_NR_GPIO=0
-CONFIG_ARCH_REQUIRE_GPIOLIB=y
-# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set
-# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set
-CONFIG_ARCH_SUPPORTS_ATOMIC_RMW=y
-CONFIG_ARCH_SUPPORTS_UPROBES=y
-CONFIG_ARCH_SUSPEND_POSSIBLE=y
-CONFIG_ARCH_USE_BUILTIN_BSWAP=y
-CONFIG_ARCH_USE_CMPXCHG_LOCKREF=y
-CONFIG_ARCH_WANT_GENERAL_HUGETLB=y
-CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y
-CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y
-CONFIG_ARM=y
-CONFIG_ARM_AMBA=y
-CONFIG_ARM_APPENDED_DTB=y
-CONFIG_ARM_ARCH_TIMER=y
-CONFIG_ARM_ARCH_TIMER_EVTSTREAM=y
-# CONFIG_ARM_ATAG_DTB_COMPAT is not set
-# CONFIG_ARM_CPU_SUSPEND is not set
-CONFIG_ARM_ERRATA_754322=y
-CONFIG_ARM_ERRATA_764369=y
-CONFIG_ARM_ERRATA_775420=y
-CONFIG_ARM_GIC=y
-CONFIG_ARM_GLOBAL_TIMER=y
-CONFIG_ARM_HAS_SG_CHAIN=y
-CONFIG_ARM_HEAVY_MB=y
-CONFIG_ARM_L1_CACHE_SHIFT=6
-CONFIG_ARM_L1_CACHE_SHIFT_6=y
-# CONFIG_ARM_LPAE is not set
-CONFIG_ARM_PATCH_PHYS_VIRT=y
-# CONFIG_ARM_SP805_WATCHDOG is not set
-CONFIG_ARM_THUMB=y
-# CONFIG_ARM_THUMBEE is not set
-CONFIG_ARM_VIRT_EXT=y
-CONFIG_ATAGS=y
-CONFIG_AUTO_ZRELADDR=y
-CONFIG_BCM47XX_NVRAM=y
-CONFIG_BCM47XX_SPROM=y
-CONFIG_BCM47XX_WDT=y
-CONFIG_BCMA=y
-CONFIG_BCMA_BLOCKIO=y
-CONFIG_BCMA_DEBUG=y
-CONFIG_BCMA_DRIVER_GMAC_CMN=y
-CONFIG_BCMA_DRIVER_GPIO=y
-CONFIG_BCMA_DRIVER_PCI=y
-CONFIG_BCMA_HOST_PCI=y
-CONFIG_BCMA_HOST_PCI_POSSIBLE=y
-CONFIG_BCMA_HOST_SOC=y
-CONFIG_BCMA_SFLASH=y
-CONFIG_BCM_NET_PHYLIB=y
-CONFIG_BCM_NS_THERMAL=y
-CONFIG_BGMAC=y
-CONFIG_BGMAC_BCMA=y
-# CONFIG_BGMAC_PLATFORM is not set
-CONFIG_BOUNCE=y
-CONFIG_BROADCOM_PHY=y
-CONFIG_CACHE_L2X0=y
-CONFIG_CC_OPTIMIZE_FOR_SIZE=y
-CONFIG_CLKDEV_LOOKUP=y
-CONFIG_CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK=y
-CONFIG_CLKSRC_MMIO=y
-CONFIG_CLKSRC_OF=y
-CONFIG_CLKSRC_PROBE=y
-CONFIG_CLONE_BACKWARDS=y
-CONFIG_COMMON_CLK=y
-CONFIG_COMMON_CLK_IPROC=y
-CONFIG_CPU_32v6K=y
-CONFIG_CPU_32v7=y
-CONFIG_CPU_ABRT_EV7=y
-# CONFIG_CPU_BPREDICT_DISABLE is not set
-CONFIG_CPU_CACHE_V7=y
-CONFIG_CPU_CACHE_VIPT=y
-CONFIG_CPU_COPY_V6=y
-CONFIG_CPU_CP15=y
-CONFIG_CPU_CP15_MMU=y
-CONFIG_CPU_HAS_ASID=y
-# CONFIG_CPU_ICACHE_DISABLE is not set
-CONFIG_CPU_PABRT_V7=y
-CONFIG_CPU_RMAP=y
-CONFIG_CPU_TLB_V7=y
-CONFIG_CPU_V7=y
-CONFIG_CRC16=y
-CONFIG_CRYPTO_AEAD=y
-CONFIG_CRYPTO_AEAD2=y
-CONFIG_CRYPTO_DEFLATE=y
-CONFIG_CRYPTO_HASH2=y
-CONFIG_CRYPTO_LZO=y
-CONFIG_CRYPTO_MANAGER=y
-CONFIG_CRYPTO_MANAGER2=y
-CONFIG_CRYPTO_NULL2=y
-CONFIG_CRYPTO_RNG2=y
-CONFIG_CRYPTO_WORKQUEUE=y
-CONFIG_DCACHE_WORD_ACCESS=y
-CONFIG_DEBUG_BCM_5301X=y
-CONFIG_DEBUG_INFO=y
-CONFIG_DEBUG_LL=y
-CONFIG_DEBUG_LL_INCLUDE="debug/8250.S"
-CONFIG_DEBUG_UART_8250=y
-# CONFIG_DEBUG_UART_8250_FLOW_CONTROL is not set
-CONFIG_DEBUG_UART_8250_SHIFT=0
-CONFIG_DEBUG_UART_PHYS=0x18000300
-CONFIG_DEBUG_UART_VIRT=0xf1000300
-CONFIG_DEBUG_UNCOMPRESS=y
-CONFIG_DEBUG_USER=y
-CONFIG_DTC=y
-CONFIG_EARLY_PRINTK=y
-CONFIG_EDAC_ATOMIC_SCRUB=y
-CONFIG_EDAC_SUPPORT=y
-CONFIG_FIXED_PHY=y
-CONFIG_FIX_EARLYCON_MEM=y
-CONFIG_FRAME_POINTER=y
-# CONFIG_FW_LOADER_USER_HELPER_FALLBACK is not set
-CONFIG_GENERIC_ALLOCATOR=y
-CONFIG_GENERIC_BUG=y
-CONFIG_GENERIC_CLOCKEVENTS=y
-CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
-CONFIG_GENERIC_IDLE_POLL_SETUP=y
-CONFIG_GENERIC_IO=y
-CONFIG_GENERIC_IRQ_SHOW=y
-CONFIG_GENERIC_IRQ_SHOW_LEVEL=y
-CONFIG_GENERIC_PCI_IOMAP=y
-CONFIG_GENERIC_PINCONF=y
-CONFIG_GENERIC_SCHED_CLOCK=y
-CONFIG_GENERIC_SMP_IDLE_THREAD=y
-CONFIG_GENERIC_STRNCPY_FROM_USER=y
-CONFIG_GENERIC_STRNLEN_USER=y
-CONFIG_GPIOLIB=y
-CONFIG_GPIOLIB_IRQCHIP=y
-CONFIG_GPIO_74X164=y
-CONFIG_GPIO_DEVRES=y
-CONFIG_GPIO_SYSFS=y
-CONFIG_HANDLE_DOMAIN_IRQ=y
-CONFIG_HARDIRQS_SW_RESEND=y
-CONFIG_HAS_DMA=y
-CONFIG_HAS_IOMEM=y
-CONFIG_HAS_IOPORT_MAP=y
-# CONFIG_HAVE_64BIT_ALIGNED_ACCESS is not set
-CONFIG_HAVE_ARCH_AUDITSYSCALL=y
-CONFIG_HAVE_ARCH_BITREVERSE=y
-CONFIG_HAVE_ARCH_JUMP_LABEL=y
-CONFIG_HAVE_ARCH_KGDB=y
-CONFIG_HAVE_ARCH_PFN_VALID=y
-CONFIG_HAVE_ARCH_SECCOMP_FILTER=y
-CONFIG_HAVE_ARCH_TRACEHOOK=y
-CONFIG_HAVE_ARM_ARCH_TIMER=y
-CONFIG_HAVE_ARM_SCU=y
-CONFIG_HAVE_ARM_TWD=y
-# CONFIG_HAVE_BOOTMEM_INFO_NODE is not set
-CONFIG_HAVE_BPF_JIT=y
-CONFIG_HAVE_CC_STACKPROTECTOR=y
-CONFIG_HAVE_CLK=y
-CONFIG_HAVE_CLK_PREPARE=y
-CONFIG_HAVE_CONTEXT_TRACKING=y
-CONFIG_HAVE_C_RECORDMCOUNT=y
-CONFIG_HAVE_DEBUG_KMEMLEAK=y
-CONFIG_HAVE_DMA_API_DEBUG=y
-CONFIG_HAVE_DMA_ATTRS=y
-CONFIG_HAVE_DMA_CONTIGUOUS=y
-CONFIG_HAVE_DYNAMIC_FTRACE=y
-CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y
-CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y
-CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y
-CONFIG_HAVE_FUNCTION_TRACER=y
-CONFIG_HAVE_GENERIC_DMA_COHERENT=y
-CONFIG_HAVE_IDE=y
-CONFIG_HAVE_IRQ_TIME_ACCOUNTING=y
-CONFIG_HAVE_MEMBLOCK=y
-CONFIG_HAVE_MOD_ARCH_SPECIFIC=y
-CONFIG_HAVE_NET_DSA=y
-CONFIG_HAVE_OPROFILE=y
-CONFIG_HAVE_OPTPROBES=y
-CONFIG_HAVE_PERF_EVENTS=y
-CONFIG_HAVE_PERF_REGS=y
-CONFIG_HAVE_PERF_USER_STACK_DUMP=y
-CONFIG_HAVE_PROC_CPU=y
-CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y
-CONFIG_HAVE_SMP=y
-CONFIG_HAVE_SYSCALL_TRACEPOINTS=y
-CONFIG_HAVE_UID16=y
-CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y
-CONFIG_HIGHMEM=y
-# CONFIG_HIGHPTE is not set
-CONFIG_HZ_FIXED=0
-CONFIG_HZ_PERIODIC=y
-CONFIG_INITRAMFS_SOURCE=""
-CONFIG_IOMMU_HELPER=y
-CONFIG_IRQCHIP=y
-CONFIG_IRQ_DOMAIN=y
-CONFIG_IRQ_DOMAIN_HIERARCHY=y
-CONFIG_IRQ_FORCED_THREADING=y
-CONFIG_IRQ_WORK=y
-CONFIG_LIBFDT=y
-CONFIG_LOCK_SPIN_ON_OWNER=y
-CONFIG_LZO_COMPRESS=y
-CONFIG_LZO_DECOMPRESS=y
-# CONFIG_MDIO_BCM_IPROC is not set
-CONFIG_MDIO_BOARDINFO=y
-CONFIG_MFD_SYSCON=y
-CONFIG_MIGHT_HAVE_CACHE_L2X0=y
-CONFIG_MIGHT_HAVE_PCI=y
-CONFIG_MODULES_USE_ELF_REL=y
-CONFIG_MTD_BCM47XXSFLASH=y
-CONFIG_MTD_BCM47XX_PARTS=y
-CONFIG_MTD_M25P80=y
-CONFIG_MTD_NAND=y
-CONFIG_MTD_NAND_BRCMNAND=y
-CONFIG_MTD_NAND_ECC=y
-# CONFIG_MTD_PHYSMAP_OF is not set
-CONFIG_MTD_SPI_NOR=y
-CONFIG_MTD_SPLIT_FIRMWARE=y
-CONFIG_MTD_SPLIT_SEAMA_FW=y
-CONFIG_MTD_UBI=y
-CONFIG_MTD_UBI_BEB_LIMIT=20
-CONFIG_MTD_UBI_BLOCK=y
-# CONFIG_MTD_UBI_FASTMAP is not set
-# CONFIG_MTD_UBI_GLUEBI is not set
-CONFIG_MTD_UBI_WL_THRESHOLD=4096
-CONFIG_MULTI_IRQ_HANDLER=y
-CONFIG_MUTEX_SPIN_ON_OWNER=y
-CONFIG_NEED_DMA_MAP_STATE=y
-CONFIG_NET_FLOW_LIMIT=y
-CONFIG_NO_BOOTMEM=y
-CONFIG_NR_CPUS=2
-CONFIG_OF=y
-CONFIG_OF_ADDRESS=y
-CONFIG_OF_ADDRESS_PCI=y
-CONFIG_OF_EARLY_FLATTREE=y
-CONFIG_OF_FLATTREE=y
-CONFIG_OF_GPIO=y
-CONFIG_OF_IRQ=y
-CONFIG_OF_MDIO=y
-CONFIG_OF_MTD=y
-CONFIG_OF_NET=y
-CONFIG_OF_PCI=y
-CONFIG_OF_PCI_IRQ=y
-CONFIG_OF_RESERVED_MEM=y
-CONFIG_OLD_SIGACTION=y
-CONFIG_OLD_SIGSUSPEND3=y
-CONFIG_OUTER_CACHE=y
-CONFIG_OUTER_CACHE_SYNC=y
-CONFIG_PADATA=y
-CONFIG_PAGE_OFFSET=0xC0000000
-CONFIG_PCI=y
-CONFIG_PCIE_IPROC=y
-CONFIG_PCIE_IPROC_BCMA=y
-# CONFIG_PCIE_IPROC_PLATFORM is not set
-CONFIG_PCI_DOMAINS=y
-CONFIG_PCI_DOMAINS_GENERIC=y
-CONFIG_PERF_USE_VMALLOC=y
-CONFIG_PGTABLE_LEVELS=2
-CONFIG_PHYLIB=y
-# CONFIG_PHY_BCM_NS_USB2 is not set
-# CONFIG_PHY_BCM_NS_USB3 is not set
-CONFIG_PINCTRL=y
-# CONFIG_PL310_ERRATA_588369 is not set
-# CONFIG_PL310_ERRATA_727915 is not set
-# CONFIG_PL310_ERRATA_753970 is not set
-# CONFIG_PL310_ERRATA_769419 is not set
-CONFIG_RATIONAL=y
-CONFIG_RCU_STALL_COMMON=y
-CONFIG_REGMAP=y
-CONFIG_REGMAP_MMIO=y
-CONFIG_RFS_ACCEL=y
-CONFIG_RPS=y
-CONFIG_RWSEM_SPIN_ON_OWNER=y
-CONFIG_RWSEM_XCHGADD_ALGORITHM=y
-# CONFIG_SCHED_INFO is not set
-# CONFIG_SCSI_DMA is not set
-CONFIG_SERIAL_8250_FSL=y
-# CONFIG_SERIAL_AMBA_PL010 is not set
-# CONFIG_SERIAL_AMBA_PL011 is not set
-CONFIG_SERIAL_OF_PLATFORM=y
-CONFIG_SMP=y
-CONFIG_SMP_ON_UP=y
-CONFIG_SPARSE_IRQ=y
-CONFIG_SPI=y
-CONFIG_SPI_BCM53XX=y
-# CONFIG_SPI_BCM_QSPI is not set
-CONFIG_SPI_BITBANG=y
-CONFIG_SPI_GPIO=y
-CONFIG_SPI_MASTER=y
-CONFIG_SRCU=y
-CONFIG_SWCONFIG=y
-CONFIG_SWCONFIG_B53=y
-# CONFIG_SWCONFIG_B53_MMAP_DRIVER is not set
-CONFIG_SWCONFIG_B53_PHY_DRIVER=y
-CONFIG_SWCONFIG_B53_PHY_FIXUP=y
-CONFIG_SWCONFIG_B53_SRAB_DRIVER=y
-CONFIG_SWIOTLB=y
-CONFIG_SWP_EMULATE=y
-CONFIG_SYS_SUPPORTS_APM_EMULATION=y
-CONFIG_THERMAL=y
-CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y
-CONFIG_THERMAL_GOV_STEP_WISE=y
-CONFIG_THERMAL_OF=y
-# CONFIG_THUMB2_KERNEL is not set
-CONFIG_TICK_CPU_ACCOUNTING=y
-CONFIG_TREE_RCU=y
-CONFIG_UBIFS_FS=y
-# CONFIG_UBIFS_FS_ADVANCED_COMPR is not set
-CONFIG_UBIFS_FS_LZO=y
-CONFIG_UBIFS_FS_ZLIB=y
-CONFIG_UNCOMPRESS_INCLUDE="debug/uncompress.h"
-CONFIG_USB_SUPPORT=y
-CONFIG_USE_OF=y
-CONFIG_VECTORS_BASE=0xffff0000
-# CONFIG_VFP is not set
-CONFIG_WATCHDOG_CORE=y
-CONFIG_XPS=y
-CONFIG_XZ_DEC_ARM=y
-CONFIG_XZ_DEC_BCJ=y
-CONFIG_ZBOOT_ROM_BSS=0x0
-CONFIG_ZBOOT_ROM_TEXT=0x0
-CONFIG_ZLIB_DEFLATE=y
-CONFIG_ZLIB_INFLATE=y
-CONFIG_ZONE_DMA_FLAG=0
diff --git a/target/linux/bcm53xx/config-4.9 b/target/linux/bcm53xx/config-4.9
deleted file mode 100644 (file)
index 84016b6..0000000
+++ /dev/null
@@ -1,339 +0,0 @@
-CONFIG_ALIGNMENT_TRAP=y
-CONFIG_ARCH_BCM=y
-CONFIG_ARCH_BCM_5301X=y
-CONFIG_ARCH_BCM_53573=y
-CONFIG_ARCH_BCM_IPROC=y
-CONFIG_ARCH_CLOCKSOURCE_DATA=y
-CONFIG_ARCH_HAS_ELF_RANDOMIZE=y
-CONFIG_ARCH_HAS_GCOV_PROFILE_ALL=y
-CONFIG_ARCH_HAS_SG_CHAIN=y
-CONFIG_ARCH_HAS_TICK_BROADCAST=y
-CONFIG_ARCH_HAVE_CUSTOM_GPIO_H=y
-CONFIG_ARCH_HIBERNATION_POSSIBLE=y
-CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y
-CONFIG_ARCH_MULTIPLATFORM=y
-# CONFIG_ARCH_MULTI_CPU_AUTO is not set
-CONFIG_ARCH_MULTI_V6_V7=y
-CONFIG_ARCH_MULTI_V7=y
-CONFIG_ARCH_NR_GPIO=0
-# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set
-# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set
-CONFIG_ARCH_SUPPORTS_ATOMIC_RMW=y
-CONFIG_ARCH_SUPPORTS_UPROBES=y
-CONFIG_ARCH_SUSPEND_POSSIBLE=y
-CONFIG_ARCH_USE_BUILTIN_BSWAP=y
-CONFIG_ARCH_USE_CMPXCHG_LOCKREF=y
-CONFIG_ARCH_WANT_GENERAL_HUGETLB=y
-CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y
-CONFIG_ARM=y
-CONFIG_ARM_AMBA=y
-CONFIG_ARM_APPENDED_DTB=y
-CONFIG_ARM_ARCH_TIMER=y
-CONFIG_ARM_ARCH_TIMER_EVTSTREAM=y
-# CONFIG_ARM_ATAG_DTB_COMPAT is not set
-# CONFIG_ARM_CPU_SUSPEND is not set
-CONFIG_ARM_ERRATA_754322=y
-CONFIG_ARM_ERRATA_764369=y
-CONFIG_ARM_ERRATA_775420=y
-CONFIG_ARM_GIC=y
-CONFIG_ARM_GLOBAL_TIMER=y
-CONFIG_ARM_HAS_SG_CHAIN=y
-CONFIG_ARM_HEAVY_MB=y
-CONFIG_ARM_L1_CACHE_SHIFT=6
-CONFIG_ARM_L1_CACHE_SHIFT_6=y
-# CONFIG_ARM_LPAE is not set
-CONFIG_ARM_PATCH_IDIV=y
-CONFIG_ARM_PATCH_PHYS_VIRT=y
-# CONFIG_ARM_SP805_WATCHDOG is not set
-CONFIG_ARM_THUMB=y
-# CONFIG_ARM_THUMBEE is not set
-CONFIG_ARM_VIRT_EXT=y
-CONFIG_ATAGS=y
-CONFIG_AUTO_ZRELADDR=y
-CONFIG_BCM47XX_NVRAM=y
-CONFIG_BCM47XX_SPROM=y
-CONFIG_BCM47XX_WDT=y
-CONFIG_BCMA=y
-CONFIG_BCMA_BLOCKIO=y
-CONFIG_BCMA_DEBUG=y
-CONFIG_BCMA_DRIVER_GMAC_CMN=y
-CONFIG_BCMA_DRIVER_GPIO=y
-CONFIG_BCMA_DRIVER_PCI=y
-CONFIG_BCMA_HOST_PCI=y
-CONFIG_BCMA_HOST_PCI_POSSIBLE=y
-CONFIG_BCMA_HOST_SOC=y
-CONFIG_BCMA_SFLASH=y
-CONFIG_BCM_NET_PHYLIB=y
-CONFIG_BCM_NS_THERMAL=y
-CONFIG_BGMAC=y
-CONFIG_BGMAC_BCMA=y
-# CONFIG_BGMAC_PLATFORM is not set
-# CONFIG_BINFMT_FLAT is not set
-CONFIG_BLK_MQ_PCI=y
-CONFIG_BOUNCE=y
-CONFIG_BROADCOM_PHY=y
-CONFIG_CACHE_L2X0=y
-CONFIG_CLKDEV_LOOKUP=y
-CONFIG_CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK=y
-CONFIG_CLKSRC_MMIO=y
-CONFIG_CLKSRC_OF=y
-CONFIG_CLKSRC_PROBE=y
-# CONFIG_CLK_BCM_NS2 is not set
-CONFIG_CLK_BCM_NSP=y
-CONFIG_CLONE_BACKWARDS=y
-CONFIG_COMMON_CLK=y
-CONFIG_COMMON_CLK_IPROC=y
-CONFIG_CPU_32v6K=y
-CONFIG_CPU_32v7=y
-CONFIG_CPU_ABRT_EV7=y
-# CONFIG_CPU_BPREDICT_DISABLE is not set
-CONFIG_CPU_CACHE_V7=y
-CONFIG_CPU_CACHE_VIPT=y
-CONFIG_CPU_COPY_V6=y
-CONFIG_CPU_CP15=y
-CONFIG_CPU_CP15_MMU=y
-CONFIG_CPU_HAS_ASID=y
-# CONFIG_CPU_ICACHE_DISABLE is not set
-CONFIG_CPU_PABRT_V7=y
-CONFIG_CPU_RMAP=y
-CONFIG_CPU_TLB_V7=y
-CONFIG_CPU_V7=y
-CONFIG_CRC16=y
-CONFIG_CRYPTO_AEAD=y
-CONFIG_CRYPTO_AEAD2=y
-CONFIG_CRYPTO_DEFLATE=y
-CONFIG_CRYPTO_HASH2=y
-CONFIG_CRYPTO_LZO=y
-CONFIG_CRYPTO_MANAGER=y
-CONFIG_CRYPTO_MANAGER2=y
-CONFIG_CRYPTO_NULL2=y
-CONFIG_CRYPTO_RNG2=y
-CONFIG_CRYPTO_WORKQUEUE=y
-CONFIG_DCACHE_WORD_ACCESS=y
-CONFIG_DEBUG_BCM_5301X=y
-CONFIG_DEBUG_INFO=y
-CONFIG_DEBUG_LL=y
-CONFIG_DEBUG_LL_INCLUDE="debug/8250.S"
-CONFIG_DEBUG_UART_8250=y
-# CONFIG_DEBUG_UART_8250_FLOW_CONTROL is not set
-CONFIG_DEBUG_UART_8250_SHIFT=0
-CONFIG_DEBUG_UART_PHYS=0x18000300
-CONFIG_DEBUG_UART_VIRT=0xf1000300
-CONFIG_DEBUG_UNCOMPRESS=y
-CONFIG_DEBUG_USER=y
-CONFIG_DTC=y
-CONFIG_EARLY_PRINTK=y
-CONFIG_EDAC_ATOMIC_SCRUB=y
-CONFIG_EDAC_SUPPORT=y
-CONFIG_FIXED_PHY=y
-CONFIG_FIX_EARLYCON_MEM=y
-CONFIG_FRAME_POINTER=y
-# CONFIG_FW_LOADER_USER_HELPER_FALLBACK is not set
-CONFIG_GENERIC_ALLOCATOR=y
-CONFIG_GENERIC_BUG=y
-CONFIG_GENERIC_CLOCKEVENTS=y
-CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
-CONFIG_GENERIC_EARLY_IOREMAP=y
-CONFIG_GENERIC_IDLE_POLL_SETUP=y
-CONFIG_GENERIC_IO=y
-CONFIG_GENERIC_IRQ_SHOW=y
-CONFIG_GENERIC_IRQ_SHOW_LEVEL=y
-CONFIG_GENERIC_PCI_IOMAP=y
-CONFIG_GENERIC_PINCONF=y
-CONFIG_GENERIC_SCHED_CLOCK=y
-CONFIG_GENERIC_SMP_IDLE_THREAD=y
-CONFIG_GENERIC_STRNCPY_FROM_USER=y
-CONFIG_GENERIC_STRNLEN_USER=y
-CONFIG_GPIOLIB=y
-CONFIG_GPIOLIB_IRQCHIP=y
-CONFIG_GPIO_74X164=y
-CONFIG_GPIO_SYSFS=y
-CONFIG_HANDLE_DOMAIN_IRQ=y
-CONFIG_HARDIRQS_SW_RESEND=y
-CONFIG_HAS_DMA=y
-CONFIG_HAS_IOMEM=y
-CONFIG_HAS_IOPORT_MAP=y
-# CONFIG_HAVE_64BIT_ALIGNED_ACCESS is not set
-CONFIG_HAVE_ARCH_AUDITSYSCALL=y
-CONFIG_HAVE_ARCH_BITREVERSE=y
-CONFIG_HAVE_ARCH_JUMP_LABEL=y
-CONFIG_HAVE_ARCH_KGDB=y
-CONFIG_HAVE_ARCH_PFN_VALID=y
-CONFIG_HAVE_ARCH_SECCOMP_FILTER=y
-CONFIG_HAVE_ARCH_TRACEHOOK=y
-CONFIG_HAVE_ARM_ARCH_TIMER=y
-CONFIG_HAVE_ARM_SCU=y
-CONFIG_HAVE_ARM_SMCCC=y
-CONFIG_HAVE_ARM_TWD=y
-# CONFIG_HAVE_BOOTMEM_INFO_NODE is not set
-CONFIG_HAVE_CBPF_JIT=y
-CONFIG_HAVE_CC_STACKPROTECTOR=y
-CONFIG_HAVE_CLK=y
-CONFIG_HAVE_CLK_PREPARE=y
-CONFIG_HAVE_CONTEXT_TRACKING=y
-CONFIG_HAVE_C_RECORDMCOUNT=y
-CONFIG_HAVE_DEBUG_KMEMLEAK=y
-CONFIG_HAVE_DMA_API_DEBUG=y
-CONFIG_HAVE_DMA_CONTIGUOUS=y
-CONFIG_HAVE_DYNAMIC_FTRACE=y
-CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y
-CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y
-CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y
-CONFIG_HAVE_FUNCTION_TRACER=y
-CONFIG_HAVE_GENERIC_DMA_COHERENT=y
-CONFIG_HAVE_IDE=y
-CONFIG_HAVE_IRQ_TIME_ACCOUNTING=y
-CONFIG_HAVE_MEMBLOCK=y
-CONFIG_HAVE_MOD_ARCH_SPECIFIC=y
-CONFIG_HAVE_NET_DSA=y
-CONFIG_HAVE_OPROFILE=y
-CONFIG_HAVE_OPTPROBES=y
-CONFIG_HAVE_PERF_EVENTS=y
-CONFIG_HAVE_PERF_REGS=y
-CONFIG_HAVE_PERF_USER_STACK_DUMP=y
-CONFIG_HAVE_PROC_CPU=y
-CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y
-CONFIG_HAVE_SMP=y
-CONFIG_HAVE_SYSCALL_TRACEPOINTS=y
-CONFIG_HAVE_UID16=y
-CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y
-CONFIG_HIGHMEM=y
-# CONFIG_HIGHPTE is not set
-CONFIG_HZ_FIXED=0
-CONFIG_HZ_PERIODIC=y
-CONFIG_INITRAMFS_SOURCE=""
-CONFIG_IOMMU_HELPER=y
-CONFIG_IRQCHIP=y
-CONFIG_IRQ_DOMAIN=y
-CONFIG_IRQ_DOMAIN_HIERARCHY=y
-CONFIG_IRQ_FORCED_THREADING=y
-CONFIG_IRQ_WORK=y
-CONFIG_LIBFDT=y
-CONFIG_LOCK_SPIN_ON_OWNER=y
-CONFIG_LZO_COMPRESS=y
-CONFIG_LZO_DECOMPRESS=y
-# CONFIG_MDIO_BCM_IPROC is not set
-CONFIG_MDIO_BOARDINFO=y
-# CONFIG_MDIO_BUS_MUX_BCM_IPROC is not set
-CONFIG_MFD_SYSCON=y
-CONFIG_MIGHT_HAVE_CACHE_L2X0=y
-CONFIG_MIGHT_HAVE_PCI=y
-CONFIG_MODULES_USE_ELF_REL=y
-CONFIG_MTD_BCM47XXSFLASH=y
-CONFIG_MTD_BCM47XX_PARTS=y
-CONFIG_MTD_M25P80=y
-CONFIG_MTD_NAND=y
-CONFIG_MTD_NAND_BRCMNAND=y
-CONFIG_MTD_NAND_ECC=y
-CONFIG_MTD_PARSER_TRX=y
-# CONFIG_MTD_PHYSMAP_OF is not set
-CONFIG_MTD_SPI_NOR=y
-CONFIG_MTD_SPLIT_FIRMWARE=y
-CONFIG_MTD_SPLIT_SEAMA_FW=y
-CONFIG_MTD_UBI=y
-CONFIG_MTD_UBI_BEB_LIMIT=20
-CONFIG_MTD_UBI_BLOCK=y
-# CONFIG_MTD_UBI_FASTMAP is not set
-# CONFIG_MTD_UBI_GLUEBI is not set
-CONFIG_MTD_UBI_WL_THRESHOLD=4096
-CONFIG_MULTI_IRQ_HANDLER=y
-CONFIG_MUTEX_SPIN_ON_OWNER=y
-CONFIG_NEED_DMA_MAP_STATE=y
-CONFIG_NET_FLOW_LIMIT=y
-CONFIG_NO_BOOTMEM=y
-CONFIG_NR_CPUS=2
-CONFIG_OF=y
-CONFIG_OF_ADDRESS=y
-CONFIG_OF_ADDRESS_PCI=y
-CONFIG_OF_EARLY_FLATTREE=y
-CONFIG_OF_FLATTREE=y
-CONFIG_OF_GPIO=y
-CONFIG_OF_IRQ=y
-CONFIG_OF_MDIO=y
-CONFIG_OF_NET=y
-CONFIG_OF_PCI=y
-CONFIG_OF_PCI_IRQ=y
-CONFIG_OF_RESERVED_MEM=y
-CONFIG_OLD_SIGACTION=y
-CONFIG_OLD_SIGSUSPEND3=y
-CONFIG_OUTER_CACHE=y
-CONFIG_OUTER_CACHE_SYNC=y
-CONFIG_PADATA=y
-CONFIG_PAGE_OFFSET=0xC0000000
-CONFIG_PCI=y
-CONFIG_PCIE_IPROC=y
-CONFIG_PCIE_IPROC_BCMA=y
-# CONFIG_PCIE_IPROC_PLATFORM is not set
-CONFIG_PCI_DOMAINS=y
-CONFIG_PCI_DOMAINS_GENERIC=y
-CONFIG_PERF_USE_VMALLOC=y
-CONFIG_PGTABLE_LEVELS=2
-CONFIG_PHYLIB=y
-# CONFIG_PHY_BCM_NS_USB2 is not set
-# CONFIG_PHY_BCM_NS_USB3 is not set
-# CONFIG_PHY_BRCM_SATA is not set
-CONFIG_PINCTRL=y
-# CONFIG_PINCTRL_IPROC_GPIO is not set
-# CONFIG_PINCTRL_NS2_MUX is not set
-# CONFIG_PL310_ERRATA_588369 is not set
-# CONFIG_PL310_ERRATA_727915 is not set
-# CONFIG_PL310_ERRATA_753970 is not set
-# CONFIG_PL310_ERRATA_769419 is not set
-CONFIG_RATIONAL=y
-CONFIG_RCU_STALL_COMMON=y
-CONFIG_REGMAP=y
-CONFIG_REGMAP_MMIO=y
-CONFIG_RFS_ACCEL=y
-CONFIG_RPS=y
-CONFIG_RWSEM_SPIN_ON_OWNER=y
-CONFIG_RWSEM_XCHGADD_ALGORITHM=y
-# CONFIG_SCHED_INFO is not set
-# CONFIG_SCSI_DMA is not set
-CONFIG_SERIAL_8250_FSL=y
-# CONFIG_SERIAL_AMBA_PL010 is not set
-# CONFIG_SERIAL_AMBA_PL011 is not set
-CONFIG_SERIAL_OF_PLATFORM=y
-CONFIG_SMP=y
-CONFIG_SMP_ON_UP=y
-CONFIG_SPARSE_IRQ=y
-CONFIG_SPI=y
-CONFIG_SPI_BCM53XX=y
-CONFIG_SPI_BITBANG=y
-# CONFIG_SPI_CADENCE_QUADSPI is not set
-CONFIG_SPI_GPIO=y
-CONFIG_SPI_MASTER=y
-CONFIG_SRCU=y
-CONFIG_SWCONFIG=y
-CONFIG_SWCONFIG_B53=y
-# CONFIG_SWCONFIG_B53_MMAP_DRIVER is not set
-CONFIG_SWCONFIG_B53_PHY_DRIVER=y
-CONFIG_SWCONFIG_B53_PHY_FIXUP=y
-CONFIG_SWCONFIG_B53_SRAB_DRIVER=y
-CONFIG_SWIOTLB=y
-CONFIG_SWPHY=y
-CONFIG_SWP_EMULATE=y
-CONFIG_SYS_SUPPORTS_APM_EMULATION=y
-CONFIG_THERMAL=y
-CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y
-CONFIG_THERMAL_GOV_STEP_WISE=y
-CONFIG_THERMAL_OF=y
-# CONFIG_THUMB2_KERNEL is not set
-CONFIG_TICK_CPU_ACCOUNTING=y
-CONFIG_TREE_RCU=y
-CONFIG_UBIFS_FS=y
-# CONFIG_UBIFS_FS_ADVANCED_COMPR is not set
-CONFIG_UBIFS_FS_LZO=y
-CONFIG_UBIFS_FS_ZLIB=y
-CONFIG_UNCOMPRESS_INCLUDE="debug/uncompress.h"
-CONFIG_USB_SUPPORT=y
-CONFIG_USE_OF=y
-CONFIG_VECTORS_BASE=0xffff0000
-# CONFIG_VFP is not set
-CONFIG_WATCHDOG_CORE=y
-CONFIG_XPS=y
-CONFIG_XZ_DEC_ARM=y
-CONFIG_XZ_DEC_BCJ=y
-CONFIG_ZBOOT_ROM_BSS=0x0
-CONFIG_ZBOOT_ROM_TEXT=0x0
-CONFIG_ZLIB_DEFLATE=y
-CONFIG_ZLIB_INFLATE=y
diff --git a/target/linux/bcm53xx/files-4.4/drivers/firmware/broadcom/bcm47xx_sprom.c b/target/linux/bcm53xx/files-4.4/drivers/firmware/broadcom/bcm47xx_sprom.c
deleted file mode 100644 (file)
index dfcccb0..0000000
+++ /dev/null
@@ -1,737 +0,0 @@
-/*
- *  Copyright (C) 2004 Florian Schirmer <jolt@tuxbox.org>
- *  Copyright (C) 2006 Felix Fietkau <nbd@nbd.name>
- *  Copyright (C) 2006 Michael Buesch <m@bues.ch>
- *  Copyright (C) 2010 Waldemar Brodkorb <wbx@openadk.org>
- *  Copyright (C) 2010-2012 Hauke Mehrtens <hauke@hauke-m.de>
- *
- *  This program is free software; you can redistribute  it and/or modify it
- *  under  the terms of  the GNU General  Public License as published by the
- *  Free Software Foundation;  either version 2 of the  License, or (at your
- *  option) any later version.
- *
- *  THIS  SOFTWARE  IS PROVIDED   ``AS  IS'' AND   ANY  EXPRESS OR IMPLIED
- *  WARRANTIES,   INCLUDING, BUT NOT  LIMITED  TO, THE IMPLIED WARRANTIES OF
- *  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN
- *  NO  EVENT  SHALL   THE AUTHOR  BE    LIABLE FOR ANY   DIRECT, INDIRECT,
- *  INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- *  NOT LIMITED   TO, PROCUREMENT OF  SUBSTITUTE GOODS  OR SERVICES; LOSS OF
- *  USE, DATA,  OR PROFITS; OR  BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- *  ANY THEORY OF LIABILITY, WHETHER IN  CONTRACT, STRICT LIABILITY, OR TORT
- *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- *  THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- *  You should have received a copy of the  GNU General Public License along
- *  with this program; if not, write  to the Free Software Foundation, Inc.,
- *  675 Mass Ave, Cambridge, MA 02139, USA.
- */
-
-#include <linux/bcm47xx_nvram.h>
-#include <linux/bcma/bcma.h>
-#include <linux/etherdevice.h>
-#include <linux/if_ether.h>
-#include <linux/ssb/ssb.h>
-
-static void create_key(const char *prefix, const char *postfix,
-                      const char *name, char *buf, int len)
-{
-       if (prefix && postfix)
-               snprintf(buf, len, "%s%s%s", prefix, name, postfix);
-       else if (prefix)
-               snprintf(buf, len, "%s%s", prefix, name);
-       else if (postfix)
-               snprintf(buf, len, "%s%s", name, postfix);
-       else
-               snprintf(buf, len, "%s", name);
-}
-
-static int get_nvram_var(const char *prefix, const char *postfix,
-                        const char *name, char *buf, int len, bool fallback)
-{
-       char key[40];
-       int err;
-
-       create_key(prefix, postfix, name, key, sizeof(key));
-
-       err = bcm47xx_nvram_getenv(key, buf, len);
-       if (fallback && err == -ENOENT && prefix) {
-               create_key(NULL, postfix, name, key, sizeof(key));
-               err = bcm47xx_nvram_getenv(key, buf, len);
-       }
-       return err;
-}
-
-#define NVRAM_READ_VAL(type)                                           \
-static void nvram_read_ ## type(const char *prefix,                    \
-                               const char *postfix, const char *name,  \
-                               type *val, type allset, bool fallback)  \
-{                                                                      \
-       char buf[100];                                                  \
-       int err;                                                        \
-       type var;                                                       \
-                                                                       \
-       err = get_nvram_var(prefix, postfix, name, buf, sizeof(buf),    \
-                           fallback);                                  \
-       if (err < 0)                                                    \
-               return;                                                 \
-       err = kstrto ## type(strim(buf), 0, &var);                      \
-       if (err) {                                                      \
-               pr_warn("can not parse nvram name %s%s%s with value %s got %i\n",       \
-                       prefix, name, postfix, buf, err);               \
-               return;                                                 \
-       }                                                               \
-       if (allset && var == allset)                                    \
-               return;                                                 \
-       *val = var;                                                     \
-}
-
-NVRAM_READ_VAL(u8)
-NVRAM_READ_VAL(s8)
-NVRAM_READ_VAL(u16)
-NVRAM_READ_VAL(u32)
-
-#undef NVRAM_READ_VAL
-
-static void nvram_read_u32_2(const char *prefix, const char *name,
-                            u16 *val_lo, u16 *val_hi, bool fallback)
-{
-       char buf[100];
-       int err;
-       u32 val;
-
-       err = get_nvram_var(prefix, NULL, name, buf, sizeof(buf), fallback);
-       if (err < 0)
-               return;
-       err = kstrtou32(strim(buf), 0, &val);
-       if (err) {
-               pr_warn("can not parse nvram name %s%s with value %s got %i\n",
-                       prefix, name, buf, err);
-               return;
-       }
-       *val_lo = (val & 0x0000FFFFU);
-       *val_hi = (val & 0xFFFF0000U) >> 16;
-}
-
-static void nvram_read_leddc(const char *prefix, const char *name,
-                            u8 *leddc_on_time, u8 *leddc_off_time,
-                            bool fallback)
-{
-       char buf[100];
-       int err;
-       u32 val;
-
-       err = get_nvram_var(prefix, NULL, name, buf, sizeof(buf), fallback);
-       if (err < 0)
-               return;
-       err = kstrtou32(strim(buf), 0, &val);
-       if (err) {
-               pr_warn("can not parse nvram name %s%s with value %s got %i\n",
-                       prefix, name, buf, err);
-               return;
-       }
-
-       if (val == 0xffff || val == 0xffffffff)
-               return;
-
-       *leddc_on_time = val & 0xff;
-       *leddc_off_time = (val >> 16) & 0xff;
-}
-
-static void bcm47xx_nvram_parse_macaddr(char *buf, u8 macaddr[6])
-{
-       if (strchr(buf, ':'))
-               sscanf(buf, "%hhx:%hhx:%hhx:%hhx:%hhx:%hhx", &macaddr[0],
-                       &macaddr[1], &macaddr[2], &macaddr[3], &macaddr[4],
-                       &macaddr[5]);
-       else if (strchr(buf, '-'))
-               sscanf(buf, "%hhx-%hhx-%hhx-%hhx-%hhx-%hhx", &macaddr[0],
-                       &macaddr[1], &macaddr[2], &macaddr[3], &macaddr[4],
-                       &macaddr[5]);
-       else
-               pr_warn("Can not parse mac address: %s\n", buf);
-}
-
-static void nvram_read_macaddr(const char *prefix, const char *name,
-                              u8 val[6], bool fallback)
-{
-       char buf[100];
-       int err;
-
-       err = get_nvram_var(prefix, NULL, name, buf, sizeof(buf), fallback);
-       if (err < 0)
-               return;
-
-       bcm47xx_nvram_parse_macaddr(buf, val);
-}
-
-static void nvram_read_alpha2(const char *prefix, const char *name,
-                            char val[2], bool fallback)
-{
-       char buf[10];
-       int err;
-
-       err = get_nvram_var(prefix, NULL, name, buf, sizeof(buf), fallback);
-       if (err < 0)
-               return;
-       if (buf[0] == '0')
-               return;
-       if (strlen(buf) > 2) {
-               pr_warn("alpha2 is too long %s\n", buf);
-               return;
-       }
-       memcpy(val, buf, 2);
-}
-
-/* This is one-function-only macro, it uses local "sprom" variable! */
-#define ENTRY(_revmask, _type, _prefix, _name, _val, _allset, _fallback) \
-       if (_revmask & BIT(sprom->revision)) \
-               nvram_read_ ## _type(_prefix, NULL, _name, &sprom->_val, \
-                                    _allset, _fallback)
-/*
- * Special version of filling function that can be safely called for any SPROM
- * revision. For every NVRAM to SPROM mapping it contains bitmask of revisions
- * for which the mapping is valid.
- * It obviously requires some hexadecimal/bitmasks knowledge, but allows
- * writing cleaner code (easy revisions handling).
- * Note that while SPROM revision 0 was never used, we still keep BIT(0)
- * reserved for it, just to keep numbering sane.
- */
-static void bcm47xx_sprom_fill_auto(struct ssb_sprom *sprom,
-                                   const char *prefix, bool fallback)
-{
-       const char *pre = prefix;
-       bool fb = fallback;
-
-       /* Broadcom extracts it for rev 8+ but it was found on 2 and 4 too */
-       ENTRY(0xfffffffe, u16, pre, "devid", dev_id, 0, fallback);
-
-       ENTRY(0xfffffffe, u16, pre, "boardrev", board_rev, 0, true);
-       ENTRY(0xfffffffe, u32, pre, "boardflags", boardflags, 0, fb);
-       ENTRY(0xfffffff0, u32, pre, "boardflags2", boardflags2, 0, fb);
-       ENTRY(0xfffff800, u32, pre, "boardflags3", boardflags3, 0, fb);
-       ENTRY(0x00000002, u16, pre, "boardflags", boardflags_lo, 0, fb);
-       ENTRY(0xfffffffc, u16, pre, "boardtype", board_type, 0, true);
-       ENTRY(0xfffffffe, u16, pre, "boardnum", board_num, 0, fb);
-       ENTRY(0x00000002, u8, pre, "cc", country_code, 0, fb);
-       ENTRY(0xfffffff8, u8, pre, "regrev", regrev, 0, fb);
-
-       ENTRY(0xfffffffe, u8, pre, "ledbh0", gpio0, 0xff, fb);
-       ENTRY(0xfffffffe, u8, pre, "ledbh1", gpio1, 0xff, fb);
-       ENTRY(0xfffffffe, u8, pre, "ledbh2", gpio2, 0xff, fb);
-       ENTRY(0xfffffffe, u8, pre, "ledbh3", gpio3, 0xff, fb);
-
-       ENTRY(0x0000070e, u16, pre, "pa0b0", pa0b0, 0, fb);
-       ENTRY(0x0000070e, u16, pre, "pa0b1", pa0b1, 0, fb);
-       ENTRY(0x0000070e, u16, pre, "pa0b2", pa0b2, 0, fb);
-       ENTRY(0x0000070e, u8, pre, "pa0itssit", itssi_bg, 0, fb);
-       ENTRY(0x0000070e, u8, pre, "pa0maxpwr", maxpwr_bg, 0, fb);
-
-       ENTRY(0x0000070c, u8, pre, "opo", opo, 0, fb);
-       ENTRY(0xfffffffe, u8, pre, "aa2g", ant_available_bg, 0, fb);
-       ENTRY(0xfffffffe, u8, pre, "aa5g", ant_available_a, 0, fb);
-       ENTRY(0x000007fe, s8, pre, "ag0", antenna_gain.a0, 0, fb);
-       ENTRY(0x000007fe, s8, pre, "ag1", antenna_gain.a1, 0, fb);
-       ENTRY(0x000007f0, s8, pre, "ag2", antenna_gain.a2, 0, fb);
-       ENTRY(0x000007f0, s8, pre, "ag3", antenna_gain.a3, 0, fb);
-
-       ENTRY(0x0000070e, u16, pre, "pa1b0", pa1b0, 0, fb);
-       ENTRY(0x0000070e, u16, pre, "pa1b1", pa1b1, 0, fb);
-       ENTRY(0x0000070e, u16, pre, "pa1b2", pa1b2, 0, fb);
-       ENTRY(0x0000070c, u16, pre, "pa1lob0", pa1lob0, 0, fb);
-       ENTRY(0x0000070c, u16, pre, "pa1lob1", pa1lob1, 0, fb);
-       ENTRY(0x0000070c, u16, pre, "pa1lob2", pa1lob2, 0, fb);
-       ENTRY(0x0000070c, u16, pre, "pa1hib0", pa1hib0, 0, fb);
-       ENTRY(0x0000070c, u16, pre, "pa1hib1", pa1hib1, 0, fb);
-       ENTRY(0x0000070c, u16, pre, "pa1hib2", pa1hib2, 0, fb);
-       ENTRY(0x0000070e, u8, pre, "pa1itssit", itssi_a, 0, fb);
-       ENTRY(0x0000070e, u8, pre, "pa1maxpwr", maxpwr_a, 0, fb);
-       ENTRY(0x0000070c, u8, pre, "pa1lomaxpwr", maxpwr_al, 0, fb);
-       ENTRY(0x0000070c, u8, pre, "pa1himaxpwr", maxpwr_ah, 0, fb);
-
-       ENTRY(0x00000708, u8, pre, "bxa2g", bxa2g, 0, fb);
-       ENTRY(0x00000708, u8, pre, "rssisav2g", rssisav2g, 0, fb);
-       ENTRY(0x00000708, u8, pre, "rssismc2g", rssismc2g, 0, fb);
-       ENTRY(0x00000708, u8, pre, "rssismf2g", rssismf2g, 0, fb);
-       ENTRY(0x00000708, u8, pre, "bxa5g", bxa5g, 0, fb);
-       ENTRY(0x00000708, u8, pre, "rssisav5g", rssisav5g, 0, fb);
-       ENTRY(0x00000708, u8, pre, "rssismc5g", rssismc5g, 0, fb);
-       ENTRY(0x00000708, u8, pre, "rssismf5g", rssismf5g, 0, fb);
-       ENTRY(0x00000708, u8, pre, "tri2g", tri2g, 0, fb);
-       ENTRY(0x00000708, u8, pre, "tri5g", tri5g, 0, fb);
-       ENTRY(0x00000708, u8, pre, "tri5gl", tri5gl, 0, fb);
-       ENTRY(0x00000708, u8, pre, "tri5gh", tri5gh, 0, fb);
-       ENTRY(0x00000708, s8, pre, "rxpo2g", rxpo2g, 0, fb);
-       ENTRY(0x00000708, s8, pre, "rxpo5g", rxpo5g, 0, fb);
-       ENTRY(0xfffffff0, u8, pre, "txchain", txchain, 0xf, fb);
-       ENTRY(0xfffffff0, u8, pre, "rxchain", rxchain, 0xf, fb);
-       ENTRY(0xfffffff0, u8, pre, "antswitch", antswitch, 0xff, fb);
-       ENTRY(0x00000700, u8, pre, "tssipos2g", fem.ghz2.tssipos, 0, fb);
-       ENTRY(0x00000700, u8, pre, "extpagain2g", fem.ghz2.extpa_gain, 0, fb);
-       ENTRY(0x00000700, u8, pre, "pdetrange2g", fem.ghz2.pdet_range, 0, fb);
-       ENTRY(0x00000700, u8, pre, "triso2g", fem.ghz2.tr_iso, 0, fb);
-       ENTRY(0x00000700, u8, pre, "antswctl2g", fem.ghz2.antswlut, 0, fb);
-       ENTRY(0x00000700, u8, pre, "tssipos5g", fem.ghz5.tssipos, 0, fb);
-       ENTRY(0x00000700, u8, pre, "extpagain5g", fem.ghz5.extpa_gain, 0, fb);
-       ENTRY(0x00000700, u8, pre, "pdetrange5g", fem.ghz5.pdet_range, 0, fb);
-       ENTRY(0x00000700, u8, pre, "triso5g", fem.ghz5.tr_iso, 0, fb);
-       ENTRY(0x00000700, u8, pre, "antswctl5g", fem.ghz5.antswlut, 0, fb);
-       ENTRY(0x000000f0, u8, pre, "txpid2ga0", txpid2g[0], 0, fb);
-       ENTRY(0x000000f0, u8, pre, "txpid2ga1", txpid2g[1], 0, fb);
-       ENTRY(0x000000f0, u8, pre, "txpid2ga2", txpid2g[2], 0, fb);
-       ENTRY(0x000000f0, u8, pre, "txpid2ga3", txpid2g[3], 0, fb);
-       ENTRY(0x000000f0, u8, pre, "txpid5ga0", txpid5g[0], 0, fb);
-       ENTRY(0x000000f0, u8, pre, "txpid5ga1", txpid5g[1], 0, fb);
-       ENTRY(0x000000f0, u8, pre, "txpid5ga2", txpid5g[2], 0, fb);
-       ENTRY(0x000000f0, u8, pre, "txpid5ga3", txpid5g[3], 0, fb);
-       ENTRY(0x000000f0, u8, pre, "txpid5gla0", txpid5gl[0], 0, fb);
-       ENTRY(0x000000f0, u8, pre, "txpid5gla1", txpid5gl[1], 0, fb);
-       ENTRY(0x000000f0, u8, pre, "txpid5gla2", txpid5gl[2], 0, fb);
-       ENTRY(0x000000f0, u8, pre, "txpid5gla3", txpid5gl[3], 0, fb);
-       ENTRY(0x000000f0, u8, pre, "txpid5gha0", txpid5gh[0], 0, fb);
-       ENTRY(0x000000f0, u8, pre, "txpid5gha1", txpid5gh[1], 0, fb);
-       ENTRY(0x000000f0, u8, pre, "txpid5gha2", txpid5gh[2], 0, fb);
-       ENTRY(0x000000f0, u8, pre, "txpid5gha3", txpid5gh[3], 0, fb);
-
-       ENTRY(0xffffff00, u8, pre, "tempthresh", tempthresh, 0, fb);
-       ENTRY(0xffffff00, u8, pre, "tempoffset", tempoffset, 0, fb);
-       ENTRY(0xffffff00, u16, pre, "rawtempsense", rawtempsense, 0, fb);
-       ENTRY(0xffffff00, u8, pre, "measpower", measpower, 0, fb);
-       ENTRY(0xffffff00, u8, pre, "tempsense_slope", tempsense_slope, 0, fb);
-       ENTRY(0xffffff00, u8, pre, "tempcorrx", tempcorrx, 0, fb);
-       ENTRY(0xffffff00, u8, pre, "tempsense_option", tempsense_option, 0, fb);
-       ENTRY(0x00000700, u8, pre, "freqoffset_corr", freqoffset_corr, 0, fb);
-       ENTRY(0x00000700, u8, pre, "iqcal_swp_dis", iqcal_swp_dis, 0, fb);
-       ENTRY(0x00000700, u8, pre, "hw_iqcal_en", hw_iqcal_en, 0, fb);
-       ENTRY(0x00000700, u8, pre, "elna2g", elna2g, 0, fb);
-       ENTRY(0x00000700, u8, pre, "elna5g", elna5g, 0, fb);
-       ENTRY(0xffffff00, u8, pre, "phycal_tempdelta", phycal_tempdelta, 0, fb);
-       ENTRY(0xffffff00, u8, pre, "temps_period", temps_period, 0, fb);
-       ENTRY(0xffffff00, u8, pre, "temps_hysteresis", temps_hysteresis, 0, fb);
-       ENTRY(0xffffff00, u8, pre, "measpower1", measpower1, 0, fb);
-       ENTRY(0xffffff00, u8, pre, "measpower2", measpower2, 0, fb);
-
-       ENTRY(0x000001f0, u16, pre, "cck2gpo", cck2gpo, 0, fb);
-       ENTRY(0x000001f0, u32, pre, "ofdm2gpo", ofdm2gpo, 0, fb);
-       ENTRY(0x000001f0, u32, pre, "ofdm5gpo", ofdm5gpo, 0, fb);
-       ENTRY(0x000001f0, u32, pre, "ofdm5glpo", ofdm5glpo, 0, fb);
-       ENTRY(0x000001f0, u32, pre, "ofdm5ghpo", ofdm5ghpo, 0, fb);
-       ENTRY(0x000001f0, u16, pre, "mcs2gpo0", mcs2gpo[0], 0, fb);
-       ENTRY(0x000001f0, u16, pre, "mcs2gpo1", mcs2gpo[1], 0, fb);
-       ENTRY(0x000001f0, u16, pre, "mcs2gpo2", mcs2gpo[2], 0, fb);
-       ENTRY(0x000001f0, u16, pre, "mcs2gpo3", mcs2gpo[3], 0, fb);
-       ENTRY(0x000001f0, u16, pre, "mcs2gpo4", mcs2gpo[4], 0, fb);
-       ENTRY(0x000001f0, u16, pre, "mcs2gpo5", mcs2gpo[5], 0, fb);
-       ENTRY(0x000001f0, u16, pre, "mcs2gpo6", mcs2gpo[6], 0, fb);
-       ENTRY(0x000001f0, u16, pre, "mcs2gpo7", mcs2gpo[7], 0, fb);
-       ENTRY(0x000001f0, u16, pre, "mcs5gpo0", mcs5gpo[0], 0, fb);
-       ENTRY(0x000001f0, u16, pre, "mcs5gpo1", mcs5gpo[1], 0, fb);
-       ENTRY(0x000001f0, u16, pre, "mcs5gpo2", mcs5gpo[2], 0, fb);
-       ENTRY(0x000001f0, u16, pre, "mcs5gpo3", mcs5gpo[3], 0, fb);
-       ENTRY(0x000001f0, u16, pre, "mcs5gpo4", mcs5gpo[4], 0, fb);
-       ENTRY(0x000001f0, u16, pre, "mcs5gpo5", mcs5gpo[5], 0, fb);
-       ENTRY(0x000001f0, u16, pre, "mcs5gpo6", mcs5gpo[6], 0, fb);
-       ENTRY(0x000001f0, u16, pre, "mcs5gpo7", mcs5gpo[7], 0, fb);
-       ENTRY(0x000001f0, u16, pre, "mcs5glpo0", mcs5glpo[0], 0, fb);
-       ENTRY(0x000001f0, u16, pre, "mcs5glpo1", mcs5glpo[1], 0, fb);
-       ENTRY(0x000001f0, u16, pre, "mcs5glpo2", mcs5glpo[2], 0, fb);
-       ENTRY(0x000001f0, u16, pre, "mcs5glpo3", mcs5glpo[3], 0, fb);
-       ENTRY(0x000001f0, u16, pre, "mcs5glpo4", mcs5glpo[4], 0, fb);
-       ENTRY(0x000001f0, u16, pre, "mcs5glpo5", mcs5glpo[5], 0, fb);
-       ENTRY(0x000001f0, u16, pre, "mcs5glpo6", mcs5glpo[6], 0, fb);
-       ENTRY(0x000001f0, u16, pre, "mcs5glpo7", mcs5glpo[7], 0, fb);
-       ENTRY(0x000001f0, u16, pre, "mcs5ghpo0", mcs5ghpo[0], 0, fb);
-       ENTRY(0x000001f0, u16, pre, "mcs5ghpo1", mcs5ghpo[1], 0, fb);
-       ENTRY(0x000001f0, u16, pre, "mcs5ghpo2", mcs5ghpo[2], 0, fb);
-       ENTRY(0x000001f0, u16, pre, "mcs5ghpo3", mcs5ghpo[3], 0, fb);
-       ENTRY(0x000001f0, u16, pre, "mcs5ghpo4", mcs5ghpo[4], 0, fb);
-       ENTRY(0x000001f0, u16, pre, "mcs5ghpo5", mcs5ghpo[5], 0, fb);
-       ENTRY(0x000001f0, u16, pre, "mcs5ghpo6", mcs5ghpo[6], 0, fb);
-       ENTRY(0x000001f0, u16, pre, "mcs5ghpo7", mcs5ghpo[7], 0, fb);
-       ENTRY(0x000001f0, u16, pre, "cddpo", cddpo, 0, fb);
-       ENTRY(0x000001f0, u16, pre, "stbcpo", stbcpo, 0, fb);
-       ENTRY(0x000001f0, u16, pre, "bw40po", bw40po, 0, fb);
-       ENTRY(0x000001f0, u16, pre, "bwduppo", bwduppo, 0, fb);
-
-       ENTRY(0xfffffe00, u16, pre, "cckbw202gpo", cckbw202gpo, 0, fb);
-       ENTRY(0xfffffe00, u16, pre, "cckbw20ul2gpo", cckbw20ul2gpo, 0, fb);
-       ENTRY(0x00000600, u32, pre, "legofdmbw202gpo", legofdmbw202gpo, 0, fb);
-       ENTRY(0x00000600, u32, pre, "legofdmbw20ul2gpo", legofdmbw20ul2gpo, 0, fb);
-       ENTRY(0x00000600, u32, pre, "legofdmbw205glpo", legofdmbw205glpo, 0, fb);
-       ENTRY(0x00000600, u32, pre, "legofdmbw20ul5glpo", legofdmbw20ul5glpo, 0, fb);
-       ENTRY(0x00000600, u32, pre, "legofdmbw205gmpo", legofdmbw205gmpo, 0, fb);
-       ENTRY(0x00000600, u32, pre, "legofdmbw20ul5gmpo", legofdmbw20ul5gmpo, 0, fb);
-       ENTRY(0x00000600, u32, pre, "legofdmbw205ghpo", legofdmbw205ghpo, 0, fb);
-       ENTRY(0x00000600, u32, pre, "legofdmbw20ul5ghpo", legofdmbw20ul5ghpo, 0, fb);
-       ENTRY(0xfffffe00, u32, pre, "mcsbw202gpo", mcsbw202gpo, 0, fb);
-       ENTRY(0x00000600, u32, pre, "mcsbw20ul2gpo", mcsbw20ul2gpo, 0, fb);
-       ENTRY(0xfffffe00, u32, pre, "mcsbw402gpo", mcsbw402gpo, 0, fb);
-       ENTRY(0xfffffe00, u32, pre, "mcsbw205glpo", mcsbw205glpo, 0, fb);
-       ENTRY(0x00000600, u32, pre, "mcsbw20ul5glpo", mcsbw20ul5glpo, 0, fb);
-       ENTRY(0xfffffe00, u32, pre, "mcsbw405glpo", mcsbw405glpo, 0, fb);
-       ENTRY(0xfffffe00, u32, pre, "mcsbw205gmpo", mcsbw205gmpo, 0, fb);
-       ENTRY(0x00000600, u32, pre, "mcsbw20ul5gmpo", mcsbw20ul5gmpo, 0, fb);
-       ENTRY(0xfffffe00, u32, pre, "mcsbw405gmpo", mcsbw405gmpo, 0, fb);
-       ENTRY(0xfffffe00, u32, pre, "mcsbw205ghpo", mcsbw205ghpo, 0, fb);
-       ENTRY(0x00000600, u32, pre, "mcsbw20ul5ghpo", mcsbw20ul5ghpo, 0, fb);
-       ENTRY(0xfffffe00, u32, pre, "mcsbw405ghpo", mcsbw405ghpo, 0, fb);
-       ENTRY(0x00000600, u16, pre, "mcs32po", mcs32po, 0, fb);
-       ENTRY(0x00000600, u16, pre, "legofdm40duppo", legofdm40duppo, 0, fb);
-       ENTRY(0x00000700, u8, pre, "pcieingress_war", pcieingress_war, 0, fb);
-
-       /* TODO: rev 11 support */
-       ENTRY(0x00000700, u8, pre, "rxgainerr2ga0", rxgainerr2ga[0], 0, fb);
-       ENTRY(0x00000700, u8, pre, "rxgainerr2ga1", rxgainerr2ga[1], 0, fb);
-       ENTRY(0x00000700, u8, pre, "rxgainerr2ga2", rxgainerr2ga[2], 0, fb);
-       ENTRY(0x00000700, u8, pre, "rxgainerr5gla0", rxgainerr5gla[0], 0, fb);
-       ENTRY(0x00000700, u8, pre, "rxgainerr5gla1", rxgainerr5gla[1], 0, fb);
-       ENTRY(0x00000700, u8, pre, "rxgainerr5gla2", rxgainerr5gla[2], 0, fb);
-       ENTRY(0x00000700, u8, pre, "rxgainerr5gma0", rxgainerr5gma[0], 0, fb);
-       ENTRY(0x00000700, u8, pre, "rxgainerr5gma1", rxgainerr5gma[1], 0, fb);
-       ENTRY(0x00000700, u8, pre, "rxgainerr5gma2", rxgainerr5gma[2], 0, fb);
-       ENTRY(0x00000700, u8, pre, "rxgainerr5gha0", rxgainerr5gha[0], 0, fb);
-       ENTRY(0x00000700, u8, pre, "rxgainerr5gha1", rxgainerr5gha[1], 0, fb);
-       ENTRY(0x00000700, u8, pre, "rxgainerr5gha2", rxgainerr5gha[2], 0, fb);
-       ENTRY(0x00000700, u8, pre, "rxgainerr5gua0", rxgainerr5gua[0], 0, fb);
-       ENTRY(0x00000700, u8, pre, "rxgainerr5gua1", rxgainerr5gua[1], 0, fb);
-       ENTRY(0x00000700, u8, pre, "rxgainerr5gua2", rxgainerr5gua[2], 0, fb);
-
-       ENTRY(0xfffffe00, u8, pre, "sar2g", sar2g, 0, fb);
-       ENTRY(0xfffffe00, u8, pre, "sar5g", sar5g, 0, fb);
-
-       /* TODO: rev 11 support */
-       ENTRY(0x00000700, u8, pre, "noiselvl2ga0", noiselvl2ga[0], 0, fb);
-       ENTRY(0x00000700, u8, pre, "noiselvl2ga1", noiselvl2ga[1], 0, fb);
-       ENTRY(0x00000700, u8, pre, "noiselvl2ga2", noiselvl2ga[2], 0, fb);
-       ENTRY(0x00000700, u8, pre, "noiselvl5gla0", noiselvl5gla[0], 0, fb);
-       ENTRY(0x00000700, u8, pre, "noiselvl5gla1", noiselvl5gla[1], 0, fb);
-       ENTRY(0x00000700, u8, pre, "noiselvl5gla2", noiselvl5gla[2], 0, fb);
-       ENTRY(0x00000700, u8, pre, "noiselvl5gma0", noiselvl5gma[0], 0, fb);
-       ENTRY(0x00000700, u8, pre, "noiselvl5gma1", noiselvl5gma[1], 0, fb);
-       ENTRY(0x00000700, u8, pre, "noiselvl5gma2", noiselvl5gma[2], 0, fb);
-       ENTRY(0x00000700, u8, pre, "noiselvl5gha0", noiselvl5gha[0], 0, fb);
-       ENTRY(0x00000700, u8, pre, "noiselvl5gha1", noiselvl5gha[1], 0, fb);
-       ENTRY(0x00000700, u8, pre, "noiselvl5gha2", noiselvl5gha[2], 0, fb);
-       ENTRY(0x00000700, u8, pre, "noiselvl5gua0", noiselvl5gua[0], 0, fb);
-       ENTRY(0x00000700, u8, pre, "noiselvl5gua1", noiselvl5gua[1], 0, fb);
-       ENTRY(0x00000700, u8, pre, "noiselvl5gua2", noiselvl5gua[2], 0, fb);
-}
-#undef ENTRY /* It's specififc, uses local variable, don't use it (again). */
-
-static void bcm47xx_fill_sprom_path_r4589(struct ssb_sprom *sprom,
-                                         const char *prefix, bool fallback)
-{
-       char postfix[2];
-       int i;
-
-       for (i = 0; i < ARRAY_SIZE(sprom->core_pwr_info); i++) {
-               struct ssb_sprom_core_pwr_info *pwr_info;
-
-               pwr_info = &sprom->core_pwr_info[i];
-
-               snprintf(postfix, sizeof(postfix), "%i", i);
-               nvram_read_u8(prefix, postfix, "maxp2ga",
-                             &pwr_info->maxpwr_2g, 0, fallback);
-               nvram_read_u8(prefix, postfix, "itt2ga",
-                             &pwr_info->itssi_2g, 0, fallback);
-               nvram_read_u8(prefix, postfix, "itt5ga",
-                             &pwr_info->itssi_5g, 0, fallback);
-               nvram_read_u16(prefix, postfix, "pa2gw0a",
-                              &pwr_info->pa_2g[0], 0, fallback);
-               nvram_read_u16(prefix, postfix, "pa2gw1a",
-                              &pwr_info->pa_2g[1], 0, fallback);
-               nvram_read_u16(prefix, postfix, "pa2gw2a",
-                              &pwr_info->pa_2g[2], 0, fallback);
-               nvram_read_u8(prefix, postfix, "maxp5ga",
-                             &pwr_info->maxpwr_5g, 0, fallback);
-               nvram_read_u8(prefix, postfix, "maxp5gha",
-                             &pwr_info->maxpwr_5gh, 0, fallback);
-               nvram_read_u8(prefix, postfix, "maxp5gla",
-                             &pwr_info->maxpwr_5gl, 0, fallback);
-               nvram_read_u16(prefix, postfix, "pa5gw0a",
-                              &pwr_info->pa_5g[0], 0, fallback);
-               nvram_read_u16(prefix, postfix, "pa5gw1a",
-                              &pwr_info->pa_5g[1], 0, fallback);
-               nvram_read_u16(prefix, postfix, "pa5gw2a",
-                              &pwr_info->pa_5g[2], 0, fallback);
-               nvram_read_u16(prefix, postfix, "pa5glw0a",
-                              &pwr_info->pa_5gl[0], 0, fallback);
-               nvram_read_u16(prefix, postfix, "pa5glw1a",
-                              &pwr_info->pa_5gl[1], 0, fallback);
-               nvram_read_u16(prefix, postfix, "pa5glw2a",
-                              &pwr_info->pa_5gl[2], 0, fallback);
-               nvram_read_u16(prefix, postfix, "pa5ghw0a",
-                              &pwr_info->pa_5gh[0], 0, fallback);
-               nvram_read_u16(prefix, postfix, "pa5ghw1a",
-                              &pwr_info->pa_5gh[1], 0, fallback);
-               nvram_read_u16(prefix, postfix, "pa5ghw2a",
-                              &pwr_info->pa_5gh[2], 0, fallback);
-       }
-}
-
-static void bcm47xx_fill_sprom_path_r45(struct ssb_sprom *sprom,
-                                       const char *prefix, bool fallback)
-{
-       char postfix[2];
-       int i;
-
-       for (i = 0; i < ARRAY_SIZE(sprom->core_pwr_info); i++) {
-               struct ssb_sprom_core_pwr_info *pwr_info;
-
-               pwr_info = &sprom->core_pwr_info[i];
-
-               snprintf(postfix, sizeof(postfix), "%i", i);
-               nvram_read_u16(prefix, postfix, "pa2gw3a",
-                              &pwr_info->pa_2g[3], 0, fallback);
-               nvram_read_u16(prefix, postfix, "pa5gw3a",
-                              &pwr_info->pa_5g[3], 0, fallback);
-               nvram_read_u16(prefix, postfix, "pa5glw3a",
-                              &pwr_info->pa_5gl[3], 0, fallback);
-               nvram_read_u16(prefix, postfix, "pa5ghw3a",
-                              &pwr_info->pa_5gh[3], 0, fallback);
-       }
-}
-
-static bool bcm47xx_is_valid_mac(u8 *mac)
-{
-       return mac && !(mac[0] == 0x00 && mac[1] == 0x90 && mac[2] == 0x4c);
-}
-
-static int bcm47xx_increase_mac_addr(u8 *mac, u8 num)
-{
-       u8 *oui = mac + ETH_ALEN/2 - 1;
-       u8 *p = mac + ETH_ALEN - 1;
-
-       do {
-               (*p) += num;
-               if (*p > num)
-                       break;
-               p--;
-               num = 1;
-       } while (p != oui);
-
-       if (p == oui) {
-               pr_err("unable to fetch mac address\n");
-               return -ENOENT;
-       }
-       return 0;
-}
-
-static int mac_addr_used = 2;
-
-static void bcm47xx_fill_sprom_ethernet(struct ssb_sprom *sprom,
-                                       const char *prefix, bool fallback)
-{
-       bool fb = fallback;
-
-       nvram_read_macaddr(prefix, "et0macaddr", sprom->et0mac, fallback);
-       nvram_read_u8(prefix, NULL, "et0mdcport", &sprom->et0mdcport, 0,
-                     fallback);
-       nvram_read_u8(prefix, NULL, "et0phyaddr", &sprom->et0phyaddr, 0,
-                     fallback);
-
-       nvram_read_macaddr(prefix, "et1macaddr", sprom->et1mac, fallback);
-       nvram_read_u8(prefix, NULL, "et1mdcport", &sprom->et1mdcport, 0,
-                     fallback);
-       nvram_read_u8(prefix, NULL, "et1phyaddr", &sprom->et1phyaddr, 0,
-                     fallback);
-
-       nvram_read_macaddr(prefix, "et2macaddr", sprom->et2mac, fb);
-       nvram_read_u8(prefix, NULL, "et2mdcport", &sprom->et2mdcport, 0, fb);
-       nvram_read_u8(prefix, NULL, "et2phyaddr", &sprom->et2phyaddr, 0, fb);
-
-       nvram_read_macaddr(prefix, "macaddr", sprom->il0mac, fallback);
-       nvram_read_macaddr(prefix, "il0macaddr", sprom->il0mac, fallback);
-
-       /* The address prefix 00:90:4C is used by Broadcom in their initial
-        * configuration. When a mac address with the prefix 00:90:4C is used
-        * all devices from the same series are sharing the same mac address.
-        * To prevent mac address collisions we replace them with a mac address
-        * based on the base address.
-        */
-       if (!bcm47xx_is_valid_mac(sprom->il0mac)) {
-               u8 mac[6];
-
-               nvram_read_macaddr(NULL, "et0macaddr", mac, false);
-               if (bcm47xx_is_valid_mac(mac)) {
-                       int err = bcm47xx_increase_mac_addr(mac, mac_addr_used);
-
-                       if (!err) {
-                               ether_addr_copy(sprom->il0mac, mac);
-                               mac_addr_used++;
-                       }
-               }
-       }
-}
-
-static void bcm47xx_fill_board_data(struct ssb_sprom *sprom, const char *prefix,
-                                   bool fallback)
-{
-       nvram_read_u32_2(prefix, "boardflags", &sprom->boardflags_lo,
-                        &sprom->boardflags_hi, fallback);
-       nvram_read_u32_2(prefix, "boardflags2", &sprom->boardflags2_lo,
-                        &sprom->boardflags2_hi, fallback);
-}
-
-void bcm47xx_fill_sprom(struct ssb_sprom *sprom, const char *prefix,
-                       bool fallback)
-{
-       bcm47xx_fill_sprom_ethernet(sprom, prefix, fallback);
-       bcm47xx_fill_board_data(sprom, prefix, fallback);
-
-       nvram_read_u8(prefix, NULL, "sromrev", &sprom->revision, 0, fallback);
-
-       /* Entries requiring custom functions */
-       nvram_read_alpha2(prefix, "ccode", sprom->alpha2, fallback);
-       if (sprom->revision >= 3)
-               nvram_read_leddc(prefix, "leddc", &sprom->leddc_on_time,
-                                &sprom->leddc_off_time, fallback);
-
-       switch (sprom->revision) {
-       case 4:
-       case 5:
-               bcm47xx_fill_sprom_path_r4589(sprom, prefix, fallback);
-               bcm47xx_fill_sprom_path_r45(sprom, prefix, fallback);
-               break;
-       case 8:
-       case 9:
-               bcm47xx_fill_sprom_path_r4589(sprom, prefix, fallback);
-               break;
-       }
-
-       bcm47xx_sprom_fill_auto(sprom, prefix, fallback);
-}
-
-#if IS_BUILTIN(CONFIG_SSB) && IS_ENABLED(CONFIG_SSB_SPROM)
-static int bcm47xx_get_sprom_ssb(struct ssb_bus *bus, struct ssb_sprom *out)
-{
-       char prefix[10];
-
-       switch (bus->bustype) {
-       case SSB_BUSTYPE_SSB:
-               bcm47xx_fill_sprom(out, NULL, false);
-               return 0;
-       case SSB_BUSTYPE_PCI:
-               memset(out, 0, sizeof(struct ssb_sprom));
-               snprintf(prefix, sizeof(prefix), "pci/%u/%u/",
-                        bus->host_pci->bus->number + 1,
-                        PCI_SLOT(bus->host_pci->devfn));
-               bcm47xx_fill_sprom(out, prefix, false);
-               return 0;
-       default:
-               pr_warn("Unable to fill SPROM for given bustype.\n");
-               return -EINVAL;
-       }
-}
-#endif
-
-#if IS_BUILTIN(CONFIG_BCMA)
-/*
- * Having many NVRAM entries for PCI devices led to repeating prefixes like
- * pci/1/1/ all the time and wasting flash space. So at some point Broadcom
- * decided to introduce prefixes like 0: 1: 2: etc.
- * If we find e.g. devpath0=pci/2/1 or devpath0=pci/2/1/ we should use 0:
- * instead of pci/2/1/.
- */
-static void bcm47xx_sprom_apply_prefix_alias(char *prefix, size_t prefix_size)
-{
-       size_t prefix_len = strlen(prefix);
-       size_t short_len = prefix_len - 1;
-       char nvram_var[10];
-       char buf[20];
-       int i;
-
-       /* Passed prefix has to end with a slash */
-       if (prefix_len <= 0 || prefix[prefix_len - 1] != '/')
-               return;
-
-       for (i = 0; i < 3; i++) {
-               if (snprintf(nvram_var, sizeof(nvram_var), "devpath%d", i) <= 0)
-                       continue;
-               if (bcm47xx_nvram_getenv(nvram_var, buf, sizeof(buf)) < 0)
-                       continue;
-               if (!strcmp(buf, prefix) ||
-                   (short_len && strlen(buf) == short_len && !strncmp(buf, prefix, short_len))) {
-                       snprintf(prefix, prefix_size, "%d:", i);
-                       return;
-               }
-       }
-}
-
-static int bcm47xx_get_sprom_bcma(struct bcma_bus *bus, struct ssb_sprom *out)
-{
-       struct bcma_boardinfo *binfo = &bus->boardinfo;
-       struct bcma_device *core;
-       char buf[10];
-       char *prefix;
-       bool fallback = false;
-
-       switch (bus->hosttype) {
-       case BCMA_HOSTTYPE_PCI:
-               memset(out, 0, sizeof(struct ssb_sprom));
-               /* On BCM47XX all PCI buses share the same domain */
-               if (config_enabled(CONFIG_BCM47XX))
-                       snprintf(buf, sizeof(buf), "pci/%u/%u/",
-                                bus->host_pci->bus->number + 1,
-                                PCI_SLOT(bus->host_pci->devfn));
-               else
-                       snprintf(buf, sizeof(buf), "pci/%u/%u/",
-                                pci_domain_nr(bus->host_pci->bus) + 1,
-                                bus->host_pci->bus->number);
-               bcm47xx_sprom_apply_prefix_alias(buf, sizeof(buf));
-               prefix = buf;
-               break;
-       case BCMA_HOSTTYPE_SOC:
-               memset(out, 0, sizeof(struct ssb_sprom));
-               core = bcma_find_core(bus, BCMA_CORE_80211);
-               if (core) {
-                       snprintf(buf, sizeof(buf), "sb/%u/",
-                                core->core_index);
-                       prefix = buf;
-                       fallback = true;
-               } else {
-                       prefix = NULL;
-               }
-               break;
-       default:
-               pr_warn("Unable to fill SPROM for given bustype.\n");
-               return -EINVAL;
-       }
-
-       nvram_read_u16(prefix, NULL, "boardvendor", &binfo->vendor, 0, true);
-       if (!binfo->vendor)
-               binfo->vendor = SSB_BOARDVENDOR_BCM;
-       nvram_read_u16(prefix, NULL, "boardtype", &binfo->type, 0, true);
-
-       bcm47xx_fill_sprom(out, prefix, fallback);
-
-       return 0;
-}
-#endif
-
-static unsigned int bcm47xx_sprom_registered;
-
-/*
- * On bcm47xx we need to register SPROM fallback handler very early, so we can't
- * use anything like platform device / driver for this.
- */
-int bcm47xx_sprom_register_fallbacks(void)
-{
-       if (bcm47xx_sprom_registered)
-               return 0;
-
-#if IS_BUILTIN(CONFIG_SSB) && IS_ENABLED(CONFIG_SSB_SPROM)
-       if (ssb_arch_register_fallback_sprom(&bcm47xx_get_sprom_ssb))
-               pr_warn("Failed to register ssb SPROM handler\n");
-#endif
-
-#if IS_BUILTIN(CONFIG_BCMA)
-       if (bcma_arch_register_fallback_sprom(&bcm47xx_get_sprom_bcma))
-               pr_warn("Failed to register bcma SPROM handler\n");
-#endif
-
-       bcm47xx_sprom_registered = 1;
-
-       return 0;
-}
-
-fs_initcall(bcm47xx_sprom_register_fallbacks);
diff --git a/target/linux/bcm53xx/patches-4.4/020-ARM-BCM5301X-remove-workaround-imprecise-abort-fault.patch b/target/linux/bcm53xx/patches-4.4/020-ARM-BCM5301X-remove-workaround-imprecise-abort-fault.patch
deleted file mode 100644 (file)
index 30acc8c..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-From 937b12306ea79044c86f2e69b3061c7279245825 Mon Sep 17 00:00:00 2001
-From: Lucas Stach <l.stach@pengutronix.de>
-Date: Thu, 15 Oct 2015 12:32:22 +0200
-Subject: [PATCH] ARM: BCM5301X: remove workaround imprecise abort fault
- handler
-
-This is not needed anymore. Handling a potentially pending imprecise external
-abort left behind by the bootloader is now done in a slightly safer way inside
-the common ARM startup code.
-
-Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
-Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
-Tested-by: Tyler Baker <tyler.baker@linaro.org>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
- arch/arm/mach-bcm/bcm_5301x.c | 35 -----------------------------------
- 1 file changed, 35 deletions(-)
-
---- a/arch/arm/mach-bcm/bcm_5301x.c
-+++ b/arch/arm/mach-bcm/bcm_5301x.c
-@@ -9,40 +9,6 @@
- #include <asm/hardware/cache-l2x0.h>
- #include <asm/mach/arch.h>
--#include <asm/siginfo.h>
--#include <asm/signal.h>
--
--
--static bool first_fault = true;
--
--static int bcm5301x_abort_handler(unsigned long addr, unsigned int fsr,
--                               struct pt_regs *regs)
--{
--      if ((fsr == 0x1406 || fsr == 0x1c06) && first_fault) {
--              first_fault = false;
--
--              /*
--               * These faults with codes 0x1406 (BCM4709) or 0x1c06 happens
--               * for no good reason, possibly left over from the CFE boot
--               * loader.
--               */
--              pr_warn("External imprecise Data abort at addr=%#lx, fsr=%#x ignored.\n",
--                      addr, fsr);
--
--              /* Returning non-zero causes fault display and panic */
--              return 0;
--      }
--
--      /* Others should cause a fault */
--      return 1;
--}
--
--static void __init bcm5301x_init_early(void)
--{
--      /* Install our hook */
--      hook_fault_code(16 + 6, bcm5301x_abort_handler, SIGBUS, BUS_OBJERR,
--                      "imprecise external abort");
--}
- static const char *const bcm5301x_dt_compat[] __initconst = {
-       "brcm,bcm4708",
-@@ -52,6 +18,5 @@ static const char *const bcm5301x_dt_com
- DT_MACHINE_START(BCM5301X, "BCM5301X")
-       .l2c_aux_val    = 0,
-       .l2c_aux_mask   = ~0,
--      .init_early     = bcm5301x_init_early,
-       .dt_compat      = bcm5301x_dt_compat,
- MACHINE_END
diff --git a/target/linux/bcm53xx/patches-4.4/021-ARM-BCM5310X-activate-erratas-needed-for-SoC.patch b/target/linux/bcm53xx/patches-4.4/021-ARM-BCM5310X-activate-erratas-needed-for-SoC.patch
deleted file mode 100644 (file)
index 8169da9..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-From f4ce7effe2253a325f8ba182903cbdf0d8698593 Mon Sep 17 00:00:00 2001
-From: Hauke Mehrtens <hauke@hauke-m.de>
-Date: Sat, 21 Nov 2015 15:29:47 +0100
-Subject: [PATCH] ARM: BCM5310X: activate erratas needed for SoC
-
-The BCM4708 I have, which is probably the first generation which got
-to the consumer market, is using a ARM Cortex-A9 rev r3p0 and a
-L2C-310 rev r3p2 L2 cache controller. There are 3 workarounds for known
-erratas in the Linux kernel which could be activated and will be in
-this patch. There are currently no workarounds which have to be
-activated for the L2C-310 rev r3p2 in Linux.
-
-Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
- arch/arm/mach-bcm/Kconfig | 4 ++++
- 1 file changed, 4 insertions(+)
-
---- a/arch/arm/mach-bcm/Kconfig
-+++ b/arch/arm/mach-bcm/Kconfig
-@@ -52,6 +52,10 @@ config ARCH_BCM_NSP
- config ARCH_BCM_5301X
-       bool "Broadcom BCM470X / BCM5301X ARM SoC" if ARCH_MULTI_V7
-       select ARCH_BCM_IPROC
-+      select ARM_ERRATA_754322
-+      select ARM_ERRATA_775420
-+      select ARM_ERRATA_764369 if SMP
-+
-       help
-         Support for Broadcom BCM470X and BCM5301X SoCs with ARM CPU cores.
diff --git a/target/linux/bcm53xx/patches-4.4/022-ARM-BCM-Clean-up-SMP-support-for-Broadcom-Kona.patch b/target/linux/bcm53xx/patches-4.4/022-ARM-BCM-Clean-up-SMP-support-for-Broadcom-Kona.patch
deleted file mode 100644 (file)
index fecaec4..0000000
+++ /dev/null
@@ -1,254 +0,0 @@
-From b5989f783de046577067fe356b1bb76cae07e867 Mon Sep 17 00:00:00 2001
-From: Kapil Hali <kapilh@broadcom.com>
-Date: Sat, 5 Dec 2015 06:53:41 -0500
-Subject: [PATCH] ARM: BCM: Clean up SMP support for Broadcom Kona
-
-These changes cleans up SMP implementaion for Broadcom's
-Kona SoC which are required for handling SMP for iProc
-family of SoCs at a single place for BCM NSP and BCM Kona.
-
-Signed-off-by: Kapil Hali <kapilh@broadcom.com>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
- .../bindings/arm/bcm/brcm,bcm11351-cpu-method.txt  | 12 ++--
- arch/arm/boot/dts/bcm11351.dtsi                    |  4 +-
- arch/arm/boot/dts/bcm21664.dtsi                    |  4 +-
- arch/arm/mach-bcm/kona_smp.c                       | 82 ++++++++++++++--------
- 4 files changed, 64 insertions(+), 38 deletions(-)
-
---- a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm11351-cpu-method.txt
-+++ b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm11351-cpu-method.txt
-@@ -1,17 +1,17 @@
- Broadcom Kona Family CPU Enable Method
- --------------------------------------
- This binding defines the enable method used for starting secondary
--CPUs in the following Broadcom SoCs:
-+CPU in the following Broadcom SoCs:
-   BCM11130, BCM11140, BCM11351, BCM28145, BCM28155, BCM21664
- The enable method is specified by defining the following required
--properties in the "cpus" device tree node:
-+properties in the corresponding secondary "cpu" device tree node:
-   - enable-method = "brcm,bcm11351-cpu-method";
-   - secondary-boot-reg = <...>;
- The secondary-boot-reg property is a u32 value that specifies the
--physical address of the register used to request the ROM holding pen
--code release a secondary CPU.  The value written to the register is
-+physical address of the register used to request the ROM code
-+release a secondary CPU.  The value written to the register is
- formed by encoding the target CPU id into the low bits of the
- physical start address it should jump to.
-@@ -19,8 +19,6 @@ Example:
-       cpus {
-               #address-cells = <1>;
-               #size-cells = <0>;
--              enable-method = "brcm,bcm11351-cpu-method";
--              secondary-boot-reg = <0x3500417c>;
-               cpu0: cpu@0 {
-                       device_type = "cpu";
-@@ -31,6 +29,8 @@ Example:
-               cpu1: cpu@1 {
-                       device_type = "cpu";
-                       compatible = "arm,cortex-a9";
-+                      enable-method = "brcm,bcm11351-cpu-method";
-+                      secondary-boot-reg = <0x3500417c>;
-                       reg = <1>;
-               };
-       };
---- a/arch/arm/boot/dts/bcm11351.dtsi
-+++ b/arch/arm/boot/dts/bcm11351.dtsi
-@@ -30,8 +30,6 @@
-       cpus {
-               #address-cells = <1>;
-               #size-cells = <0>;
--              enable-method = "brcm,bcm11351-cpu-method";
--              secondary-boot-reg = <0x3500417c>;
-               cpu0: cpu@0 {
-                       device_type = "cpu";
-@@ -42,6 +40,8 @@
-               cpu1: cpu@1 {
-                       device_type = "cpu";
-                       compatible = "arm,cortex-a9";
-+                      enable-method = "brcm,bcm11351-cpu-method";
-+                      secondary-boot-reg = <0x3500417c>;
-                       reg = <1>;
-               };
-       };
---- a/arch/arm/boot/dts/bcm21664.dtsi
-+++ b/arch/arm/boot/dts/bcm21664.dtsi
-@@ -30,8 +30,6 @@
-        cpus {
-               #address-cells = <1>;
-               #size-cells = <0>;
--              enable-method = "brcm,bcm11351-cpu-method";
--              secondary-boot-reg = <0x35004178>;
-               cpu0: cpu@0 {
-                       device_type = "cpu";
-@@ -42,6 +40,8 @@
-               cpu1: cpu@1 {
-                       device_type = "cpu";
-                       compatible = "arm,cortex-a9";
-+                      enable-method = "brcm,bcm11351-cpu-method";
-+                      secondary-boot-reg = <0x35004178>;
-                       reg = <1>;
-               };
-       };
---- a/arch/arm/mach-bcm/kona_smp.c
-+++ b/arch/arm/mach-bcm/kona_smp.c
-@@ -1,5 +1,5 @@
- /*
-- * Copyright (C) 2014 Broadcom Corporation
-+ * Copyright (C) 2014-2015 Broadcom Corporation
-  * Copyright 2014 Linaro Limited
-  *
-  * This program is free software; you can redistribute it and/or
-@@ -30,9 +30,10 @@
- /* Name of device node property defining secondary boot register location */
- #define OF_SECONDARY_BOOT     "secondary-boot-reg"
-+#define MPIDR_CPUID_BITMASK   0x3
- /* I/O address of register used to coordinate secondary core startup */
--static u32    secondary_boot;
-+static u32    secondary_boot_addr;
- /*
-  * Enable the Cortex A9 Snoop Control Unit
-@@ -78,44 +79,68 @@ static int __init scu_a9_enable(void)
- static void __init bcm_smp_prepare_cpus(unsigned int max_cpus)
- {
-       static cpumask_t only_cpu_0 = { CPU_BITS_CPU0 };
--      struct device_node *node;
-+      struct device_node *cpus_node = NULL;
-+      struct device_node *cpu_node = NULL;
-       int ret;
--      BUG_ON(secondary_boot);         /* We're called only once */
--
-       /*
-        * This function is only called via smp_ops->smp_prepare_cpu().
-        * That only happens if a "/cpus" device tree node exists
-        * and has an "enable-method" property that selects the SMP
-        * operations defined herein.
-        */
--      node = of_find_node_by_path("/cpus");
--      BUG_ON(!node);
--
--      /*
--       * Our secondary enable method requires a "secondary-boot-reg"
--       * property to specify a register address used to request the
--       * ROM code boot a secondary code.  If we have any trouble
--       * getting this we fall back to uniprocessor mode.
--       */
--      if (of_property_read_u32(node, OF_SECONDARY_BOOT, &secondary_boot)) {
--              pr_err("%s: missing/invalid " OF_SECONDARY_BOOT " property\n",
--                      node->name);
--              ret = -ENOENT;          /* Arrange to disable SMP */
--              goto out;
-+      cpus_node = of_find_node_by_path("/cpus");
-+      if (!cpus_node)
-+              return;
-+
-+      for_each_child_of_node(cpus_node, cpu_node) {
-+              u32 cpuid;
-+
-+              if (of_node_cmp(cpu_node->type, "cpu"))
-+                      continue;
-+
-+              if (of_property_read_u32(cpu_node, "reg", &cpuid)) {
-+                      pr_debug("%s: missing reg property\n",
-+                                   cpu_node->full_name);
-+                      ret = -ENOENT;
-+                      goto out;
-+              }
-+
-+              /*
-+               * "secondary-boot-reg" property should be defined only
-+               * for secondary cpu
-+               */
-+              if ((cpuid & MPIDR_CPUID_BITMASK) == 1) {
-+                      /*
-+                       * Our secondary enable method requires a
-+                       * "secondary-boot-reg" property to specify a register
-+                       * address used to request the ROM code boot a secondary
-+                       * core. If we have any trouble getting this we fall
-+                       * back to uniprocessor mode.
-+                       */
-+                      if (of_property_read_u32(cpu_node,
-+                                              OF_SECONDARY_BOOT,
-+                                              &secondary_boot_addr)) {
-+                              pr_warn("%s: no" OF_SECONDARY_BOOT "property\n",
-+                                      cpu_node->name);
-+                              ret = -ENOENT;
-+                              goto out;
-+                      }
-+              }
-       }
-       /*
--       * Enable the SCU on Cortex A9 based SoCs.  If -ENOENT is
-+       * Enable the SCU on Cortex A9 based SoCs. If -ENOENT is
-        * returned, the SoC reported a uniprocessor configuration.
-        * We bail on any other error.
-        */
-       ret = scu_a9_enable();
- out:
--      of_node_put(node);
-+      of_node_put(cpu_node);
-+      of_node_put(cpus_node);
-+
-       if (ret) {
-               /* Update the CPU present map to reflect uniprocessor mode */
--              BUG_ON(ret != -ENOENT);
-               pr_warn("disabling SMP\n");
-               init_cpu_present(&only_cpu_0);
-       }
-@@ -139,7 +164,7 @@ out:
-  * - Wait for the secondary boot register to be re-written, which
-  *   indicates the secondary core has started.
-  */
--static int bcm_boot_secondary(unsigned int cpu, struct task_struct *idle)
-+static int kona_boot_secondary(unsigned int cpu, struct task_struct *idle)
- {
-       void __iomem *boot_reg;
-       phys_addr_t boot_func;
-@@ -154,15 +179,16 @@ static int bcm_boot_secondary(unsigned i
-               return -EINVAL;
-       }
--      if (!secondary_boot) {
-+      if (!secondary_boot_addr) {
-               pr_err("required secondary boot register not specified\n");
-               return -EINVAL;
-       }
--      boot_reg = ioremap_nocache((phys_addr_t)secondary_boot, sizeof(u32));
-+      boot_reg = ioremap_nocache(
-+                      (phys_addr_t)secondary_boot_addr, sizeof(u32));
-       if (!boot_reg) {
-               pr_err("unable to map boot register for cpu %u\n", cpu_id);
--              return -ENOSYS;
-+              return -ENOMEM;
-       }
-       /*
-@@ -191,12 +217,12 @@ static int bcm_boot_secondary(unsigned i
-       pr_err("timeout waiting for cpu %u to start\n", cpu_id);
--      return -ENOSYS;
-+      return -ENXIO;
- }
- static struct smp_operations bcm_smp_ops __initdata = {
-       .smp_prepare_cpus       = bcm_smp_prepare_cpus,
--      .smp_boot_secondary     = bcm_boot_secondary,
-+      .smp_boot_secondary     = kona_boot_secondary,
- };
- CPU_METHOD_OF_DECLARE(bcm_smp_bcm281xx, "brcm,bcm11351-cpu-method",
-                       &bcm_smp_ops);
diff --git a/target/linux/bcm53xx/patches-4.4/023-ARM-BCM-Add-SMP-support-for-Broadcom-NSP.patch b/target/linux/bcm53xx/patches-4.4/023-ARM-BCM-Add-SMP-support-for-Broadcom-NSP.patch
deleted file mode 100644 (file)
index 5fbf213..0000000
+++ /dev/null
@@ -1,585 +0,0 @@
-From 55be958cd27439a58c4d9369d6fe2a1f83efdaa6 Mon Sep 17 00:00:00 2001
-From: Kapil Hali <kapilh@broadcom.com>
-Date: Sat, 5 Dec 2015 06:53:43 -0500
-Subject: [PATCH] ARM: BCM: Add SMP support for Broadcom NSP
-
-Add SMP support for Broadcom's Northstar Plus SoC
-cpu enable method. This changes also consolidates
-iProc family's - BCM NSP and BCM Kona, platform
-SMP handling in a common file.
-
-Northstar Plus SoC is based on ARM Cortex-A9
-revision r3p0 which requires configuration for ARM
-Errata 764369 for SMP. This change adds the needed
-configuration option.
-
-Signed-off-by: Kapil Hali <kapilh@broadcom.com>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
- arch/arm/mach-bcm/Kconfig    |   2 +
- arch/arm/mach-bcm/Makefile   |   8 +-
- arch/arm/mach-bcm/kona_smp.c | 228 ----------------------------------
- arch/arm/mach-bcm/platsmp.c  | 290 +++++++++++++++++++++++++++++++++++++++++++
- 4 files changed, 298 insertions(+), 230 deletions(-)
- delete mode 100644 arch/arm/mach-bcm/kona_smp.c
- create mode 100644 arch/arm/mach-bcm/platsmp.c
-
---- a/arch/arm/mach-bcm/Kconfig
-+++ b/arch/arm/mach-bcm/Kconfig
-@@ -40,6 +40,8 @@ config ARCH_BCM_NSP
-       select ARCH_BCM_IPROC
-       select ARM_ERRATA_754322
-       select ARM_ERRATA_775420
-+      select ARM_ERRATA_764369 if SMP
-+      select HAVE_SMP
-       help
-         Support for Broadcom Northstar Plus SoC.
-         Broadcom Northstar Plus family of SoCs are used for switching control
---- a/arch/arm/mach-bcm/Makefile
-+++ b/arch/arm/mach-bcm/Makefile
-@@ -14,7 +14,11 @@
- obj-$(CONFIG_ARCH_BCM_CYGNUS) +=  bcm_cygnus.o
- # Northstar Plus
--obj-$(CONFIG_ARCH_BCM_NSP) += bcm_nsp.o
-+obj-$(CONFIG_ARCH_BCM_NSP)    += bcm_nsp.o
-+
-+ifeq ($(CONFIG_ARCH_BCM_NSP),y)
-+obj-$(CONFIG_SMP)             += platsmp.o
-+endif
- # BCM281XX
- obj-$(CONFIG_ARCH_BCM_281XX)  += board_bcm281xx.o
-@@ -23,7 +27,7 @@ obj-$(CONFIG_ARCH_BCM_281XX) += board_bc
- obj-$(CONFIG_ARCH_BCM_21664)  += board_bcm21664.o
- # BCM281XX and BCM21664 SMP support
--obj-$(CONFIG_ARCH_BCM_MOBILE_SMP) += kona_smp.o
-+obj-$(CONFIG_ARCH_BCM_MOBILE_SMP) += platsmp.o
- # BCM281XX and BCM21664 L2 cache control
- obj-$(CONFIG_ARCH_BCM_MOBILE_L2_CACHE) += kona_l2_cache.o
---- a/arch/arm/mach-bcm/kona_smp.c
-+++ /dev/null
-@@ -1,228 +0,0 @@
--/*
-- * Copyright (C) 2014-2015 Broadcom Corporation
-- * Copyright 2014 Linaro Limited
-- *
-- * This program is free software; you can redistribute it and/or
-- * modify it under the terms of the GNU General Public License as
-- * published by the Free Software Foundation version 2.
-- *
-- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
-- * kind, whether express or implied; without even the implied warranty
-- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-- * GNU General Public License for more details.
-- */
--
--#include <linux/init.h>
--#include <linux/errno.h>
--#include <linux/io.h>
--#include <linux/of.h>
--#include <linux/sched.h>
--
--#include <asm/smp.h>
--#include <asm/smp_plat.h>
--#include <asm/smp_scu.h>
--
--/* Size of mapped Cortex A9 SCU address space */
--#define CORTEX_A9_SCU_SIZE    0x58
--
--#define SECONDARY_TIMEOUT_NS  NSEC_PER_MSEC   /* 1 msec (in nanoseconds) */
--#define BOOT_ADDR_CPUID_MASK  0x3
--
--/* Name of device node property defining secondary boot register location */
--#define OF_SECONDARY_BOOT     "secondary-boot-reg"
--#define MPIDR_CPUID_BITMASK   0x3
--
--/* I/O address of register used to coordinate secondary core startup */
--static u32    secondary_boot_addr;
--
--/*
-- * Enable the Cortex A9 Snoop Control Unit
-- *
-- * By the time this is called we already know there are multiple
-- * cores present.  We assume we're running on a Cortex A9 processor,
-- * so any trouble getting the base address register or getting the
-- * SCU base is a problem.
-- *
-- * Return 0 if successful or an error code otherwise.
-- */
--static int __init scu_a9_enable(void)
--{
--      unsigned long config_base;
--      void __iomem *scu_base;
--
--      if (!scu_a9_has_base()) {
--              pr_err("no configuration base address register!\n");
--              return -ENXIO;
--      }
--
--      /* Config base address register value is zero for uniprocessor */
--      config_base = scu_a9_get_base();
--      if (!config_base) {
--              pr_err("hardware reports only one core\n");
--              return -ENOENT;
--      }
--
--      scu_base = ioremap((phys_addr_t)config_base, CORTEX_A9_SCU_SIZE);
--      if (!scu_base) {
--              pr_err("failed to remap config base (%lu/%u) for SCU\n",
--                      config_base, CORTEX_A9_SCU_SIZE);
--              return -ENOMEM;
--      }
--
--      scu_enable(scu_base);
--
--      iounmap(scu_base);      /* That's the last we'll need of this */
--
--      return 0;
--}
--
--static void __init bcm_smp_prepare_cpus(unsigned int max_cpus)
--{
--      static cpumask_t only_cpu_0 = { CPU_BITS_CPU0 };
--      struct device_node *cpus_node = NULL;
--      struct device_node *cpu_node = NULL;
--      int ret;
--
--      /*
--       * This function is only called via smp_ops->smp_prepare_cpu().
--       * That only happens if a "/cpus" device tree node exists
--       * and has an "enable-method" property that selects the SMP
--       * operations defined herein.
--       */
--      cpus_node = of_find_node_by_path("/cpus");
--      if (!cpus_node)
--              return;
--
--      for_each_child_of_node(cpus_node, cpu_node) {
--              u32 cpuid;
--
--              if (of_node_cmp(cpu_node->type, "cpu"))
--                      continue;
--
--              if (of_property_read_u32(cpu_node, "reg", &cpuid)) {
--                      pr_debug("%s: missing reg property\n",
--                                   cpu_node->full_name);
--                      ret = -ENOENT;
--                      goto out;
--              }
--
--              /*
--               * "secondary-boot-reg" property should be defined only
--               * for secondary cpu
--               */
--              if ((cpuid & MPIDR_CPUID_BITMASK) == 1) {
--                      /*
--                       * Our secondary enable method requires a
--                       * "secondary-boot-reg" property to specify a register
--                       * address used to request the ROM code boot a secondary
--                       * core. If we have any trouble getting this we fall
--                       * back to uniprocessor mode.
--                       */
--                      if (of_property_read_u32(cpu_node,
--                                              OF_SECONDARY_BOOT,
--                                              &secondary_boot_addr)) {
--                              pr_warn("%s: no" OF_SECONDARY_BOOT "property\n",
--                                      cpu_node->name);
--                              ret = -ENOENT;
--                              goto out;
--                      }
--              }
--      }
--
--      /*
--       * Enable the SCU on Cortex A9 based SoCs. If -ENOENT is
--       * returned, the SoC reported a uniprocessor configuration.
--       * We bail on any other error.
--       */
--      ret = scu_a9_enable();
--out:
--      of_node_put(cpu_node);
--      of_node_put(cpus_node);
--
--      if (ret) {
--              /* Update the CPU present map to reflect uniprocessor mode */
--              pr_warn("disabling SMP\n");
--              init_cpu_present(&only_cpu_0);
--      }
--}
--
--/*
-- * The ROM code has the secondary cores looping, waiting for an event.
-- * When an event occurs each core examines the bottom two bits of the
-- * secondary boot register.  When a core finds those bits contain its
-- * own core id, it performs initialization, including computing its boot
-- * address by clearing the boot register value's bottom two bits.  The
-- * core signals that it is beginning its execution by writing its boot
-- * address back to the secondary boot register, and finally jumps to
-- * that address.
-- *
-- * So to start a core executing we need to:
-- * - Encode the (hardware) CPU id with the bottom bits of the secondary
-- *   start address.
-- * - Write that value into the secondary boot register.
-- * - Generate an event to wake up the secondary CPU(s).
-- * - Wait for the secondary boot register to be re-written, which
-- *   indicates the secondary core has started.
-- */
--static int kona_boot_secondary(unsigned int cpu, struct task_struct *idle)
--{
--      void __iomem *boot_reg;
--      phys_addr_t boot_func;
--      u64 start_clock;
--      u32 cpu_id;
--      u32 boot_val;
--      bool timeout = false;
--
--      cpu_id = cpu_logical_map(cpu);
--      if (cpu_id & ~BOOT_ADDR_CPUID_MASK) {
--              pr_err("bad cpu id (%u > %u)\n", cpu_id, BOOT_ADDR_CPUID_MASK);
--              return -EINVAL;
--      }
--
--      if (!secondary_boot_addr) {
--              pr_err("required secondary boot register not specified\n");
--              return -EINVAL;
--      }
--
--      boot_reg = ioremap_nocache(
--                      (phys_addr_t)secondary_boot_addr, sizeof(u32));
--      if (!boot_reg) {
--              pr_err("unable to map boot register for cpu %u\n", cpu_id);
--              return -ENOMEM;
--      }
--
--      /*
--       * Secondary cores will start in secondary_startup(),
--       * defined in "arch/arm/kernel/head.S"
--       */
--      boot_func = virt_to_phys(secondary_startup);
--      BUG_ON(boot_func & BOOT_ADDR_CPUID_MASK);
--      BUG_ON(boot_func > (phys_addr_t)U32_MAX);
--
--      /* The core to start is encoded in the low bits */
--      boot_val = (u32)boot_func | cpu_id;
--      writel_relaxed(boot_val, boot_reg);
--
--      sev();
--
--      /* The low bits will be cleared once the core has started */
--      start_clock = local_clock();
--      while (!timeout && readl_relaxed(boot_reg) == boot_val)
--              timeout = local_clock() - start_clock > SECONDARY_TIMEOUT_NS;
--
--      iounmap(boot_reg);
--
--      if (!timeout)
--              return 0;
--
--      pr_err("timeout waiting for cpu %u to start\n", cpu_id);
--
--      return -ENXIO;
--}
--
--static struct smp_operations bcm_smp_ops __initdata = {
--      .smp_prepare_cpus       = bcm_smp_prepare_cpus,
--      .smp_boot_secondary     = kona_boot_secondary,
--};
--CPU_METHOD_OF_DECLARE(bcm_smp_bcm281xx, "brcm,bcm11351-cpu-method",
--                      &bcm_smp_ops);
---- /dev/null
-+++ b/arch/arm/mach-bcm/platsmp.c
-@@ -0,0 +1,290 @@
-+/*
-+ * Copyright (C) 2014-2015 Broadcom Corporation
-+ * Copyright 2014 Linaro Limited
-+ *
-+ * This program is free software; you can redistribute it and/or
-+ * modify it under the terms of the GNU General Public License as
-+ * published by the Free Software Foundation version 2.
-+ *
-+ * This program is distributed "as is" WITHOUT ANY WARRANTY of any
-+ * kind, whether express or implied; without even the implied warranty
-+ * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-+ * GNU General Public License for more details.
-+ */
-+
-+#include <linux/cpumask.h>
-+#include <linux/delay.h>
-+#include <linux/errno.h>
-+#include <linux/init.h>
-+#include <linux/io.h>
-+#include <linux/jiffies.h>
-+#include <linux/of.h>
-+#include <linux/sched.h>
-+#include <linux/smp.h>
-+
-+#include <asm/cacheflush.h>
-+#include <asm/smp.h>
-+#include <asm/smp_plat.h>
-+#include <asm/smp_scu.h>
-+
-+/* Size of mapped Cortex A9 SCU address space */
-+#define CORTEX_A9_SCU_SIZE    0x58
-+
-+#define SECONDARY_TIMEOUT_NS  NSEC_PER_MSEC   /* 1 msec (in nanoseconds) */
-+#define BOOT_ADDR_CPUID_MASK  0x3
-+
-+/* Name of device node property defining secondary boot register location */
-+#define OF_SECONDARY_BOOT     "secondary-boot-reg"
-+#define MPIDR_CPUID_BITMASK   0x3
-+
-+/* I/O address of register used to coordinate secondary core startup */
-+static u32    secondary_boot_addr;
-+
-+/*
-+ * Enable the Cortex A9 Snoop Control Unit
-+ *
-+ * By the time this is called we already know there are multiple
-+ * cores present.  We assume we're running on a Cortex A9 processor,
-+ * so any trouble getting the base address register or getting the
-+ * SCU base is a problem.
-+ *
-+ * Return 0 if successful or an error code otherwise.
-+ */
-+static int __init scu_a9_enable(void)
-+{
-+      unsigned long config_base;
-+      void __iomem *scu_base;
-+
-+      if (!scu_a9_has_base()) {
-+              pr_err("no configuration base address register!\n");
-+              return -ENXIO;
-+      }
-+
-+      /* Config base address register value is zero for uniprocessor */
-+      config_base = scu_a9_get_base();
-+      if (!config_base) {
-+              pr_err("hardware reports only one core\n");
-+              return -ENOENT;
-+      }
-+
-+      scu_base = ioremap((phys_addr_t)config_base, CORTEX_A9_SCU_SIZE);
-+      if (!scu_base) {
-+              pr_err("failed to remap config base (%lu/%u) for SCU\n",
-+                      config_base, CORTEX_A9_SCU_SIZE);
-+              return -ENOMEM;
-+      }
-+
-+      scu_enable(scu_base);
-+
-+      iounmap(scu_base);      /* That's the last we'll need of this */
-+
-+      return 0;
-+}
-+
-+static int nsp_write_lut(void)
-+{
-+      void __iomem *sku_rom_lut;
-+      phys_addr_t secondary_startup_phy;
-+
-+      if (!secondary_boot_addr) {
-+              pr_warn("required secondary boot register not specified\n");
-+              return -EINVAL;
-+      }
-+
-+      sku_rom_lut = ioremap_nocache((phys_addr_t)secondary_boot_addr,
-+                                              sizeof(secondary_boot_addr));
-+      if (!sku_rom_lut) {
-+              pr_warn("unable to ioremap SKU-ROM LUT register\n");
-+              return -ENOMEM;
-+      }
-+
-+      secondary_startup_phy = virt_to_phys(secondary_startup);
-+      BUG_ON(secondary_startup_phy > (phys_addr_t)U32_MAX);
-+
-+      writel_relaxed(secondary_startup_phy, sku_rom_lut);
-+
-+      /* Ensure the write is visible to the secondary core */
-+      smp_wmb();
-+
-+      iounmap(sku_rom_lut);
-+
-+      return 0;
-+}
-+
-+static void __init bcm_smp_prepare_cpus(unsigned int max_cpus)
-+{
-+      static cpumask_t only_cpu_0 = { CPU_BITS_CPU0 };
-+      struct device_node *cpus_node = NULL;
-+      struct device_node *cpu_node = NULL;
-+      int ret;
-+
-+      /*
-+       * This function is only called via smp_ops->smp_prepare_cpu().
-+       * That only happens if a "/cpus" device tree node exists
-+       * and has an "enable-method" property that selects the SMP
-+       * operations defined herein.
-+       */
-+      cpus_node = of_find_node_by_path("/cpus");
-+      if (!cpus_node)
-+              return;
-+
-+      for_each_child_of_node(cpus_node, cpu_node) {
-+              u32 cpuid;
-+
-+              if (of_node_cmp(cpu_node->type, "cpu"))
-+                      continue;
-+
-+              if (of_property_read_u32(cpu_node, "reg", &cpuid)) {
-+                      pr_debug("%s: missing reg property\n",
-+                                   cpu_node->full_name);
-+                      ret = -ENOENT;
-+                      goto out;
-+              }
-+
-+              /*
-+               * "secondary-boot-reg" property should be defined only
-+               * for secondary cpu
-+               */
-+              if ((cpuid & MPIDR_CPUID_BITMASK) == 1) {
-+                      /*
-+                       * Our secondary enable method requires a
-+                       * "secondary-boot-reg" property to specify a register
-+                       * address used to request the ROM code boot a secondary
-+                       * core. If we have any trouble getting this we fall
-+                       * back to uniprocessor mode.
-+                       */
-+                      if (of_property_read_u32(cpu_node,
-+                                              OF_SECONDARY_BOOT,
-+                                              &secondary_boot_addr)) {
-+                              pr_warn("%s: no" OF_SECONDARY_BOOT "property\n",
-+                                      cpu_node->name);
-+                              ret = -ENOENT;
-+                              goto out;
-+                      }
-+              }
-+      }
-+
-+      /*
-+       * Enable the SCU on Cortex A9 based SoCs. If -ENOENT is
-+       * returned, the SoC reported a uniprocessor configuration.
-+       * We bail on any other error.
-+       */
-+      ret = scu_a9_enable();
-+out:
-+      of_node_put(cpu_node);
-+      of_node_put(cpus_node);
-+
-+      if (ret) {
-+              /* Update the CPU present map to reflect uniprocessor mode */
-+              pr_warn("disabling SMP\n");
-+              init_cpu_present(&only_cpu_0);
-+      }
-+}
-+
-+/*
-+ * The ROM code has the secondary cores looping, waiting for an event.
-+ * When an event occurs each core examines the bottom two bits of the
-+ * secondary boot register.  When a core finds those bits contain its
-+ * own core id, it performs initialization, including computing its boot
-+ * address by clearing the boot register value's bottom two bits.  The
-+ * core signals that it is beginning its execution by writing its boot
-+ * address back to the secondary boot register, and finally jumps to
-+ * that address.
-+ *
-+ * So to start a core executing we need to:
-+ * - Encode the (hardware) CPU id with the bottom bits of the secondary
-+ *   start address.
-+ * - Write that value into the secondary boot register.
-+ * - Generate an event to wake up the secondary CPU(s).
-+ * - Wait for the secondary boot register to be re-written, which
-+ *   indicates the secondary core has started.
-+ */
-+static int kona_boot_secondary(unsigned int cpu, struct task_struct *idle)
-+{
-+      void __iomem *boot_reg;
-+      phys_addr_t boot_func;
-+      u64 start_clock;
-+      u32 cpu_id;
-+      u32 boot_val;
-+      bool timeout = false;
-+
-+      cpu_id = cpu_logical_map(cpu);
-+      if (cpu_id & ~BOOT_ADDR_CPUID_MASK) {
-+              pr_err("bad cpu id (%u > %u)\n", cpu_id, BOOT_ADDR_CPUID_MASK);
-+              return -EINVAL;
-+      }
-+
-+      if (!secondary_boot_addr) {
-+              pr_err("required secondary boot register not specified\n");
-+              return -EINVAL;
-+      }
-+
-+      boot_reg = ioremap_nocache(
-+                      (phys_addr_t)secondary_boot_addr, sizeof(u32));
-+      if (!boot_reg) {
-+              pr_err("unable to map boot register for cpu %u\n", cpu_id);
-+              return -ENOMEM;
-+      }
-+
-+      /*
-+       * Secondary cores will start in secondary_startup(),
-+       * defined in "arch/arm/kernel/head.S"
-+       */
-+      boot_func = virt_to_phys(secondary_startup);
-+      BUG_ON(boot_func & BOOT_ADDR_CPUID_MASK);
-+      BUG_ON(boot_func > (phys_addr_t)U32_MAX);
-+
-+      /* The core to start is encoded in the low bits */
-+      boot_val = (u32)boot_func | cpu_id;
-+      writel_relaxed(boot_val, boot_reg);
-+
-+      sev();
-+
-+      /* The low bits will be cleared once the core has started */
-+      start_clock = local_clock();
-+      while (!timeout && readl_relaxed(boot_reg) == boot_val)
-+              timeout = local_clock() - start_clock > SECONDARY_TIMEOUT_NS;
-+
-+      iounmap(boot_reg);
-+
-+      if (!timeout)
-+              return 0;
-+
-+      pr_err("timeout waiting for cpu %u to start\n", cpu_id);
-+
-+      return -ENXIO;
-+}
-+
-+static int nsp_boot_secondary(unsigned int cpu, struct task_struct *idle)
-+{
-+      int ret;
-+
-+      /*
-+       * After wake up, secondary core branches to the startup
-+       * address programmed at SKU ROM LUT location.
-+       */
-+      ret = nsp_write_lut();
-+      if (ret) {
-+              pr_err("unable to write startup addr to SKU ROM LUT\n");
-+              goto out;
-+      }
-+
-+      /* Send a CPU wakeup interrupt to the secondary core */
-+      arch_send_wakeup_ipi_mask(cpumask_of(cpu));
-+
-+out:
-+      return ret;
-+}
-+
-+static struct smp_operations bcm_smp_ops __initdata = {
-+      .smp_prepare_cpus       = bcm_smp_prepare_cpus,
-+      .smp_boot_secondary     = kona_boot_secondary,
-+};
-+CPU_METHOD_OF_DECLARE(bcm_smp_bcm281xx, "brcm,bcm11351-cpu-method",
-+                      &bcm_smp_ops);
-+
-+struct smp_operations nsp_smp_ops __initdata = {
-+      .smp_prepare_cpus       = bcm_smp_prepare_cpus,
-+      .smp_boot_secondary     = nsp_boot_secondary,
-+};
-+CPU_METHOD_OF_DECLARE(bcm_smp_nsp, "brcm,bcm-nsp-smp", &nsp_smp_ops);
diff --git a/target/linux/bcm53xx/patches-4.4/024-ARM-BCM-Add-SMP-support-for-Broadcom-4708.patch b/target/linux/bcm53xx/patches-4.4/024-ARM-BCM-Add-SMP-support-for-Broadcom-4708.patch
deleted file mode 100644 (file)
index ca75fad..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-From 99498905ac1fbc73a97d27d21ea449fb939072e3 Mon Sep 17 00:00:00 2001
-From: Jon Mason <jonmason@broadcom.com>
-Date: Tue, 1 Dec 2015 11:24:09 -0500
-Subject: [PATCH] ARM: BCM: Add SMP support for Broadcom 4708
-
-Add SMP support for Broadcom's 4708 SoCs.
-
-Signed-off-by: Jon Mason <jonmason@broadcom.com>
-Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
-Tested-by: Hauke Mehrtens <hauke@hauke-m.de>
-Signed-off-by: Kapil Hali <kapilh@broadcom.com>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
- arch/arm/boot/dts/bcm4708.dtsi | 2 ++
- arch/arm/mach-bcm/Kconfig      | 1 +
- arch/arm/mach-bcm/Makefile     | 3 +++
- 3 files changed, 6 insertions(+)
-
---- a/arch/arm/boot/dts/bcm4708.dtsi
-+++ b/arch/arm/boot/dts/bcm4708.dtsi
-@@ -15,6 +15,7 @@
-       cpus {
-               #address-cells = <1>;
-               #size-cells = <0>;
-+              enable-method = "brcm,bcm-nsp-smp";
-               cpu@0 {
-                       device_type = "cpu";
-@@ -27,6 +28,7 @@
-                       device_type = "cpu";
-                       compatible = "arm,cortex-a9";
-                       next-level-cache = <&L2>;
-+                      secondary-boot-reg = <0xffff0400>;
-                       reg = <0x1>;
-               };
-       };
---- a/arch/arm/mach-bcm/Kconfig
-+++ b/arch/arm/mach-bcm/Kconfig
-@@ -57,6 +57,7 @@ config ARCH_BCM_5301X
-       select ARM_ERRATA_754322
-       select ARM_ERRATA_775420
-       select ARM_ERRATA_764369 if SMP
-+      select HAVE_SMP
-       help
-         Support for Broadcom BCM470X and BCM5301X SoCs with ARM CPU cores.
---- a/arch/arm/mach-bcm/Makefile
-+++ b/arch/arm/mach-bcm/Makefile
-@@ -43,6 +43,9 @@ obj-$(CONFIG_ARCH_BCM2835)   += board_bcm2
- # BCM5301X
- obj-$(CONFIG_ARCH_BCM_5301X)  += bcm_5301x.o
-+ifeq ($(CONFIG_ARCH_BCM_5301X),y)
-+obj-$(CONFIG_SMP)             += platsmp.o
-+endif
- # BCM63XXx
- ifeq ($(CONFIG_ARCH_BCM_63XX),y)
diff --git a/target/linux/bcm53xx/patches-4.4/030-ARM-dts-bcm5301x-Add-BCM-SVK-DT-files.patch b/target/linux/bcm53xx/patches-4.4/030-ARM-dts-bcm5301x-Add-BCM-SVK-DT-files.patch
deleted file mode 100644 (file)
index c63627d..0000000
+++ /dev/null
@@ -1,219 +0,0 @@
-From ccf0b5e37115f8675455632f583d06ea94f43539 Mon Sep 17 00:00:00 2001
-From: Jon Mason <jonmason@broadcom.com>
-Date: Mon, 2 Nov 2015 13:34:53 -0500
-Subject: [PATCH] ARM: dts: bcm5301x: Add BCM SVK DT files
-
-Add device tree files for Broadcom Northstar based SVKs.  Since the
-bcm5301x.dtsi already exists, all that is necessary is the dts files to
-enable the UARTs.  With these files, the SVKs are able to boot to shell.
-
-Signed-off-by: Jon Mason <jonmason@broadcom.com>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
- arch/arm/boot/dts/Makefile       |  5 +++-
- arch/arm/boot/dts/bcm94708.dts   | 56 +++++++++++++++++++++++++++++++++++
- arch/arm/boot/dts/bcm94709.dts   | 56 +++++++++++++++++++++++++++++++++++
- arch/arm/boot/dts/bcm953012k.dts | 63 ++++++++++++++++++++++++++++++++++++++++
- 4 files changed, 179 insertions(+), 1 deletion(-)
- create mode 100644 arch/arm/boot/dts/bcm94708.dts
- create mode 100644 arch/arm/boot/dts/bcm94709.dts
- create mode 100644 arch/arm/boot/dts/bcm953012k.dts
-
---- a/arch/arm/boot/dts/Makefile
-+++ b/arch/arm/boot/dts/Makefile
-@@ -75,7 +75,10 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
-       bcm4709-asus-rt-ac87u.dtb \
-       bcm4709-buffalo-wxr-1900dhp.dtb \
-       bcm4709-netgear-r7000.dtb \
--      bcm4709-netgear-r8000.dtb
-+      bcm4709-netgear-r8000.dtb \
-+      bcm94708.dtb \
-+      bcm94709.dtb \
-+      bcm953012k.dtb
- dtb-$(CONFIG_ARCH_BCM_63XX) += \
-       bcm963138dvt.dtb
- dtb-$(CONFIG_ARCH_BCM_CYGNUS) += \
---- /dev/null
-+++ b/arch/arm/boot/dts/bcm94708.dts
-@@ -0,0 +1,56 @@
-+/*
-+ *  BSD LICENSE
-+ *
-+ *  Copyright(c) 2015 Broadcom Corporation.  All rights reserved.
-+ *
-+ *  Redistribution and use in source and binary forms, with or without
-+ *  modification, are permitted provided that the following conditions
-+ *  are met:
-+ *
-+ *    * Redistributions of source code must retain the above copyright
-+ *      notice, this list of conditions and the following disclaimer.
-+ *    * Redistributions in binary form must reproduce the above copyright
-+ *      notice, this list of conditions and the following disclaimer in
-+ *      the documentation and/or other materials provided with the
-+ *      distribution.
-+ *    * Neither the name of Broadcom Corporation nor the names of its
-+ *      contributors may be used to endorse or promote products derived
-+ *      from this software without specific prior written permission.
-+ *
-+ *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-+ *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-+ *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-+ *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-+ *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-+ *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-+ *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-+ *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-+ *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-+ *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-+ *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-+ */
-+
-+/dts-v1/;
-+
-+#include "bcm4708.dtsi"
-+
-+/ {
-+      model = "NorthStar SVK (BCM94708)";
-+      compatible = "brcm,bcm94708", "brcm,bcm4708";
-+
-+      aliases {
-+              serial0 = &uart0;
-+      };
-+
-+      chosen {
-+              stdout-path = "serial0:115200n8";
-+      };
-+
-+      memory {
-+              reg = <0x00000000 0x08000000>;
-+      };
-+};
-+
-+&uart0 {
-+      status = "okay";
-+};
---- /dev/null
-+++ b/arch/arm/boot/dts/bcm94709.dts
-@@ -0,0 +1,56 @@
-+/*
-+ *  BSD LICENSE
-+ *
-+ *  Copyright(c) 2015 Broadcom Corporation.  All rights reserved.
-+ *
-+ *  Redistribution and use in source and binary forms, with or without
-+ *  modification, are permitted provided that the following conditions
-+ *  are met:
-+ *
-+ *    * Redistributions of source code must retain the above copyright
-+ *      notice, this list of conditions and the following disclaimer.
-+ *    * Redistributions in binary form must reproduce the above copyright
-+ *      notice, this list of conditions and the following disclaimer in
-+ *      the documentation and/or other materials provided with the
-+ *      distribution.
-+ *    * Neither the name of Broadcom Corporation nor the names of its
-+ *      contributors may be used to endorse or promote products derived
-+ *      from this software without specific prior written permission.
-+ *
-+ *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-+ *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-+ *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-+ *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-+ *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-+ *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-+ *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-+ *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-+ *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-+ *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-+ *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-+ */
-+
-+/dts-v1/;
-+
-+#include "bcm4708.dtsi"
-+
-+/ {
-+      model = "NorthStar SVK (BCM94709)";
-+      compatible = "brcm,bcm94709", "brcm,bcm4709", "brcm,bcm4708";
-+
-+      aliases {
-+              serial0 = &uart0;
-+      };
-+
-+      chosen {
-+              stdout-path = "serial0:115200n8";
-+      };
-+
-+      memory {
-+              reg = <0x00000000 0x08000000>;
-+      };
-+};
-+
-+&uart0 {
-+      status = "okay";
-+};
---- /dev/null
-+++ b/arch/arm/boot/dts/bcm953012k.dts
-@@ -0,0 +1,63 @@
-+/*
-+ *  BSD LICENSE
-+ *
-+ *  Copyright(c) 2015 Broadcom Corporation.  All rights reserved.
-+ *
-+ *  Redistribution and use in source and binary forms, with or without
-+ *  modification, are permitted provided that the following conditions
-+ *  are met:
-+ *
-+ *    * Redistributions of source code must retain the above copyright
-+ *      notice, this list of conditions and the following disclaimer.
-+ *    * Redistributions in binary form must reproduce the above copyright
-+ *      notice, this list of conditions and the following disclaimer in
-+ *      the documentation and/or other materials provided with the
-+ *      distribution.
-+ *    * Neither the name of Broadcom Corporation nor the names of its
-+ *      contributors may be used to endorse or promote products derived
-+ *      from this software without specific prior written permission.
-+ *
-+ *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-+ *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-+ *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-+ *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-+ *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-+ *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-+ *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-+ *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-+ *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-+ *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-+ *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-+ */
-+
-+/dts-v1/;
-+
-+#include "bcm4708.dtsi"
-+
-+/ {
-+      model = "NorthStar SVK (BCM953012K)";
-+      compatible = "brcm,bcm953012k", "brcm,brcm53012", "brcm,bcm4708";
-+
-+      aliases {
-+              serial0 = &uart0;
-+              serial1 = &uart1;
-+      };
-+
-+      chosen {
-+              stdout-path = "serial0:115200n8";
-+      };
-+
-+      memory {
-+              reg = <0x00000000 0x10000000>;
-+      };
-+};
-+
-+&uart0 {
-+      clock-frequency = <62499840>;
-+      status = "okay";
-+};
-+
-+&uart1 {
-+      clock-frequency = <62499840>;
-+      status = "okay";
-+};
diff --git a/target/linux/bcm53xx/patches-4.4/031-ARM-dts-enable-clock-support-for-BCM5301X.patch b/target/linux/bcm53xx/patches-4.4/031-ARM-dts-enable-clock-support-for-BCM5301X.patch
deleted file mode 100644 (file)
index 165fe7c..0000000
+++ /dev/null
@@ -1,174 +0,0 @@
-From cdc36b22f0e4b8badf3db14395f0aa44dcbce4b3 Mon Sep 17 00:00:00 2001
-From: Jon Mason <jonmason@broadcom.com>
-Date: Fri, 20 Nov 2015 10:17:18 -0500
-Subject: [PATCH] ARM: dts: enable clock support for BCM5301X
-
-Replace current device tree dummy clocks with real clock support for
-Broadcom Northstar SoCs.
-
-Signed-off-by: Jon Mason <jonmason@broadcom.com>
-Reviewed-by: Ray Jui <rjui@broadcom.com>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
- arch/arm/boot/dts/bcm5301x.dtsi | 92 +++++++++++++++++++++++++++++++----------
- 1 file changed, 71 insertions(+), 21 deletions(-)
-
---- a/arch/arm/boot/dts/bcm5301x.dtsi
-+++ b/arch/arm/boot/dts/bcm5301x.dtsi
-@@ -8,6 +8,7 @@
-  * Licensed under the GNU/GPL. See COPYING for details.
-  */
-+#include <dt-bindings/clock/bcm-nsp.h>
- #include <dt-bindings/gpio/gpio.h>
- #include <dt-bindings/input/input.h>
- #include <dt-bindings/interrupt-controller/irq.h>
-@@ -27,7 +28,7 @@
-                       compatible = "ns16550";
-                       reg = <0x0300 0x100>;
-                       interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
--                      clock-frequency = <100000000>;
-+                      clocks = <&iprocslow>;
-                       status = "disabled";
-               };
-@@ -35,48 +36,55 @@
-                       compatible = "ns16550";
-                       reg = <0x0400 0x100>;
-                       interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
--                      clock-frequency = <100000000>;
-+                      clocks = <&iprocslow>;
-                       status = "disabled";
-               };
-       };
-       mpcore {
-               compatible = "simple-bus";
--              ranges = <0x00000000 0x19020000 0x00003000>;
-+              ranges = <0x00000000 0x19000000 0x00023000>;
-               #address-cells = <1>;
-               #size-cells = <1>;
--              scu@0000 {
-+              a9pll: arm_clk@00000 {
-+                      #clock-cells = <0>;
-+                      compatible = "brcm,nsp-armpll";
-+                      clocks = <&osc>;
-+                      reg = <0x00000 0x1000>;
-+              };
-+
-+              scu@20000 {
-                       compatible = "arm,cortex-a9-scu";
--                      reg = <0x0000 0x100>;
-+                      reg = <0x20000 0x100>;
-               };
--              timer@0200 {
-+              timer@20200 {
-                       compatible = "arm,cortex-a9-global-timer";
--                      reg = <0x0200 0x100>;
-+                      reg = <0x20200 0x100>;
-                       interrupts = <GIC_PPI 11 IRQ_TYPE_EDGE_RISING>;
--                      clocks = <&clk_periph>;
-+                      clocks = <&periph_clk>;
-               };
--              local-timer@0600 {
-+              local-timer@20600 {
-                       compatible = "arm,cortex-a9-twd-timer";
--                      reg = <0x0600 0x100>;
-+                      reg = <0x20600 0x100>;
-                       interrupts = <GIC_PPI 13 IRQ_TYPE_EDGE_RISING>;
--                      clocks = <&clk_periph>;
-+                      clocks = <&periph_clk>;
-               };
--              gic: interrupt-controller@1000 {
-+              gic: interrupt-controller@21000 {
-                       compatible = "arm,cortex-a9-gic";
-                       #interrupt-cells = <3>;
-                       #address-cells = <0>;
-                       interrupt-controller;
--                      reg = <0x1000 0x1000>,
--                            <0x0100 0x100>;
-+                      reg = <0x21000 0x1000>,
-+                            <0x20100 0x100>;
-               };
--              L2: cache-controller@2000 {
-+              L2: cache-controller@22000 {
-                       compatible = "arm,pl310-cache";
--                      reg = <0x2000 0x1000>;
-+                      reg = <0x22000 0x1000>;
-                       cache-unified;
-                       arm,shared-override;
-                       prefetch-data = <1>;
-@@ -94,14 +102,37 @@
-       clocks {
-               #address-cells = <1>;
--              #size-cells = <0>;
-+              #size-cells = <1>;
-+              ranges;
--              /* As long as we do not have a real clock driver us this
--               * fixed clock */
--              clk_periph: periph {
-+              osc: oscillator {
-+                      #clock-cells = <0>;
-                       compatible = "fixed-clock";
-+                      clock-frequency = <25000000>;
-+              };
-+
-+              iprocmed: iprocmed {
-                       #clock-cells = <0>;
--                      clock-frequency = <400000000>;
-+                      compatible = "fixed-factor-clock";
-+                      clocks = <&genpll BCM_NSP_GENPLL_IPROCFAST_CLK>;
-+                      clock-div = <2>;
-+                      clock-mult = <1>;
-+              };
-+
-+              iprocslow: iprocslow {
-+                      #clock-cells = <0>;
-+                      compatible = "fixed-factor-clock";
-+                      clocks = <&genpll BCM_NSP_GENPLL_IPROCFAST_CLK>;
-+                      clock-div = <4>;
-+                      clock-mult = <1>;
-+              };
-+
-+              periph_clk: periph_clk {
-+                      #clock-cells = <0>;
-+                      compatible = "fixed-factor-clock";
-+                      clocks = <&a9pll>;
-+                      clock-div = <2>;
-+                      clock-mult = <1>;
-               };
-       };
-@@ -178,6 +209,25 @@
-               };
-       };
-+      lcpll0: lcpll0@1800c100 {
-+              #clock-cells = <1>;
-+              compatible = "brcm,nsp-lcpll0";
-+              reg = <0x1800c100 0x14>;
-+              clocks = <&osc>;
-+              clock-output-names = "lcpll0", "pcie_phy", "sdio",
-+                                   "ddr_phy";
-+      };
-+
-+      genpll: genpll@1800c140 {
-+              #clock-cells = <1>;
-+              compatible = "brcm,nsp-genpll";
-+              reg = <0x1800c140 0x24>;
-+              clocks = <&osc>;
-+              clock-output-names = "genpll", "phy", "ethernetclk",
-+                                   "usbclk", "iprocfast", "sata1",
-+                                   "sata2";
-+      };
-+
-       nand: nand@18028000 {
-               compatible = "brcm,nand-iproc", "brcm,brcmnand-v6.1", "brcm,brcmnand";
-               reg = <0x18028000 0x600>, <0x1811a408 0x600>, <0x18028f00 0x20>;
diff --git a/target/linux/bcm53xx/patches-4.4/032-ARM-BCM5301X-Add-missing-Netgear-R8000-LEDs.patch b/target/linux/bcm53xx/patches-4.4/032-ARM-BCM5301X-Add-missing-Netgear-R8000-LEDs.patch
deleted file mode 100644 (file)
index 14554a6..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-From 9789f1fd1fd1d0551132778414faf8e2254408c1 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
-Date: Fri, 30 Oct 2015 15:44:01 +0100
-Subject: [PATCH] ARM: BCM5301X: Add missing Netgear R8000 LEDs
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Add a bunch of LEDs missing for the Netgear R8000: wireless, wps, 5Ghz radio
-and USB LEDs.
-
-Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
- arch/arm/boot/dts/bcm4709-netgear-r8000.dts | 30 +++++++++++++++++++++++++++++
- 1 file changed, 30 insertions(+)
-
---- a/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
-+++ b/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
-@@ -50,6 +50,36 @@
-                       gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
-                       linux,default-trigger = "default-off";
-               };
-+
-+              wireless {
-+                      label = "bcm53xx:white:wireless";
-+                      gpios = <&chipcommon 14 GPIO_ACTIVE_HIGH>;
-+                      linux,default-trigger = "default-off";
-+              };
-+
-+              wps {
-+                      label = "bcm53xx:white:wps";
-+                      gpios = <&chipcommon 15 GPIO_ACTIVE_HIGH>;
-+                      linux,default-trigger = "default-off";
-+              };
-+
-+              5ghz-2 {
-+                      label = "bcm53xx:white:5ghz-2";
-+                      gpios = <&chipcommon 16 GPIO_ACTIVE_LOW>;
-+                      linux,default-trigger = "default-off";
-+              };
-+
-+              usb3 {
-+                      label = "bcm53xx:white:usb3";
-+                      gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
-+                      linux,default-trigger = "default-off";
-+              };
-+
-+              usb2 {
-+                      label = "bcm53xx:white:usb2";
-+                      gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>;
-+                      linux,default-trigger = "default-off";
-+              };
-       };
-       gpio-keys {
diff --git a/target/linux/bcm53xx/patches-4.4/033-dt-bindings-add-SMP-enable-method-for-Broadcom-NSP.patch b/target/linux/bcm53xx/patches-4.4/033-dt-bindings-add-SMP-enable-method-for-Broadcom-NSP.patch
deleted file mode 100644 (file)
index ff3fa0b..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-From fa20071c74be69a1d84df85e5d1e72a40a156b89 Mon Sep 17 00:00:00 2001
-From: Kapil Hali <kapilh@broadcom.com>
-Date: Tue, 1 Dec 2015 11:24:05 -0500
-Subject: [PATCH] dt-bindings: add SMP enable-method for Broadcom NSP
-
-Add a compatible string "brcm,bcm-nsp-smp" for Broadcom's
-Northstar Plus CPU to the 32-bit ARM CPU device tree binding
-documentation file and create a new binding documentation for
-Northstar Plus CPU.
-
-Signed-off-by: Kapil Hali <kapilh@broadcom.com>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
- .../bindings/arm/bcm/brcm,nsp-cpu-method.txt       | 39 ++++++++++++++++++++++
- Documentation/devicetree/bindings/arm/cpus.txt     |  1 +
- 2 files changed, 40 insertions(+)
- create mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,nsp-cpu-method.txt
-
---- /dev/null
-+++ b/Documentation/devicetree/bindings/arm/bcm/brcm,nsp-cpu-method.txt
-@@ -0,0 +1,39 @@
-+Broadcom Northstar Plus SoC CPU Enable Method
-+---------------------------------------------
-+This binding defines the enable method used for starting secondary
-+CPUs in the following Broadcom SoCs:
-+  BCM58522, BCM58525, BCM58535, BCM58622, BCM58623, BCM58625, BCM88312
-+
-+The enable method is specified by defining the following required
-+properties in the "cpus" device tree node:
-+  - enable-method = "brcm,bcm-nsp-smp";
-+  - secondary-boot-reg = <...>;
-+
-+The secondary-boot-reg property is a u32 value that specifies the
-+physical address of the register which should hold the common
-+entry point for a secondary CPU. This entry is cpu node specific
-+and should be added per cpu. E.g., in case of NSP (BCM58625) which
-+is a dual core CPU SoC, this entry should be added to cpu1 node.
-+
-+
-+Example:
-+      cpus {
-+              #address-cells = <1>;
-+              #size-cells = <0>;
-+              enable-method = "brcm,bcm-nsp-smp";
-+
-+              cpu0: cpu@0 {
-+                      device_type = "cpu";
-+                      compatible = "arm,cortex-a9";
-+                      next-level-cache = <&L2>;
-+                      reg = <0>;
-+              };
-+
-+              cpu1: cpu@1 {
-+                      device_type = "cpu";
-+                      compatible = "arm,cortex-a9";
-+                      next-level-cache = <&L2>;
-+                      reg = <1>;
-+                      secondary-boot-reg = <0xffff042c>;
-+              };
-+      };
---- a/Documentation/devicetree/bindings/arm/cpus.txt
-+++ b/Documentation/devicetree/bindings/arm/cpus.txt
-@@ -190,6 +190,7 @@ nodes to be present and contain the prop
-                           "allwinner,sun6i-a31"
-                           "allwinner,sun8i-a23"
-                           "arm,psci"
-+                          "brcm,bcm-nsp-smp"
-                           "brcm,brahma-b15"
-                           "marvell,armada-375-smp"
-                           "marvell,armada-380-smp"
diff --git a/target/linux/bcm53xx/patches-4.4/034-ARM-BCM5301X-Add-DT-for-D-Link-DIR-885L.patch b/target/linux/bcm53xx/patches-4.4/034-ARM-BCM5301X-Add-DT-for-D-Link-DIR-885L.patch
deleted file mode 100644 (file)
index eee48f8..0000000
+++ /dev/null
@@ -1,141 +0,0 @@
-From 3ea03a9d512ca19d59315492230e954a1653ff6e Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
-Date: Tue, 26 Jan 2016 23:35:16 +0100
-Subject: [PATCH] ARM: BCM5301X: Add DT for D-Link DIR-885L
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-It's device based on BCM47094 which is quite similar to BCM4709 except
-for higher CPU frequency. This device has 2 flash memories, it boots
-from serial one and stores firmware on NAND. Other than that we define
-standard stuff like LEDs, buttons and UART.
-
-Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
-
---- a/arch/arm/boot/dts/Makefile
-+++ b/arch/arm/boot/dts/Makefile
-@@ -76,6 +76,7 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
-       bcm4709-buffalo-wxr-1900dhp.dtb \
-       bcm4709-netgear-r7000.dtb \
-       bcm4709-netgear-r8000.dtb \
-+      bcm47094-dlink-dir-885l.dtb \
-       bcm94708.dtb \
-       bcm94709.dtb \
-       bcm953012k.dtb
---- /dev/null
-+++ b/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
-@@ -0,0 +1,111 @@
-+/*
-+ * Broadcom BCM470X / BCM5301X ARM platform code.
-+ * DTS for D-Link DIR-885L
-+ *
-+ * Copyright (C) 2016 Rafał Miłecki <zajec5@gmail.com>
-+ *
-+ * Licensed under the GNU/GPL. See COPYING for details.
-+ */
-+
-+/dts-v1/;
-+
-+#include "bcm4708.dtsi"
-+#include "bcm5301x-nand-cs0-bch8.dtsi"
-+
-+/ {
-+      compatible = "dlink,dir-885l", "brcm,bcm47094", "brcm,bcm4708";
-+      model = "D-Link DIR-885L";
-+
-+      chosen {
-+              bootargs = "console=ttyS0,115200";
-+      };
-+
-+      memory {
-+              reg = <0x00000000 0x08000000>;
-+      };
-+
-+      nand: nand@18028000 {
-+              nandcs@0 {
-+                      partition@0 {
-+                              label = "firmware";
-+                              reg = <0x00000000 0x08000000>;
-+                      };
-+              };
-+      };
-+
-+      leds {
-+              compatible = "gpio-leds";
-+
-+              power-white {
-+                      label = "bcm53xx:white:power";
-+                      gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
-+                      linux,default-trigger = "default-on";
-+              };
-+
-+              wan-white {
-+                      label = "bcm53xx:white:wan";
-+                      gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
-+                      linux,default-trigger = "default-off";
-+              };
-+
-+              power-amber {
-+                      label = "bcm53xx:amber:power";
-+                      gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
-+                      linux,default-trigger = "default-off";
-+              };
-+
-+              wan-amber {
-+                      label = "bcm53xx:amber:wan";
-+                      gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
-+                      linux,default-trigger = "default-off";
-+              };
-+
-+              usb3-white {
-+                      label = "bcm53xx:white:usb3";
-+                      gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
-+                      linux,default-trigger = "default-off";
-+              };
-+
-+              2ghz {
-+                      label = "bcm53xx:white:2ghz";
-+                      gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
-+                      linux,default-trigger = "default-off";
-+              };
-+
-+              5ghz {
-+                      label = "bcm53xx:white:5ghz";
-+                      gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
-+                      linux,default-trigger = "default-off";
-+              };
-+      };
-+
-+      gpio-keys {
-+              compatible = "gpio-keys";
-+              #address-cells = <1>;
-+              #size-cells = <0>;
-+
-+              wps {
-+                      label = "WPS";
-+                      linux,code = <KEY_WPS_BUTTON>;
-+                      gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
-+              };
-+
-+              /* Switch: router / extender */
-+              extender {
-+                      label = "Extender";
-+                      linux,code = <BTN_0>;
-+                      gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
-+              };
-+
-+              restart {
-+                      label = "Reset";
-+                      linux,code = <KEY_RESTART>;
-+                      gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
-+              };
-+      };
-+};
-+
-+&uart0 {
-+      status = "okay";
-+      clock-frequency = <125000000>;
-+};
diff --git a/target/linux/bcm53xx/patches-4.4/035-ARM-BCM5301X-Set-vcc-gpio-for-USB-controllers-of-few.patch b/target/linux/bcm53xx/patches-4.4/035-ARM-BCM5301X-Set-vcc-gpio-for-USB-controllers-of-few.patch
deleted file mode 100644 (file)
index 3a32c8b..0000000
+++ /dev/null
@@ -1,117 +0,0 @@
-From dd70ccfaa79189feaa78609d44f7c3e7fa1dc6ff Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
-Date: Wed, 23 Mar 2016 16:52:47 +0100
-Subject: [PATCH] ARM: BCM5301X: Set vcc-gpio for USB controllers of few
- devices
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-There are few devices that have USB power controlled using GPIO. Linux
-USB host driver (bcma-hcd) already supports this by reading vcc-gpio
-from DT. Set it properly for all known devices.
-
-Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
-
---- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
-+++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
-@@ -139,3 +139,11 @@
- &uart0 {
-       status = "okay";
- };
-+
-+&usb2 {
-+      vcc-gpio = <&chipcommon 9 GPIO_ACTIVE_HIGH>;
-+};
-+
-+&usb3 {
-+      vcc-gpio = <&chipcommon 10 GPIO_ACTIVE_LOW>;
-+};
---- a/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
-+++ b/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
-@@ -24,17 +24,6 @@
-               reg = <0x00000000 0x08000000>;
-       };
--      axi@18000000 {
--              usb3@23000 {
--                      reg = <0x00023000 0x1000>;
--
--                      #address-cells = <1>;
--                      #size-cells = <1>;
--
--                      vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
--              };
--      };
--
-       leds {
-               compatible = "gpio-leds";
-@@ -97,3 +86,7 @@
- &uart0 {
-       status = "okay";
- };
-+
-+&usb3 {
-+      vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
-+};
---- a/arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts
-+++ b/arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts
-@@ -126,3 +126,8 @@
-               };
-       };
- };
-+
-+
-+&usb2 {
-+      vcc-gpio = <&chipcommon 13 GPIO_ACTIVE_HIGH>;
-+};
---- a/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
-+++ b/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
-@@ -106,3 +106,11 @@
-               };
-       };
- };
-+
-+&usb2 {
-+      vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
-+};
-+
-+&usb3 {
-+      vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
-+};
---- a/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
-+++ b/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
-@@ -109,3 +109,7 @@
-       status = "okay";
-       clock-frequency = <125000000>;
- };
-+
-+&usb3 {
-+      vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>;
-+};
---- a/arch/arm/boot/dts/bcm5301x.dtsi
-+++ b/arch/arm/boot/dts/bcm5301x.dtsi
-@@ -207,6 +207,20 @@
-                       gpio-controller;
-                       #gpio-cells = <2>;
-               };
-+
-+              usb2: usb2@21000 {
-+                      reg = <0x00021000 0x1000>;
-+
-+                      #address-cells = <1>;
-+                      #size-cells = <1>;
-+              };
-+
-+              usb3: usb3@23000 {
-+                      reg = <0x00023000 0x1000>;
-+
-+                      #address-cells = <1>;
-+                      #size-cells = <1>;
-+              };
-       };
-       lcpll0: lcpll0@1800c100 {
diff --git a/target/linux/bcm53xx/patches-4.4/036-ARM-BCM5301X-Enable-earlycon-on-tested-devices.patch b/target/linux/bcm53xx/patches-4.4/036-ARM-BCM5301X-Enable-earlycon-on-tested-devices.patch
deleted file mode 100644 (file)
index abcb00f..0000000
+++ /dev/null
@@ -1,95 +0,0 @@
-From 5a6516ff135555aa53c7d156cd3973b826e011f9 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
-Date: Wed, 6 Apr 2016 18:49:55 +0200
-Subject: [PATCH] ARM: BCM5301X: Enable earlycon on tested devices
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-This allows reporting & debugging problems occurring early in the boot
-process.
-
-Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
-Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
-
---- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
-+++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
-@@ -17,7 +17,7 @@
-       model = "Buffalo WZR-1750DHP (BCM4708)";
-       chosen {
--              bootargs = "console=ttyS0,115200";
-+              bootargs = "console=ttyS0,115200 earlycon";
-       };
-       memory {
---- a/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts
-+++ b/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts
-@@ -17,7 +17,7 @@
-       model = "Luxul XWC-1000 (BCM4708)";
-       chosen {
--              bootargs = "console=ttyS0,115200";
-+              bootargs = "console=ttyS0,115200 earlycon";
-       };
-       memory {
---- a/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
-+++ b/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
-@@ -17,7 +17,7 @@
-       model = "Netgear R6250 V1 (BCM4708)";
-       chosen {
--              bootargs = "console=ttyS0,115200";
-+              bootargs = "console=ttyS0,115200 earlycon";
-       };
-       memory {
---- a/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts
-+++ b/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts
-@@ -17,7 +17,7 @@
-       model = "SmartRG SR400ac";
-       chosen {
--              bootargs = "console=ttyS0,115200";
-+              bootargs = "console=ttyS0,115200 earlycon";
-       };
-       memory {
---- a/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts
-+++ b/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts
-@@ -17,7 +17,7 @@
-       model = "Buffalo WZR-600DHP2 (BCM47081)";
-       chosen {
--              bootargs = "console=ttyS0,115200";
-+              bootargs = "console=ttyS0,115200 earlycon";
-       };
-       memory {
---- a/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
-+++ b/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
-@@ -17,7 +17,7 @@
-       model = "D-Link DIR-885L";
-       chosen {
--              bootargs = "console=ttyS0,115200";
-+              bootargs = "console=ttyS0,115200 earlycon";
-       };
-       memory {
---- a/arch/arm/boot/dts/bcm5301x.dtsi
-+++ b/arch/arm/boot/dts/bcm5301x.dtsi
-@@ -18,6 +18,10 @@
- / {
-       interrupt-parent = <&gic>;
-+      chosen {
-+              stdout-path = &uart0;
-+      };
-+
-       chipcommonA {
-               compatible = "simple-bus";
-               ranges = <0x00000000 0x18000000 0x00001000>;
diff --git a/target/linux/bcm53xx/patches-4.4/037-0001-ARM-BCM5301X-Add-DT-entry-for-SPI-controller-and-NOR.patch b/target/linux/bcm53xx/patches-4.4/037-0001-ARM-BCM5301X-Add-DT-entry-for-SPI-controller-and-NOR.patch
deleted file mode 100644 (file)
index 4549396..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-From 1b47b98acce2db0da632d056821420b33205b8b2 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
-Date: Tue, 19 Apr 2016 08:56:46 +0200
-Subject: [PATCH] ARM: BCM5301X: Add DT entry for SPI controller and NOR flash
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Controller is present on every BCM4708* board but only few devices have
-serial flash attached so mark it as disabled by default.
-
-Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
-
---- a/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts
-+++ b/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts
-@@ -59,3 +59,7 @@
- &uart0 {
-       status = "okay";
- };
-+
-+&spi_nor {
-+      status = "okay";
-+};
---- a/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts
-+++ b/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts
-@@ -122,3 +122,7 @@
- &uart0 {
-       status = "okay";
- };
-+
-+&spi_nor {
-+      status = "okay";
-+};
---- a/arch/arm/boot/dts/bcm5301x.dtsi
-+++ b/arch/arm/boot/dts/bcm5301x.dtsi
-@@ -225,6 +225,20 @@
-                       #address-cells = <1>;
-                       #size-cells = <1>;
-               };
-+
-+              spi@29000 {
-+                      reg = <0x00029000 0x1000>;
-+                      #address-cells = <1>;
-+                      #size-cells = <0>;
-+
-+                      spi_nor: spi-nor@0 {
-+                              compatible = "jedec,spi-nor";
-+                              reg = <0>;
-+                              spi-max-frequency = <20000000>;
-+                              linux,part-probe = "ofpart", "bcm47xxpart";
-+                              status = "disabled";
-+                      };
-+              };
-       };
-       lcpll0: lcpll0@1800c100 {
diff --git a/target/linux/bcm53xx/patches-4.4/037-0002-ARM-BCM5301X-Enable-SPI-NOR-on-dual-flash-devices.patch b/target/linux/bcm53xx/patches-4.4/037-0002-ARM-BCM5301X-Enable-SPI-NOR-on-dual-flash-devices.patch
deleted file mode 100644 (file)
index f15cfb7..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-From 5f79985dcfec73d7a09ed99c40c28b64552518fe Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
-Date: Wed, 27 Apr 2016 09:05:03 +0200
-Subject: [PATCH] ARM: BCM5301X: Enable SPI-NOR on dual flash devices
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Commit 1b47b98acce2 ("ARM: BCM5301X: Add DT entry for SPI controller and
-NOR flash") enabled SPI-NOR device on routers using serial flash only.
-However there are also devices with two flash memories:
-1) Small SPI attached flash used mostly for booting
-2) Bigger NAND used mostly for storing firmware
-On such devices we still need SPI-NOR e.g. to access NVRAM data.
-
-Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
- arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts | 4 ++++
- arch/arm/boot/dts/bcm4708-netgear-r6250.dts       | 4 ++++
- arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts    | 4 ++++
- arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts | 4 ++++
- arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts     | 4 ++++
- 5 files changed, 20 insertions(+)
-
---- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
-+++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
-@@ -147,3 +147,7 @@
- &usb3 {
-       vcc-gpio = <&chipcommon 10 GPIO_ACTIVE_LOW>;
- };
-+
-+&spi_nor {
-+      status = "okay";
-+};
---- a/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
-+++ b/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
-@@ -90,3 +90,7 @@
- &usb3 {
-       vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
- };
-+
-+&spi_nor {
-+      status = "okay";
-+};
---- a/arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts
-+++ b/arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts
-@@ -82,3 +82,7 @@
-               };
-       };
- };
-+
-+&spi_nor {
-+      status = "okay";
-+};
---- a/arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts
-+++ b/arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts
-@@ -131,3 +131,7 @@
- &usb2 {
-       vcc-gpio = <&chipcommon 13 GPIO_ACTIVE_HIGH>;
- };
-+
-+&spi_nor {
-+      status = "okay";
-+};
---- a/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
-+++ b/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
-@@ -113,3 +113,7 @@
- &usb3 {
-       vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>;
- };
-+
-+&spi_nor {
-+      status = "okay";
-+};
diff --git a/target/linux/bcm53xx/patches-4.4/038-0001-ARM-dts-Enable-SRAB-switch-and-GMACs-on-5301x-DTS.patch b/target/linux/bcm53xx/patches-4.4/038-0001-ARM-dts-Enable-SRAB-switch-and-GMACs-on-5301x-DTS.patch
deleted file mode 100644 (file)
index 0210f7e..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-From 59f0ce1a3ebb9288fc8c1400aa503e923621161e Mon Sep 17 00:00:00 2001
-From: Florian Fainelli <f.fainelli@gmail.com>
-Date: Mon, 23 May 2016 16:38:00 -0700
-Subject: [PATCH 1/3] ARM: dts: Enable SRAB switch and GMACs on 5301x DTS
-
-Add the Switch Register Access Block which is a special piece of
-hardware allowing us to perform indirect read/writes towards the
-integrated BCM5301X Ethernet switch.
-
-We also add the 4 Gigabit MAC Device Tree nodes within the brcm,bus-axi
-bus node to get proper binding between the BCMA instantiated core and
-the Device Tree nodes. We will need that to be able to reference
-Ethernet Device Tree nodes in a future patch adding the switch ports
-layout.
-
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
- arch/arm/boot/dts/bcm5301x.dtsi | 27 +++++++++++++++++++++++++++
- 1 file changed, 27 insertions(+)
-
---- a/arch/arm/boot/dts/bcm5301x.dtsi
-+++ b/arch/arm/boot/dts/bcm5301x.dtsi
-@@ -239,6 +239,22 @@
-                               status = "disabled";
-                       };
-               };
-+
-+              gmac0: ethernet@24000 {
-+                      reg = <0x24000 0x800>;
-+              };
-+
-+              gmac1: ethernet@25000 {
-+                      reg = <0x25000 0x800>;
-+              };
-+
-+              gmac2: ethernet@26000 {
-+                      reg = <0x26000 0x800>;
-+              };
-+
-+              gmac3: ethernet@27000 {
-+                      reg = <0x27000 0x800>;
-+              };
-       };
-       lcpll0: lcpll0@1800c100 {
-@@ -260,6 +276,17 @@
-                                    "sata2";
-       };
-+      srab: srab@18007000 {
-+              compatible = "brcm,bcm5301x-srab";
-+              reg = <0x18007000 0x1000>;
-+              #address-cells = <1>;
-+              #size-cells = <0>;
-+
-+              status = "disabled";
-+
-+              /* ports are defined in board DTS */
-+      };
-+
-       nand: nand@18028000 {
-               compatible = "brcm,nand-iproc", "brcm,brcmnand-v6.1", "brcm,brcmnand";
-               reg = <0x18028000 0x600>, <0x1811a408 0x600>, <0x18028f00 0x20>;
diff --git a/target/linux/bcm53xx/patches-4.4/038-0002-ARM-dts-BCM5301X-Add-SRAB-interrupts.patch b/target/linux/bcm53xx/patches-4.4/038-0002-ARM-dts-BCM5301X-Add-SRAB-interrupts.patch
deleted file mode 100644 (file)
index 95375fc..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-From 2cd0c0202f138fa95b3fbb027e87b191ad0b1884 Mon Sep 17 00:00:00 2001
-From: Florian Fainelli <f.fainelli@gmail.com>
-Date: Tue, 24 May 2016 11:41:58 -0700
-Subject: [PATCH 2/3] ARM: dts: BCM5301X: Add SRAB interrupts
-
-Add interrupt mapping for the Switch Register Access Block. Only 12
-interrupts are usable at the moment even though up to 32 are dedicated
-to the SRAB.
-
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
- arch/arm/boot/dts/bcm5301x.dtsi | 15 +++++++++++++++
- 1 file changed, 15 insertions(+)
-
---- a/arch/arm/boot/dts/bcm5301x.dtsi
-+++ b/arch/arm/boot/dts/bcm5301x.dtsi
-@@ -153,6 +153,21 @@
-                       /* ChipCommon */
-                       <0x00000000 0 &gic GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>,
-+                      /* Switch Register Access Block */
-+                      <0x00007000 0 &gic GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>,
-+                      <0x00007000 1 &gic GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>,
-+                      <0x00007000 2 &gic GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
-+                      <0x00007000 3 &gic GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
-+                      <0x00007000 4 &gic GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
-+                      <0x00007000 5 &gic GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
-+                      <0x00007000 6 &gic GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
-+                      <0x00007000 7 &gic GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
-+                      <0x00007000 8 &gic GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>,
-+                      <0x00007000 9 &gic GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
-+                      <0x00007000 10 &gic GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
-+                      <0x00007000 11 &gic GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
-+                      <0x00007000 12 &gic GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
-+
-                       /* PCIe Controller 0 */
-                       <0x00012000 0 &gic GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>,
-                       <0x00012000 1 &gic GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>,
diff --git a/target/linux/bcm53xx/patches-4.4/038-0003-ARM-dts-BCM5310x-Enable-switch-ports-on-SmartRG-SR40.patch b/target/linux/bcm53xx/patches-4.4/038-0003-ARM-dts-BCM5310x-Enable-switch-ports-on-SmartRG-SR40.patch
deleted file mode 100644 (file)
index 7ddb99b..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-From 2df1808dc0e2b5358e13beb95192b15200017776 Mon Sep 17 00:00:00 2001
-From: Florian Fainelli <f.fainelli@gmail.com>
-Date: Wed, 25 May 2016 16:55:35 -0700
-Subject: [PATCH 3/3] ARM: dts: BCM5310x: Enable switch ports on SmartRG
- SR400AC
-
-Define the port mapping for the SmartRG SR400ACE device.
-
-Reviewed-by: Andrew Lunn <andrew@lunn.ch>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
- arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts | 40 +++++++++++++++++++++++++++
- 1 file changed, 40 insertions(+)
-
---- a/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts
-+++ b/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts
-@@ -126,3 +126,43 @@
- &spi_nor {
-       status = "okay";
- };
-+
-+&srab {
-+      status = "okay";
-+
-+      ports {
-+              #address-cells = <1>;
-+              #size-cells = <0>;
-+
-+              port@0 {
-+                      reg = <0>;
-+                      label = "lan4";
-+              };
-+
-+              port@1 {
-+                      reg = <1>;
-+                      label = "lan3";
-+              };
-+
-+              port@2 {
-+                      reg = <2>;
-+                      label = "lan2";
-+              };
-+
-+              port@3 {
-+                      reg = <3>;
-+                      label = "lan1";
-+              };
-+
-+              port@4 {
-+                      reg = <4>;
-+                      label = "wan";
-+              };
-+
-+              port@5 {
-+                      reg = <5>;
-+                      label = "cpu";
-+                      ethernet = <&gmac0>;
-+              };
-+      };
-+};
diff --git a/target/linux/bcm53xx/patches-4.4/039-ARM-dts-BCM5301x-Add-RNG-Device-Tree-node.patch b/target/linux/bcm53xx/patches-4.4/039-ARM-dts-BCM5301x-Add-RNG-Device-Tree-node.patch
deleted file mode 100644 (file)
index 9b18ac6..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-From 36e55669ebdef9eaf3f4ab4e82a07bb4b95a4813 Mon Sep 17 00:00:00 2001
-From: Florian Fainelli <f.fainelli@gmail.com>
-Date: Wed, 22 Jun 2016 17:27:03 -0700
-Subject: [PATCH] ARM: dts: BCM5301x: Add RNG Device Tree node
-
-Add the DT node for the random number generator peripheral.
-
-Acked-by: Scott Branden <scott.branden@broadcom.com>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
- arch/arm/boot/dts/bcm5301x.dtsi | 5 +++++
- 1 file changed, 5 insertions(+)
-
---- a/arch/arm/boot/dts/bcm5301x.dtsi
-+++ b/arch/arm/boot/dts/bcm5301x.dtsi
-@@ -302,6 +302,11 @@
-               /* ports are defined in board DTS */
-       };
-+      rng: rng@18004000 {
-+              compatible = "brcm,bcm5301x-rng";
-+              reg = <0x18004000 0x14>;
-+      };
-+
-       nand: nand@18028000 {
-               compatible = "brcm,nand-iproc", "brcm,brcmnand-v6.1", "brcm,brcmnand";
-               reg = <0x18028000 0x600>, <0x1811a408 0x600>, <0x18028f00 0x20>;
diff --git a/target/linux/bcm53xx/patches-4.4/040-ARM-dts-BCM5301x-Add-BCM953012ER-board.patch b/target/linux/bcm53xx/patches-4.4/040-ARM-dts-BCM5301x-Add-BCM953012ER-board.patch
deleted file mode 100644 (file)
index dd24e26..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-From f8c331bda6a90b239f600020eec1b0defe7249b5 Mon Sep 17 00:00:00 2001
-From: Florian Fainelli <f.fainelli@gmail.com>
-Date: Wed, 22 Jun 2016 17:00:35 -0700
-Subject: [PATCH] ARM: dts: BCM5301x: Add BCM953012ER board
-
-Add support for the Broadcom BCM953012 Enterprise Router reference
-board, enable the following peripherals:
-
-- UART0 (UART1 is not populated)
-- WPS and restart GPIO buttons
-- Ethernet switch w/ only two facing ports
-- NAND flash
-- SPI-NOR flash
-
-Acked-by: Jon Mason <jon.mason@broadcom.com>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
- arch/arm/boot/dts/Makefile        |   1 +
- arch/arm/boot/dts/bcm953012er.dts | 104 ++++++++++++++++++++++++++++++++++++++
- 2 files changed, 105 insertions(+)
- create mode 100644 arch/arm/boot/dts/bcm953012er.dts
-
---- a/arch/arm/boot/dts/Makefile
-+++ b/arch/arm/boot/dts/Makefile
-@@ -79,6 +79,7 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
-       bcm47094-dlink-dir-885l.dtb \
-       bcm94708.dtb \
-       bcm94709.dtb \
-+      bcm953012er.dtb \
-       bcm953012k.dtb
- dtb-$(CONFIG_ARCH_BCM_63XX) += \
-       bcm963138dvt.dtb
---- /dev/null
-+++ b/arch/arm/boot/dts/bcm953012er.dts
-@@ -0,0 +1,104 @@
-+/*
-+ *  BSD LICENSE
-+ *
-+ *  Copyright(c) 2016 Broadcom. All rights reserved.
-+ *
-+ *  Redistribution and use in source and binary forms, with or without
-+ *  modification, are permitted provided that the following conditions
-+ *  are met:
-+ *
-+ *    * Redistributions of source code must retain the above copyright
-+ *      notice, this list of conditions and the following disclaimer.
-+ *    * Redistributions in binary form must reproduce the above copyright
-+ *      notice, this list of conditions and the following disclaimer in
-+ *      the documentation and/or other materials provided with the
-+ *      distribution.
-+ *    * Neither the name of Broadcom Corporation nor the names of its
-+ *      contributors may be used to endorse or promote products derived
-+ *      from this software without specific prior written permission.
-+ *
-+ *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-+ *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-+ *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-+ *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-+ *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-+ *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-+ *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-+ *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-+ *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-+ *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-+ *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-+ */
-+
-+/dts-v1/;
-+
-+#include "bcm4708.dtsi"
-+#include "bcm5301x-nand-cs0-bch8.dtsi"
-+
-+/ {
-+      model = "NorthStar Enterprise Router (BCM953012ER)";
-+      compatible = "brcm,bcm953012er", "brcm,brcm53012", "brcm,bcm4708";
-+
-+      aliases {
-+              serial0 = &uart0;
-+      };
-+
-+      chosen {
-+              stdout-path = "serial0:115200n8";
-+      };
-+
-+      memory {
-+              reg = <0x00000000 0x8000000>;
-+      };
-+
-+      gpio-keys {
-+              compatible = "gpio-keys";
-+              #address-cells = <1>;
-+              #size-cells = <0>;
-+
-+              wps {
-+                      label = "WPS";
-+                      linux,code = <KEY_WPS_BUTTON>;
-+                      gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
-+              };
-+
-+              restart {
-+                      label = "Reset";
-+                      linux,code = <KEY_RESTART>;
-+                      gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;
-+              };
-+      };
-+};
-+
-+&uart0 {
-+      status = "okay";
-+};
-+
-+&spi_nor {
-+      status = "okay";
-+};
-+
-+&srab {
-+      status = "okay";
-+
-+      ports {
-+              #address-cells = <1>;
-+              #size-cells = <0>;
-+
-+              port@0 {
-+                      reg = <0>;
-+                      label = "port0";
-+              };
-+
-+              port@1 {
-+                      reg = <1>;
-+                      label = "port1";
-+              };
-+
-+              port@5 {
-+                      reg = <5>;
-+                      label = "cpu";
-+                      ethernet = <&gmac0>;
-+              };
-+      };
-+};
diff --git a/target/linux/bcm53xx/patches-4.4/041-0001-ARM-BCM5301X-Specify-NAND-chip-select-and-ECC-in-sep.patch b/target/linux/bcm53xx/patches-4.4/041-0001-ARM-BCM5301X-Specify-NAND-chip-select-and-ECC-in-sep.patch
deleted file mode 100644 (file)
index 77a90c3..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-From 8ab5f1fbd39c29125403678a0caf0a71046da361 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
-Date: Mon, 6 Jun 2016 09:43:49 +0200
-Subject: [PATCH 1/2] ARM: BCM5301X: Specify NAND chip select and ECC in
- separated files
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Using separated file with common chip select parameters will allow us
-adding other ECC setups without code duplication.
-
-Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
- arch/arm/boot/dts/bcm5301x-nand-cs0-bch8.dtsi | 16 +++++-----------
- arch/arm/boot/dts/bcm5301x-nand-cs0.dtsi      | 18 ++++++++++++++++++
- 2 files changed, 23 insertions(+), 11 deletions(-)
- create mode 100644 arch/arm/boot/dts/bcm5301x-nand-cs0.dtsi
-
---- a/arch/arm/boot/dts/bcm5301x-nand-cs0-bch8.dtsi
-+++ b/arch/arm/boot/dts/bcm5301x-nand-cs0-bch8.dtsi
-@@ -9,16 +9,10 @@
-  * Licensed under the GNU/GPL. See COPYING for details.
-  */
--/ {
--      nand@18028000 {
--              nandcs@0 {
--                      compatible = "brcm,nandcs";
--                      reg = <0>;
--                      #address-cells = <1>;
--                      #size-cells = <1>;
-+#include "bcm5301x-nand-cs0.dtsi"
--                      nand-ecc-strength = <8>;
--                      nand-ecc-step-size = <512>;
--              };
--      };
-+&nandcs {
-+      nand-ecc-algo = "bch";
-+      nand-ecc-strength = <8>;
-+      nand-ecc-step-size = <512>;
- };
---- /dev/null
-+++ b/arch/arm/boot/dts/bcm5301x-nand-cs0.dtsi
-@@ -0,0 +1,18 @@
-+/*
-+ * Broadcom Northstar NAND.
-+ *
-+ * Copyright (C) 2015 Hauke Mehrtens <hauke@hauke-m.de>
-+ *
-+ * Licensed under the GNU/GPL. See COPYING for details.
-+ */
-+
-+/ {
-+      nand@18028000 {
-+              nandcs: nandcs@0 {
-+                      compatible = "brcm,nandcs";
-+                      reg = <0>;
-+                      #address-cells = <1>;
-+                      #size-cells = <1>;
-+              };
-+      };
-+};
diff --git a/target/linux/bcm53xx/patches-4.4/041-0002-ARM-BCM5301X-Fix-NAND-ECC-parameters-for-D-Link-DIR-.patch b/target/linux/bcm53xx/patches-4.4/041-0002-ARM-BCM5301X-Fix-NAND-ECC-parameters-for-D-Link-DIR-.patch
deleted file mode 100644 (file)
index e27d414..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-From 70a0ae1c33572f012b734d4b574f38136c57f1a0 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
-Date: Mon, 6 Jun 2016 09:43:50 +0200
-Subject: [PATCH 2/2] ARM: BCM5301X: Fix NAND ECC parameters for D-Link
- DIR-885L
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-This device uses BCH-1 instead of BCH-8. This fixes ECC errors and makes
-NAND usable with brcmnand.
-
-Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
- arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts |  2 +-
- arch/arm/boot/dts/bcm5301x-nand-cs0-bch1.dtsi | 15 +++++++++++++++
- 2 files changed, 16 insertions(+), 1 deletion(-)
- create mode 100644 arch/arm/boot/dts/bcm5301x-nand-cs0-bch1.dtsi
-
---- a/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
-+++ b/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
-@@ -10,7 +10,7 @@
- /dts-v1/;
- #include "bcm4708.dtsi"
--#include "bcm5301x-nand-cs0-bch8.dtsi"
-+#include "bcm5301x-nand-cs0-bch1.dtsi"
- / {
-       compatible = "dlink,dir-885l", "brcm,bcm47094", "brcm,bcm4708";
---- /dev/null
-+++ b/arch/arm/boot/dts/bcm5301x-nand-cs0-bch1.dtsi
-@@ -0,0 +1,15 @@
-+/*
-+ * Broadcom Northstar NAND.
-+ *
-+ * Copyright (C) 2016 Rafał Miłecki <rafal.milecki@gmail.com>
-+ *
-+ * Licensed under the ISC license.
-+ */
-+
-+#include "bcm5301x-nand-cs0.dtsi"
-+
-+&nandcs {
-+      nand-ecc-algo = "bch";
-+      nand-ecc-strength = <1>;
-+      nand-ecc-step-size = <512>;
-+};
diff --git a/target/linux/bcm53xx/patches-4.4/042-ARM-BCM5301X-Specify-PHY-of-USB-2.0-in-DT.patch b/target/linux/bcm53xx/patches-4.4/042-ARM-BCM5301X-Specify-PHY-of-USB-2.0-in-DT.patch
deleted file mode 100644 (file)
index e95a513..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-From 773880f77ae0a6782dd3da176bd25d85ff3a8c7f Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
-Date: Wed, 1 Jun 2016 22:07:07 +0200
-Subject: [PATCH] ARM: BCM5301X: Specify PHY of USB 2.0 in DT
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Driver for Northstar USB 2.0 PHY was added in 4.7-rc1 by:
-commit d3feb4067335 ("phy: bcm-ns-usb2: new driver for USB 2.0 PHY on
-Northstar").
-It should be used to let EHCI platform driver init PHY.
-
-Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
- arch/arm/boot/dts/bcm5301x.dtsi | 11 +++++++++++
- 1 file changed, 11 insertions(+)
-
---- a/arch/arm/boot/dts/bcm5301x.dtsi
-+++ b/arch/arm/boot/dts/bcm5301x.dtsi
-@@ -140,6 +140,15 @@
-               };
-       };
-+      usb2_phy: usb2-phy {
-+              compatible = "brcm,ns-usb2-phy";
-+              reg = <0x1800c000 0x1000>;
-+              reg-names = "dmu";
-+              #phy-cells = <0>;
-+              clocks = <&genpll BCM_NSP_GENPLL_USB_PHY_REF_CLK>;
-+              clock-names = "phy-ref-clk";
-+      };
-+
-       axi@18000000 {
-               compatible = "brcm,bus-axi";
-               reg = <0x18000000 0x1000>;
-@@ -232,6 +241,8 @@
-                       #address-cells = <1>;
-                       #size-cells = <1>;
-+
-+                      phys = <&usb2_phy>;
-               };
-               usb3: usb3@23000 {
diff --git a/target/linux/bcm53xx/patches-4.4/043-0001-ARM-BCM53573-Initial-support-for-Broadcom-BCM53573-S.patch b/target/linux/bcm53xx/patches-4.4/043-0001-ARM-BCM53573-Initial-support-for-Broadcom-BCM53573-S.patch
deleted file mode 100644 (file)
index 3b687c2..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-From 4ebd50472899eb07d5dfc24f2015dce6fe3c5cb8 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
-Date: Sun, 21 Aug 2016 19:01:38 +0200
-Subject: [PATCH] ARM: BCM53573: Initial support for Broadcom BCM53573 SoCs
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-BCM53573 series is a new family with embedded wireless. By marketing
-people it's sometimes called Northstar but it uses different CPU and has
-different architecture so we need a new symbol for it.
-Fortunately it shares some peripherals with other iProc based SoCs so we
-will be able to reuse some drivers/bindings.
-
-Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
-Acked-by: Jon Mason <jon.mason@broadcom.com>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
- MAINTAINERS               |  7 +++++++
- arch/arm/mach-bcm/Kconfig | 14 ++++++++++++++
- 2 files changed, 21 insertions(+)
-
---- a/MAINTAINERS
-+++ b/MAINTAINERS
-@@ -2338,6 +2338,13 @@ F:      arch/arm/mach-bcm/bcm_5301x.c
- F:    arch/arm/boot/dts/bcm5301x.dtsi
- F:    arch/arm/boot/dts/bcm470*
-+BROADCOM BCM53573 ARM ARCHITECTURE
-+M:    Rafał Miłecki <rafal@milecki.pl>
-+L:    linux-arm-kernel@lists.infradead.org
-+S:    Maintained
-+F:    arch/arm/boot/dts/bcm53573*
-+F:    arch/arm/boot/dts/bcm47189*
-+
- BROADCOM BCM63XX ARM ARCHITECTURE
- M:    Florian Fainelli <f.fainelli@gmail.com>
- L:    linux-arm-kernel@lists.infradead.org
---- a/arch/arm/mach-bcm/Kconfig
-+++ b/arch/arm/mach-bcm/Kconfig
-@@ -141,6 +141,20 @@ config ARCH_BCM2835
-         This enables support for the Broadcom BCM2835 SoC. This SoC is
-         used in the Raspberry Pi and Roku 2 devices.
-+config ARCH_BCM_53573
-+      bool "Broadcom BCM53573 SoC series support"
-+      depends on ARCH_MULTI_V7
-+      select ARCH_BCM_IPROC
-+      select HAVE_ARM_ARCH_TIMER
-+      help
-+        BCM53573 series is set of SoCs using ARM Cortex-A7 CPUs with wireless
-+        embedded in the chipset.
-+        This SoC line is mostly used in home routers and is some cheaper
-+        alternative for Northstar family.
-+
-+        The base chip is BCM53573 and there are some packaging modifications
-+        like BCM47189 and BCM47452.
-+
- config ARCH_BCM_63XX
-       bool "Broadcom BCM63xx DSL SoC" if ARCH_MULTI_V7
-       depends on MMU
diff --git a/target/linux/bcm53xx/patches-4.4/044-0001-ARM-BCM5301X-Add-DT-for-Netgear-R8500.patch b/target/linux/bcm53xx/patches-4.4/044-0001-ARM-BCM5301X-Add-DT-for-Netgear-R8500.patch
deleted file mode 100644 (file)
index 954e8f9..0000000
+++ /dev/null
@@ -1,136 +0,0 @@
-From b5057e498da8211ac3cc8ff5780034e5da61d077 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
-Date: Tue, 23 Aug 2016 08:40:32 +0200
-Subject: [PATCH] ARM: BCM5301X: Add DT for Netgear R8500
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Netgear R8500 is another BCM47094 device, it just has three BCM4366
-wireless chipsets. It's a very standard DT with mostly GPIO devices.
-
-Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
- arch/arm/boot/dts/Makefile                   |   1 +
- arch/arm/boot/dts/bcm47094-netgear-r8500.dts | 104 +++++++++++++++++++++++++++
- 2 files changed, 105 insertions(+)
- create mode 100644 arch/arm/boot/dts/bcm47094-netgear-r8500.dts
-
---- a/arch/arm/boot/dts/Makefile
-+++ b/arch/arm/boot/dts/Makefile
-@@ -77,6 +77,7 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
-       bcm4709-netgear-r7000.dtb \
-       bcm4709-netgear-r8000.dtb \
-       bcm47094-dlink-dir-885l.dtb \
-+      bcm47094-netgear-r8500.dtb \
-       bcm94708.dtb \
-       bcm94709.dtb \
-       bcm953012er.dtb \
---- /dev/null
-+++ b/arch/arm/boot/dts/bcm47094-netgear-r8500.dts
-@@ -0,0 +1,104 @@
-+/*
-+ * Copyright (C) 2016 Rafał Miłecki <rafal@milecki.pl>
-+ *
-+ * Licensed under the ISC license.
-+ */
-+
-+/dts-v1/;
-+
-+#include "bcm4708.dtsi"
-+#include "bcm5301x-nand-cs0-bch8.dtsi"
-+
-+/ {
-+      compatible = "netgear,r8500", "brcm,bcm47094", "brcm,bcm4708";
-+      model = "Netgear R8500";
-+
-+      chosen {
-+              bootargs = "console=ttyS0,115200";
-+      };
-+
-+      memory {
-+              reg = <0x00000000 0x08000000>;
-+      };
-+
-+      leds {
-+              compatible = "gpio-leds";
-+
-+              power0 {
-+                      label = "bcm53xx:white:power";
-+                      gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
-+                      linux,default-trigger = "default-on";
-+              };
-+
-+              power1 {
-+                      label = "bcm53xx:amber:power";
-+                      gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
-+                      linux,default-trigger = "default-off";
-+              };
-+
-+              5ghz-1 {
-+                      label = "bcm53xx:white:5ghz-1";
-+                      gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
-+                      linux,default-trigger = "default-off";
-+              };
-+
-+              5ghz-2 {
-+                      label = "bcm53xx:white:5ghz-2";
-+                      gpios = <&chipcommon 12 GPIO_ACTIVE_LOW>;
-+                      linux,default-trigger = "default-off";
-+              };
-+
-+              2ghz {
-+                      label = "bcm53xx:white:2ghz";
-+                      gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
-+                      linux,default-trigger = "default-off";
-+              };
-+
-+              usb2 {
-+                      label = "bcm53xx:white:usb2";
-+                      gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
-+                      linux,default-trigger = "default-off";
-+              };
-+
-+              usb3 {
-+                      label = "bcm53xx:white:usb3";
-+                      gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>;
-+                      linux,default-trigger = "default-off";
-+              };
-+      };
-+
-+      gpio-keys {
-+              compatible = "gpio-keys";
-+              #address-cells = <1>;
-+              #size-cells = <0>;
-+
-+              brightness {
-+                      label = "Backlight";
-+                      linux,code = <KEY_BRIGHTNESS_ZERO>;
-+                      gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
-+              };
-+
-+              restart {
-+                      label = "Reset";
-+                      linux,code = <KEY_RESTART>;
-+                      gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
-+              };
-+
-+              wps {
-+                      label = "WPS";
-+                      linux,code = <KEY_WPS_BUTTON>;
-+                      gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
-+              };
-+
-+              rfkill {
-+                      label = "WiFi";
-+                      linux,code = <KEY_RFKILL>;
-+                      gpios = <&chipcommon 20 GPIO_ACTIVE_LOW>;
-+              };
-+      };
-+};
-+
-+&uart0 {
-+      status = "okay";
-+      clock-frequency = <125000000>;
-+};
diff --git a/target/linux/bcm53xx/patches-4.4/044-0002-ARM-BCM5301X-Add-basic-dts-for-BCM53573-based-Tenda-.patch b/target/linux/bcm53xx/patches-4.4/044-0002-ARM-BCM5301X-Add-basic-dts-for-BCM53573-based-Tenda-.patch
deleted file mode 100644 (file)
index a1c462d..0000000
+++ /dev/null
@@ -1,264 +0,0 @@
-From 21c29be6a69d3ef4f5a2e16272deb4845f8208ad Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
-Date: Tue, 23 Aug 2016 07:37:43 +0200
-Subject: [PATCH] ARM: BCM5301X: Add basic dts for BCM53573 based Tenda AC9
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-BCM53573 seems to be low priced alternative for Northstar chipsts. It
-uses single core Cortex-A7 and doesn't have SDU or local (TWD) timer. It
-was also stripped out of independent SPI controller and 2 GMACs.
-
-DTS for Tenda AC9 isn't completed yet. It misses e.g. switch entry (we
-still need some b53 fixes) and probably some clocks. It adds support for
-basic features however and can be improved later.
-
-Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
- arch/arm/boot/dts/Makefile               |   2 +
- arch/arm/boot/dts/bcm47189-tenda-ac9.dts |  74 ++++++++++++++++
- arch/arm/boot/dts/bcm53573.dtsi          | 147 +++++++++++++++++++++++++++++++
- 3 files changed, 223 insertions(+)
- create mode 100644 arch/arm/boot/dts/bcm47189-tenda-ac9.dts
- create mode 100644 arch/arm/boot/dts/bcm53573.dtsi
-
---- a/arch/arm/boot/dts/Makefile
-+++ b/arch/arm/boot/dts/Makefile
-@@ -82,6 +82,8 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
-       bcm94709.dtb \
-       bcm953012er.dtb \
-       bcm953012k.dtb
-+dtb-$(CONFIG_ARCH_BCM_53573) += \
-+      bcm47189-tenda-ac9.dtb
- dtb-$(CONFIG_ARCH_BCM_63XX) += \
-       bcm963138dvt.dtb
- dtb-$(CONFIG_ARCH_BCM_CYGNUS) += \
---- /dev/null
-+++ b/arch/arm/boot/dts/bcm47189-tenda-ac9.dts
-@@ -0,0 +1,74 @@
-+/*
-+ * Copyright (C) 2016 Rafał Miłecki <rafal@milecki.pl>
-+ *
-+ * Licensed under the ISC license.
-+ */
-+
-+/dts-v1/;
-+
-+#include "bcm53573.dtsi"
-+
-+/ {
-+      compatible = "tenda,ac9", "brcm,bcm47189", "brcm,bcm53573";
-+      model = "Tenda AC9";
-+
-+      chosen {
-+              bootargs = "console=ttyS0,115200 earlycon";
-+      };
-+
-+      memory {
-+              reg = <0x00000000 0x08000000>;
-+      };
-+
-+      leds {
-+              compatible = "gpio-leds";
-+
-+              usb {
-+                      label = "bcm53xx:blue:usb";
-+                      gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>;
-+                      linux,default-trigger = "default-off";
-+              };
-+
-+              wps {
-+                      label = "bcm53xx:blue:wps";
-+                      gpios = <&chipcommon 10 GPIO_ACTIVE_HIGH>;
-+                      linux,default-trigger = "default-off";
-+              };
-+
-+              5ghz {
-+                      label = "bcm53xx:blue:5ghz";
-+                      gpios = <&chipcommon 11 GPIO_ACTIVE_HIGH>;
-+                      linux,default-trigger = "default-off";
-+              };
-+
-+              system {
-+                      label = "bcm53xx:blue:system";
-+                      gpios = <&chipcommon 15 GPIO_ACTIVE_HIGH>;
-+                      linux,default-trigger = "timer";
-+              };
-+      };
-+
-+      gpio-keys {
-+              compatible = "gpio-keys";
-+              #address-cells = <1>;
-+              #size-cells = <0>;
-+
-+              rfkill {
-+                      label = "WiFi";
-+                      linux,code = <KEY_RFKILL>;
-+                      gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
-+              };
-+
-+              restart {
-+                      label = "Reset";
-+                      linux,code = <KEY_RESTART>;
-+                      gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
-+              };
-+
-+              wps {
-+                      label = "WPS";
-+                      linux,code = <KEY_WPS_BUTTON>;
-+                      gpios = <&chipcommon 9 GPIO_ACTIVE_LOW>;
-+              };
-+      };
-+};
---- /dev/null
-+++ b/arch/arm/boot/dts/bcm53573.dtsi
-@@ -0,0 +1,147 @@
-+/*
-+ * Copyright (C) 2016 Rafał Miłecki <rafal@milecki.pl>
-+ *
-+ * Licensed under the ISC license.
-+ */
-+
-+#include <dt-bindings/gpio/gpio.h>
-+#include <dt-bindings/input/input.h>
-+#include <dt-bindings/interrupt-controller/irq.h>
-+#include <dt-bindings/interrupt-controller/arm-gic.h>
-+#include "skeleton.dtsi"
-+
-+/ {
-+      interrupt-parent = <&gic>;
-+
-+      chosen {
-+              stdout-path = &uart0;
-+      };
-+
-+      cpus {
-+              #address-cells = <1>;
-+              #size-cells = <0>;
-+
-+              cpu@0 {
-+                      device_type = "cpu";
-+                      compatible = "arm,cortex-a7";
-+                      reg = <0x0>;
-+              };
-+      };
-+
-+      mpcore {
-+              compatible = "simple-bus";
-+              ranges = <0x00000000 0x18310000 0x00008000>;
-+              #address-cells = <1>;
-+              #size-cells = <1>;
-+
-+              gic: interrupt-controller@1000 {
-+                      compatible = "arm,cortex-a7-gic";
-+                      #interrupt-cells = <3>;
-+                      #address-cells = <0>;
-+                      interrupt-controller;
-+                      reg = <0x1000 0x1000>,
-+                            <0x2000 0x0100>;
-+              };
-+      };
-+
-+      clocks {
-+              #address-cells = <1>;
-+              #size-cells = <1>;
-+              ranges;
-+
-+              alp: oscillator {
-+                      #clock-cells = <0>;
-+                      compatible = "fixed-clock";
-+                      clock-frequency = <40000000>;
-+              };
-+      };
-+
-+      axi@18000000 {
-+              compatible = "brcm,bus-axi";
-+              reg = <0x18000000 0x1000>;
-+              ranges = <0x00000000 0x18000000 0x00100000>;
-+              #address-cells = <1>;
-+              #size-cells = <1>;
-+
-+              #interrupt-cells = <1>;
-+              interrupt-map-mask = <0x000fffff 0xffff>;
-+              interrupt-map =
-+                      /* ChipCommon */
-+                      <0x00000000 0 &gic GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
-+
-+                      /* IEEE 802.11 0 */
-+                      <0x00001000 0 &gic GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
-+
-+                      /* PCIe Controller 0 */
-+                      <0x00002000 0 &gic GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
-+                      <0x00002000 1 &gic GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
-+                      <0x00002000 2 &gic GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
-+                      <0x00002000 3 &gic GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
-+                      <0x00002000 4 &gic GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
-+                      <0x00002000 5 &gic GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
-+
-+                      /* USB 2.0 Controller */
-+                      <0x00004000 0 &gic GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
-+
-+                      /* Ethernet Controller 0 */
-+                      <0x00005000 0 &gic GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>,
-+
-+                      /* IEEE 802.11 1 */
-+                      <0x0000a000 0 &gic GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
-+
-+                      /* Ethernet Controller 1 */
-+                      <0x0000b000 0 &gic GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
-+
-+              chipcommon: chipcommon@0 {
-+                      compatible = "simple-bus";
-+                      reg = <0x00000000 0x1000>;
-+                      ranges;
-+
-+                      #address-cells = <1>;
-+                      #size-cells = <1>;
-+
-+                      gpio-controller;
-+                      #gpio-cells = <2>;
-+
-+                      uart0: serial@0300 {
-+                              compatible = "ns16550a";
-+                              reg = <0x0300 0x100>;
-+                              interrupt-parent = <&gic>;
-+                              interrupts = <GIC_PPI 16 IRQ_TYPE_LEVEL_HIGH>;
-+                              clocks = <&alp>;
-+                              status = "okay";
-+                      };
-+              };
-+
-+              usb2: usb2@4000 {
-+                      reg = <0x4000 0x1000>;
-+                      ranges;
-+                      #address-cells = <1>;
-+                      #size-cells = <1>;
-+
-+                      ehci: ehci@4000 {
-+                              compatible = "generic-ehci";
-+                              reg = <0x4000 0x1000>;
-+                              interrupt-parent = <&gic>;
-+                              interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
-+                      };
-+
-+                      ohci: ohci@d000 {
-+                              #usb-cells = <0>;
-+
-+                              compatible = "generic-ohci";
-+                              reg = <0xd000 0x1000>;
-+                              interrupt-parent = <&gic>;
-+                              interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
-+                      };
-+              };
-+
-+              gmac0: ethernet@5000 {
-+                      reg = <0x5000 0x1000>;
-+              };
-+
-+              gmac1: ethernet@b000 {
-+                      reg = <0xb000 0x1000>;
-+              };
-+      };
-+};
diff --git a/target/linux/bcm53xx/patches-4.4/044-0003-ARM-BCM5301X-Add-separated-DTS-include-file-for-BCM4.patch b/target/linux/bcm53xx/patches-4.4/044-0003-ARM-BCM5301X-Add-separated-DTS-include-file-for-BCM4.patch
deleted file mode 100644 (file)
index 43c4574..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-From 345fd105ff676ef672d1e41b31165b47aa040dab Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
-Date: Wed, 21 Sep 2016 22:58:32 +0200
-Subject: [PATCH] ARM: BCM5301X: Add separated DTS include file for BCM47094
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Use it to store BCM47094 specific properties/values and avoid repeating
-them in device DTS files.
-
-Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
- arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts |  3 +--
- arch/arm/boot/dts/bcm47094-netgear-r8500.dts  |  3 +--
- arch/arm/boot/dts/bcm47094.dtsi               | 11 +++++++++++
- 3 files changed, 13 insertions(+), 4 deletions(-)
- create mode 100644 arch/arm/boot/dts/bcm47094.dtsi
-
---- a/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
-+++ b/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
-@@ -9,7 +9,7 @@
- /dts-v1/;
--#include "bcm4708.dtsi"
-+#include "bcm47094.dtsi"
- #include "bcm5301x-nand-cs0-bch1.dtsi"
- / {
-@@ -107,7 +107,6 @@
- &uart0 {
-       status = "okay";
--      clock-frequency = <125000000>;
- };
- &usb3 {
---- a/arch/arm/boot/dts/bcm47094-netgear-r8500.dts
-+++ b/arch/arm/boot/dts/bcm47094-netgear-r8500.dts
-@@ -6,7 +6,7 @@
- /dts-v1/;
--#include "bcm4708.dtsi"
-+#include "bcm47094.dtsi"
- #include "bcm5301x-nand-cs0-bch8.dtsi"
- / {
-@@ -100,5 +100,4 @@
- &uart0 {
-       status = "okay";
--      clock-frequency = <125000000>;
- };
---- /dev/null
-+++ b/arch/arm/boot/dts/bcm47094.dtsi
-@@ -0,0 +1,11 @@
-+/*
-+ * Copyright (C) 2016 Rafał Miłecki <rafal@milecki.pl>
-+ *
-+ * Licensed under the ISC license.
-+ */
-+
-+#include "bcm4708.dtsi"
-+
-+&uart0 {
-+      clock-frequency = <125000000>;
-+};
diff --git a/target/linux/bcm53xx/patches-4.4/044-0004-ARM-BCM5301X-Enable-UART-on-Netgear-R8000.patch b/target/linux/bcm53xx/patches-4.4/044-0004-ARM-BCM5301X-Enable-UART-on-Netgear-R8000.patch
deleted file mode 100644 (file)
index 65dc796..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-From 3ede027b3dce2fca07350b7587c7c8f44706c94c Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
-Date: Wed, 21 Sep 2016 22:58:33 +0200
-Subject: [PATCH] ARM: BCM5301X: Enable UART on Netgear R8000
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-It was tested by LEDE users, all we need is to adjust clock frequency.
-While we're at it create a separated DTS include file to share code with
-other BCM4709 devices easier.
-
-Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
- arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts       |  2 +-
- arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts |  2 +-
- arch/arm/boot/dts/bcm4709-netgear-r7000.dts       |  2 +-
- arch/arm/boot/dts/bcm4709-netgear-r8000.dts       |  6 +++++-
- arch/arm/boot/dts/bcm4709.dtsi                    | 11 +++++++++++
- 5 files changed, 19 insertions(+), 4 deletions(-)
- create mode 100644 arch/arm/boot/dts/bcm4709.dtsi
-
---- a/arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts
-+++ b/arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts
-@@ -9,7 +9,7 @@
- /dts-v1/;
--#include "bcm4708.dtsi"
-+#include "bcm4709.dtsi"
- #include "bcm5301x-nand-cs0-bch8.dtsi"
- / {
---- a/arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts
-+++ b/arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts
-@@ -9,7 +9,7 @@
- /dts-v1/;
--#include "bcm4708.dtsi"
-+#include "bcm4709.dtsi"
- #include "bcm5301x-nand-cs0-bch8.dtsi"
- / {
---- a/arch/arm/boot/dts/bcm4709-netgear-r7000.dts
-+++ b/arch/arm/boot/dts/bcm4709-netgear-r7000.dts
-@@ -9,7 +9,7 @@
- /dts-v1/;
--#include "bcm4708.dtsi"
-+#include "bcm4709.dtsi"
- #include "bcm5301x-nand-cs0-bch8.dtsi"
- / {
---- a/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
-+++ b/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
-@@ -9,7 +9,7 @@
- /dts-v1/;
--#include "bcm4708.dtsi"
-+#include "bcm4709.dtsi"
- #include "bcm5301x-nand-cs0-bch8.dtsi"
- / {
-@@ -107,6 +107,10 @@
-       };
- };
-+&uart0 {
-+      status = "okay";
-+};
-+
- &usb2 {
-       vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
- };
---- /dev/null
-+++ b/arch/arm/boot/dts/bcm4709.dtsi
-@@ -0,0 +1,11 @@
-+/*
-+ * Copyright (C) 2016 Rafał Miłecki <rafal@milecki.pl>
-+ *
-+ * Licensed under the ISC license.
-+ */
-+
-+#include "bcm4708.dtsi"
-+
-+&uart0 {
-+      clock-frequency = <125000000>;
-+};
diff --git a/target/linux/bcm53xx/patches-4.4/044-0005-ARM-BCM5301X-Specify-USB-3.0-PHY-in-DT.patch b/target/linux/bcm53xx/patches-4.4/044-0005-ARM-BCM5301X-Specify-USB-3.0-PHY-in-DT.patch
deleted file mode 100644 (file)
index 73bc90e..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-From 5b92db97f4ae345bd6f045c9427471680a7fe2e7 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
-Date: Wed, 21 Sep 2016 22:58:34 +0200
-Subject: [PATCH] ARM: BCM5301X: Specify USB 3.0 PHY in DT
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Driver for Northstar USB 3.0 PHY has been recently added under the name
-phy-bcm-ns-usb3. Add binding for it into the DT files.
-The only slightly tricky part is BCM47094 which uses different PHY
-version and requires different compatible value.
-
-Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
- arch/arm/boot/dts/bcm47094.dtsi | 6 ++++++
- arch/arm/boot/dts/bcm5301x.dtsi | 7 +++++++
- 2 files changed, 13 insertions(+)
-
---- a/arch/arm/boot/dts/bcm47094.dtsi
-+++ b/arch/arm/boot/dts/bcm47094.dtsi
-@@ -6,6 +6,12 @@
- #include "bcm4708.dtsi"
-+/ {
-+      usb3_phy: usb3-phy {
-+              compatible = "brcm,ns-bx-usb3-phy";
-+      };
-+};
-+
- &uart0 {
-       clock-frequency = <125000000>;
- };
---- a/arch/arm/boot/dts/bcm5301x.dtsi
-+++ b/arch/arm/boot/dts/bcm5301x.dtsi
-@@ -149,6 +149,13 @@
-               clock-names = "phy-ref-clk";
-       };
-+      usb3_phy: usb3-phy {
-+              compatible = "brcm,ns-ax-usb3-phy";
-+              reg = <0x18105000 0x1000>, <0x18003000 0x1000>;
-+              reg-names = "dmp", "ccb-mii";
-+              #phy-cells = <0>;
-+      };
-+
-       axi@18000000 {
-               compatible = "brcm,bus-axi";
-               reg = <0x18000000 0x1000>;
diff --git a/target/linux/bcm53xx/patches-4.4/044-0006-ARM-BCM5301X-Add-DT-for-Luxul-XAP-1510.patch b/target/linux/bcm53xx/patches-4.4/044-0006-ARM-BCM5301X-Add-DT-for-Luxul-XAP-1510.patch
deleted file mode 100644 (file)
index 3052bd0..0000000
+++ /dev/null
@@ -1,93 +0,0 @@
-From 46daccf62d1651bf8b09978478ca6465a7a81f47 Mon Sep 17 00:00:00 2001
-From: Dan Haab <dhaab@luxul.com>
-Date: Tue, 27 Sep 2016 11:27:10 -0600
-Subject: [PATCH] ARM: BCM5301X: Add DT for Luxul XAP-1510
-
-Luxul XAP-1510 is an AP device based on BCM4708 SoC with 2 x BCM4360
-chipsets on PCB connected using PCIe.
-
-Signed-off-by: Dan Haab <dhaab@luxul.com>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
- arch/arm/boot/dts/Makefile                   |  1 +
- arch/arm/boot/dts/bcm4708-luxul-xap-1510.dts | 64 ++++++++++++++++++++++++++++
- 2 files changed, 65 insertions(+)
- create mode 100644 arch/arm/boot/dts/bcm4708-luxul-xap-1510.dts
-
---- a/arch/arm/boot/dts/Makefile
-+++ b/arch/arm/boot/dts/Makefile
-@@ -65,6 +65,7 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
-       bcm4708-asus-rt-ac56u.dtb \
-       bcm4708-asus-rt-ac68u.dtb \
-       bcm4708-buffalo-wzr-1750dhp.dtb \
-+      bcm4708-luxul-xap-1510.dtb \
-       bcm4708-luxul-xwc-1000.dtb \
-       bcm4708-netgear-r6250.dtb \
-       bcm4708-netgear-r6300-v2.dtb \
---- /dev/null
-+++ b/arch/arm/boot/dts/bcm4708-luxul-xap-1510.dts
-@@ -0,0 +1,64 @@
-+/*
-+ * Copyright 2016 Luxul Inc.
-+ *
-+ * Licensed under the ISC license.
-+ */
-+
-+/dts-v1/;
-+
-+#include "bcm4708.dtsi"
-+
-+/ {
-+      compatible = "luxul,xap-1510v1", "brcm,bcm4708";
-+      model = "Luxul XAP-1510 V1";
-+
-+      chosen {
-+              bootargs = "console=ttyS0,115200 earlycon";
-+      };
-+
-+      memory {
-+              reg = <0x00000000 0x08000000>;
-+      };
-+
-+      leds {
-+              compatible = "gpio-leds";
-+
-+              5ghz {
-+                      label = "bcm53xx:blue:5ghz";
-+                      gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
-+                      linux,default-trigger = "none";
-+              };
-+
-+              2ghz {
-+                      label = "bcm53xx:blue:2ghz";
-+                      gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
-+                      linux,default-trigger = "none";
-+              };
-+
-+              status {
-+                      label = "bcm53xx:green:status";
-+                      gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;
-+                      linux,default-trigger = "timer";
-+              };
-+      };
-+
-+      gpio-keys {
-+              compatible = "gpio-keys";
-+              #address-cells = <1>;
-+              #size-cells = <0>;
-+
-+              restart {
-+                      label = "Reset";
-+                      linux,code = <KEY_RESTART>;
-+                      gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
-+              };
-+      };
-+};
-+
-+&uart0 {
-+      status = "okay";
-+};
-+
-+&spi_nor {
-+      status = "okay";
-+};
diff --git a/target/linux/bcm53xx/patches-4.4/044-0007-ARM-BCM5301X-Add-DT-for-Luxul-XWR-3100.patch b/target/linux/bcm53xx/patches-4.4/044-0007-ARM-BCM5301X-Add-DT-for-Luxul-XWR-3100.patch
deleted file mode 100644 (file)
index 3067af8..0000000
+++ /dev/null
@@ -1,159 +0,0 @@
-From ef3bc318adeb15b38688df6a583bafea2befce43 Mon Sep 17 00:00:00 2001
-From: Dan Haab <dhaab@luxul.com>
-Date: Tue, 27 Sep 2016 11:27:11 -0600
-Subject: [PATCH] ARM: BCM5301X: Add DT for Luxul XWR-3100
-
-Luxul XWR-3100 is a wireless router based on BCM47094 SoC with two
-4366c0 FullMAC PCIe cards on the PCB. It uses NAND with BCH-4 ECC
-algorithm.
-
-Signed-off-by: Dan Haab <dhaab@luxul.com>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
- arch/arm/boot/dts/Makefile                    |   1 +
- arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts | 111 ++++++++++++++++++++++++++
- arch/arm/boot/dts/bcm5301x-nand-cs0-bch4.dtsi |  13 +++
- 3 files changed, 125 insertions(+)
- create mode 100644 arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts
- create mode 100644 arch/arm/boot/dts/bcm5301x-nand-cs0-bch4.dtsi
-
---- a/arch/arm/boot/dts/Makefile
-+++ b/arch/arm/boot/dts/Makefile
-@@ -78,6 +78,7 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
-       bcm4709-netgear-r7000.dtb \
-       bcm4709-netgear-r8000.dtb \
-       bcm47094-dlink-dir-885l.dtb \
-+      bcm47094-luxul-xwr-3100.dtb \
-       bcm47094-netgear-r8500.dtb \
-       bcm94708.dtb \
-       bcm94709.dtb \
---- /dev/null
-+++ b/arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts
-@@ -0,0 +1,111 @@
-+/*
-+ * Copyright 2016 Luxul Inc.
-+ *
-+ * Licensed under the ISC license.
-+ */
-+
-+/dts-v1/;
-+
-+#include "bcm47094.dtsi"
-+#include "bcm5301x-nand-cs0-bch4.dtsi"
-+
-+/ {
-+      compatible = "luxul,xwr-3100v1", "brcm,bcm47094", "brcm,bcm4708";
-+      model = "Luxul XWR-3100 V1";
-+
-+      chosen {
-+              bootargs = "console=ttyS0,115200 earlycon";
-+      };
-+
-+      memory {
-+              reg = <0x00000000 0x08000000>;
-+      };
-+
-+      leds {
-+              compatible = "gpio-leds";
-+
-+              power   {
-+                      label = "bcm53xx:green:power";
-+                      gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
-+                      linux,default-trigger = "default-on";
-+              };
-+
-+              lan3    {
-+                      label = "bcm53xx:green:lan1";
-+                      gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
-+                      linux,default-trigger = "default-off";
-+              };
-+
-+              lan4    {
-+                      label = "bcm53xx:green:lan0";
-+                      gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
-+                      linux,default-trigger = "default-off";
-+              };
-+
-+              wan     {
-+                      label = "bcm53xx:green:wan";
-+                      gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
-+                      linux,default-trigger = "default-off";
-+              };
-+
-+              lan1    {
-+                      label = "bcm53xx:green:lan3";
-+                      gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
-+                      linux,default-trigger = "default-off";
-+              };
-+
-+              lan2    {
-+                      label = "bcm53xx:green:lan2";
-+                      gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
-+                      linux,default-trigger = "default-off";
-+              };
-+
-+              usb3    {
-+                      label = "bcm53xx:green:usb3";
-+                      gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
-+                      linux,default-trigger = "default-off";
-+              };
-+
-+              status  {
-+                      label = "bcm53xx:green:status";
-+                      gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
-+                      linux,default-trigger = "timer";
-+              };
-+
-+              2ghz {
-+                      label = "bcm53xx:green:2ghz";
-+                      gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
-+                      linux,default-trigger = "default-off";
-+              };
-+
-+              5ghz {
-+                      label = "bcm53xx:green:5ghz";
-+                      gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
-+                      linux,default-trigger = "default-off";
-+              };
-+      };
-+
-+      gpio-keys {
-+              compatible = "gpio-keys";
-+              #address-cells = <1>;
-+              #size-cells = <0>;
-+
-+              restart {
-+                      label = "Reset";
-+                      linux,code = <KEY_RESTART>;
-+                      gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
-+              };
-+      };
-+};
-+
-+&uart0 {
-+      status = "okay";
-+};
-+
-+&usb3 {
-+      vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>;
-+};
-+
-+&spi_nor {
-+      status = "okay";
-+};
---- /dev/null
-+++ b/arch/arm/boot/dts/bcm5301x-nand-cs0-bch4.dtsi
-@@ -0,0 +1,13 @@
-+/*
-+ * Copyright 2016 Luxul Inc.
-+ *
-+ * Licensed under the ISC license.
-+ */
-+
-+#include "bcm5301x-nand-cs0.dtsi"
-+
-+&nandcs {
-+      nand-ecc-algo = "bch";
-+      nand-ecc-strength = <4>;
-+      nand-ecc-step-size = <512>;
-+};
diff --git a/target/linux/bcm53xx/patches-4.4/044-0008-ARM-BCM53573-Specify-PMU-and-its-ILP-clock-in-the-DT.patch b/target/linux/bcm53xx/patches-4.4/044-0008-ARM-BCM53573-Specify-PMU-and-its-ILP-clock-in-the-DT.patch
deleted file mode 100644 (file)
index b6e9c4a..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-From 547f23183d9d77b51754689a71e3e58d085ccaec Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
-Date: Sat, 17 Sep 2016 22:13:46 +0200
-Subject: [PATCH] ARM: BCM53573: Specify PMU and its ILP clock in the DT
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-ILP clock (sometimes called a "slow clock") is a part of PMU (Power
-Management Unit). There has been recently added a driver for it, so add
-a proper entry in the DT as well.
-
-Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
- arch/arm/boot/dts/bcm53573.dtsi | 12 ++++++++++++
- 1 file changed, 12 insertions(+)
-
---- a/arch/arm/boot/dts/bcm53573.dtsi
-+++ b/arch/arm/boot/dts/bcm53573.dtsi
-@@ -143,5 +143,17 @@
-               gmac1: ethernet@b000 {
-                       reg = <0xb000 0x1000>;
-               };
-+
-+              pmu@12000 {
-+                      compatible = "simple-mfd", "syscon";
-+                      reg = <0x00012000 0x00001000>;
-+
-+                      ilp: ilp {
-+                              compatible = "brcm,bcm53573-ilp";
-+                              clocks = <&alp>;
-+                              #clock-cells = <0>;
-+                              clock-output-names = "ilp";
-+                      };
-+              };
-       };
- };
diff --git a/target/linux/bcm53xx/patches-4.4/044-0009-ARM-BCM5301X-Add-DT-for-TP-LINK-Archer-C9-V1.patch b/target/linux/bcm53xx/patches-4.4/044-0009-ARM-BCM5301X-Add-DT-for-TP-LINK-Archer-C9-V1.patch
deleted file mode 100644 (file)
index 5b2aa26..0000000
+++ /dev/null
@@ -1,146 +0,0 @@
-From 41182beb217c47cfbaaf26a60f22a8b3943faa61 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
-Date: Sun, 13 Nov 2016 11:12:09 +0100
-Subject: [PATCH] ARM: BCM5301X: Add DT for TP-LINK Archer C9 V1
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-It's BCM4709A0 based device with 16 MiB flash, 128 MiB of RAM and two
-PCIe based on-PCB BCM4360 chipsets.
-
-Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
- arch/arm/boot/dts/Makefile                        |   1 +
- arch/arm/boot/dts/bcm4709-tplink-archer-c9-v1.dts | 114 ++++++++++++++++++++++
- 2 files changed, 115 insertions(+)
- create mode 100644 arch/arm/boot/dts/bcm4709-tplink-archer-c9-v1.dts
-
---- a/arch/arm/boot/dts/Makefile
-+++ b/arch/arm/boot/dts/Makefile
-@@ -77,6 +77,7 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
-       bcm4709-buffalo-wxr-1900dhp.dtb \
-       bcm4709-netgear-r7000.dtb \
-       bcm4709-netgear-r8000.dtb \
-+      bcm4709-tplink-archer-c9-v1.dtb \
-       bcm47094-dlink-dir-885l.dtb \
-       bcm47094-luxul-xwr-3100.dtb \
-       bcm47094-netgear-r8500.dtb \
---- /dev/null
-+++ b/arch/arm/boot/dts/bcm4709-tplink-archer-c9-v1.dts
-@@ -0,0 +1,114 @@
-+/*
-+ * Copyright (C) 2016 Rafał Miłecki <rafal@milecki.pl>
-+ *
-+ * Licensed under the ISC license.
-+ */
-+
-+/dts-v1/;
-+
-+#include "bcm4709.dtsi"
-+
-+/ {
-+      compatible = "tplink,archer-c9-v1", "brcm,bcm4709", "brcm,bcm4708";
-+      model = "TP-LINK Archer C9 V1";
-+
-+      chosen {
-+              bootargs = "console=ttyS0,115200 earlycon";
-+      };
-+
-+      memory {
-+              reg = <0x00000000 0x08000000>;
-+      };
-+
-+      leds {
-+              compatible = "gpio-leds";
-+
-+              lan {
-+                      label = "bcm53xx:blue:lan";
-+                      gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>;
-+                      linux,default-trigger = "default-off";
-+              };
-+
-+              wps {
-+                      label = "bcm53xx:blue:wps";
-+                      gpios = <&chipcommon 2 GPIO_ACTIVE_HIGH>;
-+                      linux,default-trigger = "default-off";
-+              };
-+
-+              2ghz {
-+                      label = "bcm53xx:blue:2ghz";
-+                      gpios = <&chipcommon 4 GPIO_ACTIVE_HIGH>;
-+                      linux,default-trigger = "default-off";
-+              };
-+
-+              5ghz {
-+                      label = "bcm53xx:blue:5ghz";
-+                      gpios = <&chipcommon 5 GPIO_ACTIVE_HIGH>;
-+                      linux,default-trigger = "default-off";
-+              };
-+
-+              usb3 {
-+                      label = "bcm53xx:blue:usb3";
-+                      gpios = <&chipcommon 6 GPIO_ACTIVE_HIGH>;
-+                      linux,default-trigger = "default-off";
-+              };
-+
-+              usb2 {
-+                      label = "bcm53xx:blue:usb2";
-+                      gpios = <&chipcommon 7 GPIO_ACTIVE_HIGH>;
-+                      linux,default-trigger = "default-off";
-+              };
-+
-+              wan-blue {
-+                      label = "bcm53xx:blue:wan";
-+                      gpios = <&chipcommon 14 GPIO_ACTIVE_HIGH>;
-+                      linux,default-trigger = "default-off";
-+              };
-+
-+              wan-amber {
-+                      label = "bcm53xx:amber:wan";
-+                      gpios = <&chipcommon 15 GPIO_ACTIVE_HIGH>;
-+                      linux,default-trigger = "default-off";
-+              };
-+
-+              power {
-+                      label = "bcm53xx:blue:power";
-+                      gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>;
-+                      linux,default-trigger = "default-on";
-+              };
-+      };
-+
-+      gpio-keys {
-+              compatible = "gpio-keys";
-+              #address-cells = <1>;
-+              #size-cells = <0>;
-+
-+              wps {
-+                      label = "WPS";
-+                      linux,code = <KEY_WPS_BUTTON>;
-+                      gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
-+              };
-+
-+              restart {
-+                      label = "Reset";
-+                      linux,code = <KEY_RESTART>;
-+                      gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
-+              };
-+      };
-+};
-+
-+&uart0 {
-+      status = "okay";
-+};
-+
-+&usb2 {
-+      vcc-gpio = <&chipcommon 13 GPIO_ACTIVE_HIGH>;
-+};
-+
-+&usb3 {
-+      vcc-gpio = <&chipcommon 12 GPIO_ACTIVE_HIGH>;
-+};
-+
-+&spi_nor {
-+      status = "okay";
-+};
diff --git a/target/linux/bcm53xx/patches-4.4/045-ARM-BCM5301X-Add-back-handler-ignoring-external-impr.patch b/target/linux/bcm53xx/patches-4.4/045-ARM-BCM5301X-Add-back-handler-ignoring-external-impr.patch
deleted file mode 100644 (file)
index a4f32f5..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-From 09f3510fb70a46c8921f2cf4a90dbcae460a6820 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
-Date: Sat, 29 Oct 2016 13:12:29 +0200
-Subject: [PATCH] ARM: BCM5301X: Add back handler ignoring external imprecise
- aborts
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Since early BCM5301X days we got abort handler that was removed by
-commit 937b12306ea79 ("ARM: BCM5301X: remove workaround imprecise abort
-fault handler"). It assumed we need to deal only with pending aborts
-left by the bootloader. Unfortunately this isn't true for BCM5301X.
-
-When probing PCI config space (device enumeration) it is expected to
-have master aborts on the PCI bus. Most bridges don't forward (or they
-allow disabling it) these errors onto the AXI/AMBA bus but not the
-Northstar (BCM5301X) one.
-
-iProc PCIe controller on Northstar seems to be some older one, without
-a control register for errors forwarding. It means we need to workaround
-this at platform level. All newer platforms are not affected by this
-issue.
-
-Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
- arch/arm/mach-bcm/bcm_5301x.c | 28 ++++++++++++++++++++++++++++
- 1 file changed, 28 insertions(+)
-
---- a/arch/arm/mach-bcm/bcm_5301x.c
-+++ b/arch/arm/mach-bcm/bcm_5301x.c
-@@ -9,14 +9,42 @@
- #include <asm/hardware/cache-l2x0.h>
- #include <asm/mach/arch.h>
-+#include <asm/siginfo.h>
-+#include <asm/signal.h>
-+
-+#define FSR_EXTERNAL          (1 << 12)
-+#define FSR_READ              (0 << 10)
-+#define FSR_IMPRECISE         0x0406
- static const char *const bcm5301x_dt_compat[] __initconst = {
-       "brcm,bcm4708",
-       NULL,
- };
-+static int bcm5301x_abort_handler(unsigned long addr, unsigned int fsr,
-+                                struct pt_regs *regs)
-+{
-+      /*
-+       * We want to ignore aborts forwarded from the PCIe bus that are
-+       * expected and shouldn't really be passed by the PCIe controller.
-+       * The biggest disadvantage is the same FSR code may be reported when
-+       * reading non-existing APB register and we shouldn't ignore that.
-+       */
-+      if (fsr == (FSR_EXTERNAL | FSR_READ | FSR_IMPRECISE))
-+              return 0;
-+
-+      return 1;
-+}
-+
-+static void __init bcm5301x_init_early(void)
-+{
-+      hook_fault_code(16 + 6, bcm5301x_abort_handler, SIGBUS, BUS_OBJERR,
-+                      "imprecise external abort");
-+}
-+
- DT_MACHINE_START(BCM5301X, "BCM5301X")
-       .l2c_aux_val    = 0,
-       .l2c_aux_mask   = ~0,
-       .dt_compat      = bcm5301x_dt_compat,
-+      .init_early     = bcm5301x_init_early,
- MACHINE_END
diff --git a/target/linux/bcm53xx/patches-4.4/046-0001-ARM-BCM5301X-Enable-UART-by-default-for-BCM4708-1-BC.patch b/target/linux/bcm53xx/patches-4.4/046-0001-ARM-BCM5301X-Enable-UART-by-default-for-BCM4708-1-BC.patch
deleted file mode 100644 (file)
index cc10d21..0000000
+++ /dev/null
@@ -1,269 +0,0 @@
-From 2b354a7c56f375ba414b9b9c96f160f5749e5e64 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
-Date: Thu, 1 Dec 2016 18:40:51 +0100
-Subject: [PATCH 1/6] ARM: BCM5301X: Enable UART by default for BCM4708(1),
- BCM4709(4) & BCM53012
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Every device tested so far got UART0 (at 0x18000300) working as serial
-console. It's most likely part of reference design and all vendors use
-it that way.
-
-It seems to be easier to enable it by default and just disable it if we
-ever see a device with different hardware design.
-
-Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
-Acked-by: Jon Mason <jon.mason@broadcom.com>
-Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
- arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts  | 4 ----
- arch/arm/boot/dts/bcm4708-luxul-xap-1510.dts       | 4 ----
- arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts       | 4 ----
- arch/arm/boot/dts/bcm4708-netgear-r6250.dts        | 4 ----
- arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts      | 4 ----
- arch/arm/boot/dts/bcm4708.dtsi                     | 4 ++++
- arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts | 4 ----
- arch/arm/boot/dts/bcm47081.dtsi                    | 4 ++++
- arch/arm/boot/dts/bcm4709-netgear-r7000.dts        | 4 ----
- arch/arm/boot/dts/bcm4709-netgear-r8000.dts        | 4 ----
- arch/arm/boot/dts/bcm4709-tplink-archer-c9-v1.dts  | 4 ----
- arch/arm/boot/dts/bcm4709.dtsi                     | 1 +
- arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts      | 4 ----
- arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts      | 4 ----
- arch/arm/boot/dts/bcm47094-netgear-r8500.dts       | 4 ----
- arch/arm/boot/dts/bcm47094.dtsi                    | 1 +
- arch/arm/boot/dts/bcm94708.dts                     | 4 ----
- arch/arm/boot/dts/bcm94709.dts                     | 4 ----
- arch/arm/boot/dts/bcm953012er.dts                  | 4 ----
- arch/arm/boot/dts/bcm953012k.dts                   | 1 -
- 20 files changed, 10 insertions(+), 61 deletions(-)
-
---- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
-+++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
-@@ -136,10 +136,6 @@
-       };
- };
--&uart0 {
--      status = "okay";
--};
--
- &usb2 {
-       vcc-gpio = <&chipcommon 9 GPIO_ACTIVE_HIGH>;
- };
---- a/arch/arm/boot/dts/bcm4708-luxul-xap-1510.dts
-+++ b/arch/arm/boot/dts/bcm4708-luxul-xap-1510.dts
-@@ -55,10 +55,6 @@
-       };
- };
--&uart0 {
--      status = "okay";
--};
--
- &spi_nor {
-       status = "okay";
- };
---- a/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts
-+++ b/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts
-@@ -56,10 +56,6 @@
-       };
- };
--&uart0 {
--      status = "okay";
--};
--
- &spi_nor {
-       status = "okay";
- };
---- a/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
-+++ b/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
-@@ -83,10 +83,6 @@
-       };
- };
--&uart0 {
--      status = "okay";
--};
--
- &usb3 {
-       vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
- };
---- a/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts
-+++ b/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts
-@@ -119,10 +119,6 @@
-       };
- };
--&uart0 {
--      status = "okay";
--};
--
- &spi_nor {
-       status = "okay";
- };
---- a/arch/arm/boot/dts/bcm4708.dtsi
-+++ b/arch/arm/boot/dts/bcm4708.dtsi
-@@ -34,3 +34,7 @@
-       };
- };
-+
-+&uart0 {
-+      status = "okay";
-+};
---- a/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts
-+++ b/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts
-@@ -122,7 +122,3 @@
-               };
-       };
- };
--
--&uart0 {
--      status = "okay";
--};
---- a/arch/arm/boot/dts/bcm47081.dtsi
-+++ b/arch/arm/boot/dts/bcm47081.dtsi
-@@ -24,3 +24,7 @@
-               };
-       };
- };
-+
-+&uart0 {
-+      status = "okay";
-+};
---- a/arch/arm/boot/dts/bcm4709-netgear-r7000.dts
-+++ b/arch/arm/boot/dts/bcm4709-netgear-r7000.dts
-@@ -100,7 +100,3 @@
-               };
-       };
- };
--
--&uart0 {
--      status = "okay";
--};
---- a/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
-+++ b/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
-@@ -107,10 +107,6 @@
-       };
- };
--&uart0 {
--      status = "okay";
--};
--
- &usb2 {
-       vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
- };
---- a/arch/arm/boot/dts/bcm4709-tplink-archer-c9-v1.dts
-+++ b/arch/arm/boot/dts/bcm4709-tplink-archer-c9-v1.dts
-@@ -97,10 +97,6 @@
-       };
- };
--&uart0 {
--      status = "okay";
--};
--
- &usb2 {
-       vcc-gpio = <&chipcommon 13 GPIO_ACTIVE_HIGH>;
- };
---- a/arch/arm/boot/dts/bcm4709.dtsi
-+++ b/arch/arm/boot/dts/bcm4709.dtsi
-@@ -8,4 +8,5 @@
- &uart0 {
-       clock-frequency = <125000000>;
-+      status = "okay";
- };
---- a/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
-+++ b/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
-@@ -105,10 +105,6 @@
-       };
- };
--&uart0 {
--      status = "okay";
--};
--
- &usb3 {
-       vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>;
- };
---- a/arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts
-+++ b/arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts
-@@ -98,10 +98,6 @@
-       };
- };
--&uart0 {
--      status = "okay";
--};
--
- &usb3 {
-       vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>;
- };
---- a/arch/arm/boot/dts/bcm47094-netgear-r8500.dts
-+++ b/arch/arm/boot/dts/bcm47094-netgear-r8500.dts
-@@ -97,7 +97,3 @@
-               };
-       };
- };
--
--&uart0 {
--      status = "okay";
--};
---- a/arch/arm/boot/dts/bcm47094.dtsi
-+++ b/arch/arm/boot/dts/bcm47094.dtsi
-@@ -14,4 +14,5 @@
- &uart0 {
-       clock-frequency = <125000000>;
-+      status = "okay";
- };
---- a/arch/arm/boot/dts/bcm94708.dts
-+++ b/arch/arm/boot/dts/bcm94708.dts
-@@ -50,7 +50,3 @@
-               reg = <0x00000000 0x08000000>;
-       };
- };
--
--&uart0 {
--      status = "okay";
--};
---- a/arch/arm/boot/dts/bcm94709.dts
-+++ b/arch/arm/boot/dts/bcm94709.dts
-@@ -50,7 +50,3 @@
-               reg = <0x00000000 0x08000000>;
-       };
- };
--
--&uart0 {
--      status = "okay";
--};
---- a/arch/arm/boot/dts/bcm953012er.dts
-+++ b/arch/arm/boot/dts/bcm953012er.dts
-@@ -70,10 +70,6 @@
-       };
- };
--&uart0 {
--      status = "okay";
--};
--
- &spi_nor {
-       status = "okay";
- };
---- a/arch/arm/boot/dts/bcm953012k.dts
-+++ b/arch/arm/boot/dts/bcm953012k.dts
-@@ -54,7 +54,6 @@
- &uart0 {
-       clock-frequency = <62499840>;
--      status = "okay";
- };
- &uart1 {
diff --git a/target/linux/bcm53xx/patches-4.4/046-0002-ARM-BCM5301X-Fix-LAN-LED-labels-for-Luxul-XWR-3100.patch b/target/linux/bcm53xx/patches-4.4/046-0002-ARM-BCM5301X-Fix-LAN-LED-labels-for-Luxul-XWR-3100.patch
deleted file mode 100644 (file)
index 71c1d0c..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-From 24e24f72379638d598aec5d0525ef57d5bfc5c51 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
-Date: Wed, 7 Dec 2016 08:56:51 +0100
-Subject: [PATCH 2/6] ARM: BCM5301X: Fix LAN LED labels for Luxul XWR-3100
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-They were named incorrectly most likely due to copy & paste mistake.
-
-Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
- arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
---- a/arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts
-+++ b/arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts
-@@ -31,13 +31,13 @@
-               };
-               lan3    {
--                      label = "bcm53xx:green:lan1";
-+                      label = "bcm53xx:green:lan3";
-                       gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
-                       linux,default-trigger = "default-off";
-               };
-               lan4    {
--                      label = "bcm53xx:green:lan0";
-+                      label = "bcm53xx:green:lan4";
-                       gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
-                       linux,default-trigger = "default-off";
-               };
-@@ -49,7 +49,7 @@
-               };
-               lan1    {
--                      label = "bcm53xx:green:lan3";
-+                      label = "bcm53xx:green:lan1";
-                       gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
-                       linux,default-trigger = "default-off";
-               };
diff --git a/target/linux/bcm53xx/patches-4.4/046-0003-ARM-BCM5301X-Specify-USB-controllers-in-DT.patch b/target/linux/bcm53xx/patches-4.4/046-0003-ARM-BCM5301X-Specify-USB-controllers-in-DT.patch
deleted file mode 100644 (file)
index 5ecda17..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-From 45d2567b4b80a3f267502419aaad3d74b745dae7 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
-Date: Wed, 7 Dec 2016 08:56:52 +0100
-Subject: [PATCH 3/6] ARM: BCM5301X: Specify USB controllers in DT
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-There are 3 separated controllers, one per USB /standard/. With PHY
-drivers in place they can be simply supported with generic drivers.
-
-Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
-Reviewed-by: Ray Jui <ray.jui@broadcom.com>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
- arch/arm/boot/dts/bcm5301x.dtsi | 33 ++++++++++++++++++++++++++++++++-
- 1 file changed, 32 insertions(+), 1 deletion(-)
-
---- a/arch/arm/boot/dts/bcm5301x.dtsi
-+++ b/arch/arm/boot/dts/bcm5301x.dtsi
-@@ -248,8 +248,26 @@
-                       #address-cells = <1>;
-                       #size-cells = <1>;
-+                      ranges;
--                      phys = <&usb2_phy>;
-+                      interrupt-parent = <&gic>;
-+
-+                      ehci: ehci@21000 {
-+                              #usb-cells = <0>;
-+
-+                              compatible = "generic-ehci";
-+                              reg = <0x00021000 0x1000>;
-+                              interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
-+                              phys = <&usb2_phy>;
-+                      };
-+
-+                      ohci: ohci@22000 {
-+                              #usb-cells = <0>;
-+
-+                              compatible = "generic-ohci";
-+                              reg = <0x00022000 0x1000>;
-+                              interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
-+                      };
-               };
-               usb3: usb3@23000 {
-@@ -257,6 +275,19 @@
-                       #address-cells = <1>;
-                       #size-cells = <1>;
-+                      ranges;
-+
-+                      interrupt-parent = <&gic>;
-+
-+                      xhci: xhci@23000 {
-+                              #usb-cells = <0>;
-+
-+                              compatible = "generic-xhci";
-+                              reg = <0x00023000 0x1000>;
-+                              interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
-+                              phys = <&usb3_phy>;
-+                              phy-names = "usb";
-+                      };
-               };
-               spi@29000 {
diff --git a/target/linux/bcm53xx/patches-4.4/046-0004-ARM-BCM5301X-Set-GPIO-enabling-USB-power-on-Netgear-.patch b/target/linux/bcm53xx/patches-4.4/046-0004-ARM-BCM5301X-Set-GPIO-enabling-USB-power-on-Netgear-.patch
deleted file mode 100644 (file)
index 84d0009..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-From 1aca202b721ce8643f87a8f85a686595c1be6b60 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
-Date: Wed, 7 Dec 2016 08:56:53 +0100
-Subject: [PATCH 4/6] ARM: BCM5301X: Set GPIO enabling USB power on Netgear
- R7000
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-There is one GPIO controlling power for both USB ports.
-
-Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
- arch/arm/boot/dts/bcm4709-netgear-r7000.dts | 8 ++++++++
- 1 file changed, 8 insertions(+)
-
---- a/arch/arm/boot/dts/bcm4709-netgear-r7000.dts
-+++ b/arch/arm/boot/dts/bcm4709-netgear-r7000.dts
-@@ -100,3 +100,11 @@
-               };
-       };
- };
-+
-+&usb2 {
-+      vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
-+};
-+
-+&usb3 {
-+      vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
-+};
diff --git a/target/linux/bcm53xx/patches-4.4/046-0005-ARM-BCM5301X-Specify-all-RAM-by-including-an-extra-b.patch b/target/linux/bcm53xx/patches-4.4/046-0005-ARM-BCM5301X-Specify-all-RAM-by-including-an-extra-b.patch
deleted file mode 100644 (file)
index 05b7abe..0000000
+++ /dev/null
@@ -1,236 +0,0 @@
-From 94afd3b99c65072b76edd25f73bad89587b83261 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
-Date: Wed, 7 Dec 2016 08:56:54 +0100
-Subject: [PATCH 5/6] ARM: BCM5301X: Specify all RAM by including an extra
- block
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-The first 128 MiB of RAM can be accessed using an alias at address 0x0.
-
-In theory we could access whole RAM using 0x80000000 - 0xbfffffff range
-(up to 1 GiB) but it doesn't seem to work on Northstar. For some reason
-(hardware setup left by the bootloader maybe?) 0x80000000 - 0x87ffffff
-range can't be used. I reproduced this problem on:
-1) Buffalo WZR-600DHP2 (BCM47081)
-2) Netgear R6250 (BCM4708)
-3) D-Link DIR-885L (BCM47094)
-
-So it seems we're forced to access first 128 MiB using alias at 0x0 and
-the rest using real base address + 128 MiB offset which is 0x88000000.
-
-Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
-Acked-by: Jon Mason <jon.mason@broadcom.com>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
- arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts        | 3 ++-
- arch/arm/boot/dts/bcm4708-asus-rt-ac68u.dts        | 3 ++-
- arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts  | 3 ++-
- arch/arm/boot/dts/bcm4708-netgear-r6250.dts        | 3 ++-
- arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts     | 3 ++-
- arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts      | 3 ++-
- arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts        | 3 ++-
- arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts | 3 ++-
- arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts  | 3 ++-
- arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts        | 3 ++-
- arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts  | 3 ++-
- arch/arm/boot/dts/bcm4709-netgear-r7000.dts        | 3 ++-
- arch/arm/boot/dts/bcm4709-netgear-r8000.dts        | 3 ++-
- arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts      | 3 ++-
- arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts      | 3 ++-
- arch/arm/boot/dts/bcm47094-netgear-r8500.dts       | 3 ++-
- 16 files changed, 32 insertions(+), 16 deletions(-)
-
---- a/arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts
-+++ b/arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts
-@@ -21,7 +21,8 @@
-       };
-       memory {
--              reg = <0x00000000 0x08000000>;
-+              reg = <0x00000000 0x08000000
-+                     0x88000000 0x08000000>;
-       };
-       leds {
---- a/arch/arm/boot/dts/bcm4708-asus-rt-ac68u.dts
-+++ b/arch/arm/boot/dts/bcm4708-asus-rt-ac68u.dts
-@@ -21,7 +21,8 @@
-       };
-       memory {
--              reg = <0x00000000 0x08000000>;
-+              reg = <0x00000000 0x08000000
-+                     0x88000000 0x08000000>;
-       };
-       leds {
---- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
-+++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
-@@ -21,7 +21,8 @@
-       };
-       memory {
--              reg = <0x00000000 0x08000000>;
-+              reg = <0x00000000 0x08000000
-+                     0x88000000 0x18000000>;
-       };
-       spi {
---- a/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
-+++ b/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
-@@ -21,7 +21,8 @@
-       };
-       memory {
--              reg = <0x00000000 0x08000000>;
-+              reg = <0x00000000 0x08000000
-+                     0x88000000 0x08000000>;
-       };
-       leds {
---- a/arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts
-+++ b/arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts
-@@ -21,7 +21,8 @@
-       };
-       memory {
--              reg = <0x00000000 0x08000000>;
-+              reg = <0x00000000 0x08000000
-+                     0x88000000 0x08000000>;
-       };
-       leds {
---- a/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts
-+++ b/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts
-@@ -21,7 +21,8 @@
-       };
-       memory {
--              reg = <0x00000000 0x08000000>;
-+              reg = <0x00000000 0x08000000
-+                     0x88000000 0x08000000>;
-       };
-       leds {
---- a/arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts
-+++ b/arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts
-@@ -21,7 +21,8 @@
-       };
-       memory {
--              reg = <0x00000000 0x08000000>;
-+              reg = <0x00000000 0x08000000
-+                     0x88000000 0x08000000>;
-       };
-       leds {
---- a/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts
-+++ b/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts
-@@ -21,7 +21,8 @@
-       };
-       memory {
--              reg = <0x00000000 0x08000000>;
-+              reg = <0x00000000 0x08000000
-+                     0x88000000 0x08000000>;
-       };
-       spi {
---- a/arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts
-+++ b/arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts
-@@ -21,7 +21,8 @@
-       };
-       memory {
--              reg = <0x00000000 0x08000000>;
-+              reg = <0x00000000 0x08000000
-+                     0x88000000 0x08000000>;
-       };
-       gpio-keys {
---- a/arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts
-+++ b/arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts
-@@ -21,7 +21,8 @@
-       };
-       memory {
--              reg = <0x00000000 0x08000000>;
-+              reg = <0x00000000 0x08000000
-+                     0x88000000 0x08000000>;
-       };
-       leds {
---- a/arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts
-+++ b/arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts
-@@ -21,7 +21,8 @@
-       };
-       memory {
--              reg = <0x00000000 0x08000000>;
-+              reg = <0x00000000 0x08000000
-+                     0x88000000 0x18000000>;
-       };
-       leds {
---- a/arch/arm/boot/dts/bcm4709-netgear-r7000.dts
-+++ b/arch/arm/boot/dts/bcm4709-netgear-r7000.dts
-@@ -21,7 +21,8 @@
-       };
-       memory {
--              reg = <0x00000000 0x08000000>;
-+              reg = <0x00000000 0x08000000
-+                     0x88000000 0x08000000>;
-       };
-       leds {
---- a/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
-+++ b/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
-@@ -21,7 +21,8 @@
-       };
-       memory {
--              reg = <0x00000000 0x08000000>;
-+              reg = <0x00000000 0x08000000
-+                     0x88000000 0x08000000>;
-       };
-       leds {
---- a/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
-+++ b/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
-@@ -21,7 +21,8 @@
-       };
-       memory {
--              reg = <0x00000000 0x08000000>;
-+              reg = <0x00000000 0x08000000
-+                     0x88000000 0x08000000>;
-       };
-       nand: nand@18028000 {
---- a/arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts
-+++ b/arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts
-@@ -18,7 +18,8 @@
-       };
-       memory {
--              reg = <0x00000000 0x08000000>;
-+              reg = <0x00000000 0x08000000
-+                     0x88000000 0x08000000>;
-       };
-       leds {
---- a/arch/arm/boot/dts/bcm47094-netgear-r8500.dts
-+++ b/arch/arm/boot/dts/bcm47094-netgear-r8500.dts
-@@ -18,7 +18,8 @@
-       };
-       memory {
--              reg = <0x00000000 0x08000000>;
-+              reg = <0x00000000 0x08000000
-+                     0x88000000 0x18000000>;
-       };
-       leds {
diff --git a/target/linux/bcm53xx/patches-4.4/046-0006-ARM-BCM53573-Specify-USB-ports-of-on-SoC-controllers.patch b/target/linux/bcm53xx/patches-4.4/046-0006-ARM-BCM53573-Specify-USB-ports-of-on-SoC-controllers.patch
deleted file mode 100644 (file)
index a39a31f..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-From 92c6f000cb3a4280166d812d88cda3011717b548 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
-Date: Wed, 7 Dec 2016 08:56:55 +0100
-Subject: [PATCH 6/6] ARM: BCM53573: Specify USB ports of on-SoC controllers
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Broadcom OHCI and EHCI controllers always have 2 ports each on the root
-hub. Describe them in DT to allow specifying extra info or referencing
-port nodes.
-
-Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
- arch/arm/boot/dts/bcm53573.dtsi | 22 ++++++++++++++++++++++
- 1 file changed, 22 insertions(+)
-
---- a/arch/arm/boot/dts/bcm53573.dtsi
-+++ b/arch/arm/boot/dts/bcm53573.dtsi
-@@ -124,6 +124,17 @@
-                               reg = <0x4000 0x1000>;
-                               interrupt-parent = <&gic>;
-                               interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
-+
-+                              #address-cells = <1>;
-+                              #size-cells = <0>;
-+
-+                              ehci_port1: port@1 {
-+                                      reg = <1>;
-+                              };
-+
-+                              ehci_port2: port@2 {
-+                                      reg = <2>;
-+                              };
-                       };
-                       ohci: ohci@d000 {
-@@ -133,6 +144,17 @@
-                               reg = <0xd000 0x1000>;
-                               interrupt-parent = <&gic>;
-                               interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
-+
-+                              #address-cells = <1>;
-+                              #size-cells = <0>;
-+
-+                              ohci_port1: port@1 {
-+                                      reg = <1>;
-+                              };
-+
-+                              ohci_port2: port@2 {
-+                                      reg = <2>;
-+                              };
-                       };
-               };
diff --git a/target/linux/bcm53xx/patches-4.4/046-0007-ARM-BCM5301X-Set-5-GHz-wireless-frequency-limits-on-.patch b/target/linux/bcm53xx/patches-4.4/046-0007-ARM-BCM5301X-Set-5-GHz-wireless-frequency-limits-on-.patch
deleted file mode 100644 (file)
index 7debd03..0000000
+++ /dev/null
@@ -1,126 +0,0 @@
-From d3af86018715ebb19f4111f80e545405b208f09b Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
-Date: Sat, 14 Jan 2017 00:58:57 +0100
-Subject: [PATCH] ARM: BCM5301X: Set 5 GHz wireless frequency limits on Netgear
- R8000
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Netgear R8000 is a tri-band home router. It has three BCM43602 chipsets
-two of them for 5 GHz band. Both seem the same and their firmwares
-report the same set of channels. The problem is due to hardware / board
-design there are extra limitations that should be respected.
-
-First PHY should be used for U-NII-2 and U-NII-3. Third PHY should be
-used for U-NII-1. Using them in a different way may result in wireless
-not working or in noticeably reduced performance. Basic version of this
-info was provided by Broadcom employee, then it has been verified by me
-using original vendor firmware (which has limitations hardcoded in UI).
-
-This patch uses recently introduced ieee80211-freq-limit property to
-describe these limitations at DT level.
-
-Referencing PCIe devices in DT required specifying all related bridges.
-Below you can see (a bit complex) PCI tree from R8000 that explains all
-entries that I needed to put in DT.
-
-0000:00:00.0           14e4:8012       Bridge Device
-└─ 0000:01:00.0            14e4:aa52       Network Controller
-
-0001:00:00.0           14e4:8012       Bridge Device
-└─ 0001:01:00.0            10b5:8603       Bridge Device
-   ├─ 0001:02:01.0 10b5:8603       Bridge Device
-   │  └─ 0001:03:00.0    14e4:aa52       Network Controller
-   ├─ 0001:02:02.0 10b5:8603       Bridge Device
-   │  └─ 0001:04:00.0    14e4:aa52       Network Controller
-   ├─ 0001:02:03.0 000d:0000       0x000000
-   ├─ 0001:02:04.0 000d:0000       0x000000
-   ├─ 0001:02:05.0 000d:0000       0x000000
-   ├─ 0001:02:06.0 000d:0000       0x000000
-   ├─ (...)
-   ├─ 0001:02:1d.0 000d:0000       0x000000
-   ├─ 0001:02:1e.0 000d:0000       0x000000
-   └─ 0001:02:1f.0 000d:0000       0x000000
-
-Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
- arch/arm/boot/dts/bcm4709-netgear-r8000.dts | 48 +++++++++++++++++++++++++++++
- arch/arm/boot/dts/bcm5301x.dtsi             |  8 +++++
- 2 files changed, 56 insertions(+)
-
---- a/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
-+++ b/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
-@@ -108,6 +108,54 @@
-       };
- };
-+&pcie0 {
-+      #address-cells = <3>;
-+      #size-cells = <2>;
-+
-+      bridge@0,0,0 {
-+              reg = <0x0000 0 0 0 0>;
-+
-+              #address-cells = <3>;
-+              #size-cells = <2>;
-+
-+              wifi@0,1,0 {
-+                      reg = <0x0000 0 0 0 0>;
-+                      ieee80211-freq-limit = <5735000 5835000>;
-+              };
-+      };
-+};
-+
-+&pcie1 {
-+      #address-cells = <3>;
-+      #size-cells = <2>;
-+
-+      bridge@1,0,0 {
-+              reg = <0x0000 0 0 0 0>;
-+
-+              #address-cells = <3>;
-+              #size-cells = <2>;
-+
-+              bridge@1,1,0 {
-+                      reg = <0x0000 0 0 0 0>;
-+
-+                      #address-cells = <3>;
-+                      #size-cells = <2>;
-+
-+                      bridge@1,2,2 {
-+                              reg = <0x1000 0 0 0 0>;
-+
-+                              #address-cells = <3>;
-+                              #size-cells = <2>;
-+
-+                              wifi@1,4,0 {
-+                                      reg = <0x0000 0 0 0 0>;
-+                                      ieee80211-freq-limit = <5170000 5730000>;
-+                              };
-+                      };
-+              };
-+      };
-+};
-+
- &usb2 {
-       vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
- };
---- a/arch/arm/boot/dts/bcm5301x.dtsi
-+++ b/arch/arm/boot/dts/bcm5301x.dtsi
-@@ -243,6 +243,14 @@
-                       #gpio-cells = <2>;
-               };
-+              pcie0: pcie@12000 {
-+                      reg = <0x00012000 0x1000>;
-+              };
-+
-+              pcie1: pcie@13000 {
-+                      reg = <0x00013000 0x1000>;
-+              };
-+
-               usb2: usb2@21000 {
-                       reg = <0x00021000 0x1000>;
diff --git a/target/linux/bcm53xx/patches-4.4/046-0008-ARM-BCM5301X-Add-DT-for-Luxul-XAP-1410.patch b/target/linux/bcm53xx/patches-4.4/046-0008-ARM-BCM5301X-Add-DT-for-Luxul-XAP-1410.patch
deleted file mode 100644 (file)
index 3592f70..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
-From eeacbb3e30f220d5d775c61421f813d4e186a325 Mon Sep 17 00:00:00 2001
-From: Dan Haab <dhaab@luxul.com>
-Date: Sat, 14 Jan 2017 19:29:27 -0700
-Subject: [PATCH] ARM: BCM5301X: Add DT for Luxul XAP-1410
-
-Luxul XAP-1410 in a dual-band access point device based on BCM47081 with
-serial flash. It has 3 LEDs and just one (reset) button.
-
-Signed-off-by: Dan Haab <dhaab@luxul.com>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
- arch/arm/boot/dts/Makefile                    |  1 +
- arch/arm/boot/dts/bcm47081-luxul-xap-1410.dts | 60 +++++++++++++++++++++++++++
- 2 files changed, 61 insertions(+)
- create mode 100644 arch/arm/boot/dts/bcm47081-luxul-xap-1410.dts
-
---- a/arch/arm/boot/dts/Makefile
-+++ b/arch/arm/boot/dts/Makefile
-@@ -73,6 +73,7 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
-       bcm47081-asus-rt-n18u.dtb \
-       bcm47081-buffalo-wzr-600dhp2.dtb \
-       bcm47081-buffalo-wzr-900dhp.dtb \
-+      bcm47081-luxul-xap-1410.dtb \
-       bcm4709-asus-rt-ac87u.dtb \
-       bcm4709-buffalo-wxr-1900dhp.dtb \
-       bcm4709-netgear-r7000.dtb \
---- /dev/null
-+++ b/arch/arm/boot/dts/bcm47081-luxul-xap-1410.dts
-@@ -0,0 +1,60 @@
-+/*
-+ * Copyright 2017 Luxul Inc.
-+ *
-+ * Licensed under the ISC license.
-+ */
-+
-+/dts-v1/;
-+
-+#include "bcm47081.dtsi"
-+
-+/ {
-+      compatible = "luxul,xap-1410v1", "brcm,bcm47081", "brcm,bcm4708";
-+      model = "Luxul XAP-1410 V1";
-+
-+      chosen {
-+              bootargs = "console=ttyS0,115200";
-+      };
-+
-+      memory {
-+              reg = <0x00000000 0x08000000>;
-+      };
-+
-+      leds {
-+              compatible = "gpio-leds";
-+
-+              5ghz {
-+                      label = "bcm53xx:blue:5ghz";
-+                      gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
-+                      linux,default-trigger = "none";
-+              };
-+
-+              2ghz {
-+                      label = "bcm53xx:blue:2ghz";
-+                      gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
-+                      linux,default-trigger = "none";
-+              };
-+
-+              status {
-+                      label = "bcm53xx:green:status";
-+                      gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;
-+                      linux,default-trigger = "timer";
-+              };
-+      };
-+
-+      gpio-keys {
-+              compatible = "gpio-keys";
-+              #address-cells = <1>;
-+              #size-cells = <0>;
-+
-+              restart {
-+                      label = "Reset";
-+                      linux,code = <KEY_RESTART>;
-+                      gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
-+              };
-+      };
-+};
-+
-+&spi_nor {
-+      status = "okay";
-+};
diff --git a/target/linux/bcm53xx/patches-4.4/046-0009-ARM-BCM5301X-Add-DT-for-Luxul-XWR-1200.patch b/target/linux/bcm53xx/patches-4.4/046-0009-ARM-BCM5301X-Add-DT-for-Luxul-XWR-1200.patch
deleted file mode 100644 (file)
index cf6bc2e..0000000
+++ /dev/null
@@ -1,136 +0,0 @@
-From 514647c9af870bd2df2e579134a26bff8d17b6b9 Mon Sep 17 00:00:00 2001
-From: Dan Haab <dhaab@luxul.com>
-Date: Sat, 14 Jan 2017 19:29:28 -0700
-Subject: [PATCH] ARM: BCM5301X: Add DT for Luxul XWR-1200
-
-Luxul XWR-1200 in a dual-band router based on BCM47081. It uses serial
-flash (for bootloader and NVRAM) and NAND flash (for firmware).
-
-Signed-off-by: Dan Haab <dhaab@luxul.com>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
- arch/arm/boot/dts/Makefile                    |   1 +
- arch/arm/boot/dts/bcm47081-luxul-xwr-1200.dts | 107 ++++++++++++++++++++++++++
- 2 files changed, 108 insertions(+)
- create mode 100644 arch/arm/boot/dts/bcm47081-luxul-xwr-1200.dts
-
---- a/arch/arm/boot/dts/Makefile
-+++ b/arch/arm/boot/dts/Makefile
-@@ -74,6 +74,7 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
-       bcm47081-buffalo-wzr-600dhp2.dtb \
-       bcm47081-buffalo-wzr-900dhp.dtb \
-       bcm47081-luxul-xap-1410.dtb \
-+      bcm47081-luxul-xwr-1200.dtb \
-       bcm4709-asus-rt-ac87u.dtb \
-       bcm4709-buffalo-wxr-1900dhp.dtb \
-       bcm4709-netgear-r7000.dtb \
---- /dev/null
-+++ b/arch/arm/boot/dts/bcm47081-luxul-xwr-1200.dts
-@@ -0,0 +1,107 @@
-+/*
-+ * Copyright 2017 Luxul Inc.
-+ *
-+ * Licensed under the ISC license.
-+ */
-+
-+/dts-v1/;
-+
-+#include "bcm47081.dtsi"
-+#include "bcm5301x-nand-cs0-bch4.dtsi"
-+
-+/ {
-+      compatible = "luxul,xwr-1200v1", "brcm,bcm47081", "brcm,bcm4708";
-+      model = "Luxul XWR-1200 V1";
-+
-+      chosen {
-+              bootargs = "console=ttyS0,115200";
-+      };
-+
-+      memory {
-+              reg = <0x00000000 0x08000000>;
-+      };
-+
-+      leds {
-+              compatible = "gpio-leds";
-+
-+              power {
-+                      label = "bcm53xx:green:power";
-+                      gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
-+                      linux,default-trigger = "default-on";
-+              };
-+
-+              lan3 {
-+                      label = "bcm53xx:green:lan3";
-+                      gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
-+                      linux,default-trigger = "none";
-+              };
-+
-+              lan4 {
-+                      label = "bcm53xx:green:lan4";
-+                      gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
-+                      linux,default-trigger = "none";
-+              };
-+
-+              wan {
-+                      label = "bcm53xx:green:wan";
-+                      gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
-+                      linux,default-trigger = "none";
-+              };
-+
-+              lan2 {
-+                      label = "bcm53xx:green:lan2";
-+                      gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
-+                      linux,default-trigger = "none";
-+              };
-+
-+              usb {
-+                      label = "bcm53xx:green:usb";
-+                      gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
-+                      linux,default-trigger = "none";
-+              };
-+
-+              status {
-+                      label = "bcm53xx:green:status";
-+                      gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
-+                      linux,default-trigger = "timer";
-+              };
-+
-+              2ghz {
-+                      label = "bcm53xx:green:2ghz";
-+                      gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
-+                      linux,default-trigger = "none";
-+              };
-+
-+              5ghz {
-+                      label = "bcm53xx:green:5ghz";
-+                      gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
-+                      linux,default-trigger = "none";
-+              };
-+
-+              lan1 {
-+                      label = "bcm53xx:green:lan1";
-+                      gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;
-+                      linux,default-trigger = "none";
-+              };
-+      };
-+
-+      gpio-keys {
-+              compatible = "gpio-keys";
-+              #address-cells = <1>;
-+              #size-cells = <0>;
-+
-+              restart {
-+                      label = "Reset";
-+                      linux,code = <KEY_RESTART>;
-+                      gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
-+              };
-+      };
-+};
-+
-+&usb2 {
-+      vcc-gpio = <&chipcommon 9 GPIO_ACTIVE_HIGH>;
-+};
-+
-+&spi_nor {
-+      status = "okay";
-+};
diff --git a/target/linux/bcm53xx/patches-4.4/047-0001-ARM-dts-BCM5301X-Add-basic-DT-for-Linksys-EA9200.patch b/target/linux/bcm53xx/patches-4.4/047-0001-ARM-dts-BCM5301X-Add-basic-DT-for-Linksys-EA9200.patch
deleted file mode 100644 (file)
index ca2b738..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
-Subject: [PATCH] ARM: dts: BCM5301X: Add basic DT for Linksys EA9200
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-It's tri-band wireless home router based on BCM4709A0 with 3 x BCM43602
-chipsets. LEDs will be hopefully added later to the DT.
-
-Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
- arch/arm/boot/dts/Makefile                   |  1 +
- arch/arm/boot/dts/bcm4709-linksys-ea9200.dts | 42 ++++++++++++++++++++++++++++
- 2 files changed, 43 insertions(+)
- create mode 100644 arch/arm/boot/dts/bcm4709-linksys-ea9200.dts
-
---- a/arch/arm/boot/dts/Makefile
-+++ b/arch/arm/boot/dts/Makefile
-@@ -77,6 +77,7 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
-       bcm47081-luxul-xwr-1200.dtb \
-       bcm4709-asus-rt-ac87u.dtb \
-       bcm4709-buffalo-wxr-1900dhp.dtb \
-+      bcm4709-linksys-ea9200.dtb \
-       bcm4709-netgear-r7000.dtb \
-       bcm4709-netgear-r8000.dtb \
-       bcm4709-tplink-archer-c9-v1.dtb \
---- /dev/null
-+++ b/arch/arm/boot/dts/bcm4709-linksys-ea9200.dts
-@@ -0,0 +1,42 @@
-+/*
-+ * Copyright (C) 2017 Rafał Miłecki <rafal@milecki.pl>
-+ *
-+ * Licensed under the ISC license.
-+ */
-+
-+/dts-v1/;
-+
-+#include "bcm4709.dtsi"
-+#include "bcm5301x-nand-cs0-bch8.dtsi"
-+
-+/ {
-+      compatible = "linksys,ea9200", "brcm,bcm4709", "brcm,bcm4708";
-+      model = "Linksys EA9200";
-+
-+      chosen {
-+              bootargs = "console=ttyS0,115200";
-+      };
-+
-+      memory {
-+              reg = <0x00000000 0x08000000
-+                     0x88000000 0x08000000>;
-+      };
-+
-+      gpio-keys {
-+              compatible = "gpio-keys";
-+              #address-cells = <1>;
-+              #size-cells = <0>;
-+
-+              wps {
-+                      label = "WPS";
-+                      linux,code = <KEY_WPS_BUTTON>;
-+                      gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
-+              };
-+
-+              restart {
-+                      label = "Reset";
-+                      linux,code = <KEY_RESTART>;
-+                      gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
-+              };
-+      };
-+};
diff --git a/target/linux/bcm53xx/patches-4.4/047-0002-ARM-dts-BCM5301X-Add-basic-DT-for-Linksys-EA6300-V1.patch b/target/linux/bcm53xx/patches-4.4/047-0002-ARM-dts-BCM5301X-Add-basic-DT-for-Linksys-EA6300-V1.patch
deleted file mode 100644 (file)
index 93bf80c..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
-Subject: [PATCH] ARM: dts: BCM5301X: Add basic DT for Linksys EA6300 V1
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-It's wireless home router based on BCM4708A0 with BCM4360 + BCM43217
-wireless chipsets. LEDs will be hopefully added later to the DT.
-According to some sources it may use the same board as EA6400 and just
-differ by an original vendor firmware.
-
-Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
- arch/arm/boot/dts/Makefile                      |  1 +
- arch/arm/boot/dts/bcm4708-linksys-ea6300-v1.dts | 41 +++++++++++++++++++++++++
- 2 files changed, 42 insertions(+)
- create mode 100644 arch/arm/boot/dts/bcm4708-linksys-ea6300-v1.dts
-
---- a/arch/arm/boot/dts/Makefile
-+++ b/arch/arm/boot/dts/Makefile
-@@ -65,6 +65,7 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
-       bcm4708-asus-rt-ac56u.dtb \
-       bcm4708-asus-rt-ac68u.dtb \
-       bcm4708-buffalo-wzr-1750dhp.dtb \
-+      bcm4708-linksys-ea6300-v1.dtb \
-       bcm4708-luxul-xap-1510.dtb \
-       bcm4708-luxul-xwc-1000.dtb \
-       bcm4708-netgear-r6250.dtb \
---- /dev/null
-+++ b/arch/arm/boot/dts/bcm4708-linksys-ea6300-v1.dts
-@@ -0,0 +1,41 @@
-+/*
-+ * Copyright (C) 2017 Rafał Miłecki <rafal@milecki.pl>
-+ *
-+ * Licensed under the ISC license.
-+ */
-+
-+/dts-v1/;
-+
-+#include "bcm4708.dtsi"
-+#include "bcm5301x-nand-cs0-bch8.dtsi"
-+
-+/ {
-+      compatible = "linksys,ea6300-v1", "brcm,bcm4708";
-+      model = "Linksys EA6300 V1";
-+
-+      chosen {
-+              bootargs = "console=ttyS0,115200";
-+      };
-+
-+      memory {
-+              reg = <0x00000000 0x08000000>;
-+      };
-+
-+      gpio-keys {
-+              compatible = "gpio-keys";
-+              #address-cells = <1>;
-+              #size-cells = <0>;
-+
-+              wps {
-+                      label = "WPS";
-+                      linux,code = <KEY_WPS_BUTTON>;
-+                      gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
-+              };
-+
-+              restart {
-+                      label = "Reset";
-+                      linux,code = <KEY_RESTART>;
-+                      gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
-+              };
-+      };
-+};
diff --git a/target/linux/bcm53xx/patches-4.4/047-0003-ARM-dts-BCM5301X-Add-NAND-entries-to-bcm953012k.patch b/target/linux/bcm53xx/patches-4.4/047-0003-ARM-dts-BCM5301X-Add-NAND-entries-to-bcm953012k.patch
deleted file mode 100644 (file)
index 655548e..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-From 3344d946ff277425052383e0a7877baf39911046 Mon Sep 17 00:00:00 2001
-From: Jon Mason <jon.mason@broadcom.com>
-Date: Wed, 8 Feb 2017 15:45:15 -0500
-Subject: [PATCH] ARM: dts: BCM5301X: Add NAND entries to bcm953012k
-
-Add the NAND entry in the DTS for the bcm953012k reference board.
-
-Signed-off-by: Jon Mason <jon.mason@broadcom.com>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
- arch/arm/boot/dts/bcm953012k.dts | 32 ++++++++++++++++++++++++++++++++
- 1 file changed, 32 insertions(+)
-
---- a/arch/arm/boot/dts/bcm953012k.dts
-+++ b/arch/arm/boot/dts/bcm953012k.dts
-@@ -52,6 +52,38 @@
-       };
- };
-+&nand {
-+      nandcs@0 {
-+              compatible = "brcm,nandcs";
-+              reg = <0>;
-+              nand-on-flash-bbt;
-+
-+              #address-cells = <1>;
-+              #size-cells = <1>;
-+
-+              nand-ecc-strength = <4>;
-+              nand-ecc-step-size = <512>;
-+
-+              partition@0 {
-+                      label = "nboot";
-+                      reg = <0x00000000 0x00200000>;
-+                      read-only;
-+              };
-+              partition@200000 {
-+                      label = "nenv";
-+                      reg = <0x00200000 0x00400000>;
-+              };
-+              partition@600000 {
-+                      label = "nsystem";
-+                      reg = <0x00600000 0x00a00000>;
-+              };
-+              partition@1000000 {
-+                      label = "nrootfs";
-+                      reg = <0x01000000 0x07000000>;
-+              };
-+      };
-+};
-+
- &uart0 {
-       clock-frequency = <62499840>;
- };
diff --git a/target/linux/bcm53xx/patches-4.4/047-0005-ARM-dts-BCM5301X-Add-basic-DT-for-Linksys-EA9500.patch b/target/linux/bcm53xx/patches-4.4/047-0005-ARM-dts-BCM5301X-Add-basic-DT-for-Linksys-EA9500.patch
deleted file mode 100644 (file)
index f288a66..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-From 3dc9eca8ece2934047f1d5c290fd36c0e8698756 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
-Date: Thu, 23 Feb 2017 14:06:36 +0100
-Subject: [PATCH] ARM: dts: BCM5301X: Add basic DT for Linksys EA9500
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-It's tri-band wireless home router based on BCM47094 AKA BCM4709C0. It
-uses 3 x BCM4366 chipsets for wireless.
-Panamera seems to be board name used by Linksys.
-
-Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
- arch/arm/boot/dts/Makefile                      |  1 +
- arch/arm/boot/dts/bcm47094-linksys-panamera.dts | 36 +++++++++++++++++++++++++
- 2 files changed, 37 insertions(+)
- create mode 100644 arch/arm/boot/dts/bcm47094-linksys-panamera.dts
-
---- a/arch/arm/boot/dts/Makefile
-+++ b/arch/arm/boot/dts/Makefile
-@@ -83,6 +83,7 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
-       bcm4709-netgear-r8000.dtb \
-       bcm4709-tplink-archer-c9-v1.dtb \
-       bcm47094-dlink-dir-885l.dtb \
-+      bcm47094-linksys-panamera.dtb \
-       bcm47094-luxul-xwr-3100.dtb \
-       bcm47094-netgear-r8500.dtb \
-       bcm94708.dtb \
---- /dev/null
-+++ b/arch/arm/boot/dts/bcm47094-linksys-panamera.dts
-@@ -0,0 +1,36 @@
-+/*
-+ * Copyright (C) 2017 Rafał Miłecki <rafal@milecki.pl>
-+ *
-+ * Licensed under the ISC license.
-+ */
-+
-+/dts-v1/;
-+
-+#include "bcm47094.dtsi"
-+#include "bcm5301x-nand-cs0-bch8.dtsi"
-+
-+/ {
-+      compatible = "linksys,panamera", "brcm,bcm47094", "brcm,bcm4708";
-+      model = "Linksys EA9500";
-+
-+      chosen {
-+              bootargs = "console=ttyS0,115200";
-+      };
-+
-+      memory {
-+              reg = <0x00000000 0x08000000
-+                     0x88000000 0x08000000>;
-+      };
-+
-+      gpio-keys {
-+              compatible = "gpio-keys";
-+              #address-cells = <1>;
-+              #size-cells = <0>;
-+
-+              wps {
-+                      label = "WPS";
-+                      linux,code = <KEY_WPS_BUTTON>;
-+                      gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
-+              };
-+      };
-+};
diff --git a/target/linux/bcm53xx/patches-4.4/047-0006-ARM-dts-BCM5301X-Add-support-for-BCM953012HR.patch b/target/linux/bcm53xx/patches-4.4/047-0006-ARM-dts-BCM5301X-Add-support-for-BCM953012HR.patch
deleted file mode 100644 (file)
index 76bfc59..0000000
+++ /dev/null
@@ -1,129 +0,0 @@
-From 475dcdec8cd1bb1b73ddfd9f872822bf4ad9c242 Mon Sep 17 00:00:00 2001
-From: Steve Lin <steven.lin1@broadcom.com>
-Date: Thu, 23 Feb 2017 14:23:03 -0500
-Subject: [PATCH] ARM: dts: BCM5301X: Add support for BCM953012HR
-
-Initial version of DTS to support Broadcom BCM953012HR Northstar
-HR platform, similar to, but not the same as existing 953012K.
-
-Signed-off-by: Steve Lin <steven.lin1@broadcom.com>
-Acked-by: Jon Mason <jon.mason@broadcom.com>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
- arch/arm/boot/dts/Makefile        |  1 +
- arch/arm/boot/dts/bcm953012hr.dts | 99 +++++++++++++++++++++++++++++++++++++++
- 2 files changed, 100 insertions(+)
- create mode 100644 arch/arm/boot/dts/bcm953012hr.dts
-
---- a/arch/arm/boot/dts/Makefile
-+++ b/arch/arm/boot/dts/Makefile
-@@ -89,6 +89,7 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
-       bcm94708.dtb \
-       bcm94709.dtb \
-       bcm953012er.dtb \
-+      bcm953012hr.dtb \
-       bcm953012k.dtb
- dtb-$(CONFIG_ARCH_BCM_53573) += \
-       bcm47189-tenda-ac9.dtb
---- /dev/null
-+++ b/arch/arm/boot/dts/bcm953012hr.dts
-@@ -0,0 +1,99 @@
-+/*
-+ *  SPDX-License-Identifier: BSD-3-Clause
-+ *
-+ *  Copyright(c) 2017 Broadcom
-+ *
-+ *  Redistribution and use in source and binary forms, with or without
-+ *  modification, are permitted provided that the following conditions
-+ *  are met:
-+ *
-+ *    * Redistributions of source code must retain the above copyright
-+ *      notice, this list of conditions and the following disclaimer.
-+ *    * Redistributions in binary form must reproduce the above copyright
-+ *      notice, this list of conditions and the following disclaimer in
-+ *      the documentation and/or other materials provided with the
-+ *      distribution.
-+ *    * Neither the name of Broadcom nor the names of its contributors
-+ *      may be used to endorse or promote products derived from this
-+ *      software without specific prior written permission.
-+ *
-+ *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-+ *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-+ *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-+ *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-+ *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-+ *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-+ *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-+ *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-+ *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-+ *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-+ *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-+ */
-+
-+/dts-v1/;
-+
-+#include "bcm4708.dtsi"
-+#include "bcm5301x-nand-cs0-bch4.dtsi"
-+
-+/ {
-+      model = "NorthStar HR (BCM953012HR)";
-+      compatible = "brcm,bcm953012hr", "brcm,brcm53012", "brcm,bcm4708";
-+
-+      aliases {
-+              serial0 = &uart0;
-+      };
-+
-+      chosen {
-+              stdout-path = "serial0:115200n8";
-+      };
-+
-+      memory@80000000 {
-+              reg = <0x80000000 0x10000000>;
-+      };
-+};
-+
-+&nandcs {
-+      partition@0 {
-+              label = "nboot";
-+              reg = <0x00000000 0x00200000>;
-+              read-only;
-+      };
-+      partition@200000 {
-+              label = "nenv";
-+              reg = <0x00200000 0x00400000>;
-+      };
-+      partition@600000 {
-+              label = "nsystem";
-+              reg = <0x00600000 0x00a00000>;
-+      };
-+      partition@1000000 {
-+              label = "nrootfs";
-+              reg = <0x01000000 0x07000000>;
-+      };
-+};
-+
-+&spi_nor {
-+      status = "okay";
-+      spi-max-frequency = <62500000>;
-+      m25p,default-addr-width = <3>;
-+
-+      #address-cells = <1>;
-+      #size-cells = <1>;
-+
-+      partition@0 {
-+              label = "boot";
-+              reg = <0x00000000 0x000d0000>;
-+      };
-+      partition@d000 {
-+              label = "env";
-+              reg = <0x000d0000 0x00030000>;
-+      };
-+      partition@100000 {
-+              label = "system";
-+              reg = <0x00100000 0x00600000>;
-+      };
-+      partition@700000 {
-+              label = "rootfs";
-+              reg = <0x00700000 0x00900000>;
-+      };
-+};
diff --git a/target/linux/bcm53xx/patches-4.4/047-0007-ARM-dts-BCM53573-Describe-Tenda-AC9-PCIe-card-in-DT.patch b/target/linux/bcm53xx/patches-4.4/047-0007-ARM-dts-BCM53573-Describe-Tenda-AC9-PCIe-card-in-DT.patch
deleted file mode 100644 (file)
index 8aa28a7..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-From 3ba1bae984e585f500b8406b1bf3e42e0ec752b7 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
-Date: Tue, 14 Feb 2017 17:49:05 +0100
-Subject: [PATCH] ARM: dts: BCM53573: Describe Tenda AC9 PCIe card in DT
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Tenda AC9 has PCIe controller with just one device connected to it:
-0000:00:00.0           14e4:d145       Bridge Device
-└─ 0000:01:00.0            14e4:a8db       Network Controller
-
-This card is directly on SoC (doesn't use physical connector) and has
-BCM43217 chipset with bcma bus. One of its components is ChipCommon core
-which is also a GPIO controller. We need to describe it to be able to
-add devices using its GPIO pins.
-
-Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
- arch/arm/boot/dts/bcm47189-tenda-ac9.dts | 27 +++++++++++++++++++++++++++
- arch/arm/boot/dts/bcm53573.dtsi          |  4 ++++
- 2 files changed, 31 insertions(+)
-
---- a/arch/arm/boot/dts/bcm47189-tenda-ac9.dts
-+++ b/arch/arm/boot/dts/bcm47189-tenda-ac9.dts
-@@ -72,3 +72,30 @@
-               };
-       };
- };
-+
-+&pcie0 {
-+      ranges = <0x00000000 0 0 0 0 0x00100000>;
-+      #address-cells = <3>;
-+      #size-cells = <2>;
-+
-+      bridge@0,0,0 {
-+              reg = <0x0000 0 0 0 0>;
-+              ranges = <0x00000000 0 0 0 0 0 0 0x00100000>;
-+              #address-cells = <3>;
-+              #size-cells = <2>;
-+
-+              wifi@0,1,0 {
-+                      reg = <0x0000 0 0 0 0>;
-+                      ranges = <0x00000000 0 0 0 0x00100000>;
-+                      #address-cells = <1>;
-+                      #size-cells = <1>;
-+
-+                      pcie0_chipcommon: chipcommon@0 {
-+                              reg = <0 0x1000>;
-+
-+                              gpio-controller;
-+                              #gpio-cells = <2>;
-+                      };
-+              };
-+      };
-+};
---- a/arch/arm/boot/dts/bcm53573.dtsi
-+++ b/arch/arm/boot/dts/bcm53573.dtsi
-@@ -113,6 +113,10 @@
-                       };
-               };
-+              pcie0: pcie@2000 {
-+                      reg = <0x00002000 0x1000>;
-+              };
-+
-               usb2: usb2@4000 {
-                       reg = <0x4000 0x1000>;
-                       ranges;
diff --git a/target/linux/bcm53xx/patches-4.4/047-0008-ARM-dts-BCM53573-Add-Tenda-AC9-2-GHz-LED.patch b/target/linux/bcm53xx/patches-4.4/047-0008-ARM-dts-BCM53573-Add-Tenda-AC9-2-GHz-LED.patch
deleted file mode 100644 (file)
index 9de6402..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-From 86cd47e761c773f2384ac2041730d7ccfeb40095 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
-Date: Tue, 14 Feb 2017 17:49:06 +0100
-Subject: [PATCH] ARM: dts: BCM53573: Add Tenda AC9 2 GHz LED
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-It's connected to a GPIO pin of an extra controller placed on the PCIe
-card.
-
-Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
- arch/arm/boot/dts/bcm47189-tenda-ac9.dts | 10 ++++++++++
- 1 file changed, 10 insertions(+)
-
---- a/arch/arm/boot/dts/bcm47189-tenda-ac9.dts
-+++ b/arch/arm/boot/dts/bcm47189-tenda-ac9.dts
-@@ -48,6 +48,16 @@
-               };
-       };
-+      pcie0_leds {
-+              compatible = "gpio-leds";
-+
-+              2ghz {
-+                      label = "bcm53xx:blue:2ghz";
-+                      gpios = <&pcie0_chipcommon 3 GPIO_ACTIVE_HIGH>;
-+                      linux,default-trigger = "default-off";
-+              };
-+      };
-+
-       gpio-keys {
-               compatible = "gpio-keys";
-               #address-cells = <1>;
diff --git a/target/linux/bcm53xx/patches-4.4/047-0009-ARM-dts-BCM5301X-Relicense-DTS-files-I-created-to-th.patch b/target/linux/bcm53xx/patches-4.4/047-0009-ARM-dts-BCM5301X-Relicense-DTS-files-I-created-to-th.patch
deleted file mode 100644 (file)
index cbfaf32..0000000
+++ /dev/null
@@ -1,265 +0,0 @@
-From 153580bd3e242c204bb8b1946d76da78e826f555 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
-Date: Sat, 28 Jan 2017 12:51:35 +0100
-Subject: [PATCH] ARM: dts: BCM5301X: Relicense DTS files I created to the ISC
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-It's preferred to have DT source files licensed under BSD compatible
-license. All new BCM5301X DTS files use ISC so let's also relicense old
-ones to it.
-
-Except for me only Hauke was ever touched these files in his commit
-9faa5960eef3 ("ARM: BCM5301X: add NAND flash chip description") and
-commit bb1d8fba1965 ("ARM: BCM5301X: add NAND flash chip description for
-Asus RT-AC87U").
-
-Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
-Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
- arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts        | 12 +++++++++++-
- arch/arm/boot/dts/bcm4708-asus-rt-ac68u.dts        | 12 +++++++++++-
- arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts     | 12 +++++++++++-
- arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts        | 12 +++++++++++-
- arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts | 12 +++++++++++-
- arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts  | 12 +++++++++++-
- arch/arm/boot/dts/bcm47081.dtsi                    | 12 +++++++++++-
- arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts        | 12 +++++++++++-
- arch/arm/boot/dts/bcm4709-netgear-r7000.dts        | 12 +++++++++++-
- arch/arm/boot/dts/bcm4709-netgear-r8000.dts        | 12 +++++++++++-
- arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts      | 12 +++++++++++-
- 11 files changed, 121 insertions(+), 11 deletions(-)
-
---- a/arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts
-+++ b/arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts
-@@ -4,7 +4,17 @@
-  *
-  * Copyright (C) 2015 Rafał Miłecki <zajec5@gmail.com>
-  *
-- * Licensed under the GNU/GPL. See COPYING for details.
-+ * Permission to use, copy, modify, and/or distribute this software for any
-+ * purpose with or without fee is hereby granted, provided that the above
-+ * copyright notice and this permission notice appear in all copies.
-+ *
-+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
-+ * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
-+ * AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
-+ * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
-+ * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
-+ * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-+ * PERFORMANCE OF THIS SOFTWARE.
-  */
- /dts-v1/;
---- a/arch/arm/boot/dts/bcm4708-asus-rt-ac68u.dts
-+++ b/arch/arm/boot/dts/bcm4708-asus-rt-ac68u.dts
-@@ -4,7 +4,17 @@
-  *
-  * Copyright (C) 2015 Rafał Miłecki <zajec5@gmail.com>
-  *
-- * Licensed under the GNU/GPL. See COPYING for details.
-+ * Permission to use, copy, modify, and/or distribute this software for any
-+ * purpose with or without fee is hereby granted, provided that the above
-+ * copyright notice and this permission notice appear in all copies.
-+ *
-+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
-+ * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
-+ * AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
-+ * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
-+ * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
-+ * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-+ * PERFORMANCE OF THIS SOFTWARE.
-  */
- /dts-v1/;
---- a/arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts
-+++ b/arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts
-@@ -4,7 +4,17 @@
-  *
-  * Copyright (C) 2014 Rafał Miłecki <zajec5@gmail.com>
-  *
-- * Licensed under the GNU/GPL. See COPYING for details.
-+ * Permission to use, copy, modify, and/or distribute this software for any
-+ * purpose with or without fee is hereby granted, provided that the above
-+ * copyright notice and this permission notice appear in all copies.
-+ *
-+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
-+ * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
-+ * AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
-+ * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
-+ * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
-+ * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-+ * PERFORMANCE OF THIS SOFTWARE.
-  */
- /dts-v1/;
---- a/arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts
-+++ b/arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts
-@@ -4,7 +4,17 @@
-  *
-  * Copyright (C) 2014 Rafał Miłecki <zajec5@gmail.com>
-  *
-- * Licensed under the GNU/GPL. See COPYING for details.
-+ * Permission to use, copy, modify, and/or distribute this software for any
-+ * purpose with or without fee is hereby granted, provided that the above
-+ * copyright notice and this permission notice appear in all copies.
-+ *
-+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
-+ * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
-+ * AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
-+ * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
-+ * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
-+ * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-+ * PERFORMANCE OF THIS SOFTWARE.
-  */
- /dts-v1/;
---- a/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts
-+++ b/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts
-@@ -4,7 +4,17 @@
-  *
-  * Copyright (C) 2014 Rafał Miłecki <zajec5@gmail.com>
-  *
-- * Licensed under the GNU/GPL. See COPYING for details.
-+ * Permission to use, copy, modify, and/or distribute this software for any
-+ * purpose with or without fee is hereby granted, provided that the above
-+ * copyright notice and this permission notice appear in all copies.
-+ *
-+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
-+ * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
-+ * AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
-+ * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
-+ * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
-+ * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-+ * PERFORMANCE OF THIS SOFTWARE.
-  */
- /dts-v1/;
---- a/arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts
-+++ b/arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts
-@@ -4,7 +4,17 @@
-  *
-  * Copyright (C) 2015 Rafał Miłecki <zajec5@gmail.com>
-  *
-- * Licensed under the GNU/GPL. See COPYING for details.
-+ * Permission to use, copy, modify, and/or distribute this software for any
-+ * purpose with or without fee is hereby granted, provided that the above
-+ * copyright notice and this permission notice appear in all copies.
-+ *
-+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
-+ * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
-+ * AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
-+ * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
-+ * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
-+ * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-+ * PERFORMANCE OF THIS SOFTWARE.
-  */
- /dts-v1/;
---- a/arch/arm/boot/dts/bcm47081.dtsi
-+++ b/arch/arm/boot/dts/bcm47081.dtsi
-@@ -4,7 +4,17 @@
-  *
-  * Copyright © 2014 Rafał Miłecki <zajec5@gmail.com>
-  *
-- * Licensed under the GNU/GPL. See COPYING for details.
-+ * Permission to use, copy, modify, and/or distribute this software for any
-+ * purpose with or without fee is hereby granted, provided that the above
-+ * copyright notice and this permission notice appear in all copies.
-+ *
-+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
-+ * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
-+ * AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
-+ * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
-+ * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
-+ * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-+ * PERFORMANCE OF THIS SOFTWARE.
-  */
- #include "bcm5301x.dtsi"
---- a/arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts
-+++ b/arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts
-@@ -4,7 +4,17 @@
-  *
-  * Copyright (C) 2015 Rafał Miłecki <zajec5@gmail.com>
-  *
-- * Licensed under the GNU/GPL. See COPYING for details.
-+ * Permission to use, copy, modify, and/or distribute this software for any
-+ * purpose with or without fee is hereby granted, provided that the above
-+ * copyright notice and this permission notice appear in all copies.
-+ *
-+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
-+ * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
-+ * AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
-+ * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
-+ * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
-+ * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-+ * PERFORMANCE OF THIS SOFTWARE.
-  */
- /dts-v1/;
---- a/arch/arm/boot/dts/bcm4709-netgear-r7000.dts
-+++ b/arch/arm/boot/dts/bcm4709-netgear-r7000.dts
-@@ -4,7 +4,17 @@
-  *
-  * Copyright (C) 2015 Rafał Miłecki <zajec5@gmail.com>
-  *
-- * Licensed under the GNU/GPL. See COPYING for details.
-+ * Permission to use, copy, modify, and/or distribute this software for any
-+ * purpose with or without fee is hereby granted, provided that the above
-+ * copyright notice and this permission notice appear in all copies.
-+ *
-+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
-+ * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
-+ * AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
-+ * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
-+ * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
-+ * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-+ * PERFORMANCE OF THIS SOFTWARE.
-  */
- /dts-v1/;
---- a/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
-+++ b/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
-@@ -4,7 +4,17 @@
-  *
-  * Copyright (C) 2015 Rafał Miłecki <zajec5@gmail.com>
-  *
-- * Licensed under the GNU/GPL. See COPYING for details.
-+ * Permission to use, copy, modify, and/or distribute this software for any
-+ * purpose with or without fee is hereby granted, provided that the above
-+ * copyright notice and this permission notice appear in all copies.
-+ *
-+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
-+ * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
-+ * AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
-+ * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
-+ * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
-+ * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-+ * PERFORMANCE OF THIS SOFTWARE.
-  */
- /dts-v1/;
---- a/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
-+++ b/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
-@@ -4,7 +4,17 @@
-  *
-  * Copyright (C) 2016 Rafał Miłecki <zajec5@gmail.com>
-  *
-- * Licensed under the GNU/GPL. See COPYING for details.
-+ * Permission to use, copy, modify, and/or distribute this software for any
-+ * purpose with or without fee is hereby granted, provided that the above
-+ * copyright notice and this permission notice appear in all copies.
-+ *
-+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
-+ * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
-+ * AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
-+ * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
-+ * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
-+ * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-+ * PERFORMANCE OF THIS SOFTWARE.
-  */
- /dts-v1/;
diff --git a/target/linux/bcm53xx/patches-4.4/047-0010-ARM-dts-BCM5301X-Add-missing-Netgear-R8000-LEDs-and-.patch b/target/linux/bcm53xx/patches-4.4/047-0010-ARM-dts-BCM5301X-Add-missing-Netgear-R8000-LEDs-and-.patch
deleted file mode 100644 (file)
index 05de689..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-From 4a5782a889cfbc8523d7097c3f147572ed5129a6 Mon Sep 17 00:00:00 2001
-From: Aditya Xavier <adityaxavier@gmail.com>
-Date: Sat, 28 Jan 2017 20:07:49 +0530
-Subject: [PATCH] ARM: dts: BCM5301X: Add missing Netgear R8000 LEDs and Keys
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Added two WAN status LEDs and a GPIO key for brightness which were
-missing.
-
-Signed-off-by: Aditya Xavier <adityaxavier@gmail.com>
-Acked-by: Rafał Miłecki <rafal@milecki.pl>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
- arch/arm/boot/dts/bcm4709-netgear-r8000.dts | 22 ++++++++++++++++++++--
- 1 file changed, 20 insertions(+), 2 deletions(-)
-
---- a/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
-+++ b/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
-@@ -38,18 +38,30 @@
-       leds {
-               compatible = "gpio-leds";
--              power0 {
-+              power-white {
-                       label = "bcm53xx:white:power";
-                       gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
-                       linux,default-trigger = "default-on";
-               };
--              power1 {
-+              power-amber {
-                       label = "bcm53xx:amber:power";
-                       gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
-                       linux,default-trigger = "default-off";
-               };
-+              wan-white {
-+                      label = "bcm53xx:white:wan";
-+                      gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
-+                      linux,default-trigger = "default-on";
-+              };
-+
-+              wan-amber {
-+                      label = "bcm53xx:amber:wan";
-+                      gpios = <&chipcommon 9 GPIO_ACTIVE_HIGH>;
-+                      linux,default-trigger = "default-off";
-+              };
-+
-               5ghz-1 {
-                       label = "bcm53xx:white:5ghz-1";
-                       gpios = <&chipcommon 12 GPIO_ACTIVE_LOW>;
-@@ -115,6 +127,12 @@
-                       linux,code = <KEY_RESTART>;
-                       gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
-               };
-+
-+              brightness {
-+                      label = "Backlight";
-+                      linux,code = <KEY_BRIGHTNESS_ZERO>;
-+                      gpios = <&chipcommon 19 GPIO_ACTIVE_LOW>;
-+              };
-       };
- };
diff --git a/target/linux/bcm53xx/patches-4.4/047-0011-ARM-dts-BCM53573-Don-t-use-nonexistent-default-off-L.patch b/target/linux/bcm53xx/patches-4.4/047-0011-ARM-dts-BCM53573-Don-t-use-nonexistent-default-off-L.patch
deleted file mode 100644 (file)
index ce74ff3..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-From 820a3e952b266d4355e89ed91c9b11945030321e Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
-Date: Wed, 8 Mar 2017 07:41:04 +0100
-Subject: [PATCH] ARM: dts: BCM53573: Don't use nonexistent "default-off" LED
- trigger
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Such a trigger doesn't exist in Linux and is not needed as LED is being
-turned off by default. This could cause errors in LEDs core code when
-trying to set default trigger.
-
-Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
-Acked-by: Pavel Machek <pavel@ucw.cz>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
- arch/arm/boot/dts/bcm47189-tenda-ac9.dts | 4 ----
- 1 file changed, 4 deletions(-)
-
---- a/arch/arm/boot/dts/bcm47189-tenda-ac9.dts
-+++ b/arch/arm/boot/dts/bcm47189-tenda-ac9.dts
-@@ -26,19 +26,16 @@
-               usb {
-                       label = "bcm53xx:blue:usb";
-                       gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>;
--                      linux,default-trigger = "default-off";
-               };
-               wps {
-                       label = "bcm53xx:blue:wps";
-                       gpios = <&chipcommon 10 GPIO_ACTIVE_HIGH>;
--                      linux,default-trigger = "default-off";
-               };
-               5ghz {
-                       label = "bcm53xx:blue:5ghz";
-                       gpios = <&chipcommon 11 GPIO_ACTIVE_HIGH>;
--                      linux,default-trigger = "default-off";
-               };
-               system {
-@@ -54,7 +51,6 @@
-               2ghz {
-                       label = "bcm53xx:blue:2ghz";
-                       gpios = <&pcie0_chipcommon 3 GPIO_ACTIVE_HIGH>;
--                      linux,default-trigger = "default-off";
-               };
-       };
diff --git a/target/linux/bcm53xx/patches-4.4/047-0012-ARM-dts-BCM5301X-Don-t-use-nonexistent-default-off-L.patch b/target/linux/bcm53xx/patches-4.4/047-0012-ARM-dts-BCM5301X-Don-t-use-nonexistent-default-off-L.patch
deleted file mode 100644 (file)
index cecae0b..0000000
+++ /dev/null
@@ -1,651 +0,0 @@
-From 0b660259e927177dc0c6eb3b1c39f23c6a011c5f Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
-Date: Wed, 8 Mar 2017 07:41:05 +0100
-Subject: [PATCH] ARM: dts: BCM5301X: Don't use nonexistent "default-off" LED
- trigger
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Such a trigger doesn't exist in Linux and is not needed as LED is being
-turned off by default. This could cause errors in LEDs core code when
-trying to set default trigger.
-
-Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
- arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts        |  5 -----
- arch/arm/boot/dts/bcm4708-asus-rt-ac68u.dts        |  2 --
- arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts  |  5 -----
- arch/arm/boot/dts/bcm4708-netgear-r6250.dts        |  3 ---
- arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts     |  3 ---
- arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts      | 10 ----------
- arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts        |  2 --
- arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts |  4 ----
- arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts        |  2 --
- arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts  |  8 --------
- arch/arm/boot/dts/bcm4709-netgear-r7000.dts        |  7 -------
- arch/arm/boot/dts/bcm4709-netgear-r8000.dts        |  9 ---------
- arch/arm/boot/dts/bcm4709-tplink-archer-c9-v1.dts  |  8 --------
- arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts      |  6 ------
- arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts      |  8 --------
- arch/arm/boot/dts/bcm47094-netgear-r8500.dts       |  6 ------
- 16 files changed, 88 deletions(-)
-
---- a/arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts
-+++ b/arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts
-@@ -41,19 +41,16 @@
-               usb3 {
-                       label = "bcm53xx:blue:usb3";
-                       gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
--                      linux,default-trigger = "default-off";
-               };
-               wan {
-                       label = "bcm53xx:blue:wan";
-                       gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
--                      linux,default-trigger = "default-off";
-               };
-               lan {
-                       label = "bcm53xx:blue:lan";
-                       gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
--                      linux,default-trigger = "default-off";
-               };
-               power {
-@@ -71,14 +68,12 @@
-               2ghz {
-                       label = "bcm53xx:blue:2ghz";
-                       gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
--                      linux,default-trigger = "default-off";
-               };
-               usb2 {
-                       label = "bcm53xx:blue:usb2";
-                       gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
--                      linux,default-trigger = "default-off";
-               };
-       };
---- a/arch/arm/boot/dts/bcm4708-asus-rt-ac68u.dts
-+++ b/arch/arm/boot/dts/bcm4708-asus-rt-ac68u.dts
-@@ -41,7 +41,6 @@
-               usb2 {
-                       label = "bcm53xx:blue:usb2";
-                       gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
--                      linux,default-trigger = "default-off";
-               };
-               power {
-@@ -59,7 +58,6 @@
-               usb3 {
-                       label = "bcm53xx:blue:usb3";
-                       gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
--                      linux,default-trigger = "default-off";
-               };
-       };
---- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
-+++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
-@@ -52,13 +52,11 @@
-               usb {
-                       label = "bcm53xx:blue:usb";
-                       gpios = <&hc595 0 GPIO_ACTIVE_HIGH>;
--                      linux,default-trigger = "default-off";
-               };
-               power0 {
-                       label = "bcm53xx:red:power";
-                       gpios = <&hc595 1 GPIO_ACTIVE_HIGH>;
--                      linux,default-trigger = "default-off";
-               };
-               power1 {
-@@ -76,7 +74,6 @@
-               router1 {
-                       label = "bcm53xx:amber:router";
-                       gpios = <&hc595 4 GPIO_ACTIVE_HIGH>;
--                      linux,default-trigger = "default-off";
-               };
-               wan {
-@@ -88,13 +85,11 @@
-               wireless0 {
-                       label = "bcm53xx:blue:wireless";
-                       gpios = <&hc595 6 GPIO_ACTIVE_HIGH>;
--                      linux,default-trigger = "default-off";
-               };
-               wireless1 {
-                       label = "bcm53xx:amber:wireless";
-                       gpios = <&hc595 7 GPIO_ACTIVE_HIGH>;
--                      linux,default-trigger = "default-off";
-               };
-       };
---- a/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
-+++ b/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
-@@ -43,19 +43,16 @@
-               power1 {
-                       label = "bcm53xx:amber:power";
-                       gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
--                      linux,default-trigger = "default-off";
-               };
-               usb {
-                       label = "bcm53xx:blue:usb";
-                       gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
--                      linux,default-trigger = "default-off";
-               };
-               wireless {
-                       label = "bcm53xx:blue:wireless";
-                       gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
--                      linux,default-trigger = "default-off";
-               };
-       };
---- a/arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts
-+++ b/arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts
-@@ -47,7 +47,6 @@
-               power0 {
-                       label = "bcm53xx:green:power";
-                       gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
--                      linux,default-trigger = "default-off";
-               };
-               power1 {
-@@ -59,13 +58,11 @@
-               usb {
-                       label = "bcm53xx:blue:usb";
-                       gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
--                      linux,default-trigger = "default-off";
-               };
-               wireless {
-                       label = "bcm53xx:blue:wireless";
-                       gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
--                      linux,default-trigger = "default-off";
-               };
-       };
---- a/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts
-+++ b/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts
-@@ -37,61 +37,51 @@
-               power-amber {
-                       label = "bcm53xx:amber:power";
-                       gpios = <&chipcommon 2 GPIO_ACTIVE_HIGH>;
--                      linux,default-trigger = "default-off";
-               };
-               usb2 {
-                       label = "bcm53xx:white:usb2";
-                       gpios = <&chipcommon 3 GPIO_ACTIVE_HIGH>;
--                      linux,default-trigger = "default-off";
-               };
-               usb3-white {
-                       label = "bcm53xx:white:usb3";
-                       gpios = <&chipcommon 4 GPIO_ACTIVE_HIGH>;
--                      linux,default-trigger = "default-off";
-               };
-               usb3-green {
-                       label = "bcm53xx:green:usb3";
-                       gpios = <&chipcommon 5 GPIO_ACTIVE_HIGH>;
--                      linux,default-trigger = "default-off";
-               };
-               wps {
-                       label = "bcm53xx:white:wps";
-