- 22 Dec, 2019 5 commits
-
-
Kevin Schmidt authored
Enable mt76 driver on VR200/VR200v. Signed-off-by:
Kevin Schmidt <kevin.patrick.schmidt@googlemail.com>
-
Adrian Schmutzler authored
This renames lantiq DTS(I) files to follow soc_vendor_device scheme. This will make DTS files easier to maintain. As a side effect, DTS file name can be derived from device node names now, only having to specify a SOC variable in Makefiles. While at it, move files to arch/mips/boot/dts/lantiq subfolder. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de>
-
Martin Blumenstingl authored
Assign the GPHY LED pins to the Ethernet controller node instead of using pin hogging (where pins are assigned to the pin controller). This is the preferred way of assigning pins upstream. Signed-off-by:
Martin Blumenstingl <martin.blumenstingl@googlemail.com>
-
Martin Blumenstingl authored
Define the SPI pins in the corresponding SoCs.dtsi and assign them to the SPI controller node. All known boards use CS4 and it's likely that this is hardcoded in bootrom so this doesn't bother with having per-board SPI pinmux settings. Signed-off-by:
Martin Blumenstingl <martin.blumenstingl@googlemail.com>
-
Martin Blumenstingl authored
Assign the MDIO pins to the switch node instead of using pin hogging (where pins are assigned to the pin controller). This is the preferred way of assigning pins upstream. This converts amazonse, ar9 and vr9. danube is skipped because the pin controller doesn't define a pinmux for the MDIO pins (some of the SoC pads may be hardwired to the MDIO pins instead of being configurable). Signed-off-by:
Martin Blumenstingl <martin.blumenstingl@googlemail.com>
-
- 07 Jul, 2019 5 commits
-
-
Petr Štetiar authored
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>
-
Mathias Kresin authored
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>
-
Mathias Kresin authored
SPI nodes only need an address and no size. Drop the size everywhere. Signed-off-by:
Mathias Kresin <dev@kresin.me>
-
Mathias Kresin authored
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>
-
Mathias Kresin authored
The memory node is highly board specific and should be only defined in the board dts. Signed-off-by:
Mathias Kresin <dev@kresin.me>
-
- 04 Jul, 2019 1 commit
-
-
Hauke Mehrtens authored
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>
-
- 26 Nov, 2018 1 commit
-
-
Kevin Schmidt authored
Disables SMP support. Add VR200 target to keep SMP on FXS-less device variant. Signed-off-by:
Kevin Schmidt <kevin.patrick.schmidt@googlemail.com>
-
- 17 May, 2018 1 commit
-
-
Mathias Kresin authored
It isn't a phy supply, as the phy is still up if the GPIO is low. It rather is the supply for the vbus. A correct setting/definition will be relevant as soon as USB peripheral mode is supported. Signed-off-by:
Mathias Kresin <dev@kresin.me>
-
- 20 Feb, 2018 5 commits
-
-
Hauke Mehrtens authored
Updated the devicetree source files to make use of the following upstreamed drivers: - xrx200 ethernet phy - reset controller unit - dwc2 - fpi Use our custom xrx200 ethernet phy compatible to support boards, which have switched the vr9 revision during lifetime, with a single devicetree source file. By switching to the dwc2 driver + usb phy framework, we don't need to used our custom gpio power patch and can use a fixed regulator instead. Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by:
Mathias Kresin <dev@kresin.me>
-
Mathias Kresin authored
Move common used parts to dtsi. Add labels to nodes and reference nodes via labels in dts files. Signed-off-by:
Mathias Kresin <dev@kresin.me>
-
Hauke Mehrtens authored
This just copies the patches, configuration and dts files into the directories hich are used for kernel 4.14. Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de>
-
Mathias Kresin authored
Move the devicetree source files to a kernel specific directory in preparation of adding kernel 4.14 support. Rename the subtarget kernel config files to match a specific kernel version. Signed-off-by:
Mathias Kresin <dev@kresin.me>
-
Mathias Kresin authored
Rename the gphy firmware to match the name requested by kernel 4.14 and update the devicetree source files to use the new name. Update the u-boot lantiq Makefile to be compatible with the new names as well. Signed-off-by:
Mathias Kresin <dev@kresin.me>
-
- 16 Dec, 2017 2 commits
-
-
Mathias Kresin authored
Remove the former used board name from the device model property and use the model name as it is. Signed-off-by:
Mathias Kresin <dev@kresin.me>
-
Mathias Kresin authored
The compatible string is mandetory for devicetree source file. Signed-off-by:
Mathias Kresin <dev@kresin.me>
-
- 09 Sep, 2017 1 commit
-
-
Vittorio Alfieri authored
Enable PCI to make the (still unsupported) WAVE300 wireless visible to the system. Signed-off-by:
Vittorio Alfieri <vittorio88@gmail.com>
-
- 05 Jan, 2017 1 commit
-
-
Hauke Mehrtens authored
The boot loader of many boards provides a kernel boot argument with a broken console parameter to the kernel. This will be taken before the stdout-path defined in device tree and the serial will not work on this board. Multiple boards are affected by this problem, so revert this patch for all boards. Later we can remove the boot arguments from the device tree again, after the individual board was checked to work. This partly reverts this commit: commit 4995c648 Author: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Date: Sun Dec 11 21:55:00 2016 +0100 lantiq: specify console using stdout-path instead of cmdline argument Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de>
-
- 12 Dec, 2016 2 commits
-
-
Martin Blumenstingl authored
/etc/preinit has been the default init-script for a very long time (at least since Linux 2.6.30 in OpenWrt). Remove the kernel command line "init" parameter to get rid of duplicate and inconsistent definitions of this parameter (some boards, like FRITZ3370 for example did not use it at all, while it's just copy and paste on others). Signed-off-by:
Martin Blumenstingl <martin.blumenstingl@googlemail.com>
-
Martin Blumenstingl authored
Use devicetree's /chosen/stdout-path instead of the kernel command line (embedded in the .dts-files) to specify the serial console. Using the chosen node is recommended on devicetree based platforms. Signed-off-by:
Martin Blumenstingl <martin.blumenstingl@googlemail.com>
-
- 27 Nov, 2016 1 commit
-
-
Mathias Kresin authored
Use keycodes that matches the intended use case based on the label. Signed-off-by:
Mathias Kresin <dev@kresin.me>
-
- 13 Nov, 2016 1 commit
-
-
Mathias Kresin authored
All compiled device tree files not mentioned are binary identical to the former ones. Fix the obvious decimal/hex confusion for the power key of ramips/M2M.dts. Due to the include of the input binding header, the BTN_* node names in: - ramips/GL-MT300A.dts - ramips/GL-MT300N.dts - ramips/GL-MT750.dts - ramips/Timecloud.dts will be changed by the compiler to the numerical equivalent. Move the binding include of lantiq boards to the file where they are used the first time to hint the user where the values do come from. Signed-off-by:
Mathias Kresin <dev@kresin.me>
-
- 19 Oct, 2016 1 commit
-
-
Andreas Eberlein authored
The device tree file of ARV752DPW uses numbers/hex values for gpio states and input event codes. This cleans it up and uses the available macros from header files. This way the functions are easier to read and comprehend. Signed-off-by:
Andreas Eberlein <foodeas@aeberlein.de> [sanitize all device tree files] Signed-off-by:
Mathias Kresin <dev@kresin.me>
-
- 05 Oct, 2016 1 commit
-
-
Mathias Kresin authored
The chosen node is clearly the wrong place for aliases. Signed-off-by:
Mathias Kresin <dev@kresin.me>
-
- 10 May, 2016 1 commit
-
-
blogic authored
Starting with kernel 4.4, the use of partitions as direct subnodes of the mtd device is discouraged and only supported for backward compatiblity reasons. Signed-off-by:
Mathias Kresin <openwrt@kresin.me> SVN-Revision: 49280
-
- 29 Jan, 2016 1 commit
-
-
Felix Fietkau authored
This removes a lot of duplicate register and interrupt definitions by moving the xrx200-net definition to vr9.dtsi and making all devices re- use it. Signed-off-by:
Martin Blumenstingl <martin.blumenstingl@googlemail.com> SVN-Revision: 48547
-
- 18 Jan, 2016 1 commit
-
-
Hauke Mehrtens authored
This adds basic support for TP-Link VR200v. Currently the following parts are not working: FXO, Voice, DECT, WIFI (both) Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 48328
-
- 17 Jan, 2016 3 commits
-
-
Felix Fietkau authored
Re-defining the compatible property is not required since the correct value is inherited from vr9.dtsi. Signed-off-by:
Martin Blumenstingl <martin.blumenstingl@googlemail.com> SVN-Revision: 48295
-
Felix Fietkau authored
Compared to the "old" driver: - Each device must assign a pinctrl setting to the SPI node to allow the new SPI driver to configure the SPI pins. While here we are also using separate input and output settings so we are independent of whether the bootloader configures the pins correctly. - We use the new "compatible" strings to make the driver choose the correct number of chip-selects for each SoC. - The new driver starts counting the chip-selects at 1 (instead of 0, like the old one did). Thus we have to adjust the devices accordingly. Signed-off-by:
Martin Blumenstingl <martin.blumenstingl@googlemail.com> SVN-Revision: 48293
-
Felix Fietkau authored
This removes the duplicate SPI register definition. Signed-off-by:
Martin Blumenstingl <martin.blumenstingl@googlemail.com> SVN-Revision: 48287
-
- 01 Jan, 2016 3 commits
-
-
John Crispin authored
The leds of the following boards are not renamed due to lack of manuals/informations: - ARV7519PW - ARV7510PW22 - ARV4510PW The leds of the ARV4518PWR01* boards are unchanged, since the leds doesn't match the leds from the manual or pictures (e.g. there shouldn't be a wps led). Signed-off-by:
Mathias Kresin <openwrt@kresin.me> SVN-Revision: 48042
-
John Crispin authored
The BTHOMEHUBV5A has a RGB power led, where every colour is perfect to indicate the current boot state. This patch adds support for such cases. The existing led sequences should be the same as before. Boards which are using a led different from power (like TDW89x0) are changed to switch of the led after boot Signed-off-by:
Mathias Kresin <openwrt@kresin.me> SVN-Revision: 48041
-
John Crispin authored
- ARV7525PW: use the power led as dsl led as done by the stock firmware - FRITZ3370: use the info led as internet led - FRITZ7320: use the power led as dsl led as done by the stock firmware Signed-off-by:
Mathias Kresin <openwrt@kresin.me> SVN-Revision: 48037
-
- 23 Dec, 2015 2 commits
-
-
John Crispin authored
Use the same max spi frequency as set in u-boot. According to the datasheets, the Q64-104HIP as well as the Winbond 25Q64FVSIG support spi frequencies up to 50 MHz. During my tests, the Q64-104HIP couldn't be recognized/initialized if the frequency was > 40MHz. Both chips do support fast read as well. While touching the dts file, I fixed the dtc compiler warnings. Signed-off-by:
Mathias Kresin <openwrt@kresin.me> SVN-Revision: 47994
-
John Crispin authored
This patch configures the correct ath9k WLAN LED polarity for the TDW8970, and for the TDW8980 as well. Signed-off-by:
Vittorio Gambaletta <openwrt@vittgam.net> SVN-Revision: 47969
-
- 17 Dec, 2015 1 commit
-
-
John Crispin authored
The TDW8970 has a AR9381, which is the bgn 3x3:3 variant of the AR938x family. The TDW8980 has a AR9287, which is the bgn 2x2:2 variant of the AR928x family. This means that the chip for both routers is 2.4 GHz only. Anyway, the manufacturer didn't disable the 5 GHz band in the EEPROM partition (at least on my TDW8970). So this patch disables the 5 GHz band. Signed-off-by:
Vittorio Gambaletta <openwrt@vittgam.net> SVN-Revision: 47912
-