summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
Commit message (Collapse)AuthorAgeFilesLines
* ralink: fix mt7628 ehci supportJohn Crispin2016-02-192-7/+61
| | | | | | | | the u2_phy init was missing Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 48747
* ralink: unbreak port4 on mt7620John Crispin2016-02-191-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 48746
* ramips: Add support for Phicomm PSG1208John Crispin2016-02-158-1/+142
| | | | | | | | | | 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-128-1/+177
| | | | | | | | | | | | | | | | 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: fix build error on oversized images by putting the dir-860l-b1 size ↵Felix Fietkau2016-02-081-2/+2
| | | | | | | | check at the end of the chain Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48681
* 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: add IMAGE_SIZE to DEVICE_VARS, it is used by build templatesFelix Fietkau2016-02-011-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48611
* ramips: make tp-link firmware size errors non-fatalFelix Fietkau2016-01-281-6/+6
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48526
* ramips: fix image size checks for Buffalo WSR-1166 and WSR-600Felix Fietkau2016-01-261-0/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48508
* kernel: update kernel 4.3 to version 4.3.4Hauke Mehrtens2016-01-251-1/+1
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 48498
* base-files: remove default /etc/config/network, generate it via board.d insteadFelix Fietkau2016-01-251-5/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48493
* ramips: re-enable highmem support for MT7621 now that it's fixedFelix Fietkau2016-01-242-0/+13
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48469
* 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: HiLink HLK-RM04 image name typo (RM02 -> RM04)John Crispin2016-01-191-1/+1
| | | | | | | | The image name for the HiLink HLK-RM04 module has a typo and should read "RM04" rather than "RM02" Signed-off-by: John Clark <inindev@gmail.com> SVN-Revision: 48355
* ramips: delete the broken sound driverFelix Fietkau2016-01-182-8488/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48318
* ramips: mark kmod-sound-mtk as broken, it does not compile properlyFelix Fietkau2016-01-181-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48317
* ramips: fix kernel config handling for mt7620/mt7628 sound moduleFelix Fietkau2016-01-181-4/+35
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48316
* kernel/4.3: update to version 4.3.3Hauke Mehrtens2016-01-125-31/+20
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de SVN-Revision: 48224
* ramips: do not rely on $(BIN_DIR) installed files during image build (for ↵Felix Fietkau2016-01-061-3/+3
| | | | | | | | ubnt-erx) Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48147
* targets: add kernel image dependencies on device tree filesFelix Fietkau2016-01-061-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48146
* ramips: do not attempt to build ubnt-erx initramfs image if initramfs ↵Felix Fietkau2016-01-061-1/+1
| | | | | | | | support is disabled Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48144
* ramips: fix duplicate /dts-v1/ line for WRTNODE2Felix Fietkau2016-01-061-2/+0
| | | | | | Signed-off-by: Noble Pepper <openwrtmail@noblepepper.com> SVN-Revision: 48138
* ramips: set mips16 supportFelix Fietkau2016-01-041-1/+1
| | | | | | Signed-off-by: Cristian Morales Vega <cristian@samknows.com> SVN-Revision: 48131
* ralink: add a few mt7688 fixes that got lost in the v4.3 bumpJohn Crispin2016-01-041-0/+89
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 48115
* ralink: update the usb phy driver to the version sent upstreamJohn Crispin2016-01-047-92/+120
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 48114
* ralink: fix USB compatible stringsJohn Crispin2016-01-047-45/+12
| | | | | | | | switch to the upstream compatible strings for ehci and ohci support. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 48113
* ramips: clean up and refresh kernel patchesFelix Fietkau2016-01-0272-1002/+241
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48070
* ramips: fix performance counters on mt7621Felix Fietkau2016-01-021-0/+16
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48069
* ralink: more esw_rt3050 fixesJohn Crispin2016-01-021-0/+48
| | | | | | | | the IRQ was not setup properly causing an oops Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 48064
* 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-018-0/+168
| | | | | | Signed-off-by: xzmu <xzmu@wrtnode.com> SVN-Revision: 48049
* ralink: fix rt3050/5350 ethernet switch supportJohn Crispin2016-01-011-9/+19
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 48030
* 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-012-1/+79
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48027
* kernel: fold of_get_mac_address_mtd into of_get_mac_addressFelix Fietkau2016-01-011-36/+0
| | | | | | | | This makes it easier to keep drivers in sync with upstream Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48026
* ramips: fix kernel configuration for mt7628Felix Fietkau2016-01-011-0/+6
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48025
* ramips: add missing clk_round_rate function to fix buildbot errorsFelix Fietkau2016-01-011-0/+15
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48024
* 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: update the mt7621 ethernet support patchJohn Crispin2015-12-171-19/+21
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47929
* ramips: mt7621: fix error message when initramfs is too largeJohn Crispin2015-12-171-1/+1
| | | | | | Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com> SVN-Revision: 47908
* ramips: remove unwanted change from patchJohn Crispin2015-12-171-11/+0
| | | | | | | | Remove unwanted change to irq-mips-gic.c from mt7621 support patch Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com> SVN-Revision: 47907