aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/rt5350.dtsi
Commit message (Collapse)AuthorAgeFilesLines
* ramips: fix usbphy DT nodes on linux 4.14Vianney le Clément de Saint-Marcq2018-04-071-4/+5
| | | | | | | | | | | | | | The Ralink USB PHY driver merged into mainline has a slightly different device tree binding than the patch that was used with linux 4.9. The new driver requires a `ralink,sysctl` node pointing to the `syscon` node. This patch also sets `#phy-cells` to 0, as recommended by the mainline documentation [1]. [1] Documentation/devicetree/bindings/phy/ralink-usb-phy.txt Signed-off-by: Vianney le Clément de Saint-Marcq <code@quartic.eu>
* rt5350: added pcm interface in .dtsiGiuseppe Lippolis2017-02-031-0/+13
| | | | | | | | Added the missing audio pcm interface in the .dtsi file for the rt5350 device. The update has been verified from the data get from the datasheet and is very similar to the mt7620a.dtsi Signed-off-by: Giuseppe Lippolis <giu.lippolis@gmail.com>
* ramips: add missing i2s aliasJohn Crispin2016-07-241-1/+1
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ramips: update i2s dtsi filesMichael Lee2016-06-131-0/+20
| | | | Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: update i2c dtsi filesMichael Lee2016-06-131-8/+8
| | | | Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: add gdma hsdma dts infoMichael Lee2016-06-131-0/+17
| | | | Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: Add specific compatible properties for eswJohn Crispin2016-05-231-1/+1
| | | | | | | | | | | | | | | | 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: fix size-cells on spi nodesÁlvaro Fernández Rojas2016-05-181-1/+1
| | | | | | 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: DTS modificationsStanislav Galabov2016-05-121-0/+7
| | | | | | | | | | | | | | 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: DTS reworkStanislav Galabov2016-05-121-13/+13
| | | | | | | | 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: Add hex prefix (0x) to dtsi reg properties where needed.Stanislav Galabov2016-05-101-3/+3
| | | | Signed-off-by: Stanislav Galabov <sgalabov@gmail.com>
* ramips: introduce serial0 aliasesStanislav Galabov2016-05-101-1/+2
| | | | | | | 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: HLK-RM04 - Enable GPIO14 for WPS buttonJohn Crispin2016-02-081-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* ralink: update the usb phy driver to the version sent upstreamJohn Crispin2016-01-041-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 48114
* ralink: fix USB compatible stringsJohn Crispin2016-01-041-2/+2
| | | | | | | | switch to the upstream compatible strings for ehci and ohci support. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 48113
* ralink: fixup devicetree files to work with new ethernet driverJohn Crispin2015-12-171-1/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47900
* ramips: update dtsi files to support second spi deviceJohn Crispin2015-11-221-4/+25
| | | | | | Signed-off-by: Michael Lee <igvtee@gmail.com> SVN-Revision: 47580
* ramips: fix size-cells for spi nodesJohn Crispin2015-10-051-1/+1
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 47119
* ramips: fix indentation and other mistakes in .dts{, i} filesJohn Crispin2015-08-171-0/+5
| | | | | | | | | | | | | | | | | | | | The following patch fixes: * wrong indentations * doubled gpio-keys-polled nodes (DIR-300-B7, DIR-320-B1, DIR-610-A1) * duplicate spacings * empty lines at end of files and after last child nodes * trailing and leading whitespace * unnecessary and commented-out code * missing empty lines between nodes and between properties and nodes * unnecessary empty lines between nodes properties [1] in .dts{,i} files, for ramips target. [1] Some of empty lines in SOCs dtsi files were left untouched, because they seem to be there for a reason (readability?). Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> SVN-Revision: 46613
* ralink: add 3.18 supportJohn Crispin2015-02-091-1/+8
| | | | | | | | keep default as 3.14, mt7621 gic need to be ported to 3.18 Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44349
* ralink: add ethernet fe and esw reset control bitFelix Fietkau2015-01-181-0/+6
| | | | | | Signed-off-by: michael lee <igvtee@gmail.com> SVN-Revision: 44042
* ramips: second spi device on rt5350John Crispin2014-08-251-2/+2
| | | | | | | | | | | | | | | | This is based on Jon Smirl's patch with the following changes: - Set CS polarity as low by default. - Add support for changing CS polarity. - Add support for changing LSB/MSB. - Add support for changing SPI mode. - Fix indentations. I tested it on a VoCore. Works fine connected to a second flash, but fails to detect MMC/SD cards due to SPI clock speed. Signed-off-by: Jon Smirl <jonsmirl@gmail.com> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 42276
* ramips: Add support for SPI_CS1 pinmuxJohn Crispin2014-08-011-0/+6
| | | | | | | | This patch adds support for setting SPI_CS1 as Chip Select, Watchdog reset output and GPIO#27. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 41938
* ramips: correct typo ubsphy -> usbphyJohn Crispin2014-07-281-1/+1
| | | | | | | | This appears to be a typo. Signed-off-by: Russell Senior <russell@personaltelco.net> SVN-Revision: 41859
* ramips: fix target rt5350 only have 28 gpiosJohn Crispin2014-07-021-23/+4
| | | | | | Signed-off-by: michael <igvtee@gmail.com> SVN-Revision: 41475
* ralink: add HLK-RM04 supportJohn Crispin2014-01-121-0/+9
| | | | | | | | https://github.com/JiapengLi/OpenWrt-HiLink-HLK-RM04 Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39237
* ralink: add pinctrl driverJohn Crispin2013-09-171-8/+44
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38026
* ralink: update patchesJohn Crispin2013-06-231-12/+86
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37016
* ramips: add gpio base properties to dtsi filesJohn Crispin2013-05-061-0/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36560
* move memory detect node to dtsi filesJohn Crispin2013-04-091-0/+4
| | | | | | Signed-of-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36290
* ramips: remove trailing whitespaces from dts filesGabor Juhos2013-04-071-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36246
* fix default commandline in dts filesJohn Crispin2013-04-071-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36243
* add the dts files that describe the boards in futureJohn Crispin2013-04-031-0/+181
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36168