aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
Commit message (Collapse)AuthorAgeFilesLines
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48721 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48715 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48698 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48681 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48665 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48664 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48663 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48662 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48611 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: make tp-link firmware size errors non-fatalFelix Fietkau2016-01-281-6/+6
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48526 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48508 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update kernel 4.3 to version 4.3.4Hauke Mehrtens2016-01-251-1/+1
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48498 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48493 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48469 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48359 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48355 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: delete the broken sound driverFelix Fietkau2016-01-182-8488/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48318 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48317 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix kernel config handling for mt7620/mt7628 sound moduleFelix Fietkau2016-01-181-4/+35
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48316 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel/4.3: update to version 4.3.3Hauke Mehrtens2016-01-125-31/+20
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48224 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48147 3c298f89-4303-0410-b956-a3cf2f4a3e73
* targets: add kernel image dependencies on device tree filesFelix Fietkau2016-01-061-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48146 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48144 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix duplicate /dts-v1/ line for WRTNODE2Felix Fietkau2016-01-061-2/+0
| | | | | | Signed-off-by: Noble Pepper <openwrtmail@noblepepper.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48138 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: set mips16 supportFelix Fietkau2016-01-041-1/+1
| | | | | | Signed-off-by: Cristian Morales Vega <cristian@samknows.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48131 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48115 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: update the usb phy driver to the version sent upstreamJohn Crispin2016-01-047-92/+120
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48114 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48113 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: clean up and refresh kernel patchesFelix Fietkau2016-01-0272-1002/+241
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48070 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix performance counters on mt7621Felix Fietkau2016-01-021-0/+16
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48069 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48064 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48055 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add WRTnode2 platform and led supportJohn Crispin2016-01-018-0/+168
| | | | | | Signed-off-by: xzmu <xzmu@wrtnode.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48049 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix rt3050/5350 ethernet switch supportJohn Crispin2016-01-011-9/+19
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48030 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48029 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48027 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48026 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix kernel configuration for mt7628Felix Fietkau2016-01-011-0/+6
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48025 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add missing clk_round_rate function to fix buildbot errorsFelix Fietkau2016-01-011-0/+15
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48024 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix inverted LEDs for RE6500Felix Fietkau2016-01-011-2/+2
| | | | | | Signed-off-by: Bjoern Dobe <bjoern@dobecom.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48022 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48021 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix firmware partition sizeFelix Fietkau2016-01-011-1/+1
| | | | | | Signed-off-by: Bjoern Dobe <bjoern@dobecom.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48020 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix memory size for RE6500Felix Fietkau2016-01-011-1/+1
| | | | | | Signed-off-by: Bjoern Dobe <bjoern@dobecom.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48019 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47936 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47935 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: update the mt7621 ethernet support patchJohn Crispin2015-12-171-19/+21
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47929 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: mt7621: fix error message when initramfs is too largeJohn Crispin2015-12-171-1/+1
| | | | | | Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47908 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47907 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: change CM_GCR_BASE_CMDEFTGT_MEM value to match datasheetJohn Crispin2015-12-171-0/+12
| | | | | | | | | | Zero config value for default memory region means 'memory', not not 'disabled' according to 'Control Registers Of The Coherency Manager' manual. Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47906 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: mt7621: undo mips-cm probe hack to not wipe out memory regionsJohn Crispin2015-12-171-0/+20
| | | | | | | | | | Since now we hopefully setup memory regions properly we no longer need this hack. Tested and works on ubnt-erx. Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47905 3c298f89-4303-0410-b956-a3cf2f4a3e73