- Jan 15, 2022
-
-
Michael Pratt authored
The following devices have a Winbond W25Q256FV flash chip, which does not have the RESET pin enabled by default, and otherwise would require setting a bit in a status register. Before moving to Linux 5.4, we had the patch: 0053-mtd-spi-nor-add-w25q256-3b-mode-switch.patch which kept specific flash chips with explicit 3-byte and 4-byte address modes to stay in 3-byte address mode while idle (after an erase or write) by using a custom flag SPI_NOR_4B_READ_OP that was part of the patch. this was obsoleted by the patch: 481-mtd-spi-nor-rework-broken-flash-reset-support.patch which uses the newer upstream flag SNOR_F_BROKEN_RESET for devices with a flash chip that cannot be hardware reset with RESET pin and therefore must be left in 3-byte address mode when idle. The new patch requires that the DTS of affected devices have the property "broken-flash-reset", which was not yet added for most of them. This commit adds the property for remaining affected devices in ramips target, specifically because of the flash chip model. However, it is possible that there are other devices where the flash chip uses an explicit 4-byte address mode and the RESET pin is not connected to the SOC on the board, and those DTS would also need this property. Ref: 22d982ea ("ramips: add support for switching between 3-byte and 4-byte addressing") Ref: dfa521f1 ("generic: spi-nor: rework broken-flash-reset") Signed-off-by:
Michael Pratt <mcpratt@pm.me>
-
- Sep 25, 2020
-
-
Adrian Schmutzler authored
The "/dts-v1/;" identifier is supposed to be present once at the top of a device tree file after the includes have been processed. In ramips, we therefore requested to have in the DTS files so far, and omit it in the DTSI files. However, essentially the syntax of the parent mtxxxx/rtxxxx DTSI files already determines the DTS version, so putting it into the DTS files is just a useless repetition. Consequently, this patch puts the dts-v1 statement into the top-level SoC-based DTSI files, and removes all other occurences. Since the dts-v1 statement needs to be before any other definitions, this also moves the includes accordingly where necessary. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de>
-
- Sep 28, 2019
-
-
Adrian Schmutzler authored
Spelling of Zbtlink varies across image definitions and DTS files. This patch uses Zbtlink consistently and also updates the model in DTS files to contain the vendor in all cases. This patch is cosmetical, as there should be no dependencies on device model name in ramips anymore. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de>
-
- Jul 10, 2019
-
-
Adrian Schmutzler authored
As introduced with ath79, DTS files for ramips will now be labelled soc_vendor_device.dts(i). With this change, DTS files can be selected automatically without further manual links. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de>
-
- Jul 29, 2017
-
-
L. D. Pinney authored
Add compatible strings to all mt7621 based device tree source files to fix formal issues. Signed-off-by:
L. D. Pinney <ldpinney@gmail.com>
-
- Apr 25, 2017
-
-
Mathias Kresin authored
The Digineo AC1200 Pro is the 32MB flash variant of the ZBT-WG3526 with unpopulated/exposed sdhci slot. Rename to board to the OEM/ODM name and add the sdhci kernel module to use it for multiple clones. Signed-off-by:
Mathias Kresin <dev@kresin.me>
-
- Nov 17, 2016
-
-
Dominik Menke authored
This is basically a ZBT-WG3526 (mt7621 SoC), but with 32M flash. Signed-off-by:
Dominik Menke <dom@digineo.de>
-