Commit graph

8597 commits

Author SHA1 Message Date
Antony Arun T
4cc9b71fe4 ipq806x: adding sdcc and i2c entry in ap145_1xx dts
Change-Id: I587f5267d684046742173c70384eb0682e41d69a
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-04-17 15:02:46 +05:30
Rajkumar Ayyasamy
164dfd28f5 ipq806x: Added gmac gpio and cfg entry for AP145_1xx board
Change-Id: I91c0133a234ce7d2532be2647a54ea51f1ac26c6
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2018-04-17 14:58:30 +05:30
Linux Build Service Account
35992873a2 Merge "ipq40xx: Added support for DK04-C6 board" 2018-04-13 12:57:00 -07:00
Linux Build Service Account
6391a27405 Merge "Revert "ipq40xx: Add DK01-C3 config support for Standard profile"" 2018-04-10 08:09:49 -07:00
Rajkumar Ayyasamy
5364cd9d80 ipq40xx: Added support for DK04-C6 board
Change-Id: Ic9f451c30f4991df8013ae3191ad4384aed6f730
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2018-04-10 12:19:53 +05:30
Linux Build Service Account
1483340f9e Merge "ipq807x: Dcache: Fixing Dcache invalidate" 2018-04-09 03:30:21 -07:00
Sasirekaa Madhesu
56f687c5fe Revert "ipq40xx: Add DK01-C3 config support for Standard profile"
This reverts commit 9857b3461c.

Change-Id: Id1e9f2a20a35622d0648deb479583bfa760b0cc2
Signed-off-by: Sasirekaa Madhesu <smadhesu@codeaurora.org>
2018-04-06 16:07:40 +05:30
Antony Arun T
e399649644 ipq806x: Removed bootcmd from dts
Change-Id: I77582ddb043f2840841069d321a16853c294c816
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-04-06 10:07:59 +05:30
Manoharan Vijaya Raghavan
47648bd7e0 ipq807x: Dcache: Fixing Dcache invalidate
Using of Dcache invalidate all resulted in stack which
was dirty being invalidated. Hence the return address stored
in stack wasn't flushed and this caused issues. Reverting to
invalidate_dcache_range.

Change-Id: I382e07a3a81885ab02c9eae38196d3aa3ba8b086
Signed-off-by: Manoharan Vijaya Raghavan <mraghava@codeaurora.org>
2018-04-05 11:26:12 +05:30
Antony Arun T
aa20c135eb ipq806x: added i2c entry for AP145 board
Change-Id: I41cd39a8ee4d1d57d5cc9b3214b3b637e4120b16
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-04-04 19:09:40 +05:30
Rajkumar Ayyasamy
50f0745be4 ipq806x: Added gmac cfg and gpio entry for AP160_2xx board
Change-Id: Id17ea3958870981aa23e695082e1719c579a2631
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2018-04-02 17:24:09 +05:30
Manoharan Vijaya Raghavan
94d2909503 ipq807x: scm: Make SCM calls dcache aware
U-Boot now has dcache turned on. This requires cache flushing to
be performed before executing smc instrution. There are calls which
are made to TZ with huge buffer (such as kernel image for authentication).
Flushing and invalidating by address for such huge buffer will have
a performance impact, as the size of buffer is vastly bigger than
the cache size itself. Hence performing a flush of the entire cache
as opposed to performing cache flush with a start and end address.

Change-Id: If90a49d240ecf021ac9714025b6de0cce3fb9fc8
Signed-off-by: Manoharan Vijaya Raghavan <mraghava@codeaurora.org>
2018-03-22 03:26:18 -07:00
Gokul Sriram Palanisamy
f355dbceb7 ess: Set MAC mode to PSGMII
Change-Id: I1013bcbcaad8e064d3c0c87f9ae7cb3d898d735a
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-03-13 10:21:46 +05:30
Gokul Sriram Palanisamy
74624feb6a qca: Added support for AP.HK01-C3
Change-Id: If678f274b6290967f33939f0c40f1bfbff03942c
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-03-12 20:21:35 -07:00
Linux Build Service Account
ed7b3de7eb Merge "ipq40xx: Replace strcpy with strlcpy" 2018-03-08 08:06:02 -08:00
Gokul Sriram Palanisamy
a201972ba1 scm: kw: non-void function must return a value
Change-Id: I59c31f062320bb467c24aaad257462e781b2b802
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-03-06 11:42:26 +05:30
Sasirekaa Madhesu
b3394e6891 ipq40xx: Replace strcpy with strlcpy
Change-Id: I0b1a6d66e7fa99f62dbd1d08602026fbb128694a
Signed-off-by: Sasirekaa Madhesu <smadhesu@codeaurora.org>
2018-03-02 16:30:40 +05:30
Kathiravan T
6186c29910 ipq806x: Reset S17C switch during soft reboot
In case of AP148 , the S17C switch has to be additionally reset using
GPIO 63. This is done for soft reboot cases.

This change is ported based on commit e1c6cd2c07

Change-Id: I31ce8a34797ae353035a7b3fa05ad2783f78aece
Signed-off-by: Kathiravan T <kathirav@codeaurora.org>
2018-03-01 08:14:17 -08:00
Linux Build Service Account
480c11c94d Merge "ipq806x: Dump CPU1 register contents as part of crash dump" 2018-03-01 06:00:53 -08:00
Linux Build Service Account
a702837d3a Merge "ipq807x: Removing unused node from HK07 DTS." 2018-03-01 03:30:03 -08:00
Antony Arun T
a3303e7b23 ipq806x: Dump CPU1 register contents as part of crash dump
Invokes TZ (via scm call) to pull Core-1 out of reset if
crash magic is set. TZ saves the register contents in the
NSS TCM, which is saved from U-Boot as CPU1_REG.BIN as part
of the crash dump saving procedure.

Change-Id: I8e1404fb354a47ae69d70d13a79f45bd4eb1c450
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-03-01 10:27:30 +05:30
Nikhil Prakash V
315d0023f3 ipq807x: Removing unused node from HK07 DTS.
Removing I2C and PCIe nodes from HK07 Uboot
DTS as these are not used.

Change-Id: I6ad642fe574b7cd1bd1369cd8baa92d6ccdcad00
Signed-off-by: Nikhil Prakash V <nprakash@codeaurora.org>
2018-02-28 17:55:25 +05:30
Linux Build Service Account
3174e97d20 Merge "ipq40xx: Replace sprintf with snprintf" 2018-02-27 23:40:26 -08:00
Linux Build Service Account
eaf20104f1 Merge "ipq40xx: Enabled Ethernet initialization for DK07-C2 board" 2018-02-27 23:40:22 -08:00
Nikhil Prakash V
d44c0cb818 ipq807x: Removing Aquantia PHY node from HK07 DTS.
Remove aquantia PHY specific properties from HK07 uboot DTS.

Change-Id: Id64c86a4163dd275a7c8e0dd44ebbc5f0a2e46a6
Signed-off-by: Nikhil Prakash V <nprakash@codeaurora.org>
2018-02-26 20:55:27 -08:00
Gokul Sriram Palanisamy
80cea89e0e Revert "dcache: Invalidated dcache before enabling"
This reverts commit a3ee77558d.
2018-02-23 16:51:15 +05:30
Sasirekaa Madhesu
75d4a7a9c2 ipq40xx: Enabled Ethernet initialization for DK07-C2 board
Change-Id: I9aec449ce94e99a2d641fc6adb6c1bb09cf0d6e6
Signed-off-by: Sasirekaa Madhesu <smadhesu@codeaurora.org>
2018-02-22 21:05:54 -08:00
Linux Build Service Account
d8c656785c Merge "ipq807x: Adding ESS node in Uboot DT for HK07" 2018-02-22 08:00:13 -08:00
Linux Build Service Account
dcf42096fc Merge "ipq806x: Added ar8033_gpio entry in AP160.2 board" 2018-02-22 08:00:12 -08:00
Nikhil Prakash V
b4440573a6 ipq807x: Adding ESS node in Uboot DT for HK07
Support for ESS switch node in uboot device tree
for HK07.

Change-Id: I4f5e53a713cc8c257bbc5694c434a28625720062
Signed-off-by: Nikhil Prakash V <nprakash@codeaurora.org>
2018-02-22 19:16:30 +05:30
Linux Build Service Account
2c3843028a Merge "ipq40xx: Add ethernet support for DK07-C3 board." 2018-02-21 06:01:13 -08:00
Linux Build Service Account
dff8f7d0dd Merge "ipq807x: Device tree support in u-boot for HK07" 2018-02-21 06:01:12 -08:00
Rajkumar Ayyasamy
dd9a2df071 ipq806x: Added ar8033_gpio entry in AP160.2 board
Change-Id: I537a9cdbe25b4c357cc5d6e8ae55b98a6d732162
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2018-02-20 21:17:57 -08:00
Nikhil Prakash V
fc67dc00a8 ipq807x: Device tree support in u-boot for HK07
Adding device tree support for HK07 in u-boot-2016.

Change-Id: Ib1ea4ffe1df241d2c2cbd3fac4fff3f157eae077
Signed-off-by: Nikhil Prakash V <nprakash@codeaurora.org>
2018-02-20 13:25:49 +05:30
Gokul Sriram Palanisamy
a3ee77558d dcache: Invalidated dcache before enabling
Change-Id: Ic4756624e077111243c2c1c9b3124a2e9f90c91a
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-02-20 11:21:40 +05:30
Linux Build Service Account
b7435142c8 Merge "ipq40xx: Add DK01-C3 config support for Standard profile" 2018-02-19 06:04:02 -08:00
Sasirekaa Madhesu
612713b37f ipq40xx: Add ethernet support for DK07-C3 board.
This patch enables ethernet initialization in
DK07-C3 board.

Change-Id: I70bf4dd2917b0fc02f937b236e68ebcb6b1c423c
Signed-off-by: Sasirekaa Madhesu <smadhesu@codeaurora.org>
2018-02-19 12:02:27 +05:30
Rajkumar Ayyasamy
02deda8328 ipq806x: 8033 PHY reset through GPIO32 for the 11ad dock
In case of 11ad dock (AK01), 8033 phy needs to be reset,
before switch initialization. GPIO32 is configured to
reset phy.

Change-Id: I18a7f05b57c9a02adb27d58d8b4098d44edb49bd
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2018-02-09 17:18:44 +05:30
Linux Build Service Account
68f0e9fb64 Merge "ipq806x: Enabling pci for AP160 and Ap160_2xx board" 2018-02-08 18:36:16 -08:00
Linux Build Service Account
7be2d06674 Merge "mtd: nand: qcom: erased page bitflips detection." 2018-02-08 15:43:35 -08:00
Sasirekaa Madhesu
9857b3461c ipq40xx: Add DK01-C3 config support for Standard profile
This patch is to support DK01-C3 dts which is required
for standard profile in linux 4.4 kernel.Linux 3.14 kernel
does not have DK01-C3, hence it uses DK01-C1 config.

Change-Id: I4afa8c4511e55f093b573cf42e04b0917ce7d0b4
Signed-off-by: Sasirekaa Madhesu <smadhesu@codeaurora.org>
2018-02-08 18:40:41 +05:30
Linux Build Service Account
abdb324398 Merge "ipq40xx: Update emmc pin configs" 2018-02-08 05:06:22 -08:00
Rajkumar Ayyasamy
fd01d1b29b ipq806x: Enabling pci for AP160 and Ap160_2xx board
1. Added pci entries in AP160 and AP160_2xx dts

2. The wifi pcie card requires to be powered on from GPIO
pins. This patch also adds the same in AP160 dts file and
enable it during PCIe configuration.

Change-Id: Icd8f5741d5df38d46640c78a7475853e77b873a9
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2018-02-08 18:06:48 +05:30
Sasirekaa Madhesu
c5ffa908c0 ipq40xx: Replace sprintf with snprintf
Change-Id: I2f1d31901ce4c4b15dad9e25265597518d4b4122
Signed-off-by: Sasirekaa Madhesu <smadhesu@codeaurora.org>
2018-02-08 12:40:04 +05:30
Rajkumar Ayyasamy
8ac98b5fd9 ipq40xx: spi: Added support for GD25Q256
Change-Id: Iefc667c95558234e54111e6052f16e0f035b24ab
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2018-02-06 14:46:09 +05:30
Sasirekaa Madhesu
50a9b7dd3c ipq40xx: Update emmc pin configs
Updated the drive strength and pull up values for
the emmc pins.

Reference commit id:185a9ad97acb1d0ee18b9af45a17e1d183af2674

Change-Id: I1e38a51eb1a4c1701866c1f45c8189eea9cd1337
Signed-off-by: Sasirekaa Madhesu <smadhesu@codeaurora.org>
2018-02-02 12:19:16 +05:30
Antony Arun T
4b79b9c406 ipq806x: Clear L2 error status register before linux boots.
Previous pending L2 cache errors are cleared during the
cleanup phase before transferring the control to linux.

Change-Id: I3a54c64049135e150c2b49b0d6de1667511b6a14
2018-02-02 11:54:11 +05:30
Linux Build Service Account
d82fe7ce10 Merge "QCA: Crashdump data to flash" 2018-01-31 04:02:44 -08:00
Gokul Sriram Palanisamy
ebfe553da8 QCA: Crashdump data to flash
If the dump_to_flash environment variable is set with the proper
offset in u-boot, crashdump data will be stored to flash memory.
Otherwise it will be stored in tftp server.

Change-Id: I10ac1016e3dfe6a2fa11a0a67c5774b29c3df67a
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-01-29 13:18:16 +05:30
Linux Build Service Account
ff83336bcd Merge "ipq806x: support to add the boot version to the device tree" 2018-01-25 03:30:48 -08:00