Commit graph

8410 commits

Author SHA1 Message Date
Akila N
d381bc5b2f ipq40xx: Adding gpio info to dts files
This change adds uart, spi, nand, emmc gpios
to dts files. Also, config info like machid,
ddr size, supported flash configs are added to
dts files.

Change-Id: Id130b721fb09777d58401334d7f59c6377b84496
Signed-off-by: Akila N <akilan@codeaurora.org>
2016-08-23 03:07:29 -07:00
Akila N
e7aaad5e69 ipq40xx: Eliminate use of gboard_param
This change eliminates the use of gboard_param
variable. Subsequent changes will make use of
dts.

Change-Id: Ic79a72c4fa1b86e864b55306a32c110bcfbc9184
Signed-off-by: Akila N <akilan@codeaurora.org>
2016-08-23 15:30:36 +05:30
Manoharan Vijaya Raghavan
c47af78ae2 ipq807x: discard interp and dynamic section from u-boot
Change-Id: I29d6c571688f9cd875e04af51692150df263f4f4
Signed-off-by: Manoharan Vijaya Raghavan <mraghava@codeaurora.org>
2016-08-17 06:49:22 -07:00
Linux Build Service Account
83ea1846ff Merge changes I532ef7e8,I77614174 into eggplant
* changes:
  qca: ipq: Fixed compiler warning
  qca: ipq: Moved clock header files into include folder
2016-08-12 06:30:44 -07:00
Gokul Sriram Palanisamy
ddd2d641fe qca: GPIO: Moved GPIO bit value macros to dt-bindings
1. Moved gpio structure declaration to gpio.h
2. Moved gpio configuration bit value macros to dt-bindings

Change-Id: I9da1cc3703a92e02cfa86765c8d4afe5321fed35
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-08-12 15:15:01 +05:30
Ajay Kishore
bdaab34867 qca: ipq: Moved clock header files into include folder
Moved the clock header files into include folder to
escape from relative paths.

Change-Id: I776141741296e1138e45efb069479a0e26b4855c
Signed-off-by: Ajay Kishore <akisho@codeaurora.org>
2016-08-11 23:12:37 -07:00
Linux Build Service Account
c2a3c549d3 Merge "qca: Moving bootipq command file to board common location" into eggplant 2016-08-09 18:30:39 -07:00
Aditya Kumar Patra S
69d8838ba5 qca: ipq: Added common GPIO driver.
Added device tree based IPQ common GPIO driver.
Updated device tree with uart_gpio data.

Change-Id: I4752609a766716d3bdd97f6ca1c1c20ffa3caa47
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2016-08-09 00:14:30 -07:00
Aditya Kumar Patra S
2fc38add98 qca: ipq806x: Added support in timer driver
Added ipq806x timer information to common timer driver.

Updated qcom timer comon driver for ipq806x support.
Change-Id: I1a28ef362bc4161af38d1065b3c4b848ef4ad0d1
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2016-08-09 00:14:08 -07:00
Aditya Kumar Patra S
607aab806a qca: serial: Porting qcom serial common driver.
Modified common serial driver to work for all AK, DK and HK boards.

Made the driver more generic. The board specific
configurations are moved to respective board.c files.

Change-Id: I8aa0001d215126eb1dd15d75d6ab3f9139d6f919
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2016-08-09 00:13:51 -07:00
Gokul Sriram Palanisamy
5f86620451 qca: Moving bootipq command file to board common location
Moving cmd_bootqca.c from architecture specific common directory to
board specific common directory.

Change-Id: I453abeb554572bf2363a959e7dbe32efcf7dbac6
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-08-08 17:08:52 +05:30
Aditya Kumar Patra S
d28e6f633f qca:ipq806x: Added board configurations
Change-Id: Ibb9abe23daf78b5a7098240e86a58458e32a4775
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2016-08-05 03:01:42 -07:00
Aditya Kumar Patra S
c6cc859ca4 qca:ipq806x: Adding board support code for ipq806x
Added dts and initial board support for ipq806x.

Change-Id: I33992413905a0399ea3d6dfbd606c8e7ec30b6bf
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2016-08-05 03:01:24 -07:00
Aditya Kumar Patra S
c56a3e8e2a qca: ipq806x: Adding support for IPQ806x
Added files are taken as is from coconut/collard branch.
arch/arm/cpu/armv7/qca/ipq806x/clock.c:
https://source.codeaurora.org/quic/qsdk/oss/boot/u-boot/commit/arch/arm/cpu/armv7/ipq/clock.c

Note: The path of clock.c file is changed in eggplant branch
from "arch/arm/cpu/armv7/ipq" to "arch/arm/cpu/armv7/qca/ipq806x/"

include/configs/ipq806x.h:
https://source.codeaurora.org/quic/qsdk/oss/boot/u-boot/commit/include/configs/ipq806x_cdp.h

Note: In eggplant branch the name of board configuration header file
is changed from "ipq806x_cdp.h" to "ipq806x.h".

Change-Id: If0ca7ad8277c022f8967a1a189798f965b63ea29
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2016-08-05 03:00:56 -07:00
Gowtham Siddarth Dhandapani
2a12ef637f qca: ipq40xx: Enabled full boot chain for eMMC
Change-Id: I5e795ff87d2c7a28ef5bd6cf2bbaabdc26cd48e7
Signed-off-by: Gowtham Siddarth Dhandapani <gdhandap@codeaurora.org>
2016-08-05 14:54:10 +05:30
Gokul Sriram Palanisamy
66fac376fe qca: ipq4019: Boot Flash specific mtdids
Set mtdids environment variable based on the boot flash so that right
set of mtdids is patched to kernel device tree.

Change-Id: If2f063e51a6bb73f3e8197fb133e0399b0b4df18
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-08-02 18:00:08 +05:30
Akila N
a69dc457ac qca: ipq40xx: Skip arm relocation
Change-Id: Ia2ddea65a97a256ea729e24a11d4800bdeeba385
Signed-off-by: Akila N <akilan@codeaurora.org>
2016-08-01 10:55:03 +05:30
Ajay Kishore
e7485c18fd dm: i2c: Convert to driver model
Change-Id: Ie0ac70054991783bd4f8b89af2151177a2bba0f8
Signed-off-by: Ajay Kishore <akisho@codeaurora.org>
2016-07-29 11:26:30 +05:30
Gokul Sriram Palanisamy
c1f2522a96 qca: ipq4019: Enabling qpic-nand driver
Adds QPIC NAND initialization configs and gpio configurations.

Change-Id: I5f21989813e9a811525c730926be4a8565822a3d
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-07-27 14:22:39 +05:30
Saravanan Jaganathan
0e20a955c1 qca: ipq: USB support is now DM model
Moved to DM approach to make it more flexible to support
AK/DK/HK chipset.

Change-Id: I0fded02c97b7ace500df44bbf39285ef6fb58321
Signed-off-by: Saravanan Jaganathan <sjaganat@codeaurora.org>
2016-07-24 17:03:05 +05:30
Gokul Sriram Palanisamy
2e43d14733 qca: bootipq: Enabling qca common bootipq with multiple dtb support
Change-Id: I73135cc66e7c439c8cc77c355965a225f6c722fd
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-07-18 07:06:51 -07:00
Gokul Sriram Palanisamy
4a358cb07e ipq4019: Enabling qca common bootipq command
Change-Id: Ia5c3e996142dfdc194f0ed2f4bbe860b586a4139
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-07-18 19:36:18 +05:30
Saravanan Jaganathan
2230d5482d qca: ipq: Fixed compiler warnings
Fixed warnings for both ipq807x and ipq40xx
builds.

Change-Id: I69accebf525ee52f470335a14474378f5e7f65b0
Signed-off-by: Saravanan Jaganathan <sjaganat@codeaurora.org>
2016-07-09 17:41:34 +05:30
Gokul Sriram Palanisamy
09f8becdef ipq40xx: Adding bootipq command in a common location
This file is picked from codeaurora at
https://source.codeaurora.org/quic/qsdk/oss/boot/uboot-1.0/tree/arch/arm/cpu/armv7/qca/cmd_bootqca.c

Change-Id: Ib275e744e5d4b6b187bf15b907ba2758f5e9b236
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-07-06 18:40:26 +05:30
Manoharan Vijaya Raghavan
5f00583181 arm64: qca: Added support for booting AARCH64 kernel
check the image header, if the magic signature matches then
perform and indirect jump to 64 bit EL1 through TZ.

Change-Id: I92888faa7ed908652671bf09a4f6d4599340db5b
Signed-off-by: Manoharan Vijaya Raghavan <mraghava@codeaurora.org>
2016-06-30 23:54:17 -07:00
Manoharan Vijaya Raghavan
bc66f872cb scm: qca: Added scm call support for 64 bit TZ
Change-Id: I061193a9cf3be3a6c6ad42de7756aa8319004a29
Signed-off-by: Manoharan Vijaya Raghavan <mraghava@codeaurora.org>
2016-06-30 23:53:58 -07:00
Manoharan Vijaya Raghavan
f3c9b9f060 scm: qcom: Moving smc calls to common folder
SMC calls are common for IPQ807x, IPQ40xx hence moving it to
common folder

Change-Id: I3d6564ad51ebe396f85cedbf41374374f40865c6
Signed-off-by: Manoharan Vijaya Raghavan <mraghava@codeaurora.org>
2016-06-30 23:53:46 -07:00
Manoharan Vijaya Raghavan
184e49acc6 dts: Added support for multiple dtbs in u-boot
dtbs are made as .o
a table specifying their machid and address is added
the dtbs and header are added to u-boot image in a seperate section
dtb will be chosen based on machid detected from SMEM

Change-Id: I50ac5b56da3a431c1a75cb9fc113fafaedbc09b8
Signed-off-by: Manoharan Vijaya Raghavan <mraghava@codeaurora.org>
2016-06-30 23:53:17 -07:00
Sham Muthayyan
2a8bb9d7d7 qcom: nand: Add IPQ807x support
Change-Id: If83199c83275dba83350ddbf0f2d3a80de3e9c65
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2016-06-27 06:40:50 -07:00
Sham Muthayyan
32d68e6e5b ipq807x: QPIC NAND Makefile and board file changes
Change-Id: I67aeca19bcb7bdc5c83cb1fc6666cdb55bb24c37
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2016-06-27 19:09:37 +05:30
Linux Build Service Account
f07326d936 Merge "qcom: nand: Add QPIC NAND driver with BAM support" into eggplant 2016-06-26 21:43:26 -07:00
Linux Build Service Account
3467925840 Merge "qcom: dma: Add BAM support" into eggplant 2016-06-26 21:43:26 -07:00
Sham Muthayyan
df863e53b2 qcom: nand: Add QPIC NAND driver with BAM support
These files are copied from
https://us.codeaurora.org/cgit/quic/qsdk/oss/boot/uboot-1.0/tree/arch/arm/include/asm/arch-qcom-common/qpic_nand.h
https://us.codeaurora.org/cgit/quic/qsdk/oss/boot/uboot-1.0/tree/drivers/mtd/qpic_nand.c

Change-Id: I21956eae14487086680d81c21468dbde1306a8e2
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2016-06-24 16:57:43 +05:30
Sham Muthayyan
1eb5034b0b qcom: dma: Add BAM support
These files are copied from
https://us.codeaurora.org/cgit/quic/qsdk/oss/boot/uboot-1.0/tree/arch/arm/include/asm/arch-qcom-common/bam.h
https://us.codeaurora.org/cgit/quic/qsdk/oss/boot/uboot-1.0/tree/drivers/dma/bam.c

Change-Id: I450227a1a85530ee78d6128c97ce722b6abec4bf
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2016-06-24 16:57:33 +05:30
Sham Muthayyan
f464f73be8 qcom: Moving SMEM into common location
The SMEM is used for all the platforms like ipq40xx and ipq807x.
So moving this into a common place to use all qcom platforms.

Change-Id: I04f0bf0e7aad0eae71024d734d8049a3470d510d
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2016-06-23 23:04:57 -07:00
Linux Build Service Account
89cefaa85b Merge changes I22bde577,I1aad7193,Ic7849ca2 into eggplant
* changes:
  qca: ipq40xx: Expose SPI driver as pseudo NAND driver
  qca: ipq40xx: Adding files scm.c and scm.h
  qca: ipq40xx: Configure u-boot environment in nand
2016-06-02 23:13:07 -07:00
Manoharan Vijaya Raghavan
2fb1c57774 dts: combine dtb in u-boot ELF
u-boot and dtb are seperate images. This patch combines them as
single ELF image.

Change-Id: Ib3c72c26844ffd4fd8489d0595c243a15434802e
Signed-off-by: Manoharan Vijaya Raghavan <mraghava@codeaurora.org>
2016-05-30 13:12:45 +05:30
Manoharan Vijaya Raghavan
532b5259c0 qcom: ipq807x: dts: change in bitrate and gcnt timer base
serial clock rate is now fixed.
GCNT timer needs to be initialized.

Change-Id: Ia66ff458a4c66cfb6cf9fa5fd4953498ef3b656d
Signed-off-by: Manoharan Vijaya Raghavan <mraghava@codeaurora.org>
2016-05-09 07:29:58 -07:00
Linux Build Service Account
2c7472734b Merge "ARM: ipq807x: Enable barrier operations" into eggplant 2016-05-08 22:49:21 -07:00
Manoharan Vijaya Raghavan
770a77a88e ARM: ipq807x: Enable barrier operations
Set SCTLR.CP15BEN in CP15 register

Change-Id: I3d36b2276fe258bffff0b2bbe6c4f309f073a162
Signed-off-by: Manoharan Vijaya Raghavan <mraghava@codeaurora.org>
2016-04-21 13:11:58 +05:30
Akila N
8013845f03 qca: ipq40xx: Adding files scm.c and scm.h
Change-Id: I1aad71936526a497499a476dd2a0e9b004e7364e
Signed-off-by: Akila N <akilan@codeaurora.org>
2016-04-18 03:12:29 -07:00
Balamurugan Selvarajan
84ba768fc3 qca: ipq40xx: Add EDMA controller driver
Change-Id: I7f784bac9dedbbbc54cae3827bfe2aa826867c3c
Signed-off-by: Balamurugan Selvarajan <bselvara@codeaurora.org>
2016-04-08 16:44:39 +05:30
Linux Build Service Account
f8a87cfcf1 Merge "timer: ipq807x: avoid timer intialization" into eggplant 2016-04-08 00:21:37 -07:00
Linux Build Service Account
bca67e5a60 Merge "dm: qca: ipq807x: fix GP timer frequency" into eggplant 2016-04-08 00:21:37 -07:00
Linux Build Service Account
14f9d6ad01 Merge "dm: qca: ipq807x: Use UART1 for APPS console" into eggplant 2016-04-08 00:21:36 -07:00
Linux Build Service Account
2758c33842 Merge changes Ib63a3920,I468af254,Iae0cc3bf,I367b3521,I3b7d64f5,I1ba2b87e into eggplant
* changes:
  qca: ipq40xx: Adding support for UART driver
  qca: ipq40xx: Enabling Makefile and Kconfig
  qca: ipq40xx: Adding dts support
  qca: ipq40xx: Adding board specific files
  qca: ipq40xx: Adding files iomap.h and gpio.h
  qca: ipq40xx: Addding smem related files
2016-04-07 22:54:12 -07:00
Akila N
03363dc9b9 qca: ipq40xx: Adding support for UART driver
Change-Id: Ib63a39202ad1475600ac6583aed85a52a7de82a7
Signed-off-by: Akila N <akilan@codeaurora.org>
2016-04-06 22:15:38 -07:00
Akila N
722c00bbdf qca: ipq40xx: Enabling Makefile and Kconfig
Change-Id: I468af254928078268bc2720580f76ea854f36cc4
Signed-off-by: Akila N <akilan@codeaurora.org>
2016-04-06 22:15:18 -07:00
Akila N
5e8042b958 qca: ipq40xx: Adding dts support
Change-Id: Iae0cc3bf8f26c12123a3ff4316924230b762fe7c
Signed-off-by: Akila N <akilan@codeaurora.org>
2016-04-07 10:44:22 +05:30
Akila N
bbe6202f7c qca: ipq40xx: Adding board specific files
Change-Id: I367b352146ad34d1564f6f861b0dd4a902572562
Signed-off-by: Akila N <akilan@codeaurora.org>
2016-04-07 10:43:25 +05:30