Commit graph

10000 commits

Author SHA1 Message Date
Hariharan K
0054e407fa board: qca: arm: ipq: config_name update
Updating the config_name parameter to
support openwrt backwards compatibility.

Change-Id: I129aad5df7e14bcf39d9f971a860b5884cde2667
Signed-off-by: Hariharan K <quic_harihk@quicinc.com>
2023-12-21 16:39:13 +05:30
Ram Kumar D
0b102f4bdc board: qca: arm: load rootfs as per the elf hdr
During rootfs authentication, this following patch makes
the uboot will load rootfs at the load address mentioned
in the rootfs elf hdr which is present at the end of
kernel image.

Change-Id: Iba9d31c72d01449b858b3866f38f369b67011cae
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2023-12-14 16:03:29 +05:30
Linux Build Service Account
483fd02deb Merge "arm: dts: Add MI01.13 (RDP480) dts support." 2023-11-21 03:12:02 -08:00
Linux Build Service Account
e5277a298e Merge "arm: dts: Add MI01.12 (RDP479) dts support" 2023-11-16 12:10:22 -08:00
Saahil Tomar
881b42a1f7 arm: dts: Add MI01.13 (RDP480) dts support.
RDP480 IPQ5332 + QCN9224 + QCN6432 + QCN9160 (2+4+2+Y)

Change-Id: Ibd36002d30c563932da501901c0e1504e1c33d8f
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
2023-11-15 15:00:36 +05:30
Saahil Tomar
8696807c64 arm: dts: Add MI01.12 (RDP479) dts support
Add dts support of RDP 479
IPQ5332 + QCN6432 + QCN9224 (2+2+4)
	PCIe0 QCN6432-6G
	PCIe1(x2) QCN9224-5G

Change-Id: If370919a699f45d8e0b5f41d4214c7e4e2967790
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
2023-11-15 14:18:40 +05:30
Gurumoorthy Santhakumar
59cb1c8529 ipqsoc: board: Add restriction for bootm and mw cmd
Added restriction for secure board

Change-Id: I7a7b4089689d98a6502b0360bb742fa42eff4759
Signed-off-by: Gurumoorthy Santhakumar <quic_gsanthak@quicinc.com>
2023-11-08 20:52:34 -08:00
Linux Build Service Account
0b13199a07 Merge "board: arm: ipq6018: Add atf crypto fixup support" 2023-10-19 02:11:36 -07:00
Linux Build Service Account
b3b09c8a1f Merge "arm: dts: Add MI01.7 (RDP473) dts support" 2023-10-18 21:39:20 -07:00
Poovendhan Selvaraj
8ac1dd64de board: arm: ipq6018: Add atf crypto fixup support
This changes fixup to '0' in "qcom,controlled-remotely"
property and '2' in "qti,config-pipe-trust-reg" property
in the crypto bam node if ATF is enabled. This will enable
the kernel to do complete bam pipe initialization.

Change-Id: Idd9523f523c3099ff9ab79a894bec11f6d7a6552
Signed-off-by: Poovendhan Selvaraj <quic_poovendh@quicinc.com>
2023-10-17 23:44:38 +05:30
Saahil Tomar
a53e856d8d arm: dts: Add MI01.7 (RDP473) dts support
RDP473 IPQ5332 + QCN6432 + QCN6432 + QCN9160 (2+2+2+Y)

Change-Id: I321dfecf50bb21835e2e3ed967400d0e29386c06
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
2023-10-13 02:01:54 -07:00
Gokul Sriram Palanisamy
00b660e13d configs: ipq5332: TINY NOR: enable ART_COMPRESSED
Enable compressed ART support and also
included related header files.

Change-Id: Ie28a0e5a91548b8b4ae9ae0560b7d139812145b3
Signed-off-by: Gokul Sriram Palanisamy <quic_gokulsri@quicinc.com>
2023-10-11 17:16:33 +05:30
Linux Build Service Account
d76daa7b87 Merge "arm: dts: Add MI01.2-C2 dts support" 2023-09-27 18:09:24 -07:00
Linux Build Service Account
2ad630d543 Merge "ipq9574: Add support for AL02-C20" 2023-09-27 11:10:17 -07:00
Saahil Tomar
34c2bbf2d8 arm: dts: Add MI01.2-C2 dts support
This change adds MI01.2-C2 (RDP484) which is a derivative of RDP441
with PON SFP connected and ethernet SFP plugged out.

Change-Id: I2075b3a4f09e510bbc5f188209435b97b06e5ba7
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
2023-09-26 02:41:25 -07:00
Hariharan K
39bc05eace ipq9574: Add support for AL02-C20
Changing RDP467 to AL02-C20.
Also updating the return machid type
for AL02-C11 similar to AL02-C12,
since AL02-C11 is converted to RDP455
configuration.

Change-Id: I87e3b954d1ea9f38b24504f5b5754f9fef38df83
Signed-off-by: Hariharan K <quic_harihk@quicinc.com>
2023-09-23 18:50:49 +05:30
Linux Build Service Account
5f169ad23b Merge "ipq5332: TINY NOR: add compressed_art fixup" 2023-09-22 04:10:56 -07:00
Linux Build Service Account
7998e7fb24 Merge "arm: dts: Rename RDP479 to MI01.12 & RDP481 to MI01.14" 2023-09-21 22:39:59 -07:00
Saahil Tomar
2229c3c63c arm: dts: Rename RDP479 to MI01.12 & RDP481 to MI01.14
This change renames all the affect files from rdp479/rdp481 to
mi01.12/mi01.14 respectively

Change-Id: Ia06a17b9c34bf7e49fe43721db1e83bd4f5a7e3e
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
2023-09-21 11:34:08 +05:30
Gokul Sriram Palanisamy
21b446487d ipq5332: TINY NOR: add compressed_art fixup
For tiny profiles, ART partition is compressed.
Indicate the same to the Linux kernel with an fdt entry.

Change-Id: I9c3a21fc2c8350487fc100dedc79480fec5d462f
Signed-off-by: Gokul Sriram Palanisamy <quic_gokulsri@quicinc.com>
2023-09-14 16:08:55 +05:30
Gokul Sriram Palanisamy
3d9a6738dd ipq5332: TINY NOR: disable fdt fixup support
Change-Id: I84571b92a1ad47b4858befcbec99ef74de55f36c
Signed-off-by: Gokul Sriram Palanisamy <quic_gokulsri@quicinc.com>
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-09-14 14:38:30 +05:30
Gokul Sriram Palanisamy
2a9fbaee93 ipq5332: TINY NOR: Add CONFIG_REDUCE_FOOTPRINT
This new config CONFIG_REDUCE_FOOTPRINT is
added for non-standard code reduction to
address tiny-nor size requirements.

Change-Id: I0ed9df935e8f16bc83bd937432ecf0f892f88caf
Signed-off-by: Gokul Sriram Palanisamy <quic_gokulsri@quicinc.com>
2023-09-13 20:48:37 -07:00
Gokul Sriram Palanisamy
dc54ad636c ipq5332: TINY NOR: disable exectzt, jump_kernel_64
Disable tzapp and 64-bit kernel support.

Change-Id: I13046276f266a24f4a05c6f39bccc7c2e5a898e2
Signed-off-by: Gokul Sriram Palanisamy <quic_gokulsri@quicinc.com>
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-09-13 20:47:11 -07:00
Linux Build Service Account
b0fe779d01 Merge "ipq5332: TINY NOR: add single dts support with config@1" 2023-09-13 17:09:26 -07:00
Gokul Sriram Palanisamy
c9029ee806 ipq5332: TINY NOR: add single dts support with config@1
For mi04.1-c2, add a fallback entry config@1 for
single dts FIT image.

Change-Id: I4f589fd3c8c5ddff28fdebeef81f76bb577a5a5c
Signed-off-by: Gokul Sriram Palanisamy <quic_gokulsri@quicinc.com>
2023-09-13 14:38:13 +05:30
Gokul Sriram Palanisamy
f33264587a ipq5332: TINY NOR: disable signed boot support
Disable signed image authentication and secure dump support.

Change-Id: I3f32cf252dc857f9b03af3474018218fe6601b37
Signed-off-by: Gokul Sriram Palanisamy <quic_gokulsri@quicinc.com>
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-09-12 17:56:47 +05:30
Ram Kumar D
20278977d9 board: qca: arm: remove MEM_NOC clock access
Since only Q6/TME/TZ should have access to memnoc clock,
so removing the MEMNOC clock enable sequence.

Change-Id: Iee32a59c340cda794b8ee3c314be871ab749ff79
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2023-09-08 16:36:42 +05:30
Linux Build Service Account
491f902ebe Merge "bootqca: add support to append bootargs via fit header" 2023-09-04 10:11:36 -07:00
Linux Build Service Account
e061dfc34e Merge "arm: dts: Add RDP479 & RDP481 dts support" 2023-09-04 02:42:46 -07:00
Saahil Tomar
4a573f00ff arm: dts: Add RDP479 & RDP481 dts support
RDP479 IPQ5332 + QCN6432 + QCN9224 (2+2+4)
	PCIe0 QCN6432-6G
	PCIe1 QCN9224-5G

RDP481 IPQ5332 + QCN6432 + QCN9224 (2+2+4)
	PCIe0 QCN6432-5G
	PCIe1 QCN9224-6G

Change-Id: I5d2e6c123ff8488c560f471789a13a49adfb4a5d
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
2023-08-31 11:16:54 +05:30
Ram Kumar D
2017b7e18b bootqca: add support to append bootargs via fit header
Change-Id: I0ea34e5c7ab1ba7ab27f0df5cc895bed103a248d
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2023-08-25 16:10:00 +05:30
Riddhi Aggarwal
69c928c0f9 ipq9574: fix spelling issue in DPR command logs
Change-Id: I8e68a153021db94884e4e305703c4a74ced34bd3
Signed-off-by: Riddhi Aggarwal <quic_riddagga@quicinc.com>
2023-08-24 03:27:46 -07:00
Timple Raj M
316df5f0b6 arm: dts: ipq5332: Append rdp477 and rdp 478 name in config
This patch appends the rdp477 name of ap-mi01.3-c2 and
rdp 478 name of ap-mi04.1-c2 in config

Change-Id: Ie1f864d518b5c97cc35d42cc8f1eba45e05a9280
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-08-09 15:24:54 +05:30
Vandhiadevan Karunamoorthy
4d65cdacde bootqca: add key parsing support in bootargs
Change-Id: Ibdd89e117da0bda61793af79d0eb00bacbe7585b
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2023-07-31 00:14:12 -07:00
Saahil Tomar
1acea54708 ipq9574: Add support for RDP467
RDP467 is same as AL02-C4 with PCIE0 enabled with
wkk support.

Change-Id: If6ba645b7c62a3320139a7c86e0b89ec525a0fb7
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
Signed-off-by: Hariharan K <quic_harihk@quicinc.com>
2023-07-24 03:06:22 -07:00
Karthick Shanmugham
ad1d2f1144 board: qca: ipq9574: Add atf crypto fixup support
This changes fixup "qcom,controlled-remotely" property and
"qti,config-pipe-trust-reg" property in the crypto bam node
in ATF boot. This will enable the kernel to do complete bam
pipe initialization.

Change-Id: I454c4e4e68354506dc16b1e72b514264778314e0
Signed-off-by: Karthick Shanmugham <quic_kartshan@quicinc.com>
2023-07-18 20:54:38 -07:00
Linux Build Service Account
b64a688822 Merge "board: qca: arm: ipq5332: Add AP-MI01.3-C2 RDP Support" 2023-07-11 08:13:06 -07:00
Timple Raj M
69c7dd479f board: qca: arm: ipq5332: Add AP-MI01.3-C2 RDP Support
Change-Id: Ia9a177009701e83bec37cb539a014cb973d5c47d
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-07-10 16:20:20 +05:30
Ram Kumar D
c8f05e9e69 configs: enable tiny config for ipq5332
Change-Id: I19394ce3852e26cc9cb2f25b220e2dbea044e863
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2023-07-07 18:29:15 +05:30
Timple Raj M
9907ad8d46 board: qca: arm: ipq5332: fix to improve performance in compliance test
This patch adds the XCFG configuration for improving the
performance in the USB compliance test

Adjust HSTX slew rate from 565 ps to 400 ps
Adjust Manual control ODT value from 45.02 Ohm to 33.97 ohm
Adjust HSTX Current of current-mode driver, 17.1mA * 22.5ohm = 385mV

Change-Id: I21a6fc9ff520c36d5cbc4d727e48309d556c8165
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-07-06 02:57:46 -07:00
Ram Kumar D
972171125f board: qca: ipq9574: fixup config name for 6.1 kernel
The previous fixup patch will not actually fdt fixup all the
mentioned config name, it will pick the first one only. So
that, 6.1 kernel will not boot up.

So, updating the config name fixup logic for the multiple
config names.

Change-Id: I4197c04c1edcd72e0982ccbf6884617c998880de
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2023-07-04 18:04:39 -07:00
Vandhiadevan Karunamoorthy
9288e589ba ipq5332: skip 25M clk config in QCA8084 bypass-mode
Change-Id: I7d59929148c9953537318b3cbacaa33972d40ac6
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2023-06-13 01:36:59 -07:00
Ram Kumar D
9339e8cfbb arch: arm: dts: ipq: add support boot linux upstream images
Change-Id: I451ceff7b899797168eb0d6d15b4426d102b03de
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2023-06-06 23:26:50 -07:00
Timple Raj M
92c955ab7e board: qca: arm: ipq5332: Add AP-MI04.1-C2 RDP Support
Change-Id: Ia58f189898f30fce20d053e836d6d974eb252f84
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-06-05 17:10:41 +05:30
Linux Build Service Account
68ef5362c6 Merge "ipq95xx: emmc fdt fixup for kernel 6.1" 2023-05-26 03:43:18 -07:00
Linux Build Service Account
dfb81a053e Merge "qca : Read the TME-l OEM fuse parameters from qfprom core address" 2023-05-25 02:15:07 -07:00
Poovendhan Selvaraj
a9fd69f310 qca : Read the TME-l OEM fuse parameters from qfprom core address
Add support to read the TME-l OEM fuse parameters from
qfprom address

Change-Id: Ia4f0766a68b67fccc59a09883dd7ef11bc970eef
Signed-off-by: Poovendhan Selvaraj <quic_poovendh@quicinc.com>
2023-05-25 08:41:20 +05:30
Gurumoorthy Santhakumar
d751fa3e3e ipq95xx: emmc fdt fixup for kernel 6.1
if board has emmc flash type,
Ehable EMMC and disable NAND flash in
kernel device tree during kernel bootup

Change-Id: Ibbe197c39c4c4e47d97c33fa9a48d068e85917ab
Signed-off-by: Gurumoorthy Santhakumar <quic_gsanthak@quicinc.com>
2023-05-24 09:21:43 -07:00
Saahil Tomar
d78389b19c ipq: spi: Enable SPI clocks in Uboot based on QUP id
Change-Id: I49d6e74fbb5b7d30a55fc741c2eca5bb66ac2e34
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
2023-05-22 16:53:31 +05:30
Timple Raj M
610d4bbb6d board: qca: arm: ipq5332: Enable GCC_PCIE3X1_PHY_AHB_CBCR clock
The pcie0 and usb uses combo phy, for usb 3.0 GCC_PCIE3X1_PHY_AHB_CBCR
clock has to be enabled

Change-Id: I281773f40bf7d32b27a27e7dc5e5d531ae3a3dc0
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-05-10 05:24:00 -07:00