aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/cns3xxx/files/arch
Commit message (Collapse)AuthorAgeFilesLines
* cns3xxx: use proper macros for defining partition regionsKoen Vandeputte2019-11-221-6/+8
| | | | | | | While at it, also reorder the items for improved readability. Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* cns3xxx: remove linux 4.9 supportKoen Vandeputte2018-02-131-3/+3
| | | | | | | | - Remove kernel 4.9 support - Apply specific 4.14 changes directly to source - Refreshed all Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* cns3xxx: fix GPIO controller interrupt enableTim Harvey2017-09-111-3/+3
| | | | | | | | | | | | | The cns3xxx interrupt controller uses a single register and as such the 'mask' reg/functions must be used as opposed to the 'enable'/'disable' reg/functions. This fixes an issue that occurs if more than one GPIO on a specific controller (there is GPIOA and GPIOB each having 32 GPIO's) uses interrupts. When one would get enabled all others would be disabled prior to this patch. Signed-off-by: Tim Harvey <tharvey@gateworks.com> Acked-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* cns3xxx: clean up patchesFelix Fietkau2017-02-111-13/+13
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* cns3xxx: use proper macro's for ID handlingKoen Vandeputte2017-02-071-3/+3
| | | | | | Compiled & tested on cns3xxx Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* cns3xxx: fix UART resource overlapKoen Vandeputte2016-11-051-2/+2
| | | | | | | | | | | | Port 1 registers the same IO resources as port 2 in the kernel resource tree, which is wrong. Fix this by using it's own resources as indicated in the overview (cns3xxx.h). Compiled & Tested on several GW2388-4 laguna boards which utilizes all 3 ports. Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* cns3xxx: eliminate hardcoded kernel/rootfs partition splitFelix Fietkau2016-09-191-51/+11
| | | | | | | | | | | | | | This changes the sysupgrade format. To support upgrades from the old firmware to the new one, legacy images are provided. Because of the old partition split, these have to be specific to the NOR or SPI device. The new sysupgrade images are suitable for begin put on flash directly, and they are independent of NOR vs SPI flash variant. Flashing back to old firmware is supported via using the old full-flash images instead of the old sysupgrade images. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* cns3xxx: move laguna.c changes out of patches, update it in files/Felix Fietkau2016-09-191-6/+64
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* cns3xxx: add GW2386 supportTim Harvey2016-09-081-0/+20
| | | | Signed-off-by: Tim Harvey <tharvey@gateworks.com>
* cns3xxx: add GW2394 SupportTim Harvey2016-09-081-1/+3
| | | | Signed-off-by: Tim Harvey <tharvey@gateworks.com>
* cns3xxx: update to linux 4.4Felix Fietkau2016-01-181-5/+5
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48334
* cns3xxx: clean up SMP related codeFelix Fietkau2016-01-182-17/+6
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48332
* cns3xxx: remove obsolete fileFelix Fietkau2016-01-181-26/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48330
* cns3xxx: add GW2393 SupportJohn Crispin2015-12-171-1/+3
| | | | | | | | | | | Based off of the GW2391-C, but with the following changes: * 4x4in to 4x5in pcb * flat panel connector for LED signals Signed-off-by: Tim Harvey <tharvey@gateworks.com> Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com> SVN-Revision: 47920
* cns3xxx: Fix commentJohn Crispin2015-12-171-1/+1
| | | | | | | | Original comment was wrong about which pads are being set. Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com> SVN-Revision: 47919
* cns3xxx: add missing dma mask for ethernet deviceFelix Fietkau2014-11-261-1/+6
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43399
* cns3xxx: switch to using the upstream dwc2 driver instead of dwc_otgFelix Fietkau2014-11-261-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43398
* cns3xxx: update to linux 3.14Felix Fietkau2014-11-261-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43397
* cns3xxx: Adopt irq_domain support for cns3xxx gpio driverFelix Fietkau2014-10-081-7/+23
| | | | | | | | | Have gpio driver adopt irqdomain support so that there are non-overlapping allocations of irq numbers mapped to gpio's. Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com> SVN-Revision: 42844
* cns3xxx: fix register for enabling MMC/SD pinsFelix Fietkau2014-10-071-2/+1
| | | | | | | | also fixes a GPIO related regression from the upgrade to 3.10 Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42829
* cns3xxx: update to linux 3.10Felix Fietkau2014-07-315-234/+227
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41917
* Add GW2385 supportImre Kaloz2014-03-121-0/+30
| | | | | | | Signed-off-by: Tim Harvey <tharvey@gateworks.com> Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 39894
* add pushbutton GPIO for GW2380/82/83Imre Kaloz2013-11-101-0/+3
| | | | | | Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 38702
* cns3xxx: fix USB ehci/ohci platform driverFelix Fietkau2013-04-101-3/+51
| | | | | | | | | | | Update ehci/ohci driver registration to conform to the new platform drivers. This fixes missing USB host support in 3.8.x Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 36309
* cns3xxx: remove the watchdog IRQ from the resources, it breaks the driver ↵Felix Fietkau2013-04-071-5/+0
| | | | | | | | init and is useful only for testing Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 36241
* cns3xxx: add linux 3.8 support and use it by defaultFelix Fietkau2013-03-092-11/+12
| | | | SVN-Revision: 35908
* clean up PCI bus topologyImre Kaloz2013-01-101-2/+2
| | | | | | | | This makes the PCI bus topology more standard for devices behind a bridge Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 35078
* add nol2x0 cmdline to disable l2x0 cacheImre Kaloz2012-12-231-2/+0
| | | | | | | | | | | L2 cache via L2X0 cache controller available on some ARM boards can provide a performance boost in some situations but decrease performance in others. This adds a kernel cmdline to disable L2X0 for cns3xxx based boards. Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 34874
* cns3xxx: exit from laguna late_initcall if not running on laguna boardLuka Perkov2012-11-081-0/+3
| | | | SVN-Revision: 34120
* cns3xxx: add PPS support for lagunaImre Kaloz2012-11-081-0/+20
| | | | | | | | | | Many Laguna products have on-board GPS with Pulse-per-second (PPS) support. This patch adds kernel support (statically) and adds the platform data in laguna board support. Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 34115
* cns3xxx: use files directoryLuka Perkov2012-11-0610-0/+1907
SVN-Revision: 34101