Commit graph

37067 commits

Author SHA1 Message Date
Ram Kumar D
b9cbde2bac driver: net: devsoc: removed the extra ports and uniphy
In devsoc, we have 2 ports and 2 uniphys, so removed the extra
ports and uniphy configurations from the source. Also, updated
the clock src configuration with respect available uniphys and
removed the SFP port support.

Change-Id: I557bd6d215508c190a3e733a0304873ecd02eb24
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-07-05 09:01:13 +05:30
Linux Build Service Account
5c2b183d10 Merge "board: qca: make training offset fixup as generic" 2022-07-04 11:18:41 -07:00
Linux Build Service Account
b0a792f17c Merge "board: arm: devsoc: add tiny-nor support for ipq53xx" 2022-07-04 11:18:37 -07:00
Vandhiadevan Karunamoorthy
121a50914d board: qca: make usb mode fixup generic framework
The configuration from SoC (ipq6018, ipq5018, & ipq9574)
specific files is moved to fdt_fixup.c as a result of
this change.

Change-Id: I4f20e1a58ce88aea415debe305e69fb21cb6e162
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-07-04 03:41:45 -07:00
Vandhiadevan Karunamoorthy
143c32d5a6 board: qca: make training offset fixup as generic
This update replaces the board-specific QPIC nand
training offset fixup with a generic framework.

Change-Id: I0fd9203334da3846cfbbba880bc6b4701e9d162b
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-07-04 03:41:26 -07:00
Timple Raj M
d4d38a2b9f board: arm: devsoc: add tiny-nor support for ipq53xx
Added these configs to support tiny-nor in ipq53xx
IPQ_TINY
IPQ_TINY_SPI_NOR
ART_COMPRESSED

Change-Id: Icfb727a82d50e12626eb7fc7f34521ee6f478064
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2022-07-04 11:42:13 +05:30
Linux Build Service Account
fe643c818e Merge "config: ipq53xx: Tiny-nor support" 2022-07-01 20:18:45 -07:00
Timple Raj M
42da641fc8 config: ipq53xx: Tiny-nor support
Added tiny-nor support for ipq53xx

Change-Id: I1e86031343a165923982a150405c3c416e635ed6
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2022-07-01 12:43:15 +05:30
Vandhiadevan Karunamoorthy
b8a0869172 board: devsoc: enable i2c support
Change-Id: I78125db95b433857f3c68bdfc9f3d85e2dc91ed0
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-06-30 23:11:41 -07:00
Linux Build Service Account
b224ca99f2 Merge "arm64: dts: ipq9574: Add AL02-C14 RDP support" 2022-06-30 07:18:18 -07:00
Linux Build Service Account
b271eb4363 Merge "driver: net: ipq9574: change the qca8084 link update logic" 2022-06-30 03:29:28 -07:00
Ram Kumar D
5fc0b17e2f driver: net: ipq9574: change the qca8084 link update logic
In qca8084 phy mode, each phy is assigned to one mac in the ipq9574,
where as in the switch mode, only mac1 will used for all the 4 ports
of the qca8084, mac2-4 will be left unused. So, updated the
logic to update the link status of the individual ports, when qca8084
is in switch mode.

Change-Id: I128c3eafb7c85c0db9d252e047457ea8820df368
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-06-29 12:01:54 +05:30
Saahil Tomar
ccdbe416f5 arm64: dts: ipq9574: Add AL02-C14 RDP support
This RDP is based on AL02-C8

Change-Id: Ia7a7d128562c888bc7a0dcc6afffa36aef17d826
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
2022-06-29 11:31:41 +05:30
Linux Build Service Account
0a83e51b5d Merge "board: devsoc: Enable crashdump feature support" 2022-06-28 09:42:04 -07:00
Linux Build Service Account
d3a69cb4c8 Merge "configs: ipq: Update runtime failsafe bits" 2022-06-28 09:42:03 -07:00
Vandhiadevan Karunamoorthy
2623231c0b board: devsoc: Enable crashdump feature support
This change allows autoboot to check if the app is crashed or not.
If the Kernel crashes, a crash dump is generated.
And also, with these changes, check if crash dump is disabled or not.

Change-Id: I35b0a20c6a245702ed0adcfbaa37add21a73400a
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-06-28 16:51:05 +05:30
Linux Build Service Account
a238f44394 Merge "board: arm: devsoc: update TZ end address" 2022-06-23 14:14:41 -07:00
Linux Build Service Account
b26f563d9d Merge "board: arm: devsoc: update USB PHY & Clk config" 2022-06-23 14:14:40 -07:00
Vandhiadevan Karunamoorthy
b2da1813de board: arm: devsoc: update USB PHY & Clk config
Change-Id: Ie1216d3b191aef1f221df91ec254e162e57e099a
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-06-22 22:24:36 +05:30
Vandhiadevan Karunamoorthy
0b11d84fed board: arm: devsoc: update TZ end address
Change-Id: Ie5560a498db86079d688005ac171602694941d00
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-06-21 05:14:33 -07:00
Saahil Tomar
6148a349bd arm64: dts: ipq9574: Add AL02-C13 RDP support
This RDP is based on AL02-C4.
The extra feature is QCN90xx on PCIE0

Change-Id: Ic153279dbe18daf9f602bf44f0bf7539f43ba5f8
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
2022-06-21 04:10:26 -07:00
Linux Build Service Account
335ae409fb Merge "board: devsoc: initialized requried ethernet clocks" 2022-06-16 11:09:52 -07:00
Linux Build Service Account
32bb34e1b8 Merge "arm: dts: ipq9574: Add QCA8084 switch support in AL02-C10" 2022-06-16 11:09:51 -07:00
Linux Build Service Account
7c3d106ddf Merge "drivers: net: Add switch mode support for QCA8084" 2022-06-16 11:09:51 -07:00
Linux Build Service Account
159adee76d Merge "Revert "arm: qca: smem: Update platform structure"" 2022-06-16 05:39:00 -07:00
Ram Kumar D
db2b02a241 board: devsoc: initialized requried ethernet clocks
Change-Id: I5a0e976b75e736bd42f1f7e154be30e2e02e42d2
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-06-16 03:04:59 -07:00
Ram Kumar D
4b91ce478e arm: dts: ipq9574: Add QCA8084 switch support in AL02-C10
Change-Id: I528c458631a9f5f3ad3470740b217f978da0b0cb
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-06-15 23:09:53 -07:00
Ram Kumar D
0b04ce17b5 drivers: net: ipq9574: Add support for QCA8084 switch mode
Change-Id: I315fd246c59bf134e41752e01d2866589c64aeb8
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-06-15 23:09:38 -07:00
Ram Kumar D
cfc0877b85 drivers: net: Add switch mode support for QCA8084
Change-Id: I3e00ee6e54dadcae9c45bc157c6391e6f0dbda55
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-06-15 23:09:14 -07:00
Saahil Tomar
f1f8a39e27 arm64: dts: ipq9574: Add AL02-C12 RDP support
This RDP is based on AL02-C6.
The extra feature is W5GL-4 in Pcie 1.
In U-boot, RDP is based on AL02-C4 as Interface enablement
is same as AL02-C12.

Change-Id: If81b5950d02b47c021aea3d52fdf5feb3fcb7035
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
2022-06-13 21:42:58 -07:00
Ram Kumar D
8b79b10ca8 arm: dts: ipq9574: Add AP-AL02-C10 RDP
AL02-C10 is based on AL02-C8.
C8 enables QCA8084 PHY mode, C10 is for Switch mode

Change-Id: Idbd154c66437357b5c2dbd636031af564c121cdf
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-06-13 12:43:16 +05:30
Ram Kumar D
0782010934 drivers: net: ipq: correct the efuse for ES QCA8084 chip
Change-Id: Ice70f4b1b16eb43e7224bbc8f258ec1dae452f23
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-06-13 11:43:24 +05:30
Praveenkumar I
a46496cfa5 ipq9574: tools: pack: Fix AL02-C11 machine id
Change-Id: I3d3aeb8f799774116225374a14e41b13717be73a
Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>
2022-06-08 11:19:38 +05:30
Praveenkumar I
b5d3586939 ipq9574: Add support for AP-AL02-C11
This is RDP is based on AL02-C4. The extra feature is Alder 2G.

Change-Id: I175938c886c0ebd8f39659ba28be2a946d5b7494
Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>
2022-06-07 17:43:09 +05:30
Linux Build Service Account
7f628dfff2 Merge "meta-tools: add IPQ5332 in pack.py" 2022-06-01 09:41:56 -07:00
Linux Build Service Account
3ccb28e1a5 Merge "drivers: net: devsoc: added eth support for devsoc" 2022-06-01 09:41:55 -07:00
Linux Build Service Account
f1fe35bbbb Merge "arm: dts: devsoc: update for FBC support" 2022-06-01 06:37:37 -07:00
Timple Raj M
12275ca90c meta-tools: add IPQ5332 in pack.py
Change-Id: Ie4430127713f4a9a90852b7958d1643eed237a48
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2022-06-01 02:52:05 -07:00
Vandhiadevan Karunamoorthy
39dc3a9dc2 arm: dts: devsoc: update for FBC support
These changes update the machine id and
config name for emulation FBC bring up

Change-Id: I45bf5cafcb14025841fda2b00e8f695d810b16d3
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-05-31 21:27:20 -07:00
Ram Kumar D
a95cba141c drivers: net: devsoc: added eth support for devsoc
Change-Id: I4d646c1a89d90febd573ae92980e0c665b1dc060
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-05-31 23:52:34 +05:30
Vandhiadevan Karunamoorthy
68b0c0e09d makefile: add fstack-protector for devsoc platform
This changes enable fstack-protector flag for devsoc
platform.

Change-Id: I9726cf5020cbb74346a023b9f4eb8fa908bb417c
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-05-31 08:44:19 -07:00
Vandhiadevan Karunamoorthy
6761f6cf0d board: devsoc: Enable reset support
Change-Id: I989316b3f6f663f6b446208cf4054a1757c2161a
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-05-30 23:03:03 -07:00
Vandhiadevan Karunamoorthy
9f914ab484 board: devsoc: Enable crashdump support
These changes add crashdump support in devsoc platform.

Change-Id: Ifdb9e1e65a4e93407506e987201b4ddeac753927
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-05-30 23:02:44 -07:00
Timple Raj M
b3a0e9fea7 pack: ipq9574: Enabled AP.AL02-C9 extended QCN9224 support
This patch packs the QCN9224 specific partition bin into single image

Change-Id: I300a6774dc570d459a14eca5702cd79398248fa5
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2022-05-29 23:59:00 -07:00
Linux Build Service Account
ae383ebf24 Merge "Revert "ipq9574: Power collapse UBI32 Cores"" 2022-05-25 17:38:21 -07:00
Anusha Rao
2249c9dcbc configs: ipq: Update runtime failsafe bits
Update the feature to use BIT10 and BIT11 for NONHLOS
and HLOS failure detection instead of BIT9 & BIT10.

Change-Id: Idb649770da0cba63554adce861e901f582637c86
Signed-off-by: Anusha Rao <quic_anusha@quicinc.com>
2022-05-25 21:13:43 +05:30
Selvam Sathappan Periakaruppan
207cf5ff59 drivers: net: ipq: Update mdio macros
This patch renames the GCC macro which was added
for QCA8084 PHY to fix the conflict with similar
macro defined in ipq5018 platform.

Additionally, this patch also moves all QCA8084
macro definitions in MDIO driver under QCA8084_PHY
config.

Change-Id: Icd62bf260ffeae64bf67c0c1a58afb6ac4999e22
Signed-off-by: Selvam Sathappan Periakaruppan <quic_speriaka@quicinc.com>
2022-05-25 19:03:43 +05:30
Selvam Sathappan Periakaruppan
beba2c6bb3 configs: ipq9574: Enable THUMB Mode
This config helps to reduce the u-boot.mbn size
by approx. 135 KB's. This is required since the image
size was greater than partition size after adding
support for qca8084 PHY based ports.

Change-Id: Ie719c69690e9e7517002c0f06182bf3ab6c1f98e
Signed-off-by: Selvam Sathappan Periakaruppan <quic_speriaka@quicinc.com>
2022-05-25 04:08:51 -07:00
Selvam Sathappan Periakaruppan
7eaa8ee017 configs: ipq9574: Disable unused configs
This patch disables unused configs to reduce
U-Boot image size. This is required since
the image size was very close to the partition
size.

Change-Id: Ibd3131cb0f579deb3d34aff6857c97ca7338af19
Signed-off-by: Selvam Sathappan Periakaruppan <quic_speriaka@quicinc.com>
2022-05-25 04:08:48 -07:00
Selvam Sathappan Periakaruppan
5a1b34b9d2 arm: dts: ipq9574: Add support for qca8084 in AL02-C8
This patch adds support for qca8084 phy based ports
in AL02-c8.

AL02-c8 has 4x2.5 + 2x10G.

Change-Id: Ibcad3d388cd6242158944d16c1b6cd3a08ba12aa
Signed-off-by: Selvam Sathappan Periakaruppan <quic_speriaka@quicinc.com>
2022-05-25 04:08:44 -07:00