Commit graph

13419 commits

Author SHA1 Message Date
Aditya Kumar Patra S
f8b348e00b qca: Made IPQ806x specific changes to common boardinit and bootipq files.
1. Modified common bootipq command file to support IPQ806x.
    2. Modified common board initialization file to support IPQ806x.

Change-Id: I1fdd93037b885eefea0c5ddede9436861dd485b3
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2016-10-07 14:09:49 +05:30
Ajay Kishore
55ae0d19fb ipq807x: Enable crashdump support
Change-Id: Ie404c042c6222c12f25632078b3db96af2522fc7
Signed-off-by: Ajay Kishore <akisho@codeaurora.org>
2016-10-05 11:30:05 +05:30
Ajay Kishore
3491df2edd ipq40xx : Enable crashdump support
Change-Id: Ibd3b04dcc7870be1922409f81f3011b7edac35bc
Signed-off-by: Ajay Kishore <akisho@codeaurora.org>
2016-10-04 06:52:29 -07:00
Akila N
39d25efe1d Adding support for imxtract command
Change-Id: I786b46f256592d8311c2f9e0f9a971b36436a3cb
Signed-off-by: Akila N <akilan@codeaurora.org>
2016-09-30 02:35:36 -07:00
Sham Muthayyan
ef5b429ab2 ipq807x: Add PCIE support for IPQ807x
Change-Id: Iba6db5caf405b4fe4f1668dc6462504e41d5d219
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2016-09-29 02:00:01 -07:00
Sham Muthayyan
dbc99acc0c qcom: pci: Enable PCI support for ipq40xx
Change-Id: I32506cf862a0ab83a05070fa9cfba9f09a96ddd3
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2016-09-29 14:29:01 +05:30
Akila N
d3cefa47c5 ipq40xx: Adding ethernet init sequence
Change-Id: I3401f99e89e9dd3af952f70437524eadf3a1a80a
Signed-off-by: Akila N <akilan@codeaurora.org>
2016-09-13 14:41:41 +05:30
Akila N
d054154f3c ipq40xx: Add edma config info to dts files
Change-Id: Ib30993cb637315d1c9967a1b5297e48101bb7e09
Signed-off-by: Akila N <akilan@codeaurora.org>
2016-09-13 14:24:42 +05:30
Gokul Sriram Palanisamy
19737c0717 ipq8074: Adding configs to enable board initialization routines
This gerrit enables the common code to work for ipq8074.

Change-Id: I41d550ae31bf2c32af2279cac8b59f136a17f6f8
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-09-01 22:14:21 -07:00
Gokul Sriram Palanisamy
234dc3a733 qca: Moving fdt fixup related routines to a common file
Adding a common file fdt.c and moving fdt fixup related routines
to this file to keep them generic.

Change-Id: I863135fc79f52eb35789605b8e240c637db0e02a
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-09-01 06:50:13 -07:00
Gokul Sriram Palanisamy
35ee65208c qca: Moving board initialization routines to a common file
Adding a common file board_init.c and moving board initialization
related routines here to keep them generic.

Change-Id: I0694d8db9d7c5a7f745c623d12551bf112f11b78
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-08-30 16:37:43 +05:30
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
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
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
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
Linux Build Service Account
77a3314d88 Merge "Revert "env_mmc: add mmc_get_env_addr() prototype"" into eggplant 2016-08-05 00:13:52 -07:00
Gowtham Siddarth Dhandapani
d0bdeb0e42 Revert "env_mmc: add mmc_get_env_addr() prototype"
This reverts commit ac77f42d09.

Signed-off-by: Gowtham Siddarth Dhandapani <gdhandap@codeaurora.org>
Change-Id: If9e13173e164d4493121077d362993e15b492159
2016-08-04 17:17:57 +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
db12b96ef1 ipq40xx : Added clock support
Change-Id: Ibbc67578f2d5967eaac7cedefe723b8a389cd809
Signed-off-by: Ajay Kishore <akisho@codeaurora.org>
2016-07-29 17:47:59 +05:30
Ajay Kishore
37ddd8e488 ipq807x: Added support for I2C diagnostics
Diagnostics feature includes read, write and
probe commands.

Change-Id: Ia230a366e35241e4c3812b820bfb38ff0101ad0d
Signed-off-by: Ajay Kishore <akisho@codeaurora.org>
2016-07-29 04:19:55 -07:00
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
Ajay Kishore
d8cf279460 ipq40xx: Added support for I2C diagnostics
Diagnostics support includes read, write and probe
commands.

Change-Id: I899be70b69c5965e72ae413b913e4f837ffc9f40
Signed-off-by: Ajay Kishore <akisho@codeaurora.org>
2016-07-28 13:36:38 +05:30
Gokul Sriram Palanisamy
3891c01666 qca: Moved CONFIG_SF_DEFAULT_SPEED to board specific
To avoid compiler warning.

Change-Id: Iedbbbe9166af77286715c7a6b09a90f00cb3b34e
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-07-27 01:59:36 -07:00
Gokul Sriram Palanisamy
5c9e6939cf qca: Adding device tree support for qpic-nand
Sets qpic-nand base address by reading from device tree using the
compatible string

Change-Id: I6e23ea579d9472fc9c977f9b549c312d61e9402b
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-07-27 01:55:36 -07:00
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
Saravanan Jaganathan
d31988fb33 qca: ipq: Moved DWC3 base address definition to arch specific
This would allow us to define architecture specific base address
in the respective config files.

Change-Id: Ide1573525cfe09d8db51d397ee55b907b256f47e
Signed-off-by: Saravanan Jaganathan <sjaganat@codeaurora.org>
2016-07-21 04:56:16 -07:00
Saravanan Jaganathan
0fc2fe5344 qca: ipq: xhci-ipq40xx.c is now xhci-ipq.c
Step 1 to make this file generic to support AK/DK/DK.

Change-Id: Ie058337135b73510d29a3e563c1c341aa6b1fd8e
Signed-off-by: Saravanan Jaganathan <sjaganat@codeaurora.org>
2016-07-21 04:55:42 -07:00
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
Ajay Kishore
705d77050f qca: ipq40xx: Added USB support
Basic USB enumuration support has been added.
Only storage devices are identified. Hubs are not supported.

Change-Id: Ia6532d7cec4e531270fc403381a1d690a9e455f0
Signed-off-by: Ajay Kishore <akisho@codeaurora.org>
Signed-off-by: Saravanan Jaganathan <sjaganat@codeaurora.org>
2016-07-09 08:56: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
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
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
Vasudevan Murugesan
e452f79755 ipq807x: Enable EFI partition type for eMMC
Change-Id: I29b4d4b3d4b5a047e9bb1d71347c36a489a0eea2
Signed-off-by: Vasudevan Murugesan <vmuruges@codeaurora.org>
2016-06-10 03:58:15 -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
94ad8648c6 qcom: ipq807x: dts: Change of U-Boot load address as DDR base is now fixed
DDR base address is now fixed to be at 0x40000000 and this patch
changes u-boot load address in accordance with that.

Change-Id: I13d0da43a7b0db0e6e322e3828e42da46ebd53cb
Signed-off-by: Manoharan Vijaya Raghavan <mraghava@codeaurora.org>
2016-05-09 07:27:59 -07:00
Vasudevan Murugesan
4cf0b0294a ipq807x: Enabled spi-nor flash support
Change-Id: Id3b876e9d3c00268e608a2fcb76a30a38d965e48
Signed-off-by: Vasudevan Murugesan <vmuruges@codeaurora.org>
2016-04-27 11:44:00 +05:30
Akila N
1149982888 qca: ipq40xx: Expose SPI driver as pseudo NAND driver
Change-Id: I22bde577152837b4e8ca5b09e1a0985462fcb1c9
Signed-off-by: Akila N <akilan@codeaurora.org>
2016-04-20 11:29:45 +05:30
Akila N
da1841647b qca: ipq40xx: Configure u-boot environment in nand
Change-Id: Ic7849ca28adcebf24f376900abd22e409194cd3e
Signed-off-by: Akila N <akilan@codeaurora.org>
2016-04-18 03:11:51 -07:00
Akila N
1aa59e6721 qca: ipq40xx: Enable spi nor driver in fifo mode
Change-Id: I641f2a206f0537c6b715841447100dcbe89f87b3
Signed-off-by: Akila N <akilan@codeaurora.org>
2016-04-18 15:38:30 +05:30
Manoharan Vijaya Raghavan
cba3df6d12 qca: ipq807x: Fixing load address of u-boot
Change-Id: Ife8766a46525333a4b248b8d9a9bb1537fdca3ac
Signed-off-by: Manoharan Vijaya Raghavan <mraghava@codeaurora.org>
2016-04-05 11:00:21 +05:30
Akila N
e0974323f9 qca: ipq40xx: Add configuation files for ipq40xx
Change-Id: Id5236cad6be0bcc1584ecc8c59bd0d17c8af567e
Signed-off-by: Akila N <akilan@codeaurora.org>
2016-03-18 15:41:51 +05:30
Manoharan Vijaya Raghavan
256e4709d3 qca: timer: added support for timer for ipq807x
Added timer related registers in dts, processing in timer source code

Change-Id: I2496ae5cd9a0cdf6449b428a22c4ea5cadf51d88
Signed-off-by: Manoharan Vijaya Raghavan <mraghava@codeaurora.org>
2016-03-02 16:31:16 +05:30