aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/files/arch
Commit message (Collapse)AuthorAgeFilesLines
* lantiq: unify Fritz!Box LED mappingsDavid Bauer2019-08-154-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | This commit unifies the LED mapping of the AVM Fritz!Box routers, which have a combined Power/DSL LED. With the stock firmware, the Power LED has the following characteristics: - Blink when DSL sync is being established - Solid when DSL sync is present We can't completely resemble this behavior in OpenWrt. Currently, the Power LED is completely off, when DSL sync is missing. This is not really helpful, as a user might have the impression, that he bricked his device. Instead, map the Info-LED to the state of the DSL connection. There is no consistent behavior for the Info-LED in the stock firmware, as the user can set it's function by himself. The DSL connection state is one possible option for the Info LED there. Also use the red Power LED to indicate a running upgrade, in case the board has a two-color Power LED. Signed-off-by: David Bauer <mail@david-bauer.net>
* lantiq: add led-upgrade alias for Fritz!Box 7412David Bauer2019-08-101-0/+1
| | | | | | | This adds the led-upgrade alias for the AVM Fritz!Box 7412 to indicate a running firmware upgrade. Signed-off-by: David Bauer <mail@david-bauer.net>
* lantiq: enable second VPE on Fritz!Box 7412David Bauer2019-08-101-1/+1
| | | | | | | | | The AVM Fritz!Box 7412 does not use the VMMC part of the Lantiq chip but rather a proprietary solution based on the DECT chip for the FXS ports. Therefore, the second VPE can be enabled for use with OpenWrt. Signed-off-by: David Bauer <mail@david-bauer.net>
* lantiq: correct Fritz!Box 7412 button logic levelDavid Bauer2019-08-101-2/+2
| | | | | | | | | The AVM FRITZ!Box 7412 buttons are both active low, which is currently incorrectly defined in the device-tree. This leads to the device booting directly into failsafe. Signed-off-by: David Bauer <mail@david-bauer.net>
* lantiq: dts: use generic node namesPetr Štetiar2019-07-0765-161/+155
| | | | | | | | | | | | | | | | | | In DTS Checklist[1] we're now demanding proper generic node names, as the name of a node should reflect the function of the device and use generic name for that[2]. Everybody seems to be copy&pasting from DTS files available in the repository today, so let's unify that naming there as well and provide proper examples. 1. https://openwrt.org/submitting-patches#dts_checklist 2. https://github.com/devicetree-org/devicetree-specification/blob/master/source/devicetree-basics.rst#generic-names-recommendation Signed-off-by: Petr Štetiar <ynezz@true.cz> [split out treewide patch, integrated P2812HNUF1 rename patch] Signed-off-by: Christian Lamparter <chunkeey@gmail.com> [merged key and led changes, use generic node name for flash, wifi and gpio] Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: dts: drop falcon clock nodeMathias Kresin2019-07-071-26/+0
| | | | | | | | | It is pretty ovbious a misuse of the simple-bus binding as no child has a address. Luckly the clock node isn't used at all so it is safe to get rid of it. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: dts: drop empty falcon devicetree nodeMathias Kresin2019-07-071-6/+2
| | | | Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: dts: fix unit address mismatch warningMathias Kresin2019-07-071-2/+2
| | | | | | | | | Set a unit address matching the reg property for the EASY98000 ethernet node. Fixes a unit mismatch devicetree compiler warning. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: dts: move localbus childs to dtsMathias Kresin2019-07-079-52/+80
| | | | | | | | The localbus childs are highly board specific and need to be part of the board dts. Otherwise we run into duplicate unit address issues if a board has something else (NAND) connected to the bus id. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: dts: fix vmmc unit and register addressMathias Kresin2019-07-072-3/+3
| | | | | | | | | | The register address is the same for danube und vr9. The register size is 0x400 byte for danube and 0x300 byte for vr9. The change doesn't have an impact as the vmmc driver doesn't use the devicetree and has hardcoded register offsets. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: dts: use lower case for hex valuesMathias Kresin2019-07-075-42/+42
| | | | | | Use only lower case for hex values to keep it consistent. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: dts: drop superfluous address and size cellsMathias Kresin2019-07-0752-172/+3
| | | | | | | | Fixes the following devicetree compiler warning: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: dts: move partitions into partition nodeMathias Kresin2019-07-074-88/+103
| | | | Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: dts: add missing size and address cellsMathias Kresin2019-07-074-0/+8
| | | | | | | | | | Add size and address cells where missing to fix the following devicetree compiler warning: Warning (avoid_default_addr_size): Relying on default #address-cells value Warning (avoid_default_addr_size): Relying on default #size-cells value Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: dts: fix size cellsMathias Kresin2019-07-0711-11/+11
| | | | | | SPI nodes only need an address and no size. Drop the size everywhere. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: dts: fix malformed unit addressesMathias Kresin2019-07-071-1/+1
| | | | | | | | Fixes: Warning (unit_address_format): unit name should not have leading "0x" Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: dts: drop superfluous unit addressMathias Kresin2019-07-0720-68/+48
| | | | | | | | | | | | | The cpu temperature driver has the register offset hardcode and doesn't need a reg. The mdio bus node is only used as a well known name and doesn't need a reg or unit address. syscon-reboot doesn't have a unit address or a reg either. The unit name collides with reset-controller@10 anyway. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: dts: add reg if unit address is setMathias Kresin2019-07-075-0/+29
| | | | | | | | | Add the reg property if the node has an unit address. Fixes the following device tree compiler warning: Warning (unit_address_vs_reg): node has a unit name, but no reg property Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: dts: move memory node to board dtsMathias Kresin2019-07-0747-16/+43
| | | | | | | The memory node is highly board specific and should be only defined in the board dts. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: copy target to kernel 4.19Hauke Mehrtens2019-07-0482-0/+12565
| | | | | | | | This just copies the files from the kernel 4.14 specific folders into the kernel 4.19 specific folder, no changes are done to the files in this commit. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* move files/ -> files-3.3/John Crispin2012-11-0290-23969/+0
| | | | SVN-Revision: 34060
* drop GPIODEV platform codeJohn Crispin2012-10-171-5/+0
| | | | SVN-Revision: 33825
* tapi was not registeredproperly for most arcadyan boardsJohn Crispin2012-09-281-0/+8
| | | | SVN-Revision: 33591
* W502V/ARV4525 wireless mac bugfixJohn Crispin2012-08-041-4/+1
| | | | | | | | | The ARV4525 board init is passing the wrong offset to arv_register_ath5k() resulting in a bogus mac. Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de> SVN-Revision: 32993
* cleanup patchesJohn Crispin2012-08-0365-129/+20325
| | | | SVN-Revision: 32953
* move files-3.3 -> filesJohn Crispin2012-05-2729-0/+3773
| | | | SVN-Revision: 31912
* * revert [25002] * fixes EBU ack when EBU causes an irqJohn Crispin2011-01-191-213/+0
| | | | SVN-Revision: 25047
* move irq.c from patch into own fileMirko Vogt2011-01-151-0/+213
SVN-Revision: 25002