Commit graph

9264 commits

Author SHA1 Message Date
Linux Build Service Account
b3b09c8a1f Merge "arm: dts: Add MI01.7 (RDP473) dts support" 2023-10-18 21:39:20 -07:00
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
Ram Kumar D
b66a91afdd arch: arm: dts: ipq5332: configure SFP RX pin state
We used to configure SFP RX pin with 8MA drive strenght and pull
up enabled, but later identified that, it is not really required.
Then, removed it in miami.

But, looks likes when device like SFP-80M module is connected to
SFP cage, these configurations are needed. So, enabling it on
all miami sfp rdps.

This change wont affect our SFP-30M module behaviour.

Change-Id: I5dd758e1d982062d9a0259b50e1e537eeda8ddc8
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2023-10-05 16:56:04 +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
cba7e5d09e Merge "arch: smem: removed end_magic check in bootconfig" 2023-09-27 15:09:08 -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
Gurumoorthy Santhakumar
c61b701c04 arch: smem: removed end_magic check in bootconfig
This patch is to support bootconfig with crc32

Change-Id: I49a7c5e3a578a166d25b8c7387a9a5ffd21652a8
Signed-off-by: Gurumoorthy Santhakumar <quic_gsanthak@quicinc.com>
2023-09-22 07:18:38 -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
Sridharan S N
884e14bf22 arch: arm: smem: add onfi nand support
Change-Id: Ic603a9bb946fd033e51a8af39cfabe1b64c27d9f
Signed-off-by: Sridharan S N <quic_sridsn@quicinc.com>
2023-09-20 22:55:07 +05:30
Linux Build Service Account
1068e67e2a Merge "arch: arm: dts: ipq5332: set default state for SFP TX pins" 2023-09-19 12:12:42 -07:00
Linux Build Service Account
053a0869f6 Merge "armv7: qca: common: smem: skip printing the partition info if it exceeds flash size" 2023-09-19 04:11:46 -07:00
Linux Build Service Account
f749e8418c Merge "Revert "armv7: qca: common: smem: skip printing the partition info if it exceeds flash size"" 2023-09-19 04:11:45 -07:00
Ram Kumar D
7f9be61b22 arch: arm: dts: ipq5332: set default state for SFP TX pins
This change force sets the default state for SFP TX pin.

Change-Id: Iaaee73b8c4a6a4abc5fba9b1f88a2225cb1ed39d
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2023-09-19 15:39:56 +05:30
Sridharan S N
1faa3fe00b armv7: qca: common: smem: skip printing the partition info if it exceeds flash size
skip printing the partition info in smem if it exceeds flash size for
both nand and nor cases.

Change-Id: I446a3300865fbf543b6e585f918f747a1b75a15c
Signed-off-by: Sridharan S N <quic_sridsn@quicinc.com>
2023-09-18 22:16:33 -07:00
Sridharan S N
314971f0b9 Revert "armv7: qca: common: smem: skip printing the partition info if it exceeds flash size"
This reverts commit c7c20989ab.

Change-Id: Idc9e56ee2f8eaa65cb2939f05b2cba73f13e65ff
Signed-off-by: Sridharan S N <quic_sridsn@quicinc.com>
2023-09-15 21:09:41 +05:30
Gokul Sriram Palanisamy
20dd081414 ipq5332: TINY NOR: disable RAMDISK support
Change-Id: Ib600026b1b5e05e1b3a8c1879e61ea24c5557db2
Signed-off-by: Gokul Sriram Palanisamy <quic_gokulsri@quicinc.com>
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-09-13 20:48:12 -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
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
Linux Build Service Account
22722a1097 Merge "ipq5332: TINY NOR: disable unused fdt functions" 2023-09-11 11:11:02 -07:00
Linux Build Service Account
726fbc86aa Merge "ipq5332: TINY NOR: remove unused commands and functions" 2023-09-11 11:11:00 -07:00
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
Gokul Sriram Palanisamy
51a8fd3ae4 ipq5332: TINY NOR: disable unused fdt functions
functions disabled
------------------
- arch_fixup_fdt
- boot_setup_fdt, boot_prep_linux
- fdt_getprop_u32_default, fdt_getprop_u32_default_node
  do_fixup_by_path_u32, do_fixup_by_prop, do_fixup_by_prop_u32,
  do_fixup_by_compat, do_fixup_by_compat_u32
- fdt_pci_dma_ranges, __flash_get_bank_size, flash_get_bank_size
- fdt_fixup_nor_flash_size

above functions are disabled as part of image footprint reduction.

Change-Id: Ie7f51a358dc4d9fc10be3a4642883e16621b0916
Signed-off-by: Gokul Sriram Palanisamy <quic_gokulsri@quicinc.com>
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-09-06 09:26:01 +05:30
Gokul Sriram Palanisamy
cdd2ba4fcb ipq5332: TINY NOR: remove unused commands and functions
Below commands and functions are disabled
for reducing image footprint.

Introduced new config CONFIG_REDUCE_FOOTPRINT
to use for non-standard size reductions.

Commands disabled
-----------------
base, bootp, chpart, fdt

Added new configs to control enablement
of above commands respectively.
CONFIG_CMD_DISABLE_BASE
CONFIG_CMD_DISABLE_BOOTP,
CONFIG_CMD_DISABLE_CHPART

Functions disabled
------------------
- remove complete fdt support
- fit_image_print, fit_image_print_data, fit_image_print_verification_data
- fit_image_check_target_arch
- fit_image_get_os, fit_image_get_arch, fit_image_get_type, fit_image_get_comp,
- fit_image_check_os, fit_image_check_arch, fit_image_check_type,
  fit_image_check_comp,
- get_table_entry_id, genimg_get_os_id, genimg_get_arch_id, genimg_get_type_id,
  genimg_get_comp_id

Change-Id: I10259c0b70f6e84c850fd28f551df752b3cba814
Signed-off-by: Gokul Sriram Palanisamy <quic_gokulsri@quicinc.com>
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-09-06 09:25:49 +05:30
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
Sridharan S N
c7c20989ab armv7: qca: common: smem: skip printing the partition info if it exceeds flash size
skip printing the partition info in smem if it exceeds flash size

Change-Id: Icb13b8d8f0f25f7817dfce2ee42d327081cbbfa6
Signed-off-by: Sridharan S N <quic_sridsn@quicinc.com>
2023-08-16 04:50:56 -07:00
Linux Build Service Account
da8430c5fb Merge "ipq9574: Add support for RDP467" 2023-07-27 13:41:22 -07:00
Ram Kumar D
a884d2f2da arch: arm: dts: updated qca808x PHY mode support in AL06
This patch updates the following ethernet configuration
on ipq9574.
Previously, AL06 has qca8075 PHY attached in the UNIPHY0,
now it has been replaced with qca808x PHY mode.

Change-Id: Ieb5b9ef10bd1ebfd1992cbfa10cb02b2ac4d0534
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2023-07-26 14:12:01 +05:30
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
Ram Kumar D
93f6d0d8fc arch: arm: dts: add support boot linux 6.1 images
This patch add supports to boot linux 6.1 images on
IPQ5332 & IPQ9574 DB boards.

Change-Id: Ifd9fb1b74c248ffc625c7c49fc96dd7d16a8670f
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2023-07-13 04:55:02 -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
Amandeep Singh
ddb8345d0f dts: ipq5018: Update SDX reset GPIO
Update SDX reset GPIO to restart SDX during different SSR scenarios.

Change-Id: I8ecda7f08bbb00498736925efb6bc0f834da48a8
Signed-off-by: Amandeep Singh <quic_amansing@quicinc.com>
2023-06-30 11:16:54 +05:30
Timple Raj M
42dc3da268 arm: dts: ipq5332: Append rdp474 name in config
This patch appends the rdp474 name of ap-mi01.9 in config

Change-Id: If97ced31402d4f7bb84fb27f7eb4d53e4f4edfd7
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-06-20 03:28:14 -07:00
Timple Raj M
210378481c arm: dts: ipq5332: Update DB-MI02.1 dts
Reuse DB-MI02.1 for 256M DDR and single QCN64xx radio configuration

Change-Id: Ia08a7705e5254b59cb8f15f5bcba41497fc3eb94
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-06-16 02:21:25 -07:00
Gurumoorthy Santhakumar
73f9289aad ipq9574: dts: rdp config name change
Change-Id: Iab58960a2018d855763bad260cdc5c01e8652fae
Signed-off-by: Gurumoorthy Santhakumar <quic_gsanthak@quicinc.com>
2023-06-14 23:54:18 -07:00
Linux Build Service Account
500b086449 Merge "arm: dts: ipq9574: Add AL05 & AL06 RDP support" 2023-06-12 05:56:06 -07:00
Saahil Tomar
f2ae718b2a arm: dts: ipq9574: Add AL05 & AL06 RDP support
This RDP is based on AL02-C4, with changes in ethernet for GPON enablement

Change-Id: Ic25d9009e685d8646564bda582305fbf1bce2be6
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
2023-06-09 10:27:54 +05:30
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
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
Linux Build Service Account
249b847702 Merge "ipq5332/ipq9574: dts: Append rdp names in config" 2023-05-24 03:17:33 -07:00
Linux Build Service Account
3dd8222d70 Merge "ipq: spi: Enable SPI clocks in Uboot based on QUP id" 2023-05-23 22:46:20 -07:00
POOVENDHAN SELVARAJ
f46eb417a7 ipq5332/ipq9574: dts: Append rdp names in config
Change-Id: Ie8eb4f2ca35723f4400a2b6d6bdb9efb7589b3fc
Signed-off-by: POOVENDHAN SELVARAJ <quic_poovendh@quicinc.com>
2023-05-23 12:52:07 +05:30
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
808e5a4a5a arm: dts: ipq5332: Add AP-MI01.9 RDP Support
The AP-MI01.9 is similar to AP-MI01.2 with internal
radio disabled and pcie0 for WKK 5G and pcie1 for WKK 2G

Change-Id: I568c4da0c7604881395dad08be42201fdf9c746b
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-05-16 17:33:54 +05:30