Commit graph

22 commits

Author SHA1 Message Date
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
Selvam Sathappan Periakaruppan
24709ce492 arm: dts: ipq9574: Remove duplicate i2c config
Only i2c aliases will be populated as needed in respective
RDP DTS. All i2c nodes will be added in common SOC DTS.

Change-Id: I540425c63339f45990231dca84cab6e66af009fb
Signed-off-by: Selvam Sathappan Periakaruppan <speriaka@codeaurora.org>
2021-09-04 02:57:17 -07:00
Vandhiadevan Karunamoorthy
50781feff3 ipq9574: Update pci configuration
This change allign pci id with design.
This changes remove the manual id variable and use
alias id number instead.

Change-Id: I7ba481ee6e05b58a8481ccd89c6d40c4b3928e76
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2021-08-31 21:22:19 -07:00
Linux Build Service Account
8b02b5f5d3 Merge "dts: arm: ipq9574: add x1 lane pcie in DB Al01 rdp" 2021-08-31 08:07:32 -07:00
Linux Build Service Account
0528204539 Merge "dts: arm: ipq9574: Add BLSP3 I2C support" 2021-08-31 08:07:31 -07:00
Vandhiadevan Karunamoorthy
e6f00946c7 dts: arm: ipq9574: add x1 lane pcie in DB Al01 rdp
Change-Id: Iefb6b38398704df7ccfc9f90f6d51e84c862d9e2
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2021-08-25 10:34:04 +05:30
Vandhiadevan Karunamoorthy
17f88020e4 Revert "dts: arm: ipq9574: disable pcie"
This reverts commit 2dfd9be9a9.
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>

Change-Id: I7e565e51859f026def1616ff906d40876c805eb4
2021-08-25 10:31:49 +05:30
Vandhiadevan Karunamoorthy
3b56bd8af1 dts: arm: ipq9574: Add BLSP3 I2C support
This changes add BLSP3 I2C and remove BLSP5 I2C.

Change-Id: I532da3733a170e78aaaeb4aba8faf1770cdfa97b
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2021-08-24 21:54:55 -07:00
Selvam Sathappan Periakaruppan
d0d22e82c8 arm: dts: ipq9574: Remove model and compat from DT
These properties are not used in UBoot and this patch
removes the same.

Change-Id: I949f207d5b772755e6ab818270cd6c401e8e8f8a
Signed-off-by: Selvam Sathappan Periakaruppan <speriaka@codeaurora.org>
2021-08-23 01:08:32 -07:00
Selvam Sathappan Periakaruppan
73dec84a77 arm: dts: ipq9574: Fix aq port id in db-al01
Change-Id: I5347fdfba7a3c85bbea289ba2406d5c340b613dd
Signed-off-by: Selvam Sathappan Periakaruppan <speriaka@codeaurora.org>
2021-08-19 03:33:22 -07:00
Vandhiadevan Karunamoorthy
2dfd9be9a9 dts: arm: ipq9574: disable pcie
This changes temporarily disable pcie

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I36b2f1563e6c4de928f5f4e5cd84afec94488221
2021-08-17 11:56:01 +05:30
Selvam Sathappan Periakaruppan
ba44370834 arm: dts: ipq9574: Fix eth switch nodes
By default DB-AL01 supports 4 Malibu, 1 AQ and 1 Napa.
This patch updates the nodes accordingly to support this
default configuration.

Change-Id: I4fbf97ed65e1f38d0bb50a5e82746bf2d807fa66
Signed-off-by: Selvam Sathappan Periakaruppan <speriaka@codeaurora.org>
2021-08-09 07:44:33 -07:00
Vandhiadevan Karunamoorthy
e60f13cc9e ipq9574: add uart2
This changes enable multi-uart support.

Change-Id: Ice7892c70f891a278a17314ddd520f907b320689
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2021-08-03 20:07:15 +05:30
Vandhiadevan Karunamoorthy
d3cb5ab1d5 ipq9574: add I2C support
This change also remove emulation dts since
build issue due to i2c duplicate

Change-Id: I28e0ffa1dd275c6ba416ded91756589ffe886631
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2021-08-01 11:00:39 -07:00
Selvam Sathappan Periakaruppan
31ddb16d89 drivers: net: ipq9574: Fix ethernet for RDPs
This patch updates the following:
1) Removes unused/duplicate macro: NSS_CC_PORT1_RX_CBCR_ADDR
2) Remove CMN_BLK_INIT
3) Update MAX Ports to 6
4) Rename switch_mac_mode to switch_mac_mode0 in DTS and driver
5) Fix SYSNOC frequency configuration
6) Tx/Rx descs is initialized to 0 before use which is
needed because Alder DDR is not init to 0 by default.

Change-Id: Ide22e146f9c8ecb75585d0a8d04e426c463ad8c9
Signed-off-by: Selvam Sathappan Periakaruppan <speriaka@codeaurora.org>
2021-07-26 09:22:04 -07:00
Vandhiadevan Karunamoorthy
41c18006f5 dts: arm: ipq9574: update uart configuration
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I716903def19d7113879166ef64a15bd7bb3a636b
2021-07-20 00:31:36 +05:30
Selvam Sathappan Periakaruppan
5fa59be07c ipq9574: Update QCA PHY name
This patch updates the QCA PHY names and its references
accordingly.

Change-Id: I5d301fcecc49793387a50487bf2e713a5a9288e8
Signed-off-by: Selvam Sathappan Periakaruppan <speriaka@codeaurora.org>
2021-07-19 15:46:15 +05:30
Selvam Sathappan Periakaruppan
e15ff0bab1 arm: dts: ipq9574: Handle multiple AQ Port Support
This patch adds a boolean in DT, so that configurations
can be done accordingly in network driver in case the
RDP supports 2 AQ Ports.

Change-Id: I6eb070ad0d281e3bac0b111f0659e67168296456
Signed-off-by: Selvam Sathappan Periakaruppan <speriaka@codeaurora.org>
2021-07-19 15:43:32 +05:30
Vandhiadevan Karunamoorthy
3026f77ee3 dts: arm: ipq9574: Update SPI gpio details
This changes remove spi gpio details from soc dts
to avoid conflict with emulation configuration

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I3e949c6e3b03754dac9d0803d3ec32bb630a12b8
2021-07-18 23:46:21 +05:30
Vandhiadevan Karunamoorthy
8f185f4138 dts: arm: ipq9574: update the rdp dts
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I221877b04ff53df564200aee6d60ef426a7c17fa
2021-07-16 16:33:25 +05:30
Selvam Sathappan Periakaruppan
0c02241ac5 arm: dts: ipq9574: Add Ethernet support for DB-AL01 variants
DB-AL01 variants have 5x1G, 1x10G and 1x2.5G ethernet ports.

Change-Id: Ided2569d9a24e153fc293220300d514a6b685ee1
Signed-off-by: Selvam Sathappan Periakaruppan <speriaka@codeaurora.org>
2021-07-11 21:03:53 +05:30
Selvam Sathappan Periakaruppan
37ef95abf9 arm: dts: ipq9574: Add ipq9574 DB-AL01 RDPs Support
The main features of DB-AL01-C1 are as below:

Flash: SPI NOR(32 MB), QSPI NAND(256 MB)
RAM: DDR3(1 GB)
PCIe: 1x2G, 1x5G, 1x6G, SSD 
Ethernet: 1x10G, 1x2.5G, 5x1G
USB: 1xUSB3
PMIC: I2C based MPS

Only change in DB-AL01-C2 is that it can support:

Flash: eMMC(8 GB) with rework
Other features are same as DB-AL01-C1

Change-Id: Id988f0aa1d3ee9ec203c1682f3dda5f698aca63d
Signed-off-by: Selvam Sathappan Periakaruppan <speriaka@codeaurora.org>
2021-07-05 01:31:41 -07:00