Commit graph

9834 commits

Author SHA1 Message Date
Selvam Sathappan Periakaruppan
18d2b93ab3 drivers: net: Add support for QCA8084 PHY
This patch adds initial support for qca8084 PHY
which is based on qca8081 PHY.

qca8084 PHY has support for 4x2.5G.

Change-Id: Ic767c19fad050e5ee9a97ad7fa50c1b6b27893dd
Signed-off-by: Selvam Sathappan Periakaruppan <quic_speriaka@quicinc.com>
2022-05-25 04:08:31 -07:00
Vandhiadevan Karunamoorthy
5837a5e6c6 board: arm: devsoc: Add USB support
This changes enable usb support.

Change-Id: Id75f3dbbe538a99bd4290463ed468b5575491edd
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-05-22 23:18:23 -07:00
Vandhiadevan Karunamoorthy
e2d76a1c7a board: arm: devsoc: Enable PCIE support
The PCIE node is disabled by default in
the emulation platform

Change-Id: I51041186a57d08b58c1f7c85dd1a90fbeb24aac9
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-05-19 12:32:40 +05:30
Linux Build Service Account
6ac309e7bd Merge "devsoc: Add dummy handler to fixup the USB device mode" 2022-05-17 12:20:07 -07:00
Ram Kumar D
b900c8242b devsoc: Add dummy handler to fixup the USB device mode
Change-Id: Id68da6161eaabb867de0cd00e5a8c455e24df2c3
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-05-17 13:19:43 +05:30
Ram Kumar D
4ffb97c394 fdt_fixup: Add support to patch up cpu_type and soc version
Change-Id: Iaf24075cf532997993c0bf6a8d6add90b812db77
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-05-17 13:19:16 +05:30
Ram Kumar D
9b49d9c097 fdt_fixup: Add devsoc nand compatible to fdt fixup
Change-Id: I2d3f0ad48528554ed93c5aa89c25dd8e69a073a3
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-05-17 13:18:41 +05:30
Ram Kumar D
88f81ffced drivers: i2c: qup: add multi I2C support for all IPQ chipsets
This change adds support to enable multiple I2C bus on all IPQ
platforms. Removed the device specific changes and updated in
a generic way to support multiple I2C on all the IPQ platforms.

Change-Id: Ie13dd744c6317fc9245bc88781e79a9fb3621a62
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-05-16 07:46:51 -07:00
Vandhiadevan Karunamoorthy
270d1e7245 board: arm: devsoc: Add eMMC support
This changes add 4-Bit eMMC flash support

Change-Id: Iad789ba44aaa0e11da5f8c16dd0a07d2e80de682
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-05-10 17:18:31 +05:30
Vandhiadevan Karunamoorthy
107bdb49b0 board: arm: ipq5018: 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.

And also this change update the ATF fixup api to
generic name so which will be common for all other
fixup releated to ATF.

Change-Id: I10b2e712883f419433220547a0d7bc6bdf4e125d
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-05-08 04:13:59 -07:00
Vandhiadevan Karunamoorthy
6a97589d96 board: arm: devsoc: Add ubi command support
This changes enable UBI command support in
devsoc platform.

Change-Id: I2dade2f7ab232f6ae3f2a800437e1543e6a85909
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-05-05 23:30:10 -07:00
Gokul Sriram Palanisamy
08c3332f34 drivers: i2c: qup: Add multiple I2C bus support
Added support for multiple i2c alias in device-tree
so as to enable multiple qup i2c modules.

Change-Id: I58b1b91c66e3b42cc5d603ce29f94e90b6d86ae1
Signed-off-by: Gokul Sriram Palanisamy <quic_gokulsri@quicinc.com>
2022-05-01 22:20:59 -07:00
Vandhiadevan Karunamoorthy
018618939e board: devsoc: enable dcache
This changes enable dcache enable and disable support
and also enable dcache command.

Change-Id: I7a11a923c1f87168e9cb519c5dedfcfac2dbc610
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-04-26 05:03:41 -07:00
Linux Build Service Account
0cdbe1f6d1 Merge "ipq: ported uart_wait_tx_empty function to wait until TX FIFO is emptied" 2022-04-26 01:20:23 -07:00
devi priya
ea029c9d1c ipq: ported uart_wait_tx_empty function to wait until TX FIFO is emptied
Ported uart_wait_tx_empty function from ipq806x to wait until the TX FIFO is emptied
to avoid FIFO corruption during serial init after relocation

Change-Id: Id95627c791c1159fdd3392e6aa35738e7561d489
Signed-off-by: devi priya <quic_devipriy@quicinc.com>
2022-04-25 19:37:07 +05:30
Vandhiadevan Karunamoorthy
9f81944daa board: devsoc: enable QSPI NAND
Change-Id: Ibfaea936f2e611b31f3fa0946b8fc0fac08cb1be
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-04-24 22:10:48 -07:00
Timple Raj M
682197e0ec ipq9574: Add support for AP-AL02-C10
break statement to be added to take correct config value

Change-Id: Ie02479fd20901a3c7d79c5b86e81cdea1411609a
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2022-04-20 17:19:44 +05:30
Timple Raj M
a49fbe815c ipq9574: Add support for AP-AL02-C10
Same as AL02-C1 RDP with NSS enabled.

Change-Id: I5ffcb93721d16db4d598fb82e17fa18c25a9d861
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2022-04-18 21:51:56 -07:00
Timple Raj M
8be38d2865 ipq9574: Add support for AP-AL02-C9
AL02-C9 is similar to AL02-C6 without internal radio

Features: Split Phy WKK (2G + 5G), Split Phy WKK (5G + 6G)

Change-Id: I637123bc133243f20dfc0fddb7353caad8650c3a
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2022-04-12 12:32:36 +05:30
Linux Build Service Account
01a22539b5 Merge "bootqca: clear the MBN header information only if authentication is successful" 2022-04-06 12:21:05 -07:00
Kathiravan T
d8e6350603 bootqca: clear the MBN header information only if authentication is successful
During secure boot, after the kernel image authentication, before knowing
the authentication status, we are clearing out the MBN information in the DDR.

When we try to boot the unsigned kernel image on secure board, since
there is no MBN header available, we try to access the invalid memory
region (or) size which leads to data abort (or) system reset without any failure message.

So clear the MBN information only if the image authentication is successful.
If the image authentication is failed, corresponding failure message will be
printed and system will go for reset.

Change-Id: I2cf8e098cdb7e0fc11d0b563d4a0d6a5f0d44ee8
Signed-off-by: Kathiravan T <quic_kathirav@quicinc.com>
2022-04-06 17:16:51 +05:30
Linux Build Service Account
3c41cd52fb Merge "ipq: Add support to collect CODERAM.BIN during secure crashdump" 2022-04-04 06:38:19 -07:00
Linux Build Service Account
2ce1c60aa4 Merge "ipq: dump_to_usb needs some delay before usb stop" 2022-04-01 09:38:30 -07:00
Praveenkumar I
74a56e4feb ipq: dump_to_usb needs some delay before usb stop
Some USB devices taking more time to store the binary file if the
device has multiple partitions. Immediate usb stop can discard the
previously transfered binary. This patch adds delay to overcome the
issue

Change-Id: Iccbf272ebdfc3542ac1474129e07e852e8d7bbaa
Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>
2022-04-01 11:39:26 +05:30
Ram Kumar D
1675ef903a ipq: Add support to collect CODERAM.BIN during secure crashdump
Add support to collect CODERAM.BIN during secure crashdump in
ipq6018 & ipq9574

Change-Id: I7be8a714170c0c408e8904b0bc376d9d5e7f42bf
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-03-30 08:18:49 +05:30
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
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
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
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
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
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
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
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
04eaf393b1 Merge "ipq5018: Add MP05.1 RDP support" 2022-01-20 21:08:13 -08:00
Linux Build Service Account
67c9fbe0a9 Merge "bootqca: add support to boot signed elf image on non-secure board" 2022-01-19 13:06:45 -08:00
Linux Build Service Account
eb9583ae59 Merge "ipq5018: Add support to read and apply caldata in u-boot" 2022-01-19 13:06:44 -08:00
Linux Build Service Account
98a992b3f9 Merge "ipq: do uboot fdt fix before driver model gets initialized" 2022-01-19 09:09:01 -08:00