Commit graph

8861 commits

Author SHA1 Message Date
Hariharan K
b7dd2c641e drivers: mtd: nand: Updating part MX35UF4GE4AD-Z4I
The MX35UF4GE4AD-Z4I part has 256 bytes of spare
size. Updating the correct info in the nand table.

Change-Id: Ic3c71d870db8f7e54d0aeb0de27e1812f0fdff7d
Signed-off-by: Hariharan K <quic_harihk@quicinc.com>
2024-05-13 23:34:28 +05:30
Linux Build Service Account
c520adb295 Merge "boot: cleanup edma before jump to kernel" 2024-04-22 09:12:11 -07:00
Ram Kumar D
c2c5de2497 drivers: net: ipq6018: enable qca8x8x switch support
This patch enables qca8x8x switch support on ipq6018.

Change-Id: I5e037071dad112558682255f99bac2adb2b411b5
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2024-04-22 12:26:10 +05:30
Vandhiadevan Karunamoorthy
6a32b06516 boot: cleanup edma before jump to kernel
This changes clean and disable edma before
jumping to kernel.

Change-Id: I324a9b410fb94e1e01e63ad77c46b5129bc76e54
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2024-04-21 11:06:38 -07:00
Ram Kumar D
ef599b2d1b drivers: net: skip configuration if already configured
This patch skips uniphy configuration if it is already
configured with the requested mode.

Change-Id: I4aa1f249a5393881f83e35f3016259986085921c
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2024-04-12 17:25:24 +05:30
Timple Raj M
371c067c14 drivers: mtd: spi: Add MX25U12832F SPI NOR device support
Change-Id: Ie8ee6c5a79fe6469b3c7688010ce33cac60ffc4a
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-12-28 17:41:58 +05:30
Praveenkumar I
a937a286fa pci: pci_ipq: Fix pci_find_ipq_devices() to not check all PCIe hose
Fix pci_find_ipq_devices(), which is checking all the PCIe hose from
the given ID and if searching device is not present, it moves till
the last PCIe hose and finds the device. This leads to duplicate
entries if unknown devices are also present. Instead it should
check only the selected PCIe hose and return success or failure.

Add QCN6432 in PCI device list so that list_pci command can show it.

Change-Id: I1fd1af9a760354f558680889dd5804abd6145dea
Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>
2023-11-20 20:39:35 +05:30
Linux Build Service Account
2e4a573a66 Merge "drivers: net: ipq5332: update clk for 1G SFP" 2023-11-10 10:40:35 -08:00
Linux Build Service Account
215f7d2e17 Merge "drivers: net: add Marvel X3410 10GE support" 2023-11-08 08:40:43 -08:00
Vandhiadevan Karunamoorthy
81937af3eb drivers: net: add Marvel X3410 10GE support
Change-Id: Icd95191f2a472fcb125adce53137a52adf08ad47
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2023-11-07 21:15:18 +05:30
Timple Raj M
5e5611e5fc drivers: mtd: nand: Add winbond W25N04KWZEIR device
Change-Id: Id76f33547c3acb7db7e6ad35d478c77580f14ad1
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-11-03 16:03:20 +05:30
Ram Kumar D
c3163fcb5e drivers: net: ipq5332: update clk for 1G SFP
Change-Id: Ic1274c29664c584124164f6e1b7892d713f335e4
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2023-10-11 10:21:40 +05:30
Gurumoorthy Santhakumar
96f2c8480b ipq5332: skip dcache disable and enable
during recovery mode dcache will not be available.
So, skip dcache disable and enable during
network transfer

Change-Id: Icc89c846580ebcd73332061a55ae9d8c15fa2b1a
Signed-off-by: Gurumoorthy Santhakumar <quic_gsanthak@quicinc.com>
2023-10-04 17:14:43 +05:30
Linux Build Service Account
053a0869f6 Merge "armv7: qca: common: smem: skip printing the partition info if it exceeds flash size" 2023-09-19 04:11:46 -07:00
Sridharan S N
1faa3fe00b armv7: qca: common: smem: skip printing the partition info if it exceeds flash size
skip printing the partition info in smem if it exceeds flash size for
both nand and nor cases.

Change-Id: I446a3300865fbf543b6e585f918f747a1b75a15c
Signed-off-by: Sridharan S N <quic_sridsn@quicinc.com>
2023-09-18 22:16:33 -07:00
Gokul Sriram Palanisamy
4af5d37d7b ipq5332: TINY NOR: remove SPI chip support
Remove support for all SPI flash part
except for GD25LB128D (GIGADEVICE).

Also remove driver support (if any) for
part manufacturer other than GIGADEVICE.

Change-Id: Iaa16f4b20df069aef46def441fe770ef20fc50c4
Signed-off-by: Gokul Sriram Palanisamy <quic_gokulsri@quicinc.com>
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-09-13 20:47:42 -07:00
Gokul Sriram Palanisamy
3af1bc31ae ipq5332: TINY NOR: disable uart command
Disable uart command used for secondary
uart bringup.

Change-Id: I12aa9af75d32754590ed9dcebb439138a59c88de
Signed-off-by: Gokul Sriram Palanisamy <quic_gokulsri@quicinc.com>
2023-09-13 20:46:32 -07:00
Vandhiadevan Karunamoorthy
dd2a35262d driver: nand: update flush status buffer
Change-Id: I9e08b58e11b70d2f9a6859c0ed836388d8b17084
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2023-08-01 03:10:33 -07:00
Ram Kumar D
c8f05e9e69 configs: enable tiny config for ipq5332
Change-Id: I19394ce3852e26cc9cb2f25b220e2dbea044e863
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2023-07-07 18:29:15 +05:30
Hariharan K
c758218e5f drivers: net: ipq: Use 16bit for phy_chip_id1 and phy_chip_id2
Changing the data type of phy_chip_id1 and phy_chip_id2 from
32-bit to 16-bit and initializing them to 0 to avoid any junk
value while shifting and concatenating them to form the final
phy_chip_id.

Change-Id: If96b01db9ec2b3c0a259ea3c98516d1f18a898ce
Signed-off-by: Hariharan K <quic_harihk@quicinc.com>
2023-06-28 04:22:44 -07:00
Timple Raj M
aef14b3223 mtd: nand: Add support for giga device spi nand
This change will add support for giga device
GD5F2GM7REYIG spi nand support.

Change-Id: I97772e0a8210bd5a6d41e10bbfbdd75b44e53108
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-04-24 20:25:38 +05:30
Timple Raj M
cd66774f4e mtd: nand: Add support for Macronix MX35UF1G24AD device
Change-Id: I37e18d4cc64709fa9f49f138b15d4d5ab878b812
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-04-18 14:37:38 +05:30
Ram Kumar D
48d9f76a4a drivers: net: ipq5332: update port clk for 10M speed
update the port clock setting for qca8084 PHY with respect to
10M speed configuration.

Change-Id: I16403b155f31f37a6bdf828150ca2d0923a29f3e
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2023-04-14 19:07:10 +05:30
Ram Kumar D
5d5067a0cf drivers: net: qca8084: brought in qos patch for the qca8084
Change-Id: I5e90ea8d33c54cd2d84d61f82f950bd81e142d75
Signed-off-by: Gurumoorthy Santhakumar <quic_gsanthak@quicinc.com>
2023-04-03 20:50:26 -07:00
Linux Build Service Account
386ed6aae1 Merge "drivers: net: qca8084: do sgmii speed fixup in bypass mode" 2023-03-29 20:12:21 -07:00
Ram Kumar D
2515f73953 drivers: net: qca8084: do sgmii speed fixup in bypass mode
Previously 100M speed is not working in port 4 of MHT
by-pass mode. SGMII speed fixup required to dynamically
adjust the gcc clock based on the link-speed.

Still, this is requried only for port 4, because remaining
ports (1-3) will be taken care from switch core. So, added
speed fix for the by-mode support.

Change-Id: I495aad4b64de12ae7f57c0bdb9e0def08ad38681
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2023-03-29 18:55:14 +05:30
Timple Raj M
41ffcbb192 driver: nand: Add winbond W25N512GW and W25N02KWZEIR devices
This patch adds the winbond W25N512GW and W25N02KWZEIR devices
and fixes the W25N01GWZEIG device id from 0xBA to 0xBA21,
W25N02JWZEIF device id from 0xBF to 0xBF22 and
W25N01JW device id from 0xBC to 0xBC21

Change-Id: Ic91800386446263477af06c6d39d9051a2dde3b9
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-03-27 16:01:01 +05:30
Linux Build Service Account
7dbd65ad1e Merge "pci: ipq53xx: Enable qcn9224 related commands for ipq53xx" 2023-03-21 12:10:48 -07:00
Praveenkumar I
06db42a59d pci: ipq53xx: Enable qcn9224 related commands for ipq53xx
Change-Id: Ib848a70c373269e95c282ba65ad05457af7a777b
Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>
2023-03-21 14:58:25 +05:30
Linux Build Service Account
a98648973e Merge "pci: pci_ipq: initialize the index variable to zero" 2023-03-14 06:42:51 -07:00
Kathiravan T
43442bec19 pci: pci_ipq: initialize the index variable to zero
Change-Id: I0d3582343b7b5dda86548f0dd46dd6e801e820b3
Signed-off-by: Kathiravan T <quic_kathirav@quicinc.com>
2023-03-09 21:33:10 +05:30
Vandhiadevan Karunamoorthy
7f962d9e36 drivers: net: ipq5332: update qca8084 & qca8337
This changes update qca8084 & qca8337 init sequence
to support dual mode

Change-Id: I2cb9430fc97145c459ed4e6b58394a22565a9860
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2023-03-08 15:03:30 +05:30
Linux Build Service Account
c6ba612d29 Merge "drivers: net: qca8084: update clk and bmap config" 2023-03-07 05:03:03 -08:00
Vandhiadevan Karunamoorthy
58567ec70a drivers: net: qca8084: update clk and bmap config
This changes updates the gcc common clk initialise
steps and adds support for obtaining bitmap
details from dts. 

Change-Id: I55e895989823a4fbb97c638ad937ca48c00519c5
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2023-03-06 13:38:42 +05:30
Vandhiadevan Karunamoorthy
bd47dbed37 drivers: net: ipq9574: update uniphy SGMII config
This change set SGMII mode and force mode based on
dts entries.

Change-Id: Ideaa1bb77fe8fb37a7e6b907a987f6dcac54917f
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2023-03-06 13:26:38 +05:30
Vandhiadevan Karunamoorthy
72b0604461 drivers: net: ipq9574: update QCA8084 config
This changes enable both PHY and switch configure
simultaneously and also switch can be configure
to any port.

And also these changes enable dual MDIO bus support.

Change-Id: Ib86c8a15abb9a7a35aa86d87cef78ad917dd1a00
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2023-03-06 10:09:20 +05:30
Vandhiadevan Karunamoorthy
b0e133d937 drivers: mdio: add bitbangmii support
Change-Id: Ieb6e05a462451e1d2c28b43cc7a761344742df15
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2023-03-01 21:16:50 -08:00
Vandhiadevan Karunamoorthy
1a4b370d2e drivers: net: add MDIO clause 45 support
Change-Id: Iba47a99967bed745083097a11a767062b26d21e3
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2023-03-01 20:59:50 -08:00
Vandhiadevan Karunamoorthy
0012c3f879 drivers: net: add ipq bit bang support
Change-Id: I65272bf187c11ca72425f9a29d1f29d62e139436
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2023-03-01 20:58:57 -08:00
Linux Build Service Account
4ab7918f90 Merge "drivers: net: ipq5332: enable active port support" 2023-03-01 02:58:47 -08:00
Vandhiadevan Karunamoorthy
27112d3edc drivers: net: ipq5332: enable active port support
Change-Id: I0b8dcbd0386d89d4c4a2e7f525051a11c2423cdd
Signed-off-by: Gurumoorthy Santhakumar <quic_gsanthak@quicinc.com>
2023-02-27 19:09:50 -08:00
Praveenkumar I
4a2716fc06 pci: ipq9574: Fix PCIe single lane PHY configuration
Change-Id: Ie4f6f92a1cdb91b4cd97ec6ff1a80cef5780f162
Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>
2023-02-27 22:59:45 +05:30
Amandeep Singh
19be16d2f7 pci: Add environment varibale to skip pci enumeration
Add skip_pci_mask environment variable to skip pci enumeration
based on the bitmask. Also, removing the pci3 dts entry from
the RDP437 & RDP461 to skip pci3 enumeration.

Example - setenv skip_pci_mask 0xc
The above command will skip pci enumeration of bus 2 & 3.

Change-Id: Iff50acca07ffc026bed84a0d2372e6de0a3ba3a9
Signed-off-by: Amandeep Singh <quic_amansing@quicinc.com>
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2023-01-27 12:42:32 +05:30
Praveenkumar I
9006866f9f pci: ipq9574: Update QCN9224 fuse read
Added JTAG ID, Serial number and Part type read.

Change-Id: Ia03724116230a157fc33406a97c641e3b5750d6a
Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>
2023-01-23 16:46:52 +05:30
Vandhiadevan Karunamoorthy
6d133d5019 net: ipq5332: update sgmii+ mode for bypass port
This change configure sgmii+ mode if linkup at 2.5Gbps
speed.

Change-Id: I6570c9ee34cfb4d5d9208766135d429795beebaf
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2023-01-11 22:32:47 +05:30
Vandhiadevan Karunamoorthy
50eabad97b ipq5332: net: qca8337: skip vlan configuration
Change-Id: I56c53b5b6370a3374089bfe997634936f9b4b277
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2023-01-06 02:12:46 -08:00
Vandhiadevan Karunamoorthy
9f006f0905 board: ipq5332: Enable MI03.1 ethernet
Change-Id: Iaa9320daabfc290b7bf02b8ce303d0ff34a11407
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2023-01-04 09:30:15 +05:30
Gurumoorthy Santhakumar
1ee172f386 board & drivers: ipq5332: Improved TFTP performance
modified TDM registers and
added reset for following
 NSS_CC_PPE_BCR
 GCC_UNIPHY0_BCR
 GCC_UNIPHY1_BCR

Change-Id: I5fb8c6dfc4f54346f9e12251dfe3028327d43e3b
Signed-off-by: Gurumoorthy Santhakumar <quic_gsanthak@quicinc.com>
2022-12-20 01:13:22 -08:00
Gurumoorthy Santhakumar
0f241074bd driver: nand: fix the block size of GD5F1GQ5REYIG
It has the capacity of 1Gbit, i.e., 128MB, so
the number of blocks has been updated to 1024.
1Gbits = 128MB = 2048(page) * 64 (pages per block) * 1024 (blocks)

Change-Id: I552776e4e151d16782db915c3ebae874c5c02696
Signed-off-by: Gurumoorthy Santhakumar <quic_gsanthak@quicinc.com>
2022-12-14 21:40:26 -08:00
Ram Kumar D
7f4a4f32de driver: net: qca8084: added new kconfig for by-pass mode
Added new config called CONFIG_QCA8084_BYPASS_MODE and moved
all the qca8084 by-pass mode related code under it.

Change-Id: I4157960989cd67576803d494594869265fc81745
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-12-05 20:53:52 -08:00