Commit graph

9946 commits

Author SHA1 Message Date
Timple Raj M
75c182c3ec board: qca: arm: ipq5332: Fix to increase the CDR bandwidth
This patch increases the CDR bandwidth to pass the
USB 3.0 Rx jitter tolerance test

Change-Id: Id58b71f4078ea5d60ab0b0d7bf93aa0a5d519e3c
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-05-12 01:30:29 -07:00
Karthick Shanmugham
b3bae43e3d Revert "board: ipq5332: Change tzlog compatible in ATF boot"
This reverts commit c2c6248267472db0da32017a33602de13a566fff.

Change-Id: Iee000abe440e6a1372737a792af5acffa378a915
Signed-off-by: Karthick Shanmugham <quic_kartshan@quicinc.com>
2023-04-19 20:19:49 -07:00
Karthick Shanmugham
7c1d402c9e board: ipq5332: Change tzlog compatible in ATF boot
Change-Id: Ie14f2ce6508bbc046670e07d93f7443bac1864d0
Signed-off-by: Karthick Shanmugham <quic_kartshan@quicinc.com>
2023-04-03 21:00:15 -07:00
Nitheesh Sekar
1c3c9f9625 ipq9574: power cycle SDX based on e911 call
This patch adds a condition to power cycle the
SDX based on the current status of the e911 call.

Change-Id: Id3cf50cfb49a26151c98b7d52e18b9c487cfb935
Signed-off-by: Nitheesh Sekar <quic_nsekar@quicinc.com>
2023-03-21 23:58:52 -07:00
Vandhiadevan Karunamoorthy
7f962d9e36 drivers: net: ipq5332: update qca8084 & qca8337
This changes update qca8084 & qca8337 init sequence
to support dual mode

Change-Id: I2cb9430fc97145c459ed4e6b58394a22565a9860
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2023-03-08 15:03:30 +05:30
Vandhiadevan Karunamoorthy
01d85d1543 board: ipq9574: skip double eth init
This changes skips the re-initiation of ethernet
if boot fails, preventing ethernet from becoming unstable. 

Change-Id: If46a54839db9986ed158b36bf9efb81c3412c88e
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2023-03-05 22:05:56 -08:00
Linux Build Service Account
2a18527a0f Merge "board: qca: arm: ipq5332: Fix to reduce the noise in High Speed TX Eye" 2023-03-01 02:58:48 -08:00
Timple Raj M
c3c600f120 board: qca: arm: ipq5332: Fix to reduce the noise in High Speed TX Eye
This patch adds the XCFG configuration in HS PHY sequence
to reduce the noise in High Speed TX Eye

Change-Id: Iac430aa8bbd9ccc9a84c164578a1b6e35b3771f8
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-02-28 14:47:55 +05:30
Gurumoorthy Santhakumar
0ff128d69f board: ipq5332: Added read SOC HW version support
Change-Id: I8d86189047cda9753d08b1e708046e5ce0421a3e
Signed-off-by: Gurumoorthy Santhakumar <quic_gsanthak@quicinc.com>
2023-02-27 10:18:53 -08:00
Timple Raj M
63ab0ab42e board: qca: arm: ipq5332: Add PCIE reset sequence
Change-Id: I42c60e8c91a361b81ac99e435081cec953b13834
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-02-15 21:20:59 -08:00
Priyanka MA
95375f5fe9 arm: qca: Add support to set CRASHDUMP RESET bit
The CRASHDUMP RESET bit of TCSR_BOOT_MISC_DETECT Register
has to be set in the crashdump collection path before reset
from u-boot for the  TZ to differentiate between the
normal reset and crashdump reset from u-boot and
to retain the crash reason.

Change-Id: Ic74cec02bf749925e599ee12205257480a234064
Signed-off-by: Priyanka MA <quic_priyma@quicnic.com>
2023-02-09 21:30:25 -08:00
Timple Raj M
448f8eeb38 board: qca: arm: ipq5332: Enable long cable support for USB SSD
Change-Id: I255d34f3b104b85e1180b2b46a7f86ddc32c253c
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-02-08 15:04:25 +05:30
Nitheesh Sekar
113a960b50 ipq9574: Add 1 sec delay during SDX power cycle
Change-Id: I7b25b6e84b8cab6f402b0dfe126660b6fafae4c0
Signed-off-by: Nitheesh Sekar <quic_nsekar@quicinc.com>
2023-02-06 02:12:13 -08:00
Nitheesh Sekar
e520f6cd3a ipq9574: power cycle SDX during IPQ crash
This patch adds support to power cycle the SDX device during
the IPQ crash scenario by toggling the full_power_on and reset
gpios.

Change-Id: Ifac2db5480c13456ef50b6d779691c5bf41f21b2
Signed-off-by: Nitheesh Sekar <quic_nsekar@quicinc.com>
2023-02-04 04:43:11 -08:00
Saahil Tomar
98d032f124 ipq: fdt_fixup: Add condition for dload_dis check
This change adds an additional condition to check for empty string as
env variable

Change-Id: Ica847b7af6d28094df54677fa7423e606699f5fe
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
2023-01-25 01:33:52 -08:00
Linux Build Service Account
c94d1ac518 Merge "ipq: crashdump: Support for prefix while storing crashdump" 2023-01-23 23:01:17 -08:00
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
Saahil Tomar
664fabb120 ipq: crashdump: Support for prefix while storing crashdump
With this change, Add option to support
prefixing crash dump files with timestamp prefix

Change-Id: I30343e6d7dc58376264dd34a4a3cd25bb34e65c6
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
2023-01-18 16:16:49 +05:30
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
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
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
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
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
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
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
Linux Build Service Account
24f263d138 Merge "board: ipq5332: remove rumi flags." 2022-11-29 04:49:54 -08:00
Linux Build Service Account
89dac730c3 Merge "ipq5332: update clock for ethernet" 2022-11-28 14:00:15 -08:00
Vandhiadevan Karunamoorthy
c77f44b731 board: ipq5332: remove rumi flags.
Change-Id: I84ae7f2c6e8852c879aebc3538a8782c5b335d28
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-11-28 14:46:13 +05:30
Vandhiadevan Karunamoorthy
06b6fcd3e9 dts: ipq5332: update MDIO gpio configuration
Change-Id: I96c431876fe66e3e08fcb52a9ed210cbe2d585af
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-11-28 11:51:47 +05:30
Linux Build Service Account
6c139c94d7 Merge "ipq5332: Update reset seq & MDIO clk for MHT" 2022-11-26 07:01:38 -08:00
Timple Raj M
5b941d0f31 arm: dts: ipq5332: Enable support for USB
This patch enables support for USB 2.0 in AP-MI01.2

Change-Id: I4f848a403f3aae45a9f1cfa136781fbc7a37c35a
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2022-11-25 20:36:47 +05:30
Timple Raj M
a148c9c8e4 arm: dts: ipq5332: update pcie aux clock source as xo
The pcie AUX clock source changed to XO as per
GCC frequency plan

Change-Id: If032831d3a9523ec214a62cbed2950ee5839920e
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2022-11-25 04:21:07 -08:00
Linux Build Service Account
225da6a4d8 Merge "ipq5332: eth: add uniphy clock init" 2022-11-24 16:14:38 -08:00
Linux Build Service Account
0b52771099 Merge "ipq5332: clock: fix mmc clock" 2022-11-24 06:27:42 -08:00
Rajkumar Ayyasamy
9e5d35536e ipq5332: eth: add uniphy clock init
Change-Id: I7c74995086a102bda09494b2f12dcd111a8113fa
Signed-off-by: Rajkumar Ayyasamy <quic_arajkuma@quicinc.com>
2022-11-24 02:38:46 -08:00
Rajkumar Ayyasamy
425d52cd85 ipq5332: avoid multiple machid for nand/mmc boot
added boot type based nand or emmc flash selection.
So machid based flash selection becomes obsolete.

Change-Id: I96fa43d31d23397fa249e02f62b905d6e4e67770
Signed-off-by: Rajkumar Ayyasamy <quic_arajkuma@quicinc.com>
2022-11-22 22:01:56 -08:00
Rajkumar Ayyasamy
685719ec0f ipq5332: clock: fix mmc clock
For 192MHz:
       GCC_SDCC1_APPS_CFG_RCGR(0x1833008)  set to 0x220b
       GCC_SDCC1_APPS_M(0x183300c) set to 0x0
       GCC_SDCC1_APPS_N(0X1833010) set to 0x0
       GCC_SDCC1_APPS_D(0x1833014) set to 0x0

Change-Id: I2715b4428e4390f0b9b0b159e984a718d6c791a3
Signed-off-by: Rajkumar Ayyasamy <quic_arajkuma@quicinc.com>
2022-11-22 00:23:06 -08:00
Vandhiadevan Karunamoorthy
564c1b6cba ipq5332: update clock for ethernet
Change-Id: Id95f46bcf1d67180fb02587ff008be873dc90eea
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-11-19 20:51:19 -08:00
Vandhiadevan Karunamoorthy
a2076a35ce ipq5332: Update reset seq & MDIO clk for MHT
Change-Id: I4ef6b84348289caf26768286b57252de88f8b3cc
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-11-19 20:51:00 -08:00
Timple Raj M
4ef07f6b1a board: qca: arm: ipq5332: fdt fixup for flash
This patch adds support to enable flash using machid

Change-Id: I745a941d4219dc4cd29be96876710e15185ecb8f
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2022-11-19 23:15:19 +05:30
Gokul Sriram Palanisamy
60b84b15e8 ipq: Remove runtime failsafe feature
Runtime failsafe feature is obsolete.
So reverting the same.

Change-Id: I2d3585bf756e3c717461ea5411b4d3fbb8659916
Signed-off-by: Gokul Sriram Palanisamy <quic_gokulsri@quicinc.com>
2022-11-15 22:20:47 -08:00
Vandhiadevan Karunamoorthy
8fe934032c board: ipq5332: update ethernet configuration
This changes includes update the Speed clock,
common clock update and dts nodes.

Change-Id: I673e8ccf191048fef966a8f6cd84858e1a3b824f
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-11-12 07:14:17 -08:00
Vandhiadevan Karunamoorthy
659e333c11 board: ipq5332: update usb clock configuration
Change-Id: Ic8a1f017f5198c1136281be4eb5f7191627ff55f
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-11-12 07:13:19 -08:00