Commit graph

9907 commits

Author SHA1 Message Date
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
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
Linux Build Service Account
298a2f5e2e Merge "drivers: net: ipq5018: Add SFP 1G and 2.5G Support" 2022-11-08 04:39:37 -08:00
Linux Build Service Account
023055e1bc Merge "board: arm: ipq5332: Modified ethernet clock" 2022-11-08 04:39:36 -08:00
Linux Build Service Account
cbf958337d Merge "board: arm: ipq5332: Modified PCIE and USB0 clock" 2022-11-08 04:39:35 -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
Linux Build Service Account
d4fab50cef Merge "arm: qca: Add support to set CRASHDUMP RESET bit" 2022-11-06 21:17:01 -08:00
Gurumoorthy Santhakumar
ba25e2c425 board: arm: ipq5332: Modified ethernet clock
removed GCC_PCNOC_BFDCD_CFG_RCGR register config

Change-Id: I76cd0e9cb96215e4ee432fff7ccb58dd9f290c8f
Signed-off-by: Gurumoorthy Santhakumar <quic_gsanthak@quicinc.com>
2022-11-07 10:14:29 +05:30
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
devi priya
9184c7a019 board: qca: arm: Removal of the dumpinfo_s structure
This patch removes the support for dumpinfo_s structure to have
uniform EBICS0 bin for both sec and non-sec boots as the Read As Zero
(RAZ) flag has been enabled to protect code and data regions of TZ

The patchset applies to all the targets except IPQ5018 as the RAZ
flag enablement was not supported in IPQ5018

Change-Id: I63514284448de08926cd2c9b741f02859067044d
Signed-off-by: devi priya <quic_devipriy@quicinc.com>
2022-11-03 23:17:17 -07:00
Gurumoorthy Santhakumar
0d9961e519 arm: qca: Add support to set CRASHDUMP RESET bit
The CRASHDUMP RESET bit of TCSR_BOOT_MISC_DETECT Register
has to be set before reset from u-boot in the
crashdump collection path for TZ to differentiate between the
normal reset and crashdump reset from u-boot and
to retain the crash reason.

Change-Id: Ib623bfeab15d1bc230f4a8824218f1a3c4368fbb
Signed-off-by: Gurumoorthy Santhakumar <quic_gsanthak@quicinc.com>
2022-11-04 10:38:00 +05:30
Rajkumar Ayyasamy
11a742f785 ipq5018: bt: Toggle ECO bit in start/stop sequence
Add support for ECO bit toggle during IPC start/stop
messages to allow BT subsystem to do self reset

Change-Id: I4d1d31a43ea8a002eb91cc42300677339c117d71
Signed-off-by: Rajkumar Ayyasamy <quic_arajkuma@quicinc.com>
2022-10-30 22:52:19 -07:00
Vandhiadevan Karunamoorthy
bc5f3cca5a board: arm: ipq5332: update ethernet configuration
Change-Id: If66707a68ddf5681016acd95332d4056b31fb3fc
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-10-25 23:38:48 -07:00
Vandhiadevan Karunamoorthy
e3b2150af9 board: arm: ipq5332: update ethernet clock config
Change-Id: I3354354c7cffcb3107293efc54834c5d87556518
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-10-25 23:38:31 -07:00
Linux Build Service Account
942cca269f Merge "board: arm: ipq5332: update eMMC clock sequence" 2022-10-21 00:31:50 -07:00
Gokul Sriram Palanisamy
32248d4fab arm: qca: scm: Cleanup TCSR_BOOT_MISC_REG usage
TCSR_BOOT_MISC_REG bits are not properly managed
for DLOAD implementation. Modify only necessary
bits to enable availability for new feature
implementations using TCSR_BOOT_MISC_REG.

Change-Id: I888a1bf6ce3654b0453c9ec2f87b4d5ff2a20de0
Signed-off-by: Gokul Sriram Palanisamy <quic_gokulsri@quicinc.com>
2022-10-20 11:03:39 +05:30
Vandhiadevan Karunamoorthy
c0acbfa54a board: arm: ipq5332: update eMMC clock sequence
Change-Id: Icadbf580d71cf672ff78961ed12a53c9e0bccf4f
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-10-19 05:10:42 -07:00
Vandhiadevan Karunamoorthy
35d9c9f36a board: arm: ipq5332: update pcie deinit sequence
This changes remove pci phy deinit sequence and
also update the pci phy address

Change-Id: I9bae09958e395dfb509a17e472674f33fe214f1c
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-10-19 15:36:01 +05:30
Timple Raj M
95e16ef259 ipq5332: replace soc name from devsoc to ipq5332 in all file contents
Change-Id: Id5dd98e749bfd229e2c6e9d1944db397d2380cb1
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2022-10-12 22:31:53 -07:00
Timple Raj M
b12ecdc358 ipq5332: rename files from devsoc to ipq5332
Change-Id: I2a45b4017f98e725b6432e954040c154a39db663
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2022-10-12 22:31:40 -07:00
Linux Build Service Account
17f3d532f3 Merge "devsoc: kconfig: add TZT support" 2022-10-07 09:47:11 -07:00
Vandhiadevan Karunamoorthy
d40d98ed31 board: qca: common: Add cmd_dpr support
This change adds cmd_dpr as a common file,
so it will be reused in the future SoC.

dpr support added in Devsoc SoC.

Change-Id: I246a8f51c07c2f6952173bbd72e327ab1119af6e
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-09-27 20:27:06 -07:00
Gurumoorthy Santhakumar
28f75030f6 devsoc: kconfig: add TZT support
Change-Id: I02700ad6c1db8725553c70bcc52b7675c4df42fd
Signed-off-by: Gurumoorthy Santhakumar <quic_gsanthak@quicinc.com>
2022-09-26 06:36:32 -07:00
Gurumoorthy Santhakumar
4d0a4d1677 devsoc: Enable multicore support
Change-Id: I7fb4098eeb30f48aae41017aef4c1ad6c52d067b
Signed-off-by: Gurumoorthy Santhakumar <quic_gsanthak@quicinc.com>
2022-09-16 04:11:46 -07:00
Vandhiadevan Karunamoorthy
2d07c3e21a board: devsoc: update SCM_CMD_SEC_AUTH id
Change-Id: I71e8a1e0ece4583a17e759ee89e32e89ed56a773
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-08-28 22:04:09 -07:00
Linux Build Service Account
14adae7618 Merge "board: qca: devsoc: add reset sequence for AQ & QCA808X" 2022-08-26 00:15:50 -07:00
Timple Raj M
a662e31aee driver: nand: qpic: Add clock setting for qpic-serial nand
This change will add the clock setting for qpic-serial nand

Change-Id: Iae53933423572e35126ceeb359b82d1078d09bf2
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2022-08-24 12:12:32 +05:30
Ram Kumar D
e4eb0bb018 board: qca: devsoc: add reset sequence for AQ & QCA808X
Change-Id: I57133628314a7291de9e8b4bdb2ba08c31424571
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-08-21 22:46:12 -07:00
Linux Build Service Account
63c4ff2ed5 Merge "board: arm: devsoc: Enable flash based on boot type" 2022-08-17 17:39:30 -07:00
Manikanta Mylavarapu
adcfd1d173 board: arm: devsoc: Enable flash based on boot type
This patch eliminates to maintain seperate dts file
for mmc flash. It enables flash node based
on machine id.

Change-Id: I67d95db162630a3bc84429e8a9338097e1e24619
Signed-off-by: Manikanta Mylavarapu <quic_mmanikan@quicinc.com>
2022-08-16 02:46:13 -07:00
Timple Raj M
f268351f6f board: devsoc: add PCIE SKU Validation
Change-Id: I63e205d65b173e49a1a89ba872373775c1599b91
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2022-08-15 23:53:21 -07:00
Timple Raj M
8d93ac2f4b board: devsoc: add PCIE reset sequence
PCIE0 ---> PCIE3X1_0
PCIE1 ---> PCIE3X2
PCIE2 ---> PCIE3X1_1

Change-Id: Ie14258032cb221d2a17eb1796cd007e32e019a17
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2022-08-11 03:20:36 -07:00
Linux Build Service Account
fa3b49840c Merge "ipq9574: Add support for AP-AL02-C11" 2022-08-02 16:43:37 -07:00
Saahil Tomar
b2742523fe ipq9574: Add support for AP-AL02-C11
Updating this RDP to be based on AL02-C13 with all pcie enabled.
The extra feature is Alder 2G.

Change-Id: I817566ec6e3c95ce72c6b6ea379a73ef1f23ffe4
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
2022-07-19 10:38:57 +05:30
Vandhiadevan Karunamoorthy
a4776e7a11 board: devsoc: update PCIE clk configuration
Change-Id: I9516a0ba9dc26428fcc5f717d4fac3645f5992c8
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-07-14 02:48:06 -07:00
Linux Build Service Account
bd605848ab Merge "arm64: dts: ipq9574: Add AL02-C15 & AL02-C16 RDP support" 2022-07-13 00:01:24 -07:00
Saahil Tomar
250dfbf658 arm64: dts: ipq9574: Add AL02-C15 & AL02-C16 RDP support
These RDP are based on AL02-C6

Change-Id: I58e5096e09aa2e3fc7bc4494ef91c2f158698977
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
2022-07-12 14:46:18 +05:30
Ram Kumar D
b8611c7623 driver: net: qca8084: add seperate configs for PHY & switch
Currently if CONFIG_QCA8084_PHY is enabled means, it will build
all qca8084 functions required for both PHY & switch mode. But,
some ipq devices might uses anyone of them. So, add configs to
seperate the PHY & switch mode and define it in corresponding
defconfig file as per the need.

Also, some of the qca8084 functions will be used only for debug
purpose, those functions are moved under the config QCA8084_DEBUG.

Thereby, we can save some space in the u-boot.

Change-Id: I7e5f53869629a0c7cbbb12daf04ed782c9693623
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-07-11 13:15:03 +05:30
Ram Kumar D
e0cc9347c5 board: devsoc: updated the kernel auth scm-id
Change-Id: I3a9b1bb0be8f5875ef3443cc89400557f8388777
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-07-08 18:18:53 +05:30
Linux Build Service Account
8e34020d77 Merge "arm64: dts: ipq9574: Add AL03-C2 RDP support" 2022-07-07 14:08:23 -07:00
Linux Build Service Account
ced5244d01 Merge "board: arm: devsoc: add QCA8033 ethernet PHY support" 2022-07-07 05:50:43 -07:00