Commit graph

9187 commits

Author SHA1 Message Date
Amandeep Singh
19be16d2f7 pci: Add environment varibale to skip pci enumeration
Add skip_pci_mask environment variable to skip pci enumeration
based on the bitmask. Also, removing the pci3 dts entry from
the RDP437 & RDP461 to skip pci3 enumeration.

Example - setenv skip_pci_mask 0xc
The above command will skip pci enumeration of bus 2 & 3.

Change-Id: Iff50acca07ffc026bed84a0d2372e6de0a3ba3a9
Signed-off-by: Amandeep Singh <quic_amansing@quicinc.com>
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2023-01-27 12:42:32 +05:30
Linux Build Service Account
aaa3325003 Merge "ipq5332: update kernel and roots info" 2023-01-24 11:58:16 -08:00
Timple Raj M
781bc31f61 ipq5332: update kernel and roots info
After mibib reload kernel and rootfs info have to be reloaded using
get_kernel_fs_part_details function otherwise partitions
will be marked as bad offset

Change-Id: I9a0ec847b65ff10ec7b54b65929efd034a25d278
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-01-24 10:11:21 +05:30
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
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
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
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
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
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
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
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
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
3f02d4e93e Merge "arm: dts: ipq5332: Enabled i2c usb and pci" 2022-12-06 09:55:20 -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
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
751a5ba458 Merge "arm: dts: ipq5332: Enabled i2c usb and pci" 2022-12-01 12:15:14 -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
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
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
cdc5615533 Merge "arm: dts: ipq5332: add mi01.2-qcn9160-c1 variant" 2022-11-24 06:27:41 -08:00
Linux Build Service Account
b4d399a5f9 Merge "ipq5332: avoid multiple machid for nand/mmc boot" 2022-11-23 11:48:28 -08:00
Linux Build Service Account
992efadc9d Merge "arm: dts: add SPI-NOR gpio details in DB-Mi01.1" 2022-11-23 11:48:26 -08:00
Manikanta Mylavarapu
7e2d121982 arm: dts: ipq5332: add mi01.2-qcn9160-c1 variant
mi01.2-qcn9160-c1 is derived from mi01.2.
This variant disables pci0 (enables usb3.0)
and supports qcn9160 on pcie2 port.

Change-Id: Ie0e2cd7f039fab9f80788f135c80285e61b00310
Signed-off-by: Manikanta Mylavarapu <quic_mmanikan@quicinc.com>
2022-11-23 09:59:53 -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
Linux Build Service Account
6f9f184fd4 Merge "arm: dts: ipq9574: Add support for QCA8084 PHY on AL02-C7 RDP" 2022-11-22 16:44:53 -08:00
devi priya
e578237ff0 arm: dts: ipq9574: Add support for QCA8084 PHY on AL02-C7 RDP
Updating the AL02-C7 configuration to support QCA8084 PHY
instead of QCA8075 PHY

Change-Id: Ie838d913caeb9dd933c6bd9fbdf8ee58563bdb7a
Signed-off-by: devi priya <quic_devipriy@quicinc.com>
2022-11-20 23:50:35 -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
Vandhiadevan Karunamoorthy
21531f70cd arm: dts: add SPI-NOR gpio details in DB-Mi01.1
Change-Id: I62720d3aae20c182cbb33cd57c9a6ea0b975cd67
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-11-19 20:50:38 -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
Linux Build Service Account
b6f164cdea Merge "ipq: Remove runtime failsafe feature" 2022-11-17 03:41:05 -08:00
Linux Build Service Account
2a55e3f34e Merge "arch: common: add support for TRY mode in boootconfig" 2022-11-16 10:35:28 -08:00
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
Nitheesh Sekar
aa9fb4c4fb arm: dts: ipq9574: Add new board variant AP.AL02-C19
This patch adds support for new board variant AL02-C19.
This board variant consists of one internal radio,
Waikiki 5G in pci slot 0, Waikiki 6G in pci slot 2 and
SDX in pci slot 3.

Change-Id: I43e3b5890f6bd8f6d182e4c3acc540a89f9c4a34
Signed-off-by: Nitheesh Sekar <quic_nsekar@quicinc.com>
2022-11-15 21:45:05 -08:00
Gurumoorthy Santhakumar
69b77084fc arch: common: add support for TRY mode in boootconfig
Bootconfig partition can have the MAGIC value 0xA3A3A1A1
if try_mode is enabled. Update the checks in smem APIs

Change-Id: I2fb71ff5812468f3f5ecd0153c35cab7d8e4bb44
Signed-off-by: Gurumoorthy Santhakumar <quic_gsanthak@quicinc.com>
2022-11-15 21:27:10 -08:00
Linux Build Service Account
ec0556dfa3 Merge "board: ipq5332: update ethernet configuration" 2022-11-14 23:51:57 -08:00
Vandhiadevan Karunamoorthy
807d2ee806 arm: dts: ipq5332: Update eMMC gpio configuration
Change-Id: I784bd8fda94cc3e4b8d5ac1d0cece4fc7de88dc5
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-11-12 21:02:04 +05:30
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
ea5c08a8b2 arm: dts: ipq5332: update DB RDP ethernet config
Change-Id: I922455c02251553d1b43349abfa47bd6a4639e79
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-11-10 22:15:15 +05:30
Linux Build Service Account
298a2f5e2e Merge "drivers: net: ipq5018: Add SFP 1G and 2.5G Support" 2022-11-08 04:39:37 -08:00
Gokul Sriram Palanisamy
d820c5abbc drivers: net: ipq5018: Add SFP 1G and 2.5G Support
Only one SFP port can be enabled at time with
either SGMII or SGMII PLUS mode.

Mode shall be specified from dts for 1G or 2.5G
support respectively. Add below change to enable
SFP as this change is not mainlined.

gmac_cfg {
	gmac2_cfg {
		unit = <1>;
		base = <0x39D00000>;

-		phy_address = <0x1c>;
-		napa_gpio = <39>;
		/*
		 * 6 - SGMII_PLUS (2.5G),
		 * 8 - SGMII_FIBER (1G)
		 */
+               switch_mac_mode = <8>;
+               sfp_tx_gpio = <27>;
+               sfp_rx_gpio = <29>;
	};
};

Change-Id: I507be2b84b1f932802659abffa3288e304e0d411
Signed-off-by: Gokul Sriram Palanisamy <quic_gokulsri@quicinc.com>
2022-11-07 18:26:58 -08:00
Gurumoorthy Santhakumar
b19f9122b6 board: arm: ipq5332: Modified PCIE and USB0 clock
updated following registers
GCC_PCIE_AUX_CFG_RCGR
GCC_PCIE3X2_AXI_M_CFG_RCGR
GCC_USB0_AUX_CFG_RCGR

Change-Id: Iddff13b1d4be8494142667ba758fda15d9ba9858
Signed-off-by: Gurumoorthy Santhakumar <quic_gsanthak@quicinc.com>
2022-11-07 10:08:07 +05:30