Commit graph

37367 commits

Author SHA1 Message Date
Linux Build Service Account
cb7bc40e30 Merge "ipq5332: dts: Modified mac mode" 2023-04-06 11:40:53 -07:00
Linux Build Service Account
841c3de162 Merge "arm: dts: ipq5332: Update the AP-MI04.1 PCIe configuration" 2023-04-06 11:40:53 -07:00
Linux Build Service Account
8fc141818d Merge "board: ipq5332: Change tzlog compatible in ATF boot" 2023-04-06 11:40:45 -07:00
Gurumoorthy Santhakumar
9e0373df1a ipq5332: dts: Modified mac mode
Change-Id: I38ad2d0d6297912fb4806ecd8628131ae65e819f
Signed-off-by: Gurumoorthy Santhakumar <quic_gsanthak@quicinc.com>
2023-04-06 04:42:47 -07:00
Linux Build Service Account
a0582cf1cd Merge "pack_v2: pack: added soc_hw_version for IPQ5332 1.1" 2023-04-06 04:42:39 -07:00
Timple Raj M
5f9d591cac arm: dts: ipq5332: Update the AP-MI04.1 PCIe configuration
This patch updates the AP-MI04.1 PCIe configuration from
PCIe0 and PCIe1 to PCIe1 and PCIe2

Change-Id: If4aa155cc1005becd050fbc36d91d3764005c4c4
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-04-06 04:40:03 -07:00
Gurumoorthy Santhakumar
af9636bda3 pack_v2: pack: added soc_hw_version for IPQ5332 1.1
Change-Id: Ib2a156f1e75cc8fdf256b117328fcd80b280988b
Signed-off-by: Gurumoorthy Santhakumar <quic_gsanthak@quicinc.com>
2023-04-06 02:14:24 -07:00
Linux Build Service Account
739ff4c0bc Merge "drivers: net: qca8084: do sgmii speed fixup in bypass mode" 2023-04-06 01:20:54 -07:00
Ram Kumar D
ad7d39ff4f drivers: net: qca8084: do sgmii speed fixup in bypass mode
Previously 100M speed is not working in port 4 of MHT
by-pass mode. SGMII speed fixup required to dynamically
adjust the gcc clock based on the link-speed.

Still, this is requried only for port 4, because remaining
ports (1-3) will be taken care from switch core. So, added
speed fix for the by-mode support.

Change-Id: I495aad4b64de12ae7f57c0bdb9e0def08ad38681
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2023-04-05 06:23:01 -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
Ram Kumar D
e423d6671b drivers: net: qca8084: brought in qos patch for the qca8084
Change-Id: I5e90ea8d33c54cd2d84d61f82f950bd81e142d75
Signed-off-by: Gurumoorthy Santhakumar <quic_gsanthak@quicinc.com>
2023-04-03 00:30:12 -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
Linux Build Service Account
2dad953be3 AU_LINUX_QSDK_FIG_TARGET_ALL.12.2.000.1840
-----BEGIN PGP SIGNATURE-----
 
 iF0EABECAB0WIQTxBDvDjyiEYwLkeGuhSA9lgKkB8QUCZBEBzgAKCRChSA9lgKkB
 8VZJAKDeRMfa+e77DghvRrPq3pzNg7k7PgCg03kRvg/u7SY6Lebyx+jrzFFwj+c=
 =2uix
 -----END PGP SIGNATURE-----

Merge AU_LINUX_QSDK_FIG_TARGET_ALL.12.2.000.1840 on remote branch

Change-Id: I71c370ff7bf0f9439824475f666bac87e5ebb1a2
Signed-off-by: Linux Build Service Account <lnxbuild@localhost>
2023-03-14 23:34:04 -07:00
Linux Build Service Account
e9a0f2f77e AU_LINUX_QSDK_FIG_TARGET_ALL.12.2.000.1820
-----BEGIN PGP SIGNATURE-----
 
 iF0EABECAB0WIQTxBDvDjyiEYwLkeGuhSA9lgKkB8QUCZAZGtgAKCRChSA9lgKkB
 8ZmLAJ9pwr38k5ctOJEtUFPwYnAAMwhskQCguBvMgRCOPbWcSXriRkJox2HacCw=
 =7buI
 -----END PGP SIGNATURE-----

Merge AU_LINUX_QSDK_FIG_TARGET_ALL.12.2.000.1820 on remote branch

Change-Id: I5aa3de08ca9c7972c340322cc6e0f0edf4676dfe
Signed-off-by: Linux Build Service Account <lnxbuild@localhost>
2023-03-10 08:37:26 -08:00
Vandhiadevan Karunamoorthy
478c1fb1d9 arm: dts: ipq5332: add ethernet support in mi04.1
Change-Id: Ie312c243887db5109710c351c03b723a82eda6de
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2023-03-09 14:39:53 +05:30
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
Linux Build Service Account
bbb0d79454 Merge "board: ipq9574: skip double eth init" 2023-03-07 05:03:04 -08:00
Linux Build Service Account
c6ba612d29 Merge "drivers: net: qca8084: update clk and bmap config" 2023-03-07 05:03:03 -08:00
Linux Build Service Account
f176341e5f Merge "drivers: net: ipq9574: update uniphy SGMII config" 2023-03-07 05:03:02 -08:00
Linux Build Service Account
ac0d87ec02 Merge "drivers: net: ipq9574: update QCA8084 config" 2023-03-07 05:03:01 -08:00
Timple Raj M
3302b0f865 arm: dts: ipq5332: Remove the pcie2 and usb 3.0 support
This patch removes the pcie2 and usb 3.0 support in AP-MI01.2-QCN9160

Change-Id: I1c2a6c9d27f1d2c75d3be505076626396d4c9d37
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-03-06 15:19:45 +05:30
Vandhiadevan Karunamoorthy
58567ec70a drivers: net: qca8084: update clk and bmap config
This changes updates the gcc common clk initialise
steps and adds support for obtaining bitmap
details from dts. 

Change-Id: I55e895989823a4fbb97c638ad937ca48c00519c5
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2023-03-06 13:38:42 +05:30
Vandhiadevan Karunamoorthy
bd47dbed37 drivers: net: ipq9574: update uniphy SGMII config
This change set SGMII mode and force mode based on
dts entries.

Change-Id: Ideaa1bb77fe8fb37a7e6b907a987f6dcac54917f
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2023-03-06 13:26:38 +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
Vandhiadevan Karunamoorthy
72b0604461 drivers: net: ipq9574: update QCA8084 config
This changes enable both PHY and switch configure
simultaneously and also switch can be configure
to any port.

And also these changes enable dual MDIO bus support.

Change-Id: Ib86c8a15abb9a7a35aa86d87cef78ad917dd1a00
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2023-03-06 10:09:20 +05:30
Vandhiadevan Karunamoorthy
b0e133d937 drivers: mdio: add bitbangmii support
Change-Id: Ieb6e05a462451e1d2c28b43cc7a761344742df15
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2023-03-01 21:16:50 -08:00
Vandhiadevan Karunamoorthy
1a4b370d2e drivers: net: add MDIO clause 45 support
Change-Id: Iba47a99967bed745083097a11a767062b26d21e3
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2023-03-01 20:59:50 -08:00
Vandhiadevan Karunamoorthy
0012c3f879 drivers: net: add ipq bit bang support
Change-Id: I65272bf187c11ca72425f9a29d1f29d62e139436
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2023-03-01 20:58:57 -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
Linux Build Service Account
4ab7918f90 Merge "drivers: net: ipq5332: enable active port support" 2023-03-01 02:58:47 -08:00
Linux Build Service Account
bd0de257a7 Merge "pci: ipq9574: Fix PCIe single lane PHY configuration" 2023-02-28 05:28:44 -08:00
Linux Build Service Account
072ff40ca8 Merge "board: ipq5332: Added read SOC HW version support" 2023-02-28 05:28:42 -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
Vandhiadevan Karunamoorthy
27112d3edc drivers: net: ipq5332: enable active port support
Change-Id: I0b8dcbd0386d89d4c4a2e7f525051a11c2423cdd
Signed-off-by: Gurumoorthy Santhakumar <quic_gsanthak@quicinc.com>
2023-02-27 19:09:50 -08:00
Linux Build Service Account
f7147676d3 Merge "board: qca: ipq9574: Added support for RDP469 AL02-C17 variant" 2023-02-27 10:26:19 -08:00
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
Praveenkumar I
4a2716fc06 pci: ipq9574: Fix PCIe single lane PHY configuration
Change-Id: Ie4f6f92a1cdb91b4cd97ec6ff1a80cef5780f162
Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>
2023-02-27 22:59:45 +05:30
Saahil Tomar
0110877a49 board: qca: ipq9574: Added support for RDP469 AL02-C17 variant
AL02-C17 is based on AL02-C4. This variant
enables PCie0 and PCie2.

Change-Id: I67aa500bd13ec661a43b17c4cbcd56c9a6db8abc
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
2023-02-23 11:43:39 +05:30
Timple Raj M
002f2d429e arm: dts: ipq5332: Remove the AP-MI01.7 dts file
Change-Id: I62fdad68a450dbb95d0c415b6bbc58a116ccd8b6
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-02-23 11:41:43 +05:30
Ram Chandra Jangir
90c4bba23c sysupgrade: Add support to authenticate rootfs image
Add rootfs section to authenticate signed rootfs image
Parse the hlos elf header and get the rootfs metadata offset
Reads metadata available at the end of hlos image and write to /tmp/metadata.bin
Calculate sha384 and write to /tmp/sha384_XXXXX file
Use /tmp/metadata.bin and /tmp/sha384_XXXXX to get rootfs auth by TZ

Change-Id: Iaa4bf6b0cfbae4f4a56187f80f2873cb69550051
Signed-off-by: Ram Chandra Jangir <quic_rjangir@quicinc.com>
2023-02-20 13:09:06 +05:30
Timple Raj M
b34a049617 arm: dts: ipq5332: update pci configuration
This patch updates the pci configuration for AP-MI01.3 and AP-MI04.1

AP-MI01.3
PCIE0    - Pebble 5G
PCIE1_x1 - Pebble 6G
PCIE2    - Unused

AP-MI04.1
PCIE0    - Pebble 6G
PCIE1_x1 - Pebble 5G
PCIE2    - Unused

Change-Id: Ic667167840dd5d0a6c904c6b17521183121dd87f
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-02-17 10:58:37 +05:30
Linux Build Service Account
e2c7914736 Merge "arm: dts: ipq5332: RDP name change AP-MI01.1 to AP-MI01.6" 2023-02-16 13:48:30 -08:00
Timple Raj M
77a65d79a7 arm: dts: ipq5332: RDP name change AP-MI01.1 to AP-MI01.6
Change-Id: Id2dfeeb77a9a1caeae3737ab87f5b98ad8376d42
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-02-16 12:56:42 +05:30
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
Timple Raj M
b4cb7484a7 arm: dts: ipq5332: Add AP-MI04.1 RDP support
IPQ5332-AP-MI04.1
	Flash: NAND
	Features:
	512 MB DDR4
	1 USB 2.0

Change-Id: Ib2570c23f1316dd791f67f803e3ae776eb8c5c73
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-02-14 22:02:04 -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
Timple Raj M
236b230dda arm: dts: Add AP-MI01.3 RDP support
IPQ5332-AP-MI01.3
	Flash: NOR and NAND / emmc (option)
	Features:
	1GB DDR4
	2 Lane PCIe Gen3 [pci1]
	1 USB 2.0

Change-Id: I5ba6318e7f84666510672b49a7c5fee80f47a929
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-02-03 14:37:40 +05:30