Commit graph

37306 commits

Author SHA1 Message Date
Timple Raj M
6915087e2a pack_v2: fix for emmc apps image
This patch provides the fix for emmc apps image generation.
The partition variable value has to be marked as null
for the partitions to be skipped in apps image generation.

Change-Id: I0067c527f0de38eb513e27fadfeee2accb69f3d3
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-01-23 14:17:27 +05:30
Vandhiadevan Karunamoorthy
f3b375939f board: ipq5332: skip cap in & cap out in recovery
Change-Id: I91b7c5520a67ba7f5265d3a600452439682608b8
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2023-01-20 17:51:26 +05:30
Linux Build Service Account
519a9280be Merge "ipq9574: Drive PCIe GPIOs to Low in deinit" 2023-01-18 05:21:42 -08:00
Timple Raj M
429235530a ipq5332: Increase the file name size
This patch increases the filename size to avoid truncation while
running flash script in verbose mode

Change-Id: I245f4ee0ae83fc88de4833a178b1e1e96107f486
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-01-17 17:48:35 +05:30
Linux Build Service Account
bb1322745c Merge "ipq5332: Added support to apply caldata in u-boot" 2023-01-14 10:14:11 -08:00
Linux Build Service Account
fcba86d915 Merge "net: ipq5332: update sgmii+ mode for bypass port" 2023-01-13 09:59:26 -08:00
Linux Build Service Account
ed95202ae6 Merge "tools: pack_v2: ipq5332: Add NOR support for wifi_fw flash" 2023-01-13 02:20:39 -08:00
Gurumoorthy Santhakumar
092065500b ipq5332: Added support to apply caldata in u-boot
This change will read calibration data from the 0:ART partition and
apply it to the appropriate registers.

Change-Id: Ic9360c0fce229c1d1867ee897b811abc56d2b1c7
Signed-off-by: Gurumoorthy Santhakumar <quic_gsanthak@quicinc.com>
2023-01-13 15:42:51 +05:30
Linux Build Service Account
4e15ee3aba Merge "arm: dts: ipq5332: Add DB-MI03.1 RDP support" 2023-01-12 04:25:36 -08:00
Vandhiadevan Karunamoorthy
6d133d5019 net: ipq5332: update sgmii+ mode for bypass port
This change configure sgmii+ mode if linkup at 2.5Gbps
speed.

Change-Id: I6570c9ee34cfb4d5d9208766135d429795beebaf
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2023-01-11 22:32:47 +05:30
Timple Raj M
e35288bf0a tools: pack_v2: ipq5332: Add NOR support for wifi_fw flash
This patch adds the additional conditional check to filter
out wififw images for nor flash type

Change-Id: Iba078721fbfc5ed4cd3bd74689e9ba6352a69130
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-01-11 01:24:17 -08:00
Praveenkumar I
de6ff2e382 ipq9574: Drive PCIe GPIOs to Low in deinit
Change-Id: I0a2d02f7cd712d3d52082903fd352708c58c6e88
Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>
2023-01-09 18:56:48 +05:30
Vandhiadevan Karunamoorthy
7c9ba11aa9 net: ipq5332: update CONFIG_IPQ_NO_MACS to 2
Change-Id: Ibc4cd52a7c0d4aa0209f96b2500f66204395c743
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2023-01-09 16:54:32 +05:30
Timple Raj M
3bbc661430 arm: dts: ipq5332: Add DB-MI03.1 RDP support
IPQ5332-DB-MI03.1
	Flash: NOR and NAND / emmc (option)
	Features:
	1 Lane PCIe Gen3 [pci0]
	2 Lane PCIe Gen3 [pci1]
	1 USB 2.0

Change-Id: Iff6bd9cb0faa1d5c78c3468b80bc7b0dfe984e79
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-01-08 21:29:39 -08:00
Linux Build Service Account
5df9330702 Merge "ipq5332: net: qca8337: skip vlan configuration" 2023-01-06 08:47:32 -08:00
Vandhiadevan Karunamoorthy
50eabad97b ipq5332: net: qca8337: skip vlan configuration
Change-Id: I56c53b5b6370a3374089bfe997634936f9b4b277
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2023-01-06 02:12:46 -08:00
Timple Raj M
1eb894a506 configs: ipq5332: Enable CONFIG_FLASH_PROTECT
This config is needed to enable mmc protection
based on gpt readonly attribute.

Usecase:
1. In emmc partition xml, set readonly attribute
   of a partition to true.
2. Generate partition bin, flash and reboot.
3. From uboot, read & write the partition.
4. Write should not go through. Crc32 checksum of
   the content before & after write should match.

Change-Id: I161f594f13c88b6d22c4b4932399d18eeb951372
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-01-05 21:39:41 -08:00
quic_abilj
85a59b0e00 Miami - DPR scm call issue fix
> For Miami, passed both address and size as args in scm call.

Change-Id: Ie5d4ff5e6770eddcd566d99cc24efc322b0f2e37
Signed-off-by: quic_abilj <quic_abilj@quicinc.com>
2023-01-05 03:26:30 -08:00
Vandhiadevan Karunamoorthy
9f006f0905 board: ipq5332: Enable MI03.1 ethernet
Change-Id: Iaa9320daabfc290b7bf02b8ce303d0ff34a11407
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2023-01-04 09:30:15 +05:30
Linux Build Service Account
5287b8e49c Merge "board: qca: arm: ipq5332: Enable gcc_blsp1_ahb_clk" 2022-12-27 06:47:57 -08:00
Timple Raj M
a7dcdb2f7c board: qca: arm: ipq5332: Enable gcc_blsp1_ahb_clk
When xbl logs are disabled no logs came in uart console
due to gcc_blsp1_ahb_clk in disabled state.
This patch enables gcc_blsp1_ahb_clk in u-boot to avoid this issue.

Change-Id: I161b003096544e54d3d230027c2665e8fa3d0f5e
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2022-12-26 16:16:05 +05:30
Vandhiadevan Karunamoorthy
607861584c qca: arm: common: skip ethernet from bootipq
The main loop contains an eth init sequence,
to achieve this, remove the eth init sequence
from bootipq.avoid reinitialization.
Support for the IPQ5332 SoC has been added.

Change-Id: I18406dc90ba6845ce367215a55794ba5e400d5d3
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-12-23 01:08:40 -08:00
Linux Build Service Account
47e8f38182 Merge "arm: dts: ipq9574: update default boot type to emmc for AL02-C19" 2022-12-22 12:11:28 -08:00
Linux Build Service Account
90e69b819e Merge "arm: dts: ipq5322: Add RDP support for AP-MI03.1" 2022-12-22 05:48:09 -08:00
Linux Build Service Account
a3a6688e45 Merge "arm: dts: ipq5332: Enable I2C in DB-MI01.1" 2022-12-21 22:23:06 -08:00
Ram Kumar D
c91f00bb11 arm: dts: ipq9574: update default boot type to emmc for AL02-C19
Change-Id: I101c11ac036c46d13d84c054154f330520f9654d
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-12-20 20:56:16 -08:00
Gurumoorthy Santhakumar
1ee172f386 board & drivers: ipq5332: Improved TFTP performance
modified TDM registers and
added reset for following
 NSS_CC_PPE_BCR
 GCC_UNIPHY0_BCR
 GCC_UNIPHY1_BCR

Change-Id: I5fb8c6dfc4f54346f9e12251dfe3028327d43e3b
Signed-off-by: Gurumoorthy Santhakumar <quic_gsanthak@quicinc.com>
2022-12-20 01:13:22 -08:00
Timple Raj M
195680bd27 arm: dts: ipq5332: Enable I2C in DB-MI01.1
This patch enables I2C in DB-MI01.1 RDP

Change-Id: If60fa5583233ea76a0143eb53326f243b8abac39
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2022-12-20 12:22:24 +05:30
Timple Raj M
c1b7c79e86 arm: dts: ipq5322: Add RDP support for AP-MI03.1
IPQ5332-AP-MI03.1
	RAM: 256MB DDR3

Change-Id: I98d84568ac534229ee7df2b3c82f32ea18d1bc8c
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2022-12-19 13:31:19 +05:30
Linux Build Service Account
16c96a1b86 Merge "arm64: dts: ipq9574: Add AL02-C9 dts file" 2022-12-16 22:21:24 -08:00
Saahil Tomar
8f84d51777 arm64: dts: ipq9574: Add AL02-C9 dts file
This change creates Al02-c9 dts file to help with pci enumeration

Change-Id: I9a743de8ebbdc3f4ee43c14204ab1244e8945a12
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
2022-12-16 11:09:59 +05:30
Gurumoorthy Santhakumar
0f241074bd driver: nand: fix the block size of GD5F1GQ5REYIG
It has the capacity of 1Gbit, i.e., 128MB, so
the number of blocks has been updated to 1024.
1Gbits = 128MB = 2048(page) * 64 (pages per block) * 1024 (blocks)

Change-Id: I552776e4e151d16782db915c3ebae874c5c02696
Signed-off-by: Gurumoorthy Santhakumar <quic_gsanthak@quicinc.com>
2022-12-14 21:40:26 -08:00
Linux Build Service Account
d6cd789358 Merge "ipq5332: Add the SMEM_BOOT_NO_FLASH condition for emmc flash type" 2022-12-14 06:34:33 -08:00
Timple Raj M
145b49c759 pack_v2: update the mibib_reload sequence
This patch update the mibib_reload sequence by checking 0:MIBIB in
all partitions info instead of using a specific partition index
and this change has some code cleanup

Change-Id: I09b3be3be7a5bfae7dc5ddc5c2ae54f6b06a7333
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2022-12-13 03:23:11 -08:00
Timple Raj M
0cee68ca2a ipq5332: Add the SMEM_BOOT_NO_FLASH condition for emmc flash type
This patch adds SMEM_BOOT_NO_FLASH condition for emmc flash type to
flash 0:GPT and 0:GPTBACKUP while flashing single image
using jtag_recovery.cmm

Change-Id: I176760335d5e980b8493e9236e410b78040c5a06
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2022-12-12 06:53:14 -08:00
Linux Build Service Account
3f02d4e93e Merge "arm: dts: ipq5332: Enabled i2c usb and pci" 2022-12-06 09:55:20 -08:00
Ram Kumar D
7f4a4f32de driver: net: qca8084: added new kconfig for by-pass mode
Added new config called CONFIG_QCA8084_BYPASS_MODE and moved
all the qca8084 by-pass mode related code under it.

Change-Id: I4157960989cd67576803d494594869265fc81745
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-12-05 20:53:52 -08:00
Gurumoorthy Santhakumar
f9cdae043c arm: dts: ipq5332: Enabled i2c usb and pci
This patch enables i2c usb and pci in AP-MI01.1 and AP-DB-MI02.1
it enables usb and pci in AP-DB-MI01.1

Change-Id: I0f32fb9c2f44088034bd908c947cfe77ceb524b3
Signed-off-by: Gurumoorthy Santhakumar <quic_gsanthak@quicinc.com>
2022-12-05 12:41:55 +05:30
Vandhiadevan Karunamoorthy
db766b276c configs: ipq5332: enable compressed dtb support
Change-Id: I19d975f1b1266d9484603ec91ff99a671a155a81
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-12-04 21:30:00 -08:00
Vandhiadevan Karunamoorthy
dcc4e545a2 dts: ipq5332: add uart2 support.
This changes add uart2 support.

Change-Id: I9053d5d978a4f90edb6f01dac9a0e24f9a94f3a1
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-12-04 21:29:34 -08:00
Linux Build Service Account
3cdd8dd47a Merge "board: qca: arm: ipq5332: remove the flash detection code in fdtfixup" 2022-12-02 10:16:56 -08:00
Linux Build Service Account
751a5ba458 Merge "arm: dts: ipq5332: Enabled i2c usb and pci" 2022-12-01 12:15:14 -08:00
Timple Raj M
91f1de582f board: qca: arm: ipq5332: remove the flash detection code in fdtfixup
This patch removes the flash detection code in fdtfixup as it will be
taken care based on the boot flash type

Reference Commit:
425d52cd85 (avoid multiple machid for nand/mmc boot)

Change-Id: I51739ae539a568a1480a26fb9143be01306ce39a
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2022-12-01 10:07:06 -08:00
Linux Build Service Account
33bf923140 Merge "driver: net: add qca8084 by-pass mode support on MI01.1 RDP" 2022-12-01 06:12:20 -08:00
Linux Build Service Account
79e2383428 Merge "pack_v2: updated wifi_fw logic for pack script" 2022-12-01 06:12:17 -08:00
Vandhiadevan Karunamoorthy
7d48be48a1 board: ipq5332: Update AQ ethernet config
This changes include, update reset sequence
increase heap region, add mdio RW version
for 3.15M Clk

Change-Id: I85ec0632ced1543aa1cca880fd00e47800ddecfd
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-11-30 05:56:10 -08:00
Timple Raj M
a2fbc4b3bc arm: dts: ipq5332: Enabled i2c usb and pci
This patch enables i2c usb and pci in AP-MI01.2 and AP-MI01.4.

Change-Id: I4f09485fcbad4247aa75676cb72dc4345405fdfc
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2022-11-30 11:40:35 +05:30
Ram Kumar D
457bfcfd2f driver: net: add qca8084 by-pass mode support on MI01.1 RDP
Added QCA8084 by-pass mode support on MI01.1 RDP

Change-Id: I1a14729cac5463675f9cb0d15df3da76746aa81e
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-11-30 09:45:42 +05:30
Linux Build Service Account
24f263d138 Merge "board: ipq5332: remove rumi flags." 2022-11-29 04:49:54 -08:00
Linux Build Service Account
5561bf340e Merge "drivers: net: ipq5332: Updated SFP and MHT config" 2022-11-29 04:49:52 -08:00