summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts
Commit message (Collapse)AuthorAgeFilesLines
* 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
* ramips: HLK-RM04 - Remove power LED configJohn Crispin2016-02-081-9/+0
| | | | | | | | | The power LED on the HLK-RM04 is hard wired to the power bus and is not under GPIO control, remove the bogus config for it. (Note that GPIO0 is actually connected to the RESET button.) Signed-off-by: John Clark <inindev@gmail.com> SVN-Revision: 48662
* ramips: fix serial baudrate for final version of ZBT-WG2626 boardJohn Crispin2016-01-191-1/+1
| | | | | | | | | | The bootloader was updated and now uses 115200 instead of 57600 baud for the serial console. Change this also in OpenWrt's DTS, so the rate is consistent for bootloader and linux kernel output. Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 48359
* ramips: fix duplicate /dts-v1/ line for WRTNODE2Felix Fietkau2016-01-061-2/+0
| | | | | | Signed-off-by: Noble Pepper <openwrtmail@noblepepper.com> SVN-Revision: 48138
* ralink: update the usb phy driver to the version sent upstreamJohn Crispin2016-01-046-8/+8
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 48114
* ralink: fix USB compatible stringsJohn Crispin2016-01-046-12/+12
| | | | | | | | switch to the upstream compatible strings for ehci and ohci support. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 48113
* ramips: Remove LED GPIO definitions in MQmaker WiTi device treeJohn Crispin2016-01-011-19/+0
| | | | | | | | LED's were defined wrong in the device tree file, they are hardware driven because they are connected directly to the switch chip and wireless chips respectively, thus no GPIO addresses are assigned to them. It is safe to remove them from the device tree file to stop confusion. Signed-off-by: Sebastian Careba <nitroshift@yahoo.com> SVN-Revision: 48055
* ralink: add WRTnode2 platform and led supportJohn Crispin2016-01-013-0/+149
| | | | | | Signed-off-by: xzmu <xzmu@wrtnode.com> SVN-Revision: 48049
* ramips: set the wifi mac address to the same as LAN on witiFelix Fietkau2016-01-011-0/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48029
* ramips: add a script to fix up the broken mac address on the witi boardFelix Fietkau2016-01-011-1/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48027
* ramips: fix inverted LEDs for RE6500Felix Fietkau2016-01-011-2/+2
| | | | | | Signed-off-by: Bjoern Dobe <bjoern@dobecom.de> SVN-Revision: 48022
* ramips: add mac address assignment for eth0 on RE6500Felix Fietkau2016-01-011-0/+4
| | | | | | | Signed-off-by: Bjoern Dobe <bjoern@dobecom.de> Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48021
* ramips: fix firmware partition sizeFelix Fietkau2016-01-011-1/+1
| | | | | | Signed-off-by: Bjoern Dobe <bjoern@dobecom.de> SVN-Revision: 48020
* ramips: fix memory size for RE6500Felix Fietkau2016-01-011-1/+1
| | | | | | Signed-off-by: Bjoern Dobe <bjoern@dobecom.de> SVN-Revision: 48019
* ramips: disable NAND device in mt7621.dtsi to fix boot errors on many devicesFelix Fietkau2015-12-193-12/+4
| | | | | | | | Enable it from .dts files that need it, also remove redundant properties Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47936
* ramips: update DTS files to use jedec,spi-nor compatible string for m25p80 ↵Felix Fietkau2015-12-1894-94/+94
| | | | | | | | to fix probe issues Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47935
* ralink: fixup devicetree files to work with new ethernet driverJohn Crispin2015-12-17139-176/+190
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47900
* ramips: add support for Ubiquiti EdgeRouter X (UBNT-ERX)John Crispin2015-12-121-0/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This router is based on MT7621 SoC, no wifi, no usb, nand. Works: * Boots. * Ethernet. * Switch. * Button (reset). * Flashing OpenWrt from stock firmware. * Upgrading OpenWrt. Doesn't work: * No GPIO leds. All leds are controlled by switch, but stock firmware was able to control them. * SoC has crypto engine but no open driver. * SoC has nat acceleration, but no open driver. * This router has 2MB spi flash soldered in but MT nand/spi drivers do not support pin sharing, so it is not accessable and disabled. Stock firmware could read it and it was empty. * PoE out. Router has serial pins populated. If looking at the top of the router, then counting from Eth sockets pins go as: 'GND, RX, TX, GND'. 3.3v, 57600. U-boot bootloader supports tftpboot, controlled from serial. This router has two kernel partitions: 'live' and 'backup'. They are swapped during flashing (on both stock and OpenWrt). Active partition is controlled by a flag in a factory partition. U-boot has custom command to switch active kernel partition. Kernel partitions are 'bare flash' 3MB. Stock bootloader has no UBI support. Stock rootfs is UBIFS. Flashing procedure. Stock firmware uses custom kernel patch to mount squashfs from a file that is located on UBIFS volume. This makes wiping out this volume from within stock firmware difficult. Instead this patch builds image that is flashable by stock firmware and contains initrams image (with minimal set of packages to fit into kernel partition). Once this is flashed one can reboot into initramfs OpenWrt and use sysupgrade to flash OpenWrt including rootfs into nand. Note: factory image is only built if initramfs image is enabled. Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com> SVN-Revision: 47881
* ramips: move partition definitions out of mt7621.dtsi fileJohn Crispin2015-12-122-20/+22
| | | | | | | | | Partitions defined in parent dtsi cannot be undefined in children. This moves partitions defined in mt7621.dtsi into board's device tree. Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com> SVN-Revision: 47876
* ramips: use gic timer as clocksource for mt7621John Crispin2015-12-121-0/+26
| | | | | | | | | | * Switches clocksource to gic timer. * Moves frequency definitions to dtsi since frequency was hardcoded anyway Will work on proper frequency detection later. Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com> SVN-Revision: 47875
* Revert "ramips: use gic timer as clocksource for mt7621"Felix Fietkau2015-12-111-14/+0
| | | | | | This reverts commit 270a2afcc544ca14e79198346e7e186033472ae7. SVN-Revision: 47872
* ramips: add additional support for MQmaker WiTi boardJohn Crispin2015-12-111-0/+146
| | | | | | | | | | | | | | The board is based on mt7621AT cpu, and has 16mb nor flash, 256mb of ram, 2 sata ports, microsd card slot, 1 USB 3.0 port and at least one 2.4 and one 5 ghz antenna. This is the 6th submission that adds support for XHCI in the device tree file, along with switching the location of the 2 radio's and addition of the kmod-i2c-mt7621 in the default packages of the profile. Signed-off-by: Sebastian Careba <nitroshift@yahoo.com> SVN-Revision: 47845
* ramips: Fix support for PBR-M1 boardJohn Crispin2015-12-111-14/+53
| | | | | | | | | | The PBR-M1 support in current OpenWrt is for the early demo board and it doesn't work on the final board.This patch fixes the support for it. The LED called pbr-m1:buzzer is a beeper connected to GPIO26 so I used gpio-beeper instead of gpio-leds. Signed-off-by: 郭传鈜 <gch981213@gmail.com> SVN-Revision: 47844
* ramips: use gic timer as clocksource for mt7621John Crispin2015-12-111-0/+14
| | | | | | | | | | * Switches clocksource to gic timer. * Moves frequency definitions to dtsi since frequency was hardcoded anyway Will work on proper frequency detection later. Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com> SVN-Revision: 47843
* ramips: enable CPS for mt7621John Crispin2015-12-111-1/+1
| | | | | | | | | | | | | Enables CPS multiprocessing instead ob obsoleted CMP for mt7621. This patch fixes a few issues currently existing on 4.3 kernel with at least ubnt-erx: * iperf shows only 50Mbits on direct gigabit connection to desktop, * ping times jump to 5-6ms to dorectly connected desktop * /proc/interrupts shows spurious interrups (ERR) Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com> SVN-Revision: 47842
* ramips: mt7621: use symbolic names of gic interrupt settingsJohn Crispin2015-12-1111-18/+30
| | | | | | | | This also adds dts nodes for cpc and mc for documentation purposes Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com> SVN-Revision: 47836
* ralink: bump to the target to v4.3John Crispin2015-12-101-14/+18
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47831
* ramips: adapt VoCore to new second spi device codeJohn Crispin2015-11-283-70/+66
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 47667
* ralink: add support for netis WF-2881John Crispin2015-11-241-0/+133
| | | | | | | | | | | | | | | | | | | | | | | | | netis WF-2881 is an MT7621AT based router with MT7602EN, MT7612EN. It has 128MB DDR3, 128MB SLC NAND FLASH, 5-port Gbps switch and 1x USB 3.0. The following patch adds support for this device. this device only works on top of UBI. Tested and working: * ethernet * both WiFi radios * USB 3.0 * buttons (reset button) * ethernet switch and USB diag LEDs * UART * GPIOs * sysupgrade Tested and not working * failsafe Signed-off-by: YounJae Rho <luxflow@live.com> SVN-Revision: 47619
* ramips: add support for Youku YK1John Crispin2015-11-241-0/+127
| | | | | | | | | Changes since V1: I resend this patch for current trunk.The former V1 patch is for CC branch. Signed-off-by: Shonn Lu <countrysideboy@qq.com> SVN-Revision: 47617
* ramips: update dtsi files to support second spi deviceJohn Crispin2015-11-226-12/+143
| | | | | | Signed-off-by: Michael Lee <igvtee@gmail.com> SVN-Revision: 47580
* ramips: init usb power for Lenovo Y1SJohn Crispin2015-11-211-0/+21
| | | | | | Signed-off-by: Shonn Lu <countrysideboy@qq.com> SVN-Revision: 47557
* ramips: minor tweak to the lks7688 baord nameJohn Crispin2015-11-051-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47388
* ramips: add support for ZBT WG2626John Crispin2015-11-021-0/+127
| | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 47351
* ramips: add eeprom mtd partition to the Asus RP-N53 dtsJohn Crispin2015-11-021-0/+4
| | | | | | | | This patch adds the eeprom property to the dts for the Asus RP-N53. It is necessary to get the wifi in the soc working. Signed-off-by: Alberto Mattea <alberto@mattea.info> SVN-Revision: 47350
* ramips: add support for Dovado tiny ACJohn Crispin2015-11-021-0/+166
| | | | | | | | | | | | | | | | Add support for Dovado tiny AC wifi router. Soc: mt7620a ram: 64MB flash: 8MB 1x usb 2.0 two gigabit lan ports 5ghz wlan is not supported on this board since there is no gpl driverfor mt7610e wifi chip. Signed-off-by: Andrej Vlasic <andrej.vlasic0@gmail.com> SVN-Revision: 47348
* ramips: add alsa supportJohn Crispin2015-10-191-0/+111
| | | | | | | | | add the SDK alsa driver. this has only been tested on mt7628/88 and wm8960. mt7620 is only compile tested. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47205
* ramips: add LinkIt Smart7688 supportJohn Crispin2015-10-191-0/+173
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47203
* ramips: fix /target/linux/ramips/dts/HC5XXX.dtsiJohn Crispin2015-10-071-2/+0
| | | | | | | | dtb complained about those lines Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47151
* ramips: add support for 16MB VoCoreJohn Crispin2015-10-053-34/+82
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 47120
* ramips: fix size-cells for spi nodesJohn Crispin2015-10-056-6/+6
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 47119
* ramips: Add DTS files for HiWiFi HC5x61 modelsJohn Crispin2015-10-054-0/+299
| | | | | | | | | | | | | | HiWiFi HC5661/5761/5861 models are manufactured by http://www.hiwifi.com. These models have similar hardware specs(MT7620A + 128M DDR2 + 16M flash). This patch adds support for them. The original author is Justin Liu (rssnsj@gmail.com). I ported the patch to trunk and submitted it here with his approval. v3 fix 1: Merged most stuff into dtsi file 2: Remove unnecessary empty lines. Signed-off-by: Xiaoning Kang <kangxn@163.com> SVN-Revision: 47112
* ralink: add irq to mt7628 gpio nodeJohn Crispin2015-10-011-0/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47076
* ramips: Fix pinmux functions for MT7621John Crispin2015-09-161-7/+7
| | | | | | | | | The pinctrl-rt2880 code doesn't support multiple functions with the same name. This will result in a incorrect pinmux configuration. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 46963