Commit graph

8839 commits

Author SHA1 Message Date
Linux Build Service Account
78ff936e75 Merge "arm: dts: ipq50xx: configure all GPIOs for DB board" 2020-04-27 13:14:03 -07:00
Md Sadre Alam
9ce72a0472 arm: dts: ipq50xx: configure all GPIOs for DB board
This change will add all GPIO configuration for DB boards
as per DB board schematics.

Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: Ic853acc1639c344327f509ef0b391b9e3fd9933a
2020-04-27 16:28:10 +05:30
Linux Build Service Account
4f43809fbb Merge "arm: dts: ipq501x: update gpio as per rdps schematics." 2020-04-24 07:13:46 -07:00
Md Sadre Alam
88a244aa1f arm: dts: ipq501x: update gpio as per rdps schematics.
Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: I1269d8a0ec33b7c07bf27e7482d36bceb87fd35c
2020-04-23 11:22:17 +05:30
Linux Build Service Account
28e69e89c5 Merge "ipq5018: Tiny-nor support" 2020-04-15 13:45:54 -07:00
Linux Build Service Account
429d109cfd Merge "ipq6018: add UART clock settings" 2020-04-15 10:47:46 -07:00
Rajkumar Ayyasamy
86e3d52362 ipq6018: add UART clock settings
Change-Id: Ifb80b67e961ae2cde93bc5709330c5df932d0b4b
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2020-04-15 10:30:05 +05:30
Vandhiadevan Karunamoorthy
de9c7a6a8b ipq5018: Tiny-nor support
This changes enable ipq5018-tiny arch config which support
ipq5018 standard board files but support only particular dtbs

This change mainly removes eMMC, Pci ,I2C & UBI command and
additional features support

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I4c92c77094d7fbc23b979f0c65f650cc89c28715
2020-04-14 23:28:58 +05:30
Linux Build Service Account
b02ecfef9e Merge "dts: hk14: Removed unused malibu port" 2020-04-08 06:42:15 -07:00
Linux Build Service Account
cfb97cf321 Merge "ipq5018: Fix xPU violation issue" 2020-04-08 03:21:49 -07:00
Gokul Sriram Palanisamy
1bd3deba8a dts: hk14: Removed unused malibu port
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Change-Id: Ifa6e71a6a88de3c35c1e4ebd9c3aed317224a282
2020-04-07 23:30:39 +05:30
Vandhiadevan Karunamoorthy
5654b46d6d ipq5018: Fix xPU violation issue
This change will disable QPIC related clock because
all QPIC related clock setting is done by SBL.
If again we will try to access QPIC clock from u-boot
then due to xPU protection on QPIC clock register,
will generate the NOC error.

This change will also disable the global counter value
for clock source in register MPM2_MPM_CONTROL_CNTCR.
The global counter value setting is also done by SBL.

Change-Id: I2e9b11c208986fc85a5f3a8fb876c8aea083c87b
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2020-04-07 09:42:47 +05:30
Gokul Sriram Palanisamy
342dac3c00 dts: hk14: Updated mac_mode
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Change-Id: Id4d039b887af49b4f2f794be86f2a3be3bd83d4b
2020-04-06 18:32:03 -07:00
Linux Build Service Account
4284fb3440 Merge "u-boot: Remove soft-float compile flag" 2020-04-06 11:23:24 -07:00
Linux Build Service Account
1b781cfebe Merge "Revert "arm: dts: Added device-tree for CP01-C3 RDP"" 2020-04-03 10:18:01 -07:00
Gokul Sriram Palanisamy
1a9cb5350b ipq807x: Added support for new board variant HK14
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Change-Id: I69c53cea350ed18f55a429256b799f5507d818d4
2020-04-03 12:48:53 +05:30
Gokul Sriram Palanisamy
113fced1a0 Revert "arm: dts: Added device-tree for CP01-C3 RDP"
This reverts commit 72a5fde26f.

Change-Id: Icc0c13a55a3497d2a3fe279e118850921b70f8b7
2020-04-01 16:34:21 +05:30
Gokul Sriram Palanisamy
5e5f04049e arm: dts: Added support for CP01-C3 RDP
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Change-Id: I5dbe6796b4a6fbd56095dd68eca667b35923957b
2020-04-01 13:59:03 +05:30
Vandhiadevan Karunamoorthy
fbdef33978 ipq5018: armv7: Enable barrier bit
Change-Id: I6ae378b84f9567c112ad7ed00d0f9ace335c83cf
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2020-03-20 15:37:25 +05:30
Linux Build Service Account
0e56cf5f55 Merge "ipq6018: Adding support for ipq6018-AP-CP01-C4" 2020-03-17 18:06:52 -07:00
Pavithra Palanisamy
5f9274fbec arm: dts: ipq5018: Add support for new board variants
This change is to add device-tree files and Makefile changes
to support the following board variants
- MP02.1
- MP03.1
- MP03.3

The device tree files are copies of emulation-dts
along with RDP specific changes
. Disabled eMMC support for MP02.1
. Timer frequency to be used from soc-dtsi
. Removed 'emulation' flag from xhci

Change-Id: I0d5e776c98770e61fa2ab6009fd78ff5cc8127c3
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
2020-03-12 22:27:23 -07:00
Linux Build Service Account
48a962be05 Merge "ipq5018: DTS: Update Emulation Machine ID" 2020-03-11 16:38:02 -07:00
Praveenkumar I
bb4916874d ipq6018: Adding support for ipq6018-AP-CP01-C4
Signed-off-by: Praveenkumar I <ipkumar@codeaurora.org>
Change-Id: If54dee77a0db761bfad8c589ea856a24dffe8107
2020-03-10 13:20:21 +05:30
Linux Build Service Account
66efbd09dd Merge "driver: mtd: qpic: Enable support for page_scope & multi_page read command." 2020-03-09 20:39:03 -07:00
Vandhiadevan Karunamoorthy
c88941444c ipq5018: DTS: Update Emulation Machine ID
Emulation machinde id is udpated as per the CDT config

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I5f6cf824d1d7b403292bf60432767c5b5ce39a81
2020-03-09 12:45:32 +05:30
Md Sadre Alam
599391c231 driver: mtd: qpic: Enable support for page_scope & multi_page read command.
This change will enable page_scope_read & multipage_read support for
QPIC.
QPIC version 2.0 onwards , QPIC support page_scope_read &
multipage_read command to enhance the read performance.
In normal page read command SW is needed to write EXEC_CMD register
for each Code word and collect any Status related to that CW before
issueing EXEC_CMD for next CW.

For page_scope read command SW is required to issue EXEC_CMD
only once for a page. Controller HW takes care of Codeword specific
details and automatically returns status associated with each CW to
BAM pipe, dedicated for status deposition.

enabling all bits in NAND_AUTO_STATUS_EN will require 4 data
descriptors of 24 bytes each. This will publish all NANDc status
registers in system memory.

For multipage_read command SW is required to issue EXEC_CMD only
once for all the pages which configured in QPIC_NAND_MULTI_PAGE_CMD
register.
All interrupts will be operational and valid in these modes.

To check the status for each codeword, it is not possible to access
the status registers while the read command is operational in
page_scope & multi_page read  modes. Hence, another feature to publish the
status data (for all NAND status registers) by programming the
NAND_AUTO_STATUS_EN register.

For serial NAND:
Read command for page_scope_read = 0x78800032 (QPIC_NAND_FLASH_CMD)
Read command for multi_page_read = 0x78400032 (QPIC_NAND_FLASH_CMD)

For Parallel NAND:
Read command for page_scope_read = 0x00800032 (QPIC_NAND_FLASH_CMD)
Read command for multi_page_read = 0x00400032 (QPIC_NAND_FLASH_CMD)

Now we fixed maximum data bytes read in one go 128KiB(2KiB page),
256KiB (4KiB page), 512 KiB (8kiB page), because from upper layer
we are getting more than 128KiB data bytes request in one go. if so
just changing the value of "MAX_MULTI_PAGE" macro will increase the
maximum data bytes in one go.

Change-Id: I48eea51ff8f5f79f3490d8a538c295ecc3eeee19
Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
2020-03-06 15:52:15 +05:30
Gokul Sriram Palanisamy
72a5fde26f arm: dts: Added device-tree for CP01-C3 RDP
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Change-Id: Ic55b259ee775a28d0714abf03c5cb5c90a1e024f
2020-02-27 21:45:48 +05:30
Vandhiadevan Karunamoorthy
a2edc11fd5 ipq5018: load appropriate kernel dts from single image.
Change-Id: I99bd6ab697b3951ed6c68135b13a223e125efc82
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2020-02-19 22:57:28 -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
bbbdb8e5ab Flash: ipq5018: Add SPI-NAND flash support
Change-Id: I45d73fdd7e7315f110e4691a7dc9fe6698c51c37
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2020-02-19 03:32:03 -08:00
Gokul Sriram Palanisamy
7f77903353 ipq: Moved board params structure to qca common
Change-Id: I58ac138f4585a64bf1a89302ec212afe133c2101
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2020-02-10 11:42:21 +05:30
Gokul Sriram Palanisamy
b8b1da8bfd nand: ipq807x: Removed nand_gpio entries from dts
Since nand configuration is fixed across all HK boards,
removing the nand gpio_entries from device tree and
adding static board param entries. This helps reduce
image footprint and opens up space for new board support.

Change-Id: I89bc11165a6cdfcdb3b4650a73cbeea17895f991
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2020-02-07 16:54:10 +05:30
Kathiravan T
895a31bb8d dts: ipq6018: remove model and compatible strings
model and compatible will be useful when CONFIG_DISPLAY_BOARDINFO is
enabled. Currently it is not enabled for ipq6018. So removing the
corresponding entries.

Change-Id: Ia05059cab91d25283e291564d606eaf81e94781f
Signed-off-by: Kathiravan T <kathirav@codeaurora.org>
2020-01-29 15:35:22 +05:30
Kathiravan T
43eb86c0bc dts: ipq6018: don't build the emulation dts
Emulation DTS is no more required. So just keep it for reference, don't build
it. This helps to free up some space.

Change-Id: I93a462fd720acbe27792fa995317bbb44ca82f9b
Signed-off-by: Kathiravan T <kathirav@codeaurora.org>
2020-01-29 15:29:40 +05:30
Linux Build Service Account
367c88379a Merge "board: ipq5018: Enable gcc cbcr clk for qpic." 2020-01-28 09:39:16 -08:00
Nitheesh Sekar
ada240339d ipq807x: Dont use PCIe for CPE boards(HK01.c5)
Change-Id: I96b0e5991bae17830d5bc8523b789fc592450b7f
Signed-off-by: Nitheesh Sekar <nsekar@codeaurora.org>
2020-01-24 06:10:10 -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
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
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
a4bd0e3857 Merge "ipq40xx: removing redundant initialization in dts" 2019-12-26 18:08:36 -08:00
Linux Build Service Account
5d3735cfac Merge "ipq5018: Enable support for serial nand in qpic" 2019-12-25 18:31:09 -08:00
Antony Arun T
7eae44f0e8 ipq40xx: removing redundant initialization in dts
removing the redundant initialization to reduce the size of uboot

Change-Id: If8e97be523e83444a166cee94baa8728fcd61675
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-12-24 02:35:51 -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
anusha
a0f2464c86 ipq6018: Add I2C clock settings
Currently I2C clocks are enabled by default in SBL.
Added clk settings in uboot to remove SBL dependency.

Change-Id: I6bc2ecaa5a9262dd1f134e5b62fd2cf38c682ff3
Signed-off-by: anusha <anusharao@codeaurora.org>
2019-12-19 00:39:00 -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
Linux Build Service Account
fe27a88a40 Merge "ipq5018: Update TLMM gpio configuration" 2019-11-29 11:06:28 -08:00
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