aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq806x/files-4.19/arch/arm
Commit message (Collapse)AuthorAgeFilesLines
* ipq806x: really fix aliases node for Qualcomm IPQ8064/DB149Adrian Schmutzler2020-07-141-1/+6
| | | | | | | | | | | | | | | Having looked at this again, it appears that only gsbi2_serial is actually enabled for this device, so the entry in the broken aliases node was correct. Therefore, this needs to set its own serial0 instead of inheriting "serial0 = &gsbi4_serial;" from DTSI. Do this with the correctly named aliases node now. Fixes: c83f7b6d217f ("ipq806x: fix aliases node name for Qualcomm IPQ8064/DB149") Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* ipq806x: use consistent DT labels for gsbiX_serialAdrian Schmutzler2020-07-141-2/+2
| | | | | | | | | | Kernel uses the label gsbiX_serial, so let's adjust our labels to this naming scheme. This is cosmetic, and actually only already existing gsbi4_serial has been used at all. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* ipq806x: fix aliases node name for Qualcomm IPQ8064/DB149Adrian Schmutzler2020-07-141-5/+0
| | | | | | | | | | | | | | | | | | | | | | | This device uses a node incorrectly named "alias" instead of "aliases" since it was introduced. Remove it without replacement, as the definitions in it don't seem to be required anyway: The serial0 definition has never been effective anyway and this would be the only device deviating from the common setting "serial0 = &gsbi4_serial;" for ipq8064. (So, maybe the wrong node prevented us from finding out about the wrong serial definition?) The mdio-gpio0 alias was supposed to be removed in d2a2eb7e48f6 anyway, the redundant definition in the alias node was just overlooked back then. Fixes: 0fd202f3e563 ("ipq806x: add db149 dts files") Fixes: d2a2eb7e48f6 ("ipq806x: replace caf nss-gmac driver by upstream stmmac") Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* ipq806x: enable Linksys EA8500 eth1 interfacePawel Dembicki2020-07-111-0/+1
| | | | | | | | | | | | | At this moment Linksys EA8500 uses only eth0. This patch change switch registers, which allow to use eth1 as lan and eth0 as wan. The method work with similar Linksys EA7500V1 and it work with EA8500. Suggested-by: Sungbo Eo <mans0n@gorani.run> Tested-by: Brian Onn <brian.a.onn@gmail.com> Tested-by: Adrian Panella <ianchi74@outlook.com> Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* ipq806x: add fab scaling supportAnsuel Smith2020-01-081-0/+9
| | | | | | Add fab scaling support and dtsi definition Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
* ipq806x: refactor l2 freq scaling patchAnsuel Smith2020-01-082-0/+7
| | | | | | | | | Refactor l2 freq scaling patch to support voltage scaling and add support to base cache scaling on cpu freq scaling. Update the dtsi files with the new definition used in the new code. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
* ipq806x: reorganize nand_pins mux definitionAnsuel Smith2020-01-089-44/+68
| | | | | | | | | | | | | | It's wrong set the mux to bias-disable. The best way to do this is by creating a separate group and disable the specific pins. By documentation, any subgroup with no bias definition is ignored so the mux definition is useless. Rework the definition by sremoving the mux subgroup and set the remaining subgroup with the mux function and drive-strength Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
* ipq806x: fix wrong definition for tsense calibAnsuel Smith2019-12-261-2/+2
| | | | | | | | | We have only 11 sensors on ipq806x. Fix the reg property to load the right amount of data instead of the entire space. Tested-by: Stefan Lippers-Hollmann <s.l-h@gmx.de> [nbg6817/ipq8065] Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
* ipq8065: update dtsi with new opp tableAnsuel Smith2019-12-261-53/+91
| | | | | | | | The new driver use opp table to register frequency. Drop psv bindings as they are not used anymore. Tested-by: Stefan Lippers-Hollmann <s.l-h@gmx.de> [nbg6817/ipq8065] Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
* ipq8064: update dtsi with new opp tableAnsuel Smith2019-12-261-44/+80
| | | | | | | | | The new driver use opp table to register frequency. Drop psv bindings as they are not used anymore. Adds speedbin definition for nvmem driver Tested-by: Stefan Lippers-Hollmann <s.l-h@gmx.de> [nbg6817/ipq8065] Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
* ipq806x: add missing core1 voltage tolerancePavel Kubelun2019-12-191-0/+1
| | | | | | | | Voltage tolerance is accounted per core, not per cpu, so add missing DT entry. Signed-off-by: Pavel Kubelun <be.dissent@gmail.com> Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
* ipq806x: improve mdio gpios listChristian Lamparter2019-12-199-9/+18
| | | | | | | | | Improve rediability of gpio mdio list. No functional change. Signed-off-by: Christian Lamparter <chunkeey@gmail.com> Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com> [proper authorship of the patch] Signed-off-by: Petr Štetiar <ynezz@true.cz>
* ipq806x: ap161: fix wrong definition stdoutChristian Lamparter2019-12-191-1/+1
| | | | | | | | | | | From documentation https://www.kernel.org/doc/Documentation/devicetree/bindings/chosen.txt should be just stdout-path Signed-off-by: Christian Lamparter <chunkeey@gmail.com> Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com> [proper authorship of the patch] Signed-off-by: Petr Štetiar <ynezz@true.cz>
* ipq806x: ap148: reorganize dtsChristian Lamparter2019-12-191-161/+155
| | | | | | | Reorganize dts to use tags from ipq8064 dtsi Signed-off-by: Christian Lamparter <chunkeey@gmail.com> Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
* ipq806x: d7800: fix warning on dtc compilationChristian Lamparter2019-12-191-2/+3
| | | | | | | | There is warning with "property has invalid length (4 bytes)" related to nand definition. Set size-cells to zero to fix this. Signed-off-by: Christian Lamparter <chunkeey@gmail.com> Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
* ipq806x: r7800: add missing wifi definition for pcieChristian Lamparter2019-12-191-0/+30
| | | | | | | Add missing wifi compatible definition for r7800 device. Signed-off-by: Christian Lamparter <chunkeey@gmail.com> Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
* ipq806x: use ipq8064 dedicated watchdogChristian Lamparter2019-12-191-1/+2
| | | | | | | Add missing watchdog to list of compatible timers Signed-off-by: Christian Lamparter <chunkeey@gmail.com> Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
* ipq806x: add nand and sata tagsChristian Lamparter2019-12-191-2/+2
| | | | | | | | Add some tags for nand and sata structure to easily reference them in other dts. Signed-off-by: Christian Lamparter <chunkeey@gmail.com> Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
* ipq806x: increase drive-strength for pinmuxChristian Lamparter2019-12-191-3/+3
| | | | | | | | | | | | | | | Increase drive-strength from https://lore.kernel.org/patchwork/patch/626885/ 2mA drive strength is not enough when we connect multiple i2c devices on the bus with different pull up resistors. This issue was detected when multiple i2c devices connected on the other side of level shifters on Linaro sensor board. Maxing up to 16mA made i2c much stable. Signed-off-by: Christian Lamparter <chunkeey@gmail.com> Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
* ipq806x: add missing gpio and gsbi declarationChristian Lamparter2019-12-191-0/+51
| | | | | | | Adds missing gpio and gsbi declaration. Signed-off-by: Christian Lamparter <chunkeey@gmail.com> Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
* ipq806x: disable spc on ipq8065 socAnsuel Smith2019-12-191-0/+8
| | | | | | | Spc is disabled in ipq8065 board as it does cause cpu lockup (probably caused by wrong register being set) Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
* ipq806x: set apq8064 regulator to support cpuidleAnsuel Smith2019-12-191-2/+3
| | | | | | Set qcom,apq8064-saw2-v1.1-cpu as regulator to make cpuidle work. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
* ipq806x: convert ipq8064 dtsi interruptsChristian Lamparter2019-12-191-27/+33
| | | | | | | | | | | | | Convert hardcoded interrupts value to types defined in gci include file. Interrupts sets to 0 are converted to IRQ_TYPE_LEVEL_HIGH to fix kernel warning. Same fix has been applied to arm64 dts. https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1797143 https://patchwork.kernel.org/patch/10367453/ https://patchwork.kernel.org/patch/10315315/ Signed-off-by: Christian Lamparter <chunkeey@gmail.com> Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
* ipq806x: use new usb3 implementationChristian Lamparter2019-12-1916-290/+64
| | | | | | | | | Use new usb3 implementation and refresh dts to the new dwc3 structure Signed-off-by: Christian Lamparter <chunkeey@gmail.com> Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com> [proper authorship of the patch] Signed-off-by: Petr Štetiar <ynezz@true.cz>
* ipq806x: fix missing compatible and renameChristian Lamparter2019-12-192-2/+2
| | | | | | | | | | - ipq8064 compatible was missing from nbg6817. - Rename ap148 with a better descriptive name. Signed-off-by: Christian Lamparter <chunkeey@gmail.com> Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com> [proper authorship of the patch] Signed-off-by: Petr Štetiar <ynezz@true.cz>
* ipq806x: convert ok to okay in dtsChristian Lamparter2019-12-1912-184/+184
| | | | | | | DT spec require okay instead of ok in dts files Signed-off-by: Christian Lamparter <chunkeey@gmail.com> Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
* ipq806x: copy files from 4.14 to 4.19Ansuel Smith2019-12-1917-0/+7227
This copies files from files-4.14 to files-4.19 directory in order to get clear diffs for any changes done from now on. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com> [added missing commit description, refreshed ea8500 and wpq864 DTS] Signed-off-by: Petr Štetiar <ynezz@true.cz>