Sasirekaa Madhesu
88cbba86db
ipq40xx: Add Cache support for ethernet
...
Change-Id: Iea6b03467640c138163bbb12c4478049c47c67bc
Signed-off-by: Sasirekaa Madhesu <smadhesu@codeaurora.org>
2018-04-20 11:12:42 +05:30
Rajkumar Ayyasamy
5364cd9d80
ipq40xx: Added support for DK04-C6 board
...
Change-Id: Ic9f451c30f4991df8013ae3191ad4384aed6f730
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2018-04-10 12:19:53 +05:30
Sham Muthayyan
3d59ead98a
ipq807x: Fix KW issues for edma and pci
...
Change-Id: I46d870b14810b33d500cdba6e8a238f95fc05208
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2018-03-22 03:04:49 -07:00
Rajkumar Ayyasamy
cddf515afc
ipq806x: fixed the fdt_path_offset return value check
...
fdt_path_offset function will return zero or positive
value for success case.So fixed the return value check
accordingly.
Change-Id: Iafacdaf7c12cecdb882f3795f6145730efe938a6
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2018-03-15 11:35:24 +05:30
Linux Build Service Account
1aba896bf0
Merge "qca: Fix KW variable initialization issue"
2018-03-08 10:07:16 -08:00
Linux Build Service Account
ed7b3de7eb
Merge "ipq40xx: Replace strcpy with strlcpy"
2018-03-08 08:06:02 -08:00
Pavithra Palanisamy
79fd2cc72c
qca: Fix KW variable initialization issue
...
Change-Id: I90363e8da0f1f3cf89e0e9635707a9b2fd555770
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
2018-03-08 06:06:26 -08:00
Sasirekaa Madhesu
b3394e6891
ipq40xx: Replace strcpy with strlcpy
...
Change-Id: I0b1a6d66e7fa99f62dbd1d08602026fbb128694a
Signed-off-by: Sasirekaa Madhesu <smadhesu@codeaurora.org>
2018-03-02 16:30:40 +05:30
Kathiravan T
ea17792263
ipq806x: Fix the 8033 mii init
...
This change is ported based on commit b83c56c4d4
Change-Id: Ia4cdf26368d238ea3fcdb808f1446f010408a78c
Signed-off-by: Kathiravan T <kathirav@codeaurora.org>
2018-03-01 08:13:41 -08:00
Linux Build Service Account
3174e97d20
Merge "ipq40xx: Replace sprintf with snprintf"
2018-02-27 23:40:26 -08:00
Linux Build Service Account
eaf20104f1
Merge "ipq40xx: Enabled Ethernet initialization for DK07-C2 board"
2018-02-27 23:40:22 -08:00
Liu Zhongjian
6a4904ef88
drivers: phy: support AQR111B0 chip.
...
Change-Id: I238e5263ff9e194f958fd6ef217c26654513216e
Signed-off-by: Liu Zhongjian <zhongjia@codeaurora.org>
2018-02-27 04:08:03 -08:00
Sasirekaa Madhesu
75d4a7a9c2
ipq40xx: Enabled Ethernet initialization for DK07-C2 board
...
Change-Id: I9aec449ce94e99a2d641fc6adb6c1bb09cf0d6e6
Signed-off-by: Sasirekaa Madhesu <smadhesu@codeaurora.org>
2018-02-22 21:05:54 -08:00
Linux Build Service Account
2c3843028a
Merge "ipq40xx: Add ethernet support for DK07-C3 board."
2018-02-21 06:01:13 -08:00
Sasirekaa Madhesu
612713b37f
ipq40xx: Add ethernet support for DK07-C3 board.
...
This patch enables ethernet initialization in
DK07-C3 board.
Change-Id: I70bf4dd2917b0fc02f937b236e68ebcb6b1c423c
Signed-off-by: Sasirekaa Madhesu <smadhesu@codeaurora.org>
2018-02-19 12:02:27 +05:30
Sham Muthayyan
7d7aa70559
ipq807x: Add Cache support for ethernet
...
Change-Id: I58bf5e992175e73635f35b2b4bcbb44b501bd799
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2018-02-19 11:19:09 +05:30
Sasirekaa Madhesu
c5ffa908c0
ipq40xx: Replace sprintf with snprintf
...
Change-Id: I2f1d31901ce4c4b15dad9e25265597518d4b4122
Signed-off-by: Sasirekaa Madhesu <smadhesu@codeaurora.org>
2018-02-08 12:40:04 +05:30
Sham Muthayyan
be6400b9d7
ipq807x: Add ipq_mdio commands
...
This command helps to debug the phy issues.
Change-Id: If8354d6826795d9ef9d44112582d3b911963bda5
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2018-01-16 21:32:50 +05:30
Sham Muthayyan
91b49b6910
ipq807x: Enable the PPE tx_mac only if the phy link is up
...
Enable the PPE tx_mac only if the phy link is up else disble
the PPE tx_mac.
Change-Id: I7226a104fa287f8378b98923a00d0caa3f91079d
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-12-19 22:56:58 -08:00
Sham Muthayyan
a1aa6395b0
ipq807x: Added the 8033 port for uniphy instance 0
...
Change-Id: I34005349d1dbb74246dbf812f6dbe1ff9024a827
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-12-17 21:39:13 -08:00
Sham Muthayyan
102d8097d4
ipq807x: Fixed 8033 clocks to improve performance
...
Change-Id: I53d658b4ab47ba26117f10f7dd34f95cb9cd0cf5
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-12-17 21:39:00 -08:00
Sham Muthayyan
62ab0ec6a6
ipq807x: Issue sf command to read the AQ FW if the partiton is in nor boot
...
using nand command will change the default nand device to 1. This will
try to read the nor patitions so one if user tries to read the nand partitions.
Change-Id: Id73e89f479b5735fd5b28a871680190f48a76f0e
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-12-05 19:10:01 +05:30
Sham Muthayyan
e4217213f7
ipq807x: Add QSGMII mode support
...
Change-Id: Ic952513f482590a66341d88606ad7da5d2c405a7
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-11-29 17:00:24 +05:30
Sham Muthayyan
2ffbbe3dd2
ipq807x: Support Aquantia AQR112 PHY ID
...
Change-Id: I9e6a82345bfcf527311e1aef92cfa406a8a173a3
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-11-27 10:58:08 +05:30
Sham Muthayyan
f3af149d5f
ipq807x: SGMII mode settings for all the channels
...
SGMII channel 0 is used for uniphy instance 1 and 2,
so set the SG_MODE for uniphy instance 1 and 2. Channel 0,1
and 4 are used for instance 0. So set CH1_CH0_SGMII and
CH4_CH1_0_SGMII for channel 1 and 4 respectively.
Change-Id: Ie6f0afa6419a9895f730c89fa27fb80b122acf73
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-11-08 02:41:01 -08:00
Sham Muthayyan
2035a079c5
ipq807x: Download firmware only if board has AQ PHY
...
Change-Id: I4c375367137ffdc3de00fd26882835e47eca86c5
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-11-01 06:01:14 -07:00
Sham Muthayyan
0ed8d4aa87
ipq807x: Fixed port mac for qsgmii mode
...
Change-Id: I190eb0e11ba17724b5bd6fa7ccf85c5dad9afb09
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-10-24 08:33:31 -07:00
Saravanan Jaganathan
6f9aa43a88
ipq807x : Added support for AQR111
...
Change-Id: I06ccac361c71d6bd9868fc4c3230c13088123e1f
Signed-off-by: Saravanan Jaganathan <sjaganat@codeaurora.org>
2017-10-21 07:04:36 -07:00
Ramesh Muthusamy
040da09949
IPQ807x: AQ Phy Fw download from flash
...
Change-Id: I55ecb7ab61476c497ae565597396556e4f074e8e
Signed-off-by: Ramesh Muthusamy <rmuthusa@codeaurora.org>
Signed-off-by: Saravanan Jaganathan <sjaganat@codeaurora.org>
2017-10-13 10:50:23 -07:00
Sham Muthayyan
e216c7f3ab
ipq807x: Added the support for aquantia firmware download
...
Change-Id: Iebef6426e6ffdef7e3c5fb8c6a04c2c6f494a664
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-10-12 04:46:10 -07:00
Gokul Sriram Palanisamy
0f0ae124bb
ARM: QCA: Fast MDIO support for Aquantia port
...
MDIO clock divider is set to 0x7 (counts to 8)
to produce 12.5MHz (100MHz/8) MDC frequency.
Change-Id: Ic7969aebf9fcbb14601ba8e56563959ab0b25657
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-10-12 04:45:52 -07:00
Sham Muthayyan
a5b2a4c4cb
ipq807x: Padding minimum packets before send to EDMA
...
The EDMA HW is unable to process packets less than MIN_PKT_SIZE(33) bytes,
then the EDMA stalls. This is to pad the packets up to MIN_PKT_SIZE.
Change-Id: I473831a759ad6a764fefa095cf7ab347ba95ee97
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-09-20 11:50:22 +05:30
Sham Muthayyan
b89040defa
ipq807x: Added the USXMII speed and clock
...
Change-Id: Ieb3e01eef27807091e0a1670d6b7c25334bed396
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-09-13 23:24:38 -07:00
Sham Muthayyan
92f52b796e
ipq807x: Aquantia phy init support
...
Change-Id: I0f714e0862c8002aa49497af0b65e5d5e61a8b64
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-09-13 23:24:33 -07:00
Sham Muthayyan
f08292a724
ipq807x: Added the UXSGMII mode support
...
Change-Id: I69363bd2c8f2fcaf5a41f63b7d509799353ac686
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-09-13 23:24:26 -07:00
Sham Muthayyan
546ffbe6c8
ipq807x: Added the Aquantia phy support
...
Change-Id: I4c61cd57cf02a97b6410ac4488e2dbe6e6a3cfd3
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-09-13 23:24:20 -07:00
Sham Muthayyan
643f0acddf
ipq807x: Enabled the 8033 phy support for DB-HK02
...
Change-Id: Ifa9fcb7ee3f9263e97d81dd8ea984a2c9923af2a
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-09-13 23:24:00 -07:00
Sham Muthayyan
a3abb0f382
ipq807x: Add the 8033 phy support
...
Change-Id: If834f2ec2424a05c7ec2b6b26224a1d753551af8
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-09-13 23:23:49 -07:00
Sham Muthayyan
6a012e63d6
ipq807x: Add the multiple phy support
...
Change-Id: I8d22e267ccad0f8f14532e46f379e45faf32bad5
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-09-13 23:23:44 -07:00
Sham Muthayyan
11d70f9af5
ipq: Fix the 8033 phy driver
...
Change-Id: I99462cf2cfe820bb2b59b186dd9c13317c780670
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-09-13 23:23:37 -07:00
Sham Muthayyan
37be3e378e
ipq: Move qca8033 phy driver into common
...
ipq40xx, ipq807x hardware share the qca8033 phy. So the qca8033 phy
driver has been moved to common directory for use by both the
hardware.
Change-Id: Ic972f00770c9e3cbaf4d727df21f19cd926ddce2
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-09-13 23:23:29 -07:00
Sham Muthayyan
856945d0de
ipq807x: Add the PPE interface mode support
...
This patch added the uniphy interface mode and port mux select
for PSGMII and SGMII.
Change-Id: I26f18a855b9972a358583d706d3f8a8bf09401cc
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-09-13 23:23:19 -07:00
Gokul Sriram Palanisamy
bc7a78c941
ipq807x: Fix various KW warnings in drivers
...
Change-Id: I7c5c61beeeb00cb9266464a7a084e105a224357d
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-09-07 04:17:21 -07:00
Ramesh Muthusamy
0afdc8209b
ipq807x : Enabling MDIO C45 and Uniphy3 support
...
Change-Id: I9236aa2861a004a030e7e88403302d5e09949ad7
Signed-off-by: Ramesh Muthusamy <rmuthusa@codeaurora.org>
2017-08-22 15:00:18 +05:30
xiaofeis
4077f42d0a
uboot: make port 5 work on 1000Mhz speed
...
Change-Id: Ic7e2724ae2ce08895c779ed166fca2a9a0dd6868
Signed-off-by: xiaofeis <xiaofeis@codeaurora.org>
2017-07-31 00:28:35 -07:00
Sham Muthayyan
380e06a648
ipq807x: Set the NSS ports clock and MAC speed dynamically
...
Change-Id: If4cbff1a939fb165b2aef04d81e93b531789c8ed
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-07-24 07:52:00 -07:00
Jaiganesh Narayanan
c4a6f7d62f
ipq807x: enable ethernet address assignment from ART partition
...
Change-Id: I37541ff581f677d5a6c04adedb68bb0e2416b4ac
Signed-off-by: Jaiganesh Narayanan <njaigane@codeaurora.org>
2017-06-01 06:16:04 -07:00
Jaiganesh Narayanan
6fe9db26ac
ipq807x: enable net, qca8075 phy reset and link detection code
...
Change-Id: I978f5a16da7ecf56f006e0e7757a52c7d31b22cf
Signed-off-by: Jaiganesh Narayanan <njaigane@codeaurora.org>
2017-05-29 20:15:48 -07:00
Jaiganesh Narayanan
428fc1d379
ipq: move qca8075 mdio, phy driver into common directory
...
ipq40xx, ipq807x hardware share the qca8075 phy. So the qca8075 phy
mdio, driver has been moved to common directory for use by both the
hardware.
Change-Id: Id6e9342438ffbdf8599860df6fbb39bba30429b3
Signed-off-by: Jaiganesh Narayanan <njaigane@codeaurora.org>
2017-05-29 08:02:40 -07:00
Aditya Kumar Patra S
335c21b1a2
ipq807x: Added ethernet support
...
Added the ipq807x ethernet edma, ppe driver support
Change-Id: Ibcac04d8a60c1ca74549834b70735a6f15b58358
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2017-02-09 10:25:56 +05:30