summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* ramips: add wmac nodes to all mt7628/88 dts filesJohn Crispin2016-05-123-0/+11
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ramips: convert mt7620 to new image building codeJohn Crispin2016-05-121-4/+4
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ramips: DTS modificationsStanislav Galabov2016-05-129-3/+87
| | | | | | | | | | | | | | This commit makes the following modifications to ramips dts files: 1. Add clkctrl node to all dtsi files (although not used for now) 2. Add clocks and clock-names properties to some nodes (usbphy, pci) 3. Add usbphy node for rt3050 (although not used for now) 4. Add clock-frequency to uart nodes in mt7621.dtsi and mt7628an.dtsi These modifications, although not fully used at the moment, will make it easier for FreeBSD to adopt and use LEDE ramips dts files with minimal changes for easier maintenance. Signed-off-by: Stanislav Galabov <sgalabov@gmail.com>
* ramips: add initial support for SamKnows SK-WB8Andrew Yong2016-05-121-0/+124
| | | | Signed-off-by: Andrew Yong <me@ndoo.sg>
* ramips: DTS reworkStanislav Galabov2016-05-12196-9852/+9599
| | | | | | | | Add node aliases to dtsi files. Reword dts files so they're more in-line with upstream. Fix some more warnings and errors reported by dtc Signed-off-by: Stanislav Galabov <sgalabov@gmail.com>
* ramips: Change all '/include/' clauses to '#include' so preprocessing canStanislav Galabov2016-05-10175-176/+176
| | | | | | be done properly for the entire device trees. Signed-off-by: Stanislav Galabov <sgalabov@gmail.com>
* ramips: Add hex prefix (0x) to dtsi reg properties where needed.Stanislav Galabov2016-05-109-29/+29
| | | | Signed-off-by: Stanislav Galabov <sgalabov@gmail.com>
* ramips: introduce serial0 aliasesStanislav Galabov2016-05-1010-10/+32
| | | | | | | This patch introduces serial0 aliases in the ramips DTS files, which can then be used to denote the active console instead of relying on bootargs. Signed-off-by: Stanislav Galabov <sgalabov@gmail.com>
* ramips: Disable all ethernet ports except port 0 on A5-V11.blogic2016-05-101-1/+2
| | | | | | | | | Port 0 is the only ethernet port on this router, so disable all other PHYs in order to save power. Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> SVN-Revision: 49292
* ramips: Disable all ethernet ports except port 4 on HT-TM02.blogic2016-05-101-0/+1
| | | | | | | | | Port 4 is the only ethernet port on this router, so disable all other PHYs in order to save power. Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> SVN-Revision: 49291
* ramips: add support for Planex MZK-EX750NP.blogic2016-05-101-0/+150
| | | | | | | | | | | add support for Planex MZK-EX750NP. MZK-EX750NP is MT7620A and MT7610E based 11ac wifi repeater. Built-in power supply. 64MiB RAM, 8MiB SPI Flash, non Wired Ethernet. Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com> SVN-Revision: 49268
* ramips: Add support for the Netgear WNDR3700v5John Crispin2016-04-261-0/+139
| | | | | | | | | | https://wiki.openwrt.org/toh/netgear/wndr3700 wndr3700v5 uses the single-core dual thread MediaTek MT7621S SoC. Signed-off-by: L. D. Pinney <ldpinney@gmail.com> SVN-Revision: 49247
* ramips: add support for Planex MZK-EX300NPJohn Crispin2016-04-261-0/+132
| | | | | | | | | | MZK-EX300NP is MT7620A based wifi repeater. Built-in power supply. 64MiB RAM, 8MiB SPI Flash, non Wired Ethernet. Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com> SVN-Revision: 49235
* ramips: add support for Planex CS-QR10John Crispin2016-04-261-0/+163
| | | | | | | | | | | | CS-QR10 is MT7620A based IP Camera. the camera and sound does not work with kernel 4.4. - camera chip is sn9c291. - sound chip is wm8960. Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com> SVN-Revision: 49234
* ramips: Add support for ZBT WG3526John Crispin2016-04-211-0/+127
| | | | | | | | | | | | | | | | | | The WG3526 is the follow-up to the 2626 and is mostly the same, with the excaption that the mt7602 has been replaced with the mt7603. The internal wifi setup has also changed slightly. Based on my tests, everything that worked on the 2626 works on the 3526 and with roughly the same performance. v1->v2: * Remove some references to 2626 that I had missed in the dts. v2->v3: * Update patch to match new file structure. * Removed SD driver to be consistent with other MT7621 targets. Signed-off-by: Kristian Evensen <kristian.evensen@gmail.com> SVN-Revision: 49213
* ramips: add support for ELECOM WRH-300CRJohn Crispin2016-04-211-0/+127
| | | | | | | | | | | | | | ELECOM WRH-300CR is MT7620N based very small Wi-Fi router with 64MiB DDR2 SDRAM, 16MiB SPI Flash, one fast ethernet port, and (internal but easy-to-access) UART. it also has internal USB hub and USB card reader which provide one USB port, one SD card slot, and one microSD card slot. Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com> Signed-off-by: FUKAUMI Naoki <naobsd@gmail.com> SVN-Revision: 49211
* ramips: update DTS file for Planex DB-WRT01John Crispin2016-04-211-1/+1
| | | | | | | | update DTS files to use jedec,spi-nor compatible string for m25p80 to fix probe issues. Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com> SVN-Revision: 49209
* ramips: fix support Planex MZK-750DHP.John Crispin2016-04-201-4/+22
| | | | | | | | | | fix script for Planex MZK-750DHP. modification of the GPIO definition. add Profile. Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com> SVN-Revision: 49205
* ramips: rt3352 usbphy fix in dts-fileJohn Crispin2016-04-201-1/+8
| | | | | | | | Add missing rt3352 usb phy. Fix ticket #20499. Signed-Off-By:Serge Vasilugin <vasilugin@yandex.ru> SVN-Revision: 49204
* ramips: Fixes for LinkIt 7688John Crispin2016-04-091-0/+4
| | | | | | | | | | | | | Misc fixes for LinkIt 7688 board: - Copy the right wireless firmware for the mt7688 - Add back '0065-mt7688-fixes.patch', left out after the move to Linux 4.4. - Remove SPI_DEV from linux config which otherwise causes a massive warning - Add wmac to LINKIT7688.dts so wireless works Signed-off-by: Adam Kent <adam@semicircular.net> SVN-Revision: 49130
* ramips: fix for Planex MZK-WDPR (lcd control gpio).John Crispin2016-04-091-0/+10
| | | | | | | | | add lcd control gpio pin for Planex MZK-WDPR. LCD board initial timming is GPIO control. Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com> SVN-Revision: 49128
* ramips: MiWifi-Nano - change gpios to leds, add to default build groupJohn Crispin2016-03-201-23/+15
| | | | | | | | | | | | 1) Use leds to indicate: Red - Power Amber - Radio On Blue - Wifi associated 2) Add profile to default build group for MT7628 subtarget Signed-off-by: Noble Pepper <openwrtmail@noblepepper.com> SVN-Revision: 49045
* ramips: Add support for Xiaomi MiWiFi NanoJohn Crispin2016-03-161-0/+99
| | | | | | | | | | | | | | | Xiaomi MiWiFi Nano is based on Mediatek MT7628 with 64MB ram 16MB flash Signed-off-by: Noble Pepper <openwrtmail@noblepepper.com> v3 includes changes suggested by L. D. Pinney & Karl Palsson- Eliminate en25q64 (4MB) flash chip Alphabetization Remove hyphen in model Rename profile from miwifinano.mk to xiaomi.mk Add gpios that are attached to leds SVN-Revision: 49024
* ramips: Add support for GL-MT750John Crispin2016-03-101-0/+159
| | | | | | | | This patch adds support for GL-MT750. GL-MT750 is powered by MT7620A and MT7610e, dual band 802.11ac, 2.4G 300Mbps and 5G 450Mbps. It has 5 LANs, MMC interface, USB, a lot of IOs and PoE support. SVN-Revision: 48994
* ramips: Add support for GL-MT300NJohn Crispin2016-03-101-0/+153
| | | | | | | | This patch adds support for GL-MT300N. GL-MT300N is powered by MT7620N with 16MB flash, 64MB RAM, 2 LANs, USB, UART, GPIO and PoE support. SVN-Revision: 48993
* ramips: Add support for GL-MT300AJohn Crispin2016-03-101-0/+164
| | | | | | | | This patches adds support for GL-MT300A. GL-MT300A is powered by MT7620A. It has 16MB flash, 128MB RAM, Two LANs, USB, UART and MMC daughter board. SVN-Revision: 48992
* ramips: add support for Planex MZK-WDPR.John Crispin2016-03-081-0/+76
| | | | | | | | | | | add support for Planex MZK-WDPR. MZK-WDPR(MZK-WDPR-R01) is internet radio tuner. This patch is "network board" in MZK-WDPR. LCD board is non OpenWrt Platform. Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com> SVN-Revision: 48968
* ramips: add linux 4.4 support, update mt7621 subtarget to 4.4Felix Fietkau2016-03-071-2/+6
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48951
* ramips: mt7621: fix WF-2881 for ubi splitJohn Crispin2016-03-041-12/+2
| | | | | | | | This patch fix firmware split for WF-2881 which was previously manually partitioned. Signed-off-by: YounJae Rho <luxflow@live.com> SVN-Revision: 48908
* ramips: Add device tree for JCG JHR-N926RJohn Crispin2016-03-041-0/+127
| | | | | | | | | | | | | | | | Add a device tree for JCG JHR-N825R This router is based on a RT3052 and has 4MB of CFI flash and 32MB of SDRAM. As a special feature, it comes with a two digit seven segment display that is connected to a pair of daisy-chained 74164 shift registers that can be controlled via GPIOs. For details, see https://wikidevi.com/wiki/JCG_JHR-N825R . Signed-off-by: Reinhard Max <reinhard@m4x.de> Reviewed-by: Torsten Duwe <duwe@lst.de> SVN-Revision: 48904
* ramips: Add device tree for JCG JHR-N825RJohn Crispin2016-03-041-0/+81
| | | | | | | | | | | | Add a device tree for JCG JHR-N825R This router is based on a RT3052 and has 4MB of CFI flash and 32MB of SDRAM. For details, see https://wikidevi.com/wiki/JCG_JHR-N825R . Signed-off-by: Reinhard Max <reinhard@m4x.de> Reviewed-by: Torsten Duwe <duwe@lst.de> SVN-Revision: 48903
* ramips: Add device tree for JCG JHR-N805RJohn Crispin2016-03-041-0/+89
| | | | | | | | | | | | Add a device tree for JCG JHR-N805R This router is based on a RT3050 and has 4MB of SPI flash and 16MB of SDRAM. For details, see https://wikidevi.com/wiki/JCG_JHR-N805R . Signed-off-by: Reinhard Max <reinhard@m4x.de> Reviewed-by: Torsten Duwe <duwe@lst.de> SVN-Revision: 48902
* ramips: Added support for ZBT-826 / ZBT-1026John Crispin2016-03-011-0/+124
| | | | | | | | | Support for these MT7620-based routers: https://wiki.openwrt.org/toh/zbt/we-826 Based on Oskari’s patches found here: https://dev.openwrt.org/ticket/19996 Signed-off-by: Jamie Stuart <jamie@onebillion.org> SVN-Revision: 48865
* ramips: create device tree node for MT7628 WMAC in preparation for future ↵Felix Fietkau2016-02-282-0/+17
| | | | | | | | work on driver support in mt76 Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48812
* ramips: fix GPIO names for RT5350F-OLinuXino-EVBJohn Crispin2016-02-261-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hi, the board in subject (RT5350F-OLinuXino-EVB) still ships from vendor with a RC3 image built upon a .dts file which declares GPIO12 and GPIO14 as relay2 and relay1 respectively, as you can see from their rt5350f branch on GitHub. For some reason in the official stable build both the GPIOs are swapped and the wrong names are declared in the gpio-export directive. I'm submitting this patch which should roll back the wrong changes, so that we get backward compatibility with any script developed on RC3 which controls the relays. After patching correct operation is restored: root@OpenWrt:/# cat /sys/kernel/debug/gpio GPIOs 0-21, platform/10000600.gpio, 10000600.gpio: gpio-0 (button ) in hi gpio-12 (relay2 ) out lo gpio-14 (relay1 ) out lo Thank you, Signed-off-by: Lorenzo Cafaro <lorenzo@ibisco.net> SVN-Revision: 48796
* ramips: fix WSR-1166 partition tableFelix Fietkau2016-02-221-2/+2
| | | | | | | | | - Fix typo in board_data partition start address - Increase board_data partition size in order to exploit all flash size Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com> SVN-Revision: 48751
* ralink: fix mt7628 ehci supportJohn Crispin2016-02-191-1/+2
| | | | | | | | the u2_phy init was missing Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 48747
* ramips: Add support for Phicomm PSG1208John Crispin2016-02-151-0/+114
| | | | | | | | | | This patch adds support for Phicomm PSG1208.This is a router with MT7620A SoC with 8M flash and 64M ram. The WPS led is uesd as status_led because the power light can't be controlled with GPIO. It seems that the 5g wifi led is connected to MT7612E and it can't be controlled with GPIO too. Signed-off-by: Chuanhong Guo <gch981213@gmail.com> SVN-Revision: 48721
* ramips: Support LEDs on D-Link DIR-860L B1John Crispin2016-02-121-0/+20
| | | | | | | | Adds the required gpio definitions. Signed-off-by: Johannes Wienke <languitar@semipol.de> SVN-Revision: 48715
* ramips: Add support for Netgear EX2700John Crispin2016-02-121-0/+148
| | | | | | | | | | | | | | | | This patch adds support for the Netgear EX2700 and builds an approriate sysupgrade image. What's missing is the option to build a factory image flashable via the router's stock web interface, but this approach is hindered by the fact that u-boot operforms an additional integrity check, which expects a uImage header in the last 64 bytes of the "kernel" partition, which the bootloader expects to be 960k, a size exceeded by the standard OpenWrt kernel. Signed-off-by: Joseph C. Lehner <joseph.c.lehner@gmail.com> SVN-Revision: 48698
* ramips: HLK-RM04 - Enable GPIO14 for WPS buttonJohn Crispin2016-02-084-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The top half of UARTF on the HLK-RM04 is used for GPIO. mode 1 mode 2 RIN GPIO14 DSR_N GPIO13 DCD_N GPIO12 DTR_N GPIO11 RXD GPIO10 CTS_N GPIO09 TXD GPIO08 RTS_N GPIO07 This patch applies 3'b101 mode to UARTF: GPIO14 GPIO13 GPIO12 GPIO11 RXD CTS_N TXD RTS_N Because the base rt5350.dtsi file forces 3'b000 mode, remove the pin setting from this file and apply it directly to the files that inherit from it (WIZFI630A.dts and WT1520.dtsi). This change makes the rt5350.dtsi file consistent with the mt7620a.dtsi file. Signed-off-by: John Clark <inindev@gmail.com> SVN-Revision: 48665
* rampis: HLK-RM04 - Setup I2C as GPIOJohn Crispin2016-02-081-1/+20
| | | | | | | | | | | | | | | | | | | The I2C function of the RT5350 SoC on the HLK-RM04 is used for GPIO1 and GPIO2. Take note that the I2C_SD pin is GPIO1 on the RT5350 and is exposed on the HLK-RM04 as GPIO0 Likewise the I2C_SCLK pin is GPIO2 on the RT5350 and is exposed on the HLK-RM04 as GPIO1 group mode 1 mode 2 hlk-rm04 pin & export i2c i2c_sd gpio1 (pin 8, hlk-rm04:gpio0) i2c i2c_sclk gpio2 (pin 9, hlk-rm04:gpio1) reference: http://www.hlktech.net/product_detail.php?ProId=39 http://cdn.sparkfun.com/datasheets/Wireless/WiFi/RT5350.pdf Signed-off-by: John Clark <inindev@gmail.com> SVN-Revision: 48664
* ramips: HLK-RM04 - Fix push button functionsJohn Crispin2016-02-081-3/+7
| | | | | | | | | The RESET button of the HLK-RM04 is connected to GPIO0, linux function 0x198 The WPS button of the HLK-RM04 is connected to GPIO14, linux function 0x211 Signed-off-by: John Clark <inindev@gmail.com> SVN-Revision: 48663