Commit graph

13738 commits

Author SHA1 Message Date
Vandhiadevan Karunamoorthy
6d4bd587dd ipq5018: Add flash command support
Change-Id: Ifcb63e50d17d3fcc676845123dac02ee205f250a
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2020-02-19 22:57:50 -08:00
Vandhiadevan Karunamoorthy
5fae168254 ipq5018: Enable DEVICE_NULLDEV
This change will redirect the unwanted console prints

Change-Id: I06720e774c280774abbb86b8e8cbcf365bbe8570
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2020-02-19 22:57:17 -08:00
Vandhiadevan Karunamoorthy
3f50b516ff ipq5018: Add Pcie support
Change-Id: Ifcb632b0cda947002e0538778484bb866f8227f8
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2020-02-19 22:57:03 -08:00
Vandhiadevan Karunamoorthy
0b98a31e25 ipq5018: Enable USB support
Change-Id: I8ccc9d85a9fe5e650843a22bfe438788d031a854
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2020-01-23 13:10:39 +05:30
Vandhiadevan Karunamoorthy
593aa8a95a ipq5018: Enable Early and Late init
Change-Id: I102678796a578945a7e7f2ccd573413419c482c2
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2020-01-06 00:25:09 -08:00
Vandhiadevan Karunamoorthy
28f53ee94c ipq5018: Enable GMAC support
Change-Id: I5505d65292cf38aeda0602d9f8d1ad703d8efedb
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2020-01-06 00:24:58 -08:00
Vandhiadevan Karunamoorthy
1555916ab9 ipq5018: Enable Crash dump support
Change-Id: Ic7a30878e1e458422ce77d5edc6eae235f7cddb6
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2020-01-06 00:24:38 -08:00
Vandhiadevan Karunamoorthy
f92636faf1 ipq5018: Enable I2C support
Change-Id: Ifd672462a78f48a51f7c0d4fc5fdfb08d9ae9d57
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2020-01-06 00:18:51 -08:00
Linux Build Service Account
ed6d7b34c5 Merge "ipq5018 : Enable SCM calls" 2019-12-26 18:08:36 -08:00
Linux Build Service Account
c126ce2855 Merge "ipq5018: Enable PSCI for reset" 2019-12-25 18:31:10 -08:00
Linux Build Service Account
5d3735cfac Merge "ipq5018: Enable support for serial nand in qpic" 2019-12-25 18:31:09 -08:00
Vandhiadevan Karunamoorthy
2815decb83 ipq5018 : Enable SCM calls
Change-Id: I9b2e580e3d9536e8d27383eac0a6cec045198735
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2019-12-25 18:19:55 -08:00
Linux Build Service Account
0adb4367d4 Merge "ipq6018: Add support to enable crashdump compression" 2019-12-24 11:35:53 -08:00
Md Sadre Alam
2c13362d84 ipq5018: Enable support for serial nand in qpic
This change will add support for serial nand.

QPIC-2.1.1 supports parallel nand as well as serial nand.

QPIC will operate either in parallel configuration or
serial nand. Both can't work together.

This change will support initially four serial nand parts.

MT29F1G01ABBFDWB-IT (Micron-0x2C,0x15, 2K + 128)

GD5F1GQ4RE9IG (Giga Device-0xC8,0xC1, 2K + 128)

GD5F2GQ5REYIH (Giga Device-0xC8,0x22, 2K + 64)

GD5F1GQ4RE9IH (Giga Device-0xC8, 0xC9, 2K + 64)

Device Internal ECC is disabled for all three devices. This change will
enabele QPIC ECC engine.

For MT29F1G01ABBFDWB-IT 4-bit ECC as well 8-bit ECC will be supported.

For  GD5F1GQ4RE9IG 4-bit ECC as well 8-bit ECC will be supported.

For GD5F2GQ5REYIH only 4-bit ECC will be supported due to 64-bytes spare.

For GD5F1GQ4RE9IH only 4-bit ECC will be supported due to 64-bytes spare.

Change-Id: I3f38f9c76b7bb235bb335a481fbc42ae1bd00395
Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
2019-12-23 11:54:23 +05:30
Pavithra Palanisamy
5e2038bc94 ipq807x: Add support for compressed crashdump collection.
This change will add support for collecting crashdump as
compressed gzip file, if specified through uboot environment
variable 'dump_compressed'

Change-Id: I0c3fb16bc07aaa0103e75a551477fce13f9e26da
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
2019-12-23 09:26:21 +05:30
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
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
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
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
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
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 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
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
Vandhiadevan Karunamoorthy
3da238bdb6 ipq5018: Enable spi bam support
Change-Id: Idd6395d223bbd6fc7fbf7ef09a96c8849f6bbb58
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2019-10-28 17:28:32 +05:30
Vandhiadevan Karunamoorthy
fd7d21dd13 ipq5018: Add cache support
Change-Id: Ib4388e63da3f9a3ef7cced5d7485df49aef62f53
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2019-10-22 03:11:35 -07:00
Vandhiadevan Karunamoorthy
bd904fe2f4 ipq5018: Modify DDR base address to 0x40000000
Change-Id: I6a5a62b88affa9514df8ebf2df3eb36f88943c4d
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2019-10-21 16:18:48 +05:30
Vandhiadevan Karunamoorthy
73712e5b7d ipq5018: Add spi nor support
Change-Id: I1191f2cab63f09fa9c69f417d9cd3050e7a928e3
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2019-10-17 23:08:48 +05:30
Vandhiadevan Karunamoorthy
5951991989 ipq5018: Fixing whitespace errors
Change-Id: I8c3c6cb436344cec2211cd53281d757e68bc0a6b
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2019-10-17 13:48:41 +05:30
Vandhiadevan Karunamoorthy
474077431c qca: ipq5018: Adding support for IPQ5018
Added config, dts and initial board support code for ipq5018

Change-Id: I70c0432623e57430187a7f432033056e19be8e5b
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2019-10-10 21:55:42 +05:30
Sham Muthayyan
107d511bdc Revert "ipq807x: fat: Fix overflow issue"
This reverts commit 8791ff3dab.

Change-Id: I03af0ce35aa2df9e381b98c3842e4b88fbd35e1d
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2019-09-30 18:33:03 +05:30
Prasanna Kumar Thoorvas Samyrao Muralidharan
dcfb86f9d9 reset: Use correct scm id for pshold
Incorrct scm id was used for pshold. Use correct value instead.

Change-Id: Ife5c5d73cd007865234e4c899304a861f6c4ea9d
Signed-off-by: Prasanna Kumar Thoorvas Samyrao Muralidharan <ptsm@codeaurora.org>
2019-09-17 03:24:10 -07:00
Rajkumar Ayyasamy
04d99019b2 ipq6018: add support to flash individual ubi volumes
Change-Id: I660879ffa28437eb88faa04ee61d329c224d16f9
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2019-09-13 15:13:08 +05:30
Manoharan Vijaya Raghavan
8791ff3dab ipq807x: fat: Fix overflow issue
As per FAT spec, the number of sectors can be more than
clusters, as clusters starts from databegin.
So check cluster overflow against total clusters.

The FAT at present in u-boot lacks a lot, such as
support for long file names, subdir etc.
The mini dump was using more than 8 character name,
changed that one too.

Change-Id: Icfae6d955dd93432b3d33d7c0b9a724382d87185
Signed-off-by: Manoharan Vijaya Raghavan <mraghava@codeaurora.org>
2019-08-12 13:30:40 +05:30
speriaka
b76bed491a drivers: net: ipq6018: Support QSGMII,SGMII,SGMII_FIBER modes
Change-Id: I19c30a8054ac092e69c0e91ad2a6fc1d1cfa62eb
Signed-off-by: speriaka <speriaka@codeaurora.org>
2019-08-04 21:39:58 -07:00
Linux Build Service Account
5c53b6e55d Merge "ipq6018: Added support for tiny variant of u-boot" 2019-07-29 13:40:02 -07:00
Linux Build Service Account
eca346c998 Merge "Minidump: Modify size of crashdump buffer" 2019-07-26 04:12:07 -07:00
Rajkumar Ayyasamy
c5e175c4eb ipq6018: Added support for tiny variant of u-boot
In tiny u-boot variant, PCI, USB and Aquantia Phy support
has been disabled.

Change-Id: I3057839ed9756755a8bd77bc8d208880dbce4c5b
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2019-07-24 16:10:09 +05:30
Gitanjali Krishna
e186e90535 Minidump: Modify size of crashdump buffer
This change modifies size of crashdump buffer to
12K from 16K for ipq60xx and ipq807x

This change also makes dumping of crashdump TLVs more
generic and does not assume any fixed positions for
static or dynamic dump segments

Change-Id: I9723ebf55e4a6db3360b3370a2c6e15d22741e08
Signed-off-by: Gitanjali Krishna <gitanjal@codeaurora.org>
2019-07-23 12:04:31 -07:00
Antony Arun T
70138cb1cd ipq6018: memory layout: moving SYS_TEXT_BASE to 0x4A400000
moving SYS_TEXT_BASE to 0x4A400000, so that the 3MB
from 0x4A100000 to 0x4A400000 will be used for u-boot
stack and heap and the memory from 0x4A400000 to 0x4A500000
will be used for the u-boot code.

Change-Id: Ibe88b31ff4e2926f5f7c8923ffe69e5d3d5940ae
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-07-22 21:31:39 -07:00
Antony Arun T
cc9f67f70f ipq6018: enable mtest support
Change-Id: I27f13c29c09725c424884d3e62864888a3e3f763
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-07-10 12:57:09 +05:30
Antony Arun T
374d35d431 ipq6018: crashdump: fixing tz end address and EBICS0 size
Change-Id: Ib898c2e1f391208f21bd88175bc68cae7aa57a4b
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-07-04 22:12:56 -07:00
speriaka
c0eefc1e4a drivers: net: ipq6018: Add support for AQ and SFP
This patch adds support for AQ and SFP Ports.

Change-Id: I9bb597007b84a7b24608bd2d225b9a9bae551706
Signed-off-by: speriaka <speriaka@codeaurora.org>
2019-07-02 02:32:01 -07:00
Gitanjali Krishna
5fdd05b65a u-boot-2016: Enable minidump feature for ipq6108
Change-Id: I00328f6305c776d0a0ff1af3a3410e9fe0e48f01
Signed-off-by: Gitanjali Krishna <gitanjal@codeaurora.org>
2019-06-27 16:30:13 -07:00
Antony Arun T
6f36bfc173 ipq6018: Enable multicore
Change-Id: Iba9420f27342554a4351b774d03606bb8e2ec2cf
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-06-24 00:14:00 -07:00
Linux Build Service Account
f1722570f2 Merge "driver: mtd: Add support to read entire ONFI parameter page structure." 2019-06-18 14:35:23 -07:00