Commit graph

37161 commits

Author SHA1 Message Date
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
48b394cf3c Merge "arm: dts: ipq9574: Add new board variant AP.AL02-C18" 2022-10-12 07:25:00 -07:00
Timple Raj M
61c9cf3505 driver: nand: qpic_nand: Add support for giga device spi nand
This change will  add support for giga device GD5F1GM7REYIG
spi nand support.

Change-Id: Ie32cb6824bd0fbcf04449fa070005b7fa323c025
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2022-10-11 11:23:34 +05:30
Vandhiadevan Karunamoorthy
d18ca4451a drivers: net: ipq9574: Enable usxgmii in UNIPHY0
This change adds usxgmii support in UNIPHY0.
Earlier it was supported up to PSGMII with 4 ports.

With these changes,
UNIPHY0 supports either of the 2 modes mentioned below.
	1. PSGMII with 4 ports
	2. USXGMII with 1 port

Change-Id: Ic4ca62e3ef74d275cda92d86b459d204ee4325ed
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-10-09 22:27:29 -07:00
Linux Build Service Account
17f3d532f3 Merge "devsoc: kconfig: add TZT support" 2022-10-07 09:47:11 -07:00
Hariharan K
727c6f32d0 arm: dts: ipq9574: Add new board variant AP.AL02-C18
Same as AP.AL02-C4 RDP, with support for 10G PHY or 10G fiber in UNIPHY0

Change-Id: Ic3935a2cdc0033ed4c7478ae14abd3cf61aef797
Signed-off-by: Hariharan K <quic_harihk@quicinc.com>
2022-10-03 02:05:28 -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
Linux Build Service Account
e2360ed382 Merge "pci: ipq9574: Add a new command to list the PCIe device details" 2022-09-27 08:41:57 -07:00
Linux Build Service Account
ab1f3974f2 Merge "pci: ipq: Add sec.dat fusing support for qcn9224" 2022-09-27 04:55:52 -07:00
Praveenkumar I
4a3be8755b pci: ipq9574: Add a new command to list the PCIe device details
Change-Id: I6da44fbd966d8c45ba9b4adb447d415ee15628ce
Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>
2022-09-27 16:22:05 +05:30
Praveenkumar I
32ad9dcb99 pci: ipq: Add sec.dat fusing support for qcn9224
This change adds a new command to support the qcn9224 fusing.
Fuser blower binary should be transfered via tftp to Host and
using fuse_qcn9224 command, binary can be transfered to qcn9224.
qcn9224 will take care of the fusing.

sample command:
tftpboot fuse_blower.bin
fuse_qcn9224 0

Change-Id: Ie8cd73a2d49799100bd1f717cdc4b8dad070f9bd
Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>
2022-09-27 12:01:38 +05:30
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
Rajkumar Ayyasamy
94dbaae51e pack_v2: use new xtract_n_flash command
xtract_n_flash $imgaddr $filename $partname

The above cmd can be used instead of below set of cmds

imxtract $imgaddr $filename
erase <offset> <size>
write <fileaddr> <offset> <filesize>

This patch also removes padding as it will be taken
care by the flash cmd itself

Change-Id: Id55d844103a97a6a621545e4d62d3da408ffa61c
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
Signed-off-by: Rajkumar Ayyasamy <quic_arajkuma@quicinc.com>
2022-09-25 22:06:20 -07:00
Kathiravan T
9eb70ef0b4 arm: dts: devsoc: add devsoc-01.6 and devsoc-01.7 RDP support
devsoc-01.6 and devsoc-01.7 RDPs are same as devsoc-01.4 and devsoc-01.1
respectively with 10GE SFP module instead of 2.5GE SFP module.

Change-Id: Ic65bab9126a34cb73dd51d5ce6a85e1cf29a1215
Signed-off-by: Kathiravan T <quic_kathirav@quicinc.com>
2022-09-21 23:38:45 -07:00
Linux Build Service Account
7a5d903329 Merge "flash: add new command xtract_n_flash" 2022-09-21 11:15:18 -07:00
Linux Build Service Account
a593fa793b Merge "configs: devsoc: update the SMEM base address" 2022-09-21 11:15:18 -07:00
Rajkumar Ayyasamy
4d60476def flash: add new command xtract_n_flash
xtract_n_flash $imgaddr $filename $part_name
can be used instead of the below set of cmds

imxtract $imgaddr $filename
flash $part_name

This patch also takes page_size, block_size
and chip_size as arguments of mibib_load cmd

Change-Id: Iaf1ed33a2281029ad151f00ce5416648e513de56
Signed-off-by: Rajkumar Ayyasamy <quic_arajkuma@quicinc.com>
2022-09-21 04:50:08 -07:00
Kathiravan T
1296b4cfbc configs: devsoc: update the SMEM base address
SMEM base address is moved to 0x4A800000, update it.

Change-Id: Ic88268ac4db80efe4d50cadbee191f85f91ee06d
Signed-off-by: Kathiravan T <quic_kathirav@quicinc.com>
2022-09-20 02:19:51 -07:00
Kathiravan T
e5f29a66be pack_v2: remove the obselete code
Remove the following support

*) ipq806x / ipq40xx targets
*) nand-audio
*) LK image
*) IPQ807x + QCN9000

Change-Id: I595f868e5b99d481a2110c430c228c2d70112b1e
Signed-off-by: Kathiravan T <quic_kathirav@quicinc.com>
2022-09-20 11:14:52 +05:30
Kathiravan T
c6a4de6d00 pack_v2: remove the unwanted changes
Reverted the changes till the below commit
d84c9f230d ("tools: pack: add new option to select fw based on
machid")

Change-Id: I0578dd5014fbd1d4669065e0bff566c9fc899811
Signed-off-by: Kathiravan T <quic_kathirav@quicinc.com>
2022-09-19 15:39:12 +05:30
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
Kathiravan T
3f7ad2e752 pack_v2: add the snapshot of pack script
Add the snapshot as of below commit from win.coretech.1.0 branch
9e40b52661 ("tools: pack: Update pack script for IPQ9574")

Change-Id: Iebafae7f827a5ae8bb0b48ca9c899f2672f65fb3
Signed-off-by: Kathiravan T <quic_kathirav@quicinc.com>
2022-09-14 21:13:24 -07:00
Timple Raj M
40c1f3f4b3 ipq: support for mibib reload
Adding a new command mibib_reload to
populate the partition table info from
mibib binary

Change-Id: I3f08fc07ea55f1bbd90dc28d8f459d108f86bc0e
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2022-09-12 18:12:02 +05:30
Timple Raj M
361518f76c ipq: Flash support for gpt and gpt_backup
This patch adds the flash support
for gpt and gpt_backup in flash command

flash 0:GPT
flash 0:GPTBACKUP

Change-Id: I9101b27989acc84da25f010f6c73674d6717d54c
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2022-09-12 05:22:15 -07:00
Linux Build Service Account
daa18ac311 Merge "drivers: net: ipq6018: Removing the additional rx buffer allocation" 2022-09-10 00:51:40 -07:00
Linux Build Service Account
43ddaeef85 Merge "drivers: net: ipq9574: Removing the additional rx buffer allocation" 2022-09-09 22:10:46 -07:00
devi priya
067984e4b5 drivers: net: ipq6018: Removing the additional rx buffer allocation
During long run tests on image download in u-boot, 
EDMA crash was observed as the SKB buffer address 
returned by the RX descriptor was corrupted and was 
pointing to an invalid address:
clean_rx: p: 14 c: 0 skb: 61763b10
WARN: src_info_type:0x0. Drop skb:61763b10

The reason for corruption seems to be the RX buffer allocation that was
happening twice before initiating the EDMA for the next transaction.
This change removes the additional allocation of the Rx buffer which is
not needed.

Change-Id: I4a5b404527469ff3b981749aa4e05080f55807cd
Signed-off-by: devi priya <quic_devipriy@quicinc.com>
2022-09-08 12:54:07 +05:30
devi priya
2ff1847823 drivers: net: ipq9574: Removing the additional rx buffer allocation
During long run tests on image download in u-boot, 
EDMA crash was observed as the SKB buffer address 
returned by the RX descriptor was corrupted and was 
pointing to an invalid address:
clean_rx: p: 14 c: 0 skb: 61763b10
WARN: src_info_type:0x0. Drop skb:61763b10

The reason for corruption seems to be the RX buffer allocation that was
happening twice before initiating the EDMA for the next transaction.
This change removes the additional allocation of the Rx buffer which is
not needed.

Change-Id: I919024df8131fe87640ecc0d481b61012742efbf
Signed-off-by: devi priya <quic_devipriy@quicinc.com>
2022-09-08 12:52:01 +05:30
Md Sadre Alam
01e894db8c drivers: i2c: Fix i2c bus clock issue
This change will fix i2c bus clock issue .

Change-Id: I0d0d424b79cf853b7109c57ad77236f51a2296c6
Signed-off-by: Md Sadre Alam <quic_mdalam@quicinc.com>
2022-09-05 02:21:55 -07:00
Linux Build Service Account
c03d3eca35 Merge "arm: dts: devsoc: enable pci1 dual lane" 2022-08-29 08:49:35 -07:00
Timple Raj M
383d68952f arm: dts: devsoc: enable pci1 dual lane
Enable pci1 dual lane instead of pci0 single lane
Waikiki 5G module of RDP444 will support 4X4 320M,
so this module needs to be plugged into 2L PCIe.

Change-Id: Ic6a2e77203c576759c3344d006bf6e2e1ec903ec
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2022-08-28 22:58:24 -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
Ram Kumar D
84932a6b6f arm: dts: devsoc: add eth dts configurations for MI01
Added ethernet dts configurations for MI01.1, MI01.1 & MI01.4

Change-Id: I45797b8515ddac3ab8308b811109667f27db4b2a
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-08-21 22:45:57 -07:00
Linux Build Service Account
c51b436697 Merge "tools: pack: Update pack script for IPQ9574" 2022-08-19 15:52:03 -07:00
Linux Build Service Account
ece51672de Merge "arm: dts: devsoc: update the redundant macro name" 2022-08-17 17:39:32 -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
Praveenkumar I
9e40b52661 tools: pack: Update pack script for IPQ9574
This patch adds the following changes,

Machine ID check for qcn9224 V1 flashing which will help to
skip this FW flashing if WIFI_FW is 1.

Updated EMMC image append and flash script generation logic
to skip if filename_img<x> is not given inside wififw_type_max
range.

Increased the start activity string length to get the full
WIFI_FW image name in console during flashing.

Change-Id: Ica9552caa219cd1f4be9fa25a4e9a716b789ca48
Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>
2022-08-17 16:14:14 +05:30
Timple Raj M
e67c5fe342 arm: dts: devsoc: update the redundant macro name
Change-Id: Ic7001ee6c26c6a2cfcec6d5b8302b61e654cc850
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2022-08-17 14:11:58 +05:30
Linux Build Service Account
fc5ebb3723 Merge "arm: dts: devsoc: add the various RDP support" 2022-08-16 19:26:07 -07:00
Timple Raj M
9ec268b3c3 arm: dts: devsoc: add the various RDP support
Listed below are the new RDP's added:

PCIE0 ---> PCIE3X1_0
PCIE1 ---> PCIE3X2
PCIE2 ---> PCIE3X1_1

DEVSOC01.1
	Flash: NOR and NAND / emmc (option)
	RAM: 1GB DDR4
	Features:
	2 Lane PCIe Gen3 [pci1]
	1 USB 3.0
	4 LAN ports – 2.5GE Manhattan
DEVSOC01.2
	Flash: NOR and NAND / emmc (option)
	RAM: 1GB DDR4
	Features:
	1 Lane PCIe Gen3 [pci0]
	2 Lane PCIe Gen3 [pci1]
	1 USB 2.0
	4 LAN ports – 2.5GE Manhattan
DEVSOC01.4
	Flash: NOR and NAND / emmc (option)
	RAM: 1GB DDR4
	Features:
	1 Lane PCIe Gen3 [pci0]
	1 USB 2.0
	4 LAN ports – 1GE S17C

Change-Id: Ic507cbcc865257842dab20969d70d33e60bb2295
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2022-08-16 16:23:37 +05:30
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
1b9a7dbe6e devsoc: removing redundant initialization in dts
removing the redundant initialization to reduce the size of uboot

Change-Id: I4a129bfc1bad4e402a66a1b1051d1f432a581a6e
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2022-08-12 16:56:16 +05:30
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
Praveenkumar I
144fe5efd0 tools: pack: Set default qcn9224_version as 1
If detect_qcn9224 command is not supported in Uboot, qcn9224 V1
image will be flashed.

Change-Id: I36c3b7c5959b4736abe69d218cae2880c20cfad1
Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>
2022-08-10 03:19:32 -07:00
Praveenkumar I
724870b677 tools: pack: Update EMMC flash script generation
Change-Id: I26c50de5b94536d32b9c171ff348d8b8e40eb1cd
Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>
2022-08-08 17:16:19 -07:00