Commit graph

37165 commits

Author SHA1 Message Date
anusha
d42a4a450c ipq6018: Update PCIE clock settings
Change-Id: I91ffa8dc1ae516edf52fc0e7592cbb2399a2e248
Signed-off-by: anusha <anusharao@codeaurora.org>
2019-12-19 00:35:56 -08:00
Vandhiadevan Karunamoorthy
1b56392bcb ipq5018: Enable PSCI for reset
Change-Id: Ide99470756e91f77c267398b2b491714ced38054
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2019-12-18 11:34:36 +05:30
Antony Arun T
687d46c783 ipq807x: fix nand flash size issue
This patch fixes the nand flash size access issue
found in flash with two logical units

Change-Id: Ifcbaa40709c4ac5d508b629fcc6cf7006f167628
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-12-12 17:26:53 +05:30
Balaji Prakash J
052e3eeb21 ipq6018: Add support to enable crashdump compression
Added entries in the dumpinfo structure to support
compressed crashdump collection.

Change-Id: I3a512708fe1a4bb936b8465fb50caab31d8e686c
Signed-off-by: Balaji Prakash J <bjagadee@codeaurora.org>
2019-12-12 17:08:10 +05:30
Linux Build Service Account
ac73bf4d16 Merge "dts: ipq807x: Added new device tree for HK11-C1 RDP" 2019-12-09 03:37:41 -08:00
Linux Build Service Account
ea5bbafae8 Merge "ipq: fdt_fixup: Add support to change dts params using env" 2019-12-07 18:37:41 -08:00
Gokul Sriram Palanisamy
9396432d05 dts: ipq807x: Added new device tree for HK11-C1 RDP
Change-Id: Ie8295b430be7b5268ddd69e88bb97a573fc1e437
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2019-12-06 17:09:36 +05:30
Balaji Prakash J
8b945c1550 ipq: fdt_fixup: Add support to change dts params using env
The env name should "fdtedit" followed by number from 0.
example: fdtedit0, fdtedit1, fdtedit2, ...

Set the number of envs to parse, "setenv fdteditnum <number>"
<number> can be between 1 to 99. eg: "setenv fdteditnum 5"

Without setting 'fdteditnum' fdtedit envs will not parsed.

To change add/change a particular property of a node:
setenv fdtedit0 <node_path>%<property>%<value>
example:
fdtedit0=/soc/qca,scm_restart_reason%qca,coldreboot-enabled%1
fdtedit1=/soc/usb3@8A00000/dwc3@8A00000%dr_mode%?peripheral

To delete a property of a node:
setenv fdtedit0 <node_path>%delete%<property>
example:
fdtedit2=/soc/q6v5_wcss@CD00000%delete%?qca,secure

The last param in both case, if it is a string, it should
start with '?' else if it is a number, it can be put directly.
check above examples for reference.

Change-Id: Ib22ec8098925b49b013bc115f11e043bf8ab3ef5
Signed-off-by: Balaji Prakash J <bjagadee@codeaurora.org>
2019-12-04 12:38:49 +05:30
Balaji Prakash J
fc4156c0d2 ipq6018: Replace existing fixup definitions with parse_fdt_fixup
Replaced the existing fdt fixup definitions with generic fdt
fixup implementation API - parse_fdt_fixup

Change-Id: Ifc38a12d4867000396a428081ecf07adc9dc25e4
Signed-off-by: Balaji Prakash J <bjagadee@codeaurora.org>
2019-12-02 12:01:10 +05:30
Linux Build Service Account
fe27a88a40 Merge "ipq5018: Update TLMM gpio configuration" 2019-11-29 11:06:28 -08:00
Linux Build Service Account
e661385715 Merge "ipq6018: Move qgic init weak functions out of PCI define" 2019-11-29 07:07:28 -08:00
Linux Build Service Account
535b1c7c11 Merge "ipq5018: Enable stack protection" 2019-11-29 07:07:26 -08:00
Prasanna Kumar Thoorvas Samyrao Muralidharan
766eba24cf ipq6018: Move qgic init weak functions out of PCI define
Change-Id: I79a1f2851e37ee9bf31cf1b90f7d41518677c351
Signed-off-by: Prasanna Kumar Thoorvas Samyrao Muralidharan <ptsm@codeaurora.org>
2019-11-28 15:52:52 +05:30
Rajkumar Ayyasamy
970617c1a6 ipq40xx: Added support for DK05-C1 board
Change-Id: Ia8bcb3a022611b3cfa6f58e10fcdc70a8f85a41f
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2019-11-28 11:54:23 +05:30
Vandhiadevan Karunamoorthy
790fe61455 ipq5018: Update TLMM gpio configuration
Change-Id: Ic084abb39bd693b8f2cb23ea39d9c2062863553e
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2019-11-27 12:29:14 +05:30
Linux Build Service Account
c27b4f1810 Merge "dts: Added new device-tree for HK10-C2" 2019-11-26 11:39:57 -08:00
Linux Build Service Account
41a6ccad9e Merge "ipq807x: Removed spi gpio entries from device-tree" 2019-11-25 12:37:33 -08:00
Gokul Sriram Palanisamy
ceea3ed10f ipq807x: Removed spi gpio entries from device-tree
Removed spi-gpio entried from device-tree and
added to static board param structure.

This change helps free-up 10KB so that we will
be able to accomodate another device-tree entry.

Change-Id: If0f53b611ac838ad5cec7e6a2a48c6064732ce22
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2019-11-22 15:27:59 +05:30
Vandhiadevan
f0226f2e93 ipq5018: Enable stack protection
Change-Id: I1142c32d5c725a188929848d84bb7642ed1c66c9
Signed-off-by: Vandhiadevan <vkarunam@codeaurora.org>
2019-11-22 12:21:23 +05:30
Vandhiadevan
4ae7d14b9d ipq5018: Enable eMMC support.
This eMMC flash controller support only 4-bit
Update sdhci driver to support 4-bit mode.

Change-Id: Iddaa0807b7cf339fcfa5add0b96955757b33c716
Signed-off-by: Vandhiadevan <vkarunam@codeaurora.org>
2019-11-21 19:58:18 +05:30
Gokul Sriram Palanisamy
064136e49d dts: Added new device-tree for HK10-C2
Change-Id: I8778ed6fc2e6fcecd9fe859b48359e053a424e34
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2019-11-21 02:25:21 -08:00
Linux Build Service Account
a8f7e1ee33 Merge "ipq5018: Change bootcmd from bootm to bootipq" 2019-11-19 09:54:05 -08:00
Vandhiadevan
49e540a839 ipq5018: Change bootcmd from bootm to bootipq
Change-Id: I1177a18843ce5ee7c84b8bbe58b28ec1d10b8528
Signed-off-by: Vandhiadevan <vkarunam@codeaurora.org>
2019-11-18 14:09:13 +05:30
Vandhiadevan
2fed2a525c ipq5018: Update BOOTM_LEN to 0x4000000
Change-Id: I06324499d599a376c1e9cd7de21a87d56c793684
Signed-off-by: Vandhiadevan <vkarunam@codeaurora.org>
2019-11-18 14:05:31 +05:30
Vandhiadevan
43ff3fdc89 ipq5018: Enable Hush shell parser
Change-Id: I6003e692b66844070a6eda0f20ab860c7afa49d8
Signed-off-by: Vandhiadevan <vkarunam@codeaurora.org>
2019-11-18 13:59:50 +05:30
Vandhiadevan
7f61cf2d58 ipq5018: Setting freq to 240 Khz for ipq5018 EMU.
It is downscaled by 1/100 to 240 KHz for EMU platform.

Change-Id: I9346faab2c9e17f572a195f2277c2ab12e726712
Signed-off-by: Vandhiadevan <vkarunam@codeaurora.org>
2019-11-18 10:16:38 +05:30
Linux Build Service Account
09e375b999 Merge "dts: ipq807x: Removed external reference clock on HK10-C1" 2019-11-15 11:12:00 -08:00
Gokul Sriram Palanisamy
0875b410c7 dts: ipq807x: Removed external reference clock on HK10-C1
On HK10-C1, Malibu PHY Will use internal 48MHz clock.
Hence, removing the external reference clock setting.

Change-Id: I5d55c3a35c4ee4ca8d2bd74688e20bfc21bc34bd
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2019-11-14 05:11:30 -08:00
Linux Build Service Account
76c65a1f5d Merge "ipq6018: usb: Add support to enable diag gadget through env" 2019-11-14 03:39:53 -08:00
Linux Build Service Account
3f32cfc5ca Merge "ipq6018: Add 100 ms delay before resetting" 2019-11-12 18:09:22 -08:00
speriaka
55aaefd01c ipq6018: Add 100 ms delay before resetting
This delay is required for print messages
to be flushed to console before resetting
the board.

Change-Id: I8823be562fd8b1fedfb09fb0d4b555df5db04a47
Signed-off-by: speriaka <speriaka@codeaurora.org>
2019-11-12 16:58:34 +05:30
Gokul Sriram Palanisamy
eb607a330e qca: uart: ipq807x: Removed serial console initialization
U-boot is handed over with serial console initialized
from sbl. Hence removing re-initialization.

Change-Id: I205e3147e5829879c61421fb97f33844fdc24bc2
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2019-11-10 22:07:52 -08:00
Gokul Sriram Palanisamy
de819d1841 dts: Removing unused model and compatible entries
If enabling CONFIG_DISPLAY_BOARDINFO, model shall be
added to the device-tree.

Change-Id: Ic88b0055d61a9858b9231bb6e8095bb75cc4c7a3
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2019-11-10 22:07:45 -08:00
Balaji Prakash J
2be9c7539c ipq6018: usb: Add support to enable diag gadget through env
This patch adds support to enable the diag gadget driver
using the uboot env 'usb_mode'. To enable diag gadget,
use 'setenv usb_mode diag_gadget'.

Change-Id: I204adc44bb4feb3fc07fe5efe8fb2a39a40781b0
Signed-off-by: Balaji Prakash J <bjagadee@codeaurora.org>
2019-11-07 12:06:37 +05:30
Linux Build Service Account
cb707ecc36 Merge "ipq5018: Enable No relocation support" 2019-11-06 12:37:34 -08:00
Linux Build Service Account
689995bc41 Merge "ipq5018: spi-nor: Add offset 0x0 erase support for S25FL128S_64K Note : This S25FL128S_64K chip has Hybrid sector's First 64Kb (4Kb * 8 + 32Kb) and rest all 64Kb sectors" 2019-11-06 12:37:34 -08:00
Linux Build Service Account
f159367dd0 Merge "ipq807x: tiny:Enable THUMB2 interwork in u-boot" 2019-11-06 12:37:33 -08:00
Vandhiadevan Karunamoorthy
5568a239db ipq5018: Enable No relocation support
Change-Id: I83fd496630bfe9046986d8e63b16c2a172a9c530
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2019-11-05 15:32:30 +05:30
Vandhiadevan Karunamoorthy
a13842f5cf ipq5018: spi-nor: Add offset 0x0 erase support for S25FL128S_64K
Note : This S25FL128S_64K chip has Hybrid sector's
First 64Kb (4Kb * 8 + 32Kb) and rest all 64Kb sectors

Change-Id: Ibac9bd9dbd7b5a4eb1c31427b4d315fc5353ec62
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2019-11-05 10:32:27 +05:30
Linux Build Service Account
4cd1329204 Merge "ipq5018: Enable mtest support" 2019-11-01 19:08:02 -07:00
Linux Build Service Account
f48764f0fe Merge "ipq: tzt: add xpu config test support" 2019-11-01 14:42:35 -07:00
Linux Build Service Account
5d464089f1 Merge "ipq6018: free ubi ptr to avoid memory leak" 2019-11-01 14:42:34 -07:00
Linux Build Service Account
5439a11040 Merge "ipq6018: pcie: Update phy configuration" 2019-11-01 04:40:08 -07:00
Linux Build Service Account
ffef817f98 Merge "dts: enabled i2c0 on HK10" 2019-11-01 04:40:07 -07:00
Linux Build Service Account
51bc6b7e39 Merge "dts: Enabled pci1 on HK10" 2019-11-01 04:40:07 -07:00
sameeruddin shaik
ed24a4448f ipq807x: tiny:Enable THUMB2 interwork in u-boot
Change-Id: I45fcd0c11c365c2df5abc8fda979ed9df5537acb
Signed-off-by: sameeruddin shaik <samesh@codeaurora.org>
2019-11-01 16:13:30 +05:30
Rajkumar Ayyasamy
84c8701aa4 ipq: tzt: add xpu config test support
Change-Id: Ia981f59ea3dd52f23a4c757ff424cb0656e4435c
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2019-11-01 15:49:24 +05:30
Vandhiadevan Karunamoorthy
f0565707c6 ipq5018: Enable mtest support
Change-Id: I202798d264b81ce9ae4a374ece376b7ba1598b23
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2019-10-30 22:20:57 +05:30
Rajkumar Ayyasamy
ffeea6dd1e ipq6018: free ubi ptr to avoid memory leak
This patch will free the ubi volume and ubi
object  memory

Change-Id: I4151fc70efefbf338123a734f2abcbc48e440444
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2019-10-30 15:42:13 +05:30
Balaji Prakash J
3c40acc3c2 ipq6018: pcie: Update phy configuration
Change-Id: Ie96555c16df7fd6539e245b95d6f6d5467dab923
Signed-off-by: Balaji Prakash J <bjagadee@codeaurora.org>
2019-10-30 12:09:56 +05:30