aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts
Commit message (Collapse)AuthorAgeFilesLines
* treewide: dts: use C style includesMathias Kresin2016-11-123-3/+3
| | | | | | | No functional change but allows me to use one script to compile all device tree source files. Signed-off-by: Mathias Kresin <dev@kresin.me>
* treewide: dts: fix dtc compiler warningsMathias Kresin2016-11-122-0/+6
| | | | | | | | | | | Fixes invalid device tree parameters. Drop the mvsw61xx node used in mvebu device tree source files. It looks like some kind of ethernet switch cargo cult. Neither the marvell,88e6352 nor the marvell,88e6172 compatible strings can be found in any LEDE file or in the kernel sources. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: add TEW-691GR/TEW-692GR 2.4 GHz interface mac addressesMathias Kresin2016-11-092-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Assign an unused MAC addresses to the 2.4GHz wifi interface as it was originally planed but not possible. The MAC address numbering of the TEW-691GR changes to the following pattern: LAN: AA:BB:CC:DD:EE:0C WIFI: AA:BB:CC:DD:EE:0D WAN: AA:BB:CC:DD:EE:0F The MAC address numbering of the TEW-692GR changes to the following pattern: LAN: AA:BB:CC:DD:EE:e4 WAN: AA:BB:CC:DD:EE:e5 2.4GHz: AA:BB:CC:DD:EE:e7 5 GHz: AA:BB:CC:DD:EE:e8 Set the label and compatible string for the TEW-692GR PCIe wireless according to the the PCI binding documentation. Use the wifi@0,0 label and the pci0,0 compatible string since the PCI vendor and device id is unknown. It should work anyway since the compatible string isn't evaluated (yet). Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: use the ralink,mtd-eeprom device tree propertyMathias Kresin2016-11-096-19/+23
| | | | | | | | | | | | | | | | | | | | | Use the ralink,mtd-eeprom instead of invoking the userspace firmware loader. Set the label and compatible string according to the the PCI binding documentation. Use the wifi@0,0 label and the pci0,0 compatible string in case the PCI vendor and device id is unknown. It should work anyway since the compatible string isn't evaluated (yet). This commit might fixes the PCIe wireless for the Buffalo WHR-600D. This board was mentioned in the board 10-rt2x00-eeprom firmware hotplug script but never had the correct eeprom name set to trigger the firmware from flash extraction. Use the usual eeprom for the soc wmac of the Dovado Tiny AC. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: Add support for Wavlink WL-WN575A3Roger Pueyo Centelles2016-11-081-0/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds support for the Wavlink WL-WN575A3, a dual-band wall-plug wireless router with the following specifications: - CPU: MediaTek MT7628AN 580MHz - Flash: 8MB - RAM: 64MB - Ethernet: 2x 10/100 Mbps (switched) - 2.4 GHz: 802.11b/g/n SoC, MIMO 2x2, 20 dBm - 5 GHz: 802.11a/n/ac MT7612E, MIMO 2x2, 20 dBm - Antennas: 4x external (2 per radio), non-detachable - LEDs: 4 programmable + LAN, WAN, POWER - Buttons: reset, WPS Flashing instructions: Factory U-boot launches a TFTP client if WPS button is pressed during power-on. Rename the sysupgrade file and configure a TFTP as follows: - Client (WL-WN575A3) IP: 192.168.10.101 - Server IP: 192.168.10.100 - Filename: firmware.bin Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
* ramips: add support for MikroTik hEX v3 (RB750Gr3)Andrew Yong2016-11-021-0/+121
| | | | | | | | | | | | | | The MikroTik hEX v3 (RB750Gr3) is a MT7621AT board which is similar to most MT7621 reference designs, it can be easily supported by this patch; however, the stock RouterBOOT bootloader has to be replaced by a MT7621 SDK U-Boot such as https://github.com/ndoo/RB750Gr3-U-Boot - U-Boot configured for the RB750Gr3 (16MiB SPI flash, 256MiB DDR3 RAM at 1200MHz). RouterBOOT, the stock bootloader, does not initialize the UART and boots silently, making it preferable to replace it with a MT7621 SDK U-Boot with UART (57600 8N1) that supports HTTP, TFTP or serial upload of sysupgrade firmware and U-Boot. Furthermore, RouterOS, the stock firmware, is contained in a proprietary modification of SquashFS without GPL sources; UART is also disabled in stock firmware. The combination of LEDE firmware generated by this PR and MT7621 SDK U-Boot expects the printed MAC address to reside at offset `0xe000` of the factory partition (absolute offset is `0x4e000`); this is similar to the factory MAC address offset for several other MT7621 devices. A 16MiB flash dump suitable for use with flashrom will be provided if/once this patch is accepted and binaries are built by LEDE buildbot. Alternatively, writing the U-Boot to the SPI flash starting at 0x0 offset and booting the board with serial console attached will allow TFTP, HTTP or serial upload of sysupgrade firmware. Signed-off-by: Andrew Yong <me@ndoo.sg>
* ramips: Archer C50 cleanupHenryk Heisig2016-10-311-16/+47
| | | | | | | | | | | - setting read-only flag to important partitions - enabling PA to improve 2.4 GHz signal strength - add missing leds - rename colour led - add mac adress to 5GHz wlan interface - included <dt-bindings/input/input.h> and <dt-bindings/gpio/gpio.h> Signed-off-by: Henryk Heisig hyniu@o2.pl
* ramips: fix PSG1218 LEDsXuefu Lin2016-10-261-3/+3
| | | | Signed-off-by: Xuefu Lin <xuefulin@gmail.com>
* ramips: add support for Planex VR500.YuheiOKAWA2016-10-151-0/+92
| | | | | | | | | | | | SOC: MT7621A RAM: 256MiB NOR: MX25L51245G Non Wireless Router. Issue: soft reboot problem. SPI Flash do not exit 4byte address mode. Signed-off-by: Yuhei Okawa <tochiro.srchack@gmail.com>
* ramips: use rfkill for wps button on wlan only boardsMathias Kresin2016-10-156-8/+8
| | | | | | | | | | | | | All of the touched boards don't have an ethernet port. Allow to use the wps button on these boards to enable the wireless radio after boot. The force enabled wireless for the DCH-M225 is removed. It is reckless to bring up an unencrypted wireless network by default these days. Using the wps button to bring up the radio seam to me the better approach. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: use rootfs splitter and new image build code for BR-6475NDMathias Kresin2016-10-151-5/+0
| | | | | | | Use the edimax uImage splitter instead of the fixed size rootfs partition. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: improve edimax 6200n/nl supportMathias Kresin2016-10-152-9/+14
| | | | | | | | | | Assign the reset functionality to the wps/reset buttons. Use the wlan switch of the 6200n to enable/disable wlan. Add the internet led of the 6200nl and use the led for boot status indication Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: fix edimax 6200nl switch configMathias Kresin2016-10-151-1/+1
| | | | | | | | | | | | | With 3a9752bbd2bc00e407b5dcad21789720f40abf0e and later changes to ramips_set_preinit_iface() the default vlan config applied during preinit was changed. These changes were made without updating the default network config to ensure that vlan interfaces used for lan/wan are still configured. Fix the issue by using the default all LAN portmap and disabling not connected switch ports using portdisable device tree parameter. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: add support for Zyxel NBG-419N2 (WAP3205v2)Klaus2016-10-041-0/+117
| | | | | | | | | | | applied bb-final-ramips-add-zyxel-nbg-419n2.patch from 123serge123, found at https://yadi.sk/d/1ZV0lKJwbTE65; see https://forum.openwrt.org/viewtopic.php?pid=246905#p246905, modified slightly to fit to CC release and to new lede build system: image/rt305x.mk include file is used now changed NBG-419N2.dts format to fit style of other dts files Signed-off-by: Klaus <k-laus@quantentunnel.de>
* ramips: Add support for Phicomm K2 PSG1218Xuefu Lin2016-10-041-0/+118
| | | | | | | | | - CPU: MT7620A 580MHz - Flash: 8MB - RAM: 64MB - External PA+LNA on both WLAN2.4 and WLAN5 - 4x LAN ethernet and 1x WAN ethernet Signed-off-by: Xuefu Lin <xuefulin@gmail.com>
* ramips : add support for Newifi D1BangLang Huang2016-09-271-0/+149
| | | | Signed-off-by: BangLang Huang <banglang.huang@foxmail.com>
* ramips : add support for PandoraBox D1BangLang Huang2016-09-271-0/+159
| | | | Signed-off-by: BangLang Huang <banglang.huang@foxmail.com>
* ramips: Add support for ZBT-CPE102Cezary Jackiewicz2016-09-271-0/+118
| | | | | | | | | | - CPU: MT7620N 580MHz - Flash: 8MB - RAM: 64MB - build-in minipcie slot for modem 3G/4G - one ethernet port 10/100Mbps Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
* ramips: add support for Mercury MAC1200R v2Daniel Golle2016-09-091-0/+94
| | | | | | | | MT7628AN + MT7612E, 8MB SPI flash, 64MB DDR RAM reset button GPIO is still missing (anyone?) bootloader password is 'slp' Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* ramips: TEW-691GR: fix switch and wirelessMathias Kresin2016-08-201-1/+4
| | | | | | | | | Due to the missing phy-mode setting, the switch wasn't initialised. The wireless requires an eeprom to work. Use the same mac addresses as the stock firmware. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: TEW-692GR: fix switch and wirelessMathias Kresin2016-08-201-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The AR8327 initvals were not copied to the DTS during the switch from mach file to device tree and broke the switch on the device. The former used PORT6 related initvals were wrong and have been corrected. The phy mode setting for the switch was missing in the DTS as well. The wireless requires an eeprom to work. The dual band wireless chips have both bands enabled by default but only one band per chip is working. The stock firmware uses the following mac addresses: LAN: AA:BB:CC:DD:EE:E4 WAN: AA:BB:CC:DD:EE:E4 2.4GHz: AA:BB:CC:DD:EE:E4 5 GHz: AA:BB:CC:DD:EE:E8 Assuming the mac address range :E4 to :E8 is reserved for this device, the MAC addresses were reorder to have a unique MAC address for each interface: LAN: AA:BB:CC:DD:EE:E4 2.4GHz: AA:BB:CC:DD:EE:E4 WAN: AA:BB:CC:DD:EE:E5 5 GHz: AA:BB:CC:DD:EE:E8 Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: rt3883: fix dtc compiler warningMathias Kresin2016-08-201-0/+2
| | | | | | | | | | Fixes the following compiler warning: Warning (reg_format): "reg" property in /ethernet@10100000/port@0 has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1) Warning (avoid_default_addr_size): Relying on default #address-cells value for /ethernet@10100000/port@0 Warning (avoid_default_addr_size): Relying on default #size-cells value for /ethernet@10100000/port@0 Signed-off-by: Mathias Kresin <dev@kresin.me>
* swconfig: revert the portmapping patches, they seem to cause a segfaultJohn Crispin2016-08-161-0/+30
| | | | | | | | | | | | Revert "kernel/swconfig: remove obsolete portmapping feature from swconfig" This reverts commit 675407baa44a8700de20b6b2857009a552a807ba. Revert "swconfig: remove obsolete portmapping feature" This reverts commit fca1eb349ef31b133a62880cbd562d6bf17500aa. Signed-off-by: John Crispin <john@phrozen.org>
* kernel/swconfig: remove obsolete portmapping feature from swconfigJohn Crispin2016-08-151-30/+0
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ramips: Add support for Thunder TimecloudChuanhong Guo2016-08-101-0/+110
| | | | | | | Thunder Timecloud is a small NAS with MT7621A. It has 1 USB port and an SD Card slot. There is no wireless cards. Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
* ramips: Add support for TEW-714TRUJimmy Zhong2016-08-101-0/+122
| | | | Signed-off-by: Jimmy Zhong <mb300sd@mb300sd.net>
* ramips: Rename TP-Link Archer C50 LEDsP.Wassi2016-07-261-5/+5
| | | | | | | Rename LEDs in TP-Link Archer C50 from [manufacturer name] to [board name] ("tp-link" -> "c50") Signed-off-by: P.Wassi <p.wassi@gmx.at>
* ramips: Improve TP-Link Archer C20i supportP.Wassi2016-07-261-5/+41
| | | | | | Improve / finalise TP-Link Archer C20i support. Signed-off-by: P.Wassi <p.wassi@gmx.at>
* ramips: add missing i2s aliasJohn Crispin2016-07-241-1/+1
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ramips: Add support for D-Link DCH-M225Michael Lee2016-07-112-0/+191
| | | | | | | | D-Link DCH-M225 is based on Mediatek MT7620 with 64MB ram, 8MB flash, 3.5mm audio out support. but no ethernet and usb ports. so you must default enable wifi. Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: Add support for the NixCore X1 ModuleL. D. Pinney2016-07-113-0/+232
| | | | | | | | | The NixCore X1 is a Ralink/MediaTek rt5350 WiFi Module. http://nixcores.com/ Signed-off-by: L. D. Pinney <ldpinney@gmail.com> Acked-by: Drew Gaylo <drew@nixcores.com>
* ramips: fix partition size for RT5350F-OLINUXINORene Treffer2016-07-112-2/+2
| | | | | | | | | The partition size is wrong, leading to out-of-disk-space even on no/moderate use. Upstream fix from vendor: https://github.com/OLIMEX/openwrt/commit/2f25eb57edc79d33c4810d185c193be4293c434a Suggested fix for openwrt: https://dev.openwrt.org/ticket/20321 Signed-off-by: Rene Treffer <treffer@measite.de>
* ramips: fix usb phy initialisationJohn Crispin2016-07-111-1/+1
| | | | | | this broke usb20 device detection. Signed-off-by: John Crispin <john@phrozen.org>
* ramips: fix up switch settings for Sitecom WL-351 v1 002John Crispin2016-07-031-1/+6
| | | | | | | | | Pinmux for rgmii needs to be set to rgmii, not gpio. Hide the ESW switch on boot (using new rgmii esw devicetree attribute). Also add a Sitecom-specific profile, since the image needs to include the rtl8366 kernel driver. Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
* ramips: add button support and make LEDs known to userspace for DIR-860L B1Matthias Schiffer2016-06-301-0/+12
| | | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> Reviewed-by: Jo-Philipp Wich <jo@mein.io>
* ramips: add suport for ZBT APE522IIRoger Pueyo Centelles2016-06-221-0/+143
| | | | | | | | | The ZBT APE522II is a dual-radio outdoor CPE based on the MT7620a SoC. It has 64 MB RAM, 8 MB flash, 2 Fast Ethernet ports via internal switch (one with 802.3af 48V PoE support), a 802.11b/g/n SoC 2.4 GHz radio and an 802.11a/n/ac MT7612E-based 5 GHz radio. Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
* ramips: remove duplicate i2c dts infoMichael Lee2016-06-204-24/+0
| | | | Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips/dts: Add support for Archer C50Henryk Heisig2016-06-131-0/+156
| | | | Signed-off-by: Henryk Heisig <hyniu@o2.pl>
* ramips: add support for DuZun DM06Michael Lee2016-06-131-0/+155
| | | | | | | | DuZun DM06 is a develop board based on mt7628 64M RAM, 8M SPI Flash, 1 WAN, 1 LAN. wm8960 codec with line out, line in and speaker output. Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: update i2s dtsi filesMichael Lee2016-06-137-5/+111
| | | | Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: update i2c dtsi filesMichael Lee2016-06-138-17/+127
| | | | Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: add gdma hsdma dts infoMichael Lee2016-06-137-2/+104
| | | | Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: fix Mi Wi-Fi Nano Wireless LED pinmuxÁlvaro Fernández Rojas2016-06-031-2/+1
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* ramips: add Widora-NEO board supportYuan Chenmang2016-06-011-0/+169
| | | | | | | | | The Widora board is similar to the Linkit 7688 but features a larger flash capacity. Signed-off-by: Yuan Chenmang <771992497@qq.com> [Jo-Philipp Wich: Reword commit message, cleanup initial PR] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ramips: Add specific compatible properties for eswJohn Crispin2016-05-232-2/+2
| | | | | | | | | | | | | | | | Currently, for RT5350 and MT7628, esw is marked as compatible with "ralink,rt3050-esw". While this is true, the switches within RT5350 and MT7628 actually support more functionality than the RT3050 switch. One such example is per-VLAN untagging, which is an important feature. RT3352 is another example of this, but it already has an additional compatible property, which allows to differentiate it from RT3050. This commit adds such more specific properties for RT5350 and MT7628 as well. Signed-off-by: Stanislav Galabov <sgalabov@gmail.com>
* ramips: cleanup for Hame MPR-A2Cezary Jackiewicz2016-05-231-1/+2
| | | | | | | | | | | | - disable all ethernet ports except port 0 on MPR-A2 Port 0 is the only ethernet port on this router, so disable all other PHYs in order to save power. - don't use a VLAN for the single ethernet port of the MPR-A2 Like A5-V11, this router only has one ethernet port. Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
* ramips: fix pinctrl regressionÁlvaro Fernández Rojas2016-05-186-6/+6
| | | | | | This regression was introduced in commit 9195d8da. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* ramips: fix spidev generic nodesÁlvaro Fernández Rojas2016-05-183-5/+6
| | | | | | | Use linux,spidev compatible string. Move MZK-DP150N spidev to spi1 node. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* ramips: fix size-cells on spi nodesÁlvaro Fernández Rojas2016-05-18111-114/+114
| | | | | | size-cells should be 0 in order to avoid dummy values in reg properties. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* ramips: disable unused ethernet ports on VoCoreÁlvaro Fernández Rojas2016-05-141-1/+2
| | | | | | Only ports 0 and 4 are used so disable the other ones in order to save power. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>