aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/oxnas/files/arch/arm
Commit message (Collapse)AuthorAgeFilesLines
* oxnas: cheery-pick DTS improvements from masterDaniel Golle2019-03-034-11/+52
| | | | | | | | | | | 4a954e8620 oxnas: dts: Unify naming of gpio-keys nodes 9292822023 oxnas: dts: Unify naming of gpio-led nodes 994428f395 oxnas: add missing NAND partitions 858aebc0ef oxnas: unify MTD partition names e2fea41ad6 oxnas: fix forgotten MTD partition name 42f2e07ba0 oxnas: cloudengines,pogoplug*: enable USB ports Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: squash-pick commits from master branchDaniel Golle2018-11-114-6/+6
| | | | | | | | | | | 4f017c871d oxnas: switch to generic board detect ef9b169df0 oxnas: remove stray kernel config symbols cf7896117b oxnas: enable image metadata by setting SUPPORTED_DEVICES 9bcc08958b oxnas: add console=ttyS0,115200 argument to bootargs b831eb5363 oxnas: kd20: correct memory size to 256MB 217fe505b6 oxnas: remove superseded sysupgrade image check Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: reboot targetDaniel Golle2018-06-1823-1866/+266
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reboot the oxnas target based on Linux 4.14 by rebasing our support on top of the now-existing upstream kernel support. This commit brings oxnas support to the level of v4.17 having upstream drivers for Ethernet, Serial and NAND flash. Botch up OpenWrt's local drivers for EHCI, SATA and PCIe based on the new platform code and device-tree. Re-introduce base-files from old oxnas target which works for now but needs further clean-up towards generic board support. Functional issues: * PCIe won't come up (hence no USB3 on Shuttle KD20) * I2C bus of Akitio myCloud device is likely not to work (missing debounce support in new pinctrl driver) Code-style issues: * plla/pllb needs further cleanup -- currently their users are writing into the syscon regmap after acquireling the clk instead of using defined clk_*_*() functions to setup multipliers and dividors. * PCIe phy needs its own little driver. * SATA driver is a monster and should be split into an mfd having a raidctrl regmap, sata controller, sata ports and sata phy. Tested on MitraStar STG-212 aka. Medion Akoya MD86xxx and Shuttle KD20. Signed-off-by: Daniel Golle <daniel@makrotopia.org> (squash-picked commit 17511a7ea8 and commit dcc34574ef from master)
* oxnas: remove support for pre-4.4 kernels from driversDaniel Golle2017-01-041-5/+0
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: fix syntax in ox820-akitio.dtsHauke Mehrtens2017-01-021-0/+1
| | | | | | | | | | | | | | | | | This commit introduced a syntax error in ox820-akitio.dts which is fixed now: commit 5cde94d9ab577c5ab68fc71e15a05d1bda5041f2 Author: Daniel Golle <daniel@makrotopia.org> Date: Sat Sep 24 01:14:53 2016 +0200 oxnas: backport upstream NAND driver This caused the folowing error message in the build bot: Error: arch/arm/boot/dts/ox820-akitio.dts:146.3-147.1 syntax error FATAL ERROR: Unable to parse input tree scripts/Makefile.lib:293: recipe for target 'arch/arm/boot/dts/ox820-akitio.dtb' failed make[5]: *** [arch/arm/boot/dts/ox820-akitio.dtb] Error 1 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* oxnas: backport upstream NAND driverDaniel Golle2017-01-016-89/+133
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* treewide: dts: use keycode defines from input dt-bindingMathias Kresin2016-11-133-7/+13
| | | | | | | | | | | | | | | | | | | | | All compiled device tree files not mentioned are binary identical to the former ones. Fix the obvious decimal/hex confusion for the power key of ramips/M2M.dts. Due to the include of the input binding header, the BTN_* node names in: - ramips/GL-MT300A.dts - ramips/GL-MT300N.dts - ramips/GL-MT750.dts - ramips/Timecloud.dts will be changed by the compiler to the numerical equivalent. Move the binding include of lantiq boards to the file where they are used the first time to hint the user where the values do come from. Signed-off-by: Mathias Kresin <dev@kresin.me>
* treewide: dts: use C style includesMathias Kresin2016-11-121-1/+1
| | | | | | | No functional change but allows me to use one script to compile all device tree source files. Signed-off-by: Mathias Kresin <dev@kresin.me>
* oxnas: add mem=128M to stg-212 built-in cmdline for legacy u-bootDaniel Golle2016-09-041-1/+1
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: kd20: generate image compatible with stock firmwareDaniel Golle2016-09-041-5/+21
| | | | | | | | * adjust MTD partitions to match vendor's scheme * generate *factory.tar.gz image compatible with stock web-if firmware upgrade interface Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: revert to kernel 4.1Daniel Golle2016-07-181-0/+5
| | | | | | | | | A bug resulting in the NAND not being detected by newer kernels has kept me sleepless for months and yet I wasn't able to discover the cause. Bring back patches and files for 4.1 until this has been resolved. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: drop compatibility with old kernels from mach-ox820Daniel Golle2016-05-201-5/+0
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: add missing semicolonLuka Perkov2016-04-241-1/+1
| | | | | | | | | A missing semicolon in the gpio-keys-polled section of ox820-akitio.dts caused the build to break. Add it. Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 49219
* oxnas: add support for Akitio MyCloud miniHauke Mehrtens2016-04-191-0/+132
| | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 49197
* oxnas: sync cpu-hotplug with mach-realviewJohn Crispin2016-03-201-4/+3
| | | | | | | | | Make mach-oxnas/hotplug.c look more similar to mach-realview/hotplug.c, just cosmetics and maintainability concerns, no functional changes. Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 49044
* oxnas: also reset GPIO B registers on bootJohn Crispin2016-03-201-6/+6
| | | | | | | | | | Clear both, SYS_CTRL_*_SEL and SEC_CTRL_*_SEL on boot instead of writing to SYS_CTRL_*_SEL twice which looks like a copy-paste error. Thanks to anonymous to bring this up in #21892! Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 49042
* oxnas: prepare platform and drivers for Linux 4.4Felix Fietkau2016-01-181-0/+5
| | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 48338
* oxnas: move gmac soc glue from mach to stmmac driverJohn Crispin2015-10-191-101/+0
| | | | | | | | | Still a lot of kernel-version ifdef'ery, but imho that's easy to remove once obsoleted and avoids duplicate code in the meantime. Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 47218
* oxnas: remove obsolete __cpuinitJohn Crispin2015-10-191-3/+3
| | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 47214
* oxnas: fix gpio-fan on kd20John Crispin2014-12-131-0/+2
| | | | | | | | define speed-map and include kmod-hwmon-gpiofan in kd20 profile Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 43678
* oxnas: also make use of the GPIO poweroff driverJohn Crispin2014-12-131-0/+5
| | | | | | | | Works great to power-off the kd20 ;) Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 43677
* oxnas: use libata ledtrig support for kd20 hdd ledsJohn Crispin2014-12-122-0/+3
| | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 43675
* oxnas: add support for 2nd S-ATA port to sata_oxnas driverJohn Crispin2014-12-102-4/+6
| | | | | | | | | | | | | | | | similar to mv_sata, use nr-ports attribute from device tree. import and adapt locking code from vendor GPL sources. add dma controller handling, it may be used in future to avoid full core resets similar to the vendor SDK's "progressive cleanup" function. this is still very dirty and aimed to first of all do things quite exactly like the reference code. and it somehow works. obviously there is lots of room for improvement :) Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 43598
* oxnas/kd20: use gpio-beeperJohn Crispin2014-12-021-4/+5
| | | | | | | | | gpio-beeper module was added to the kernel recently. Make use of it to drive the piezoelectric buzzer of the kd20. Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 43496
* oxnas: ehci: rename vendor prefix plxtch to plxtechJohn Crispin2014-12-011-1/+1
| | | | | | | | | it was changed in DTS by commit oxnas-target: fix typo in OX820 device-tree Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 43474
* add new target 'oxnas'John Crispin2014-11-2621-0/+2080
This is the oxnas target previously developed at http://gitorious.org/openwrt-oxnas Basically, this consolidates the changes and addtionas from http://github.org/kref/linux-oxnas into a new OpenWrt hardware target 'oxnas' adding support for PLX Technology NAS7820/NAS7821/NAS7825/... formally known as Oxford Semiconductor OXE810SE/OXE815/OX820/... For now there are 4 supported boards: Cloud Engines Pogoplug V3 (without PCIe) fully supported Cloud Engines Pogoplug Pro (with PCIe) fully supported MitraStar STG-212 aka ZyXEL NSA-212, aka Medion Akoya P89625 / P89636 / P89626 / P89630, aka Medion MD 86407 / MD 86805 / MD 86517 / MD 86587 fully supported, see http://wiki.openwrt.org/toh/medion/md86587 Shuttle KD-20 partially supported (S-ATA driver lacks support for 2nd port) Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 43388