Commit graph

36953 commits

Author SHA1 Message Date
Linux Build Service Account
ec98947562 Merge "qca: arm: devsoc: add support for devsoc" 2022-03-22 22:07:41 -07:00
Linux Build Service Account
6f46dfc18d Merge "ipq9574: Update AP-AL02-C8 RDP" 2022-03-22 13:07:45 -07:00
Linux Build Service Account
0090f4831b Merge "ipq9574: Skip aq phy init if already done" 2022-03-22 10:08:13 -07:00
Selvam Sathappan Periakaruppan
96e5b7ce49 ipq9574: Skip aq phy init if already done
Change-Id: If370e9bac97bf59f45f53253bce8f11681e1a873
Signed-off-by: Selvam Sathappan Periakaruppan <quic_speriaka@quicinc.com>
2022-03-22 03:08:44 -07:00
Selvam Sathappan Periakaruppan
a03d622d6c drivers: net: ipq9574: Remove unused code
Change-Id: Id5e1c33c2438c982dc218561798c588db80c2cab
Signed-off-by: Selvam Sathappan Periakaruppan <quic_speriaka@quicinc.com>
2022-03-22 03:08:40 -07:00
Linux Build Service Account
061829d7b8 Merge "bootqca: fix for ATF state issue" 2022-03-22 01:17:30 -07:00
Linux Build Service Account
172784c6ec Merge "pack: ipq9574: Add support for QCN9224 changes in single image" 2022-03-21 21:39:24 -07:00
Ram Kumar D
c25f7d9fb9 bootqca: fix for ATF state issue
ATF will not have get_secure_state scm call, use it to check the ATF
status. If get_secure_state scm call is not available means,
is_atf_enabled() call will return 1. This represents that ATF is
enabled.

Change-Id: Id7d96f4e377b2ec596d6bc60c37239118817de1e
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-03-21 14:14:43 +05:30
Vandhiadevan Karunamoorthy
2e8afabbcb qca: arm: devsoc: add support for devsoc
This changes add support for uboot base files.

Change-Id: I5f4b937dec30a27ec6acce6ceada7fbed5d5a41d
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-03-20 23:02:17 -07:00
Praveenkumar I
be92c58da6 ipq9574: Update AP-AL02-C8 RDP
AL02-C8 is based on AL02-C4. Instead of QCA8075, QCA8084 is used
for Ethernet.

Change-Id: I70e3560461c1a547c40f5b9b839cc94ef2a39520
Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>
2022-03-21 11:12:02 +05:30
Selvam Sathappan Periakaruppan
b30791ddf4 drivers: net: ipq9574: Disable FDB Learning
This patch is a temporary WAR to fix timeout issues
observed in particular setups during dump collection.
This patch disables FDB Learning for ports 1-6.

Change-Id: I7987bb0286df129c56a07f1708600f78ebf42039
Signed-off-by: Selvam Sathappan Periakaruppan <quic_speriaka@quicinc.com>
2022-03-17 20:42:11 -07:00
Selvam Sathappan Periakaruppan
ae49e8da88 drivers: net: ipq9574: Clean up PPE Driver
Change-Id: I1bd4af5c322b0de29ae07bbaa317773c9539e418
Signed-off-by: Selvam Sathappan Periakaruppan <quic_speriaka@quicinc.com>
2022-03-17 20:42:06 -07:00
Selvam Sathappan Periakaruppan
eb21dc09bc drivers: net: ipq9574: Clean up EDMA driver
Change-Id: Ibd2afc13a0b2129d8e11767c3956078d5a4737f5
Signed-off-by: Selvam Sathappan Periakaruppan <quic_speriaka@quicinc.com>
2022-03-17 20:42:01 -07:00
Selvam Sathappan Periakaruppan
2b85a9c89a configs: ipq9574: Remove CONFIG_TFTP_BLOCKSIZE config
Removing this config will configure the tftp block
size to default value of 1468 + headers which is the
same as in other platforms.

Change-Id: If0b49217e5d2548be203a1a7da4000cd5f2e5dcb
Signed-off-by: Selvam Sathappan Periakaruppan <quic_speriaka@quicinc.com>
2022-03-17 20:41:55 -07:00
Selvam Sathappan Periakaruppan
03705eecee drivers: net: ipq9574: Remove SC PPE BYPASS EDMA Config
Setting this bit will not allow PPE to take any action on the
packets. Remove this configuration as its not needed in U-Boot
EDMA.

Change-Id: I45cb93a4f5072dd882179eca5a14bc4a25624f26
Signed-off-by: Selvam Sathappan Periakaruppan <quic_speriaka@quicinc.com>
2022-03-17 20:41:24 -07:00
Selvam Sathappan Periakaruppan
e9bcf6323b drivers: net: ipq9574: Enable TX/RX port counters
Change-Id: I92717794a5fb81fcbfad64d48b39d0115a953a21
Signed-off-by: Selvam Sathappan Periakaruppan <quic_speriaka@quicinc.com>
2022-03-17 20:41:19 -07:00
Linux Build Service Account
769b7dde31 Merge "arm: qca: smem: Update platform structure" 2022-03-17 17:14:33 -07:00
Linux Build Service Account
e30d795b45 Merge "drivers: net: ipq9574: Drop DA MAC rule" 2022-03-17 11:11:45 -07:00
Linux Build Service Account
3aa37aff5f Merge "drivers: net: ipq9574: Add src_mac drop acl" 2022-03-17 11:11:45 -07:00
Linux Build Service Account
05ab01550e Merge "drivers: net: ipq9574: Enable queue ac and counter" 2022-03-17 11:11:45 -07:00
Linux Build Service Account
edc8e9c436 Merge "drivers: net: ipq9574: Update PPE TDM/Sched Config" 2022-03-17 11:11:45 -07:00
Linux Build Service Account
66cd35840c Merge "drivers: net: ipq9574: Fix VSI configuration" 2022-03-17 11:11:44 -07:00
Selvam Sathappan Periakaruppan
a9a4bd68f1 arm: qca: smem: Update platform structure
This patch adds a v4 platform structure adding
oem_id and product_id to the existing fields in
smem.

Change-Id: Ie25068948beda04d44b6296d48805a618638ec71
Signed-off-by: Selvam Sathappan Periakaruppan <quic_speriaka@quicinc.com>
2022-03-17 09:39:10 -07:00
Linux Build Service Account
1ac9a63612 Merge "ipq9574: Add support for AP-AL02-C7 and AP-AL02-C8" 2022-03-17 04:41:15 -07:00
Selvam Sathappan Periakaruppan
d909c4b4ad drivers: net: ipq9574: Drop DA MAC rule
This patch adds DA MAC rule. This rule can be used
if we want to drop packets with a particular DA MAC
address.

Change-Id: I32ef53ada1518f6880faa7402ccaaedb5b32a90b
Signed-off-by: Selvam Sathappan Periakaruppan <quic_speriaka@quicinc.com>
2022-03-17 16:27:06 +05:30
Timple Raj M
3367faaa3b ipq9574: Add support for AP-AL02-C7 and AP-AL02-C8
AP.AL02-C7 is similar to AP.AL02-C4 with emmc boot
Features: WK 2G + WK5G + WK 6G

AP.AL02-C8 is similar to AP.AL02-C6 with emmc boot
Features: Internal 2G +WK 5G + WK 6G

Change-Id: I31d1f65b071dfddc4eee393d292add58d3ddeadc
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2022-03-16 18:34:33 +05:30
Selvam Sathappan Periakaruppan
1cbcdb8fcb drivers: net: ipq9574: Add src_mac drop acl
This patch adds ACL to drop the packets with src
mac address.

Change-Id: Ib944154ffb53b9bf67a178a5ab08cd9f12866b4a
Signed-off-by: Selvam Sathappan Periakaruppan <quic_speriaka@quicinc.com>
2022-03-15 22:37:10 -07:00
Selvam Sathappan Periakaruppan
7b03faafe8 drivers: net: ipq9574: Enable queue ac and counter
Change-Id: I954d5316cf1636afa5b9622ede63554066969d8f
Signed-off-by: Selvam Sathappan Periakaruppan <quic_speriaka@quicinc.com>
2022-03-15 22:37:06 -07:00
Selvam Sathappan Periakaruppan
be07da4a76 drivers: net: ipq9574: Update PPE TDM/Sched Config
Change-Id: I992de44db5dd5a6d28b3bd54ddcc005d0c46acc9
Signed-off-by: Selvam Sathappan Periakaruppan <quic_speriaka@quicinc.com>
2022-03-15 22:37:01 -07:00
Selvam Sathappan Periakaruppan
1f1a5ed7b6 drivers: net: ipq9574: Fix VSI configuration
Change-Id: Ia7f9d23ad991738cb9f55a14e7c310791a837ea5
Signed-off-by: Selvam Sathappan Periakaruppan <quic_speriaka@quicinc.com>
2022-03-15 22:36:54 -07:00
Selvam Sathappan Periakaruppan
a89291cec3 ipq: crashdump: Support for dump_to_flash in nand-4k
Previously the MAX_NAND_PAGE_SIZE was defined as 2K
during when we will face issues when dumping to
flash in nand-4k. This patch updates the max size
to 4K to support the same in nand-4k.

Change-Id: Idcec9998f56df1db21fc03097d0454efd81bbbd3
Signed-off-by: Selvam Sathappan Periakaruppan <quic_speriaka@quicinc.com>
2022-03-15 03:09:30 -07:00
Karthick Shanmugham
927b0e7881 pack: ipq9574: Add support for QCN9224 changes in single image
This patch packs the Al02-C4 specific system parition bin into single image,
flash mibib based on machid, use the offsets and size from the selected system
partition table

Change-Id: If645357c63c79c99a69f2b30dca31a387467fa5e
Signed-off-by: Karthick Shanmugham <quic_kartshan@quicinc.com>
2022-03-14 22:07:00 -07:00
Linux Build Service Account
a8451b0a27 Merge "bootqca: use get_secure_state scm call instead of atf env" 2022-03-08 10:46:16 -08:00
Linux Build Service Account
1bc74c6b9e Merge "drivers : nand : Update Serial training fixup" 2022-03-08 05:12:40 -08:00
Ram Kumar D
b7ca23da1c bootqca: use get_secure_state scm call instead of atf env
Currently, if atf env is set in the secure board. secure boot
sequence gets bypassed. This is not an expected behaviour. So,
removed support the atf env variable. Instead atf enabled status
can be verified using get_secure_state scm call.

Moreover, as per current design get_secure_state scm call will
not be implemented in ATF in future as well. If its implemented,
Bit 7 should be made to 1.

Change-Id: I0adcfac7bbcb10fe6906fd8a3f10a440ec7080ae
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-03-08 17:00:07 +05:30
Saahil Tomar
4c8be9b750 drivers : nand : Update Serial training fixup
This change fixup the magic word (0xBAD0FF5E) instead of zero.
So the uboot will skip setting qcom,training_offset
if the serial training partition is not present in flash.

Change-Id: I0ee8c9475e1153fdbc295691ceb2a4b1d6fdd394
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
2022-03-07 14:45:01 +05:30
Linux Build Service Account
252874cd42 Merge "ipq9574: Power collapse UBI32 Cores" 2022-02-21 20:38:41 -08:00
Linux Build Service Account
8df528daa4 Merge "ipq9574: Add support for AP-AL02-C6" 2022-02-18 02:13:20 -08:00
Timple Raj M
6fd182b72a ipq5018: Using MP03.3 dts in MP05.1 RDP
Change-Id: Ifd6e56eaba6ab00ae356a2512bae4c0f4722405f
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2022-02-17 03:31:29 -08:00
Praveenkumar I
6bd132f637 ipq9574: Add support for AP-AL02-C6
Change-Id: I6a3ed2372713253d997db576ae35ab0a8b0e2a8b
Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>
2022-02-17 09:28:47 +05:30
Praveenkumar I
5dfb1b4291 ipq9574: Power collapse UBI32 Cores
UBI32 cores are not used in IPQ9574. So, this patch power
collapses all 4 UBI32 cores.

Change-Id: I50e3d963543303440c6af288af1c874717316b35
Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>
2022-02-16 19:17:25 -08:00
Linux Build Service Account
b6e29e3be0 Merge "ipq5018: add CONFIG_QSPI_LAYOUT_SWITCH support" 2022-02-16 06:08:08 -08:00
Linux Build Service Account
152c1e9c03 Merge "ipq9574: clock: Fix clock configuration" 2022-02-16 01:42:54 -08:00
Linux Build Service Account
b28160d387 Merge "tool: pack: add layout switch for sbl partition" 2022-02-15 22:38:14 -08:00
Vandhiadevan Karunamoorthy
0d2d8dc299 ipq5018: add CONFIG_QSPI_LAYOUT_SWITCH support
This changes enables the QSPI_LAYOUT_SWITCH config
which is required for QSPI nand 4k support.
Since SBL must be flashed in 2K layout to support
QSPI Nand-4K, this dynamic switch is required.

Change-Id: I95a68ec9238dd83306322bc57cf93b162e3179f5
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-02-15 05:35:19 -08:00
Rajkumar Ayyasamy
cf43c5a299 tool: pack: add layout switch for sbl partition
This patch adds support for sbl partition layout switch on IPQ5018

Change-Id: I74e6f1175f36fd58497e049ed16a71d70d3e4b03
Signed-off-by: Rajkumar Ayyasamy <quic_arajkuma@quicinc.com>
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-02-14 21:41:12 -08:00
Selvam Sathappan Periakaruppan
91b2d3dea4 ipq9574: clock: Fix clock configuration
This patch updates the following:
1) Initializes I2C QUP clocks in U-Boot itself as required
without depending on SBL.
2) Removes all CONFIG_IPQ9574_RUMI references.

Change-Id: I1fb02861a70bd2b024122fff7810c3373cc2e1cd
Signed-off-by: Selvam Sathappan Periakaruppan <quic_speriaka@quicinc.com>
2022-02-09 06:33:31 -08:00
Selvam Sathappan Periakaruppan
a8ed69675d ipq: Change qca808x mode to SGMII by default
This patch updates the default uniphy mode to SGMII
for the qca808x ports. If suppose, the phy is capable
of supporting 2.5G, then it will reconfigure the
uniphy mode to SGMII_PLUS at that time based on the
link speed detected.

Change-Id: I56692b19536e71cbcf3a4c31d32ecb29866c5fdc
Signed-off-by: Selvam Sathappan Periakaruppan <quic_speriaka@quicinc.com>
2022-02-09 02:49:24 -08:00
Kavin A
d5357b5326 ipq9574: Add support for AP-AL02-C5
Change-Id: I4f48cd5e2d8a1d5c9cb53059c799af34e9c71e02
Signed-off-by: Kavin A <quic_kavia@quicinc.com>
2022-01-31 22:33:31 -08:00
Linux Build Service Account
7867991d34 Merge "ipq: Update debug print for runtime failsafe boot" 2022-01-31 02:08:59 -08:00