Commit graph

8906 commits

Author SHA1 Message Date
Gokul Sriram Palanisamy
d30e27b42d dts: Enable dts support for DB-HK02
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Change-Id: Iea51ec57cb43fd4f19fbe370865779cfff6f6190
2020-07-24 09:52:13 +05:30
Vandhiadevan Karunamoorthy
cec29b5195 ipq5018: Add 8033 phy support in MP02.1 RDP
This changes add 8033 phy support in MP02.1(Ap & Db) RDP
in tiny nor flash

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: Ib35faba4321c70fed007c923ff0f5e618fad0276
2020-07-20 14:51:05 +05:30
Md Sadre Alam
6639bc0828 driver: i2c: Enable I2C support for ipq5018
Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: I9da4833a6aefc132092b88b4610f57dd3568ee5a
2020-07-16 18:53:41 +05:30
Vandhiadevan Karunamoorthy
d15814b9f3 ipq5018: remove phy_name from dts
This changes remove the phy_name from all mpXX dts and
handle by driver itself.

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: Ia2d0379151db0c68a0b28f5062e83f80579d37c1
2020-07-04 15:47:56 +05:30
Vandhiadevan Karunamoorthy
4ee702eff9 ipq5018: Add Napa phy support in mp03.3 RDP
This changes removes NAPA support from tiny U-boot config

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I057064d63a3ac0788275a4572242cc251a445a98
2020-07-04 14:52:02 +05:30
Linux Build Service Account
52bc8f5c05 Merge "ipq5018: Fix S17C auto-negotiation issue" 2020-07-02 01:44:19 -07:00
Vandhiadevan Karunamoorthy
c4d26ee69d ipq5018: remove confi@1 from mp02.1 board dts
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I11585dbb06c9c0a613396ff6b142f646492d795a
2020-06-29 18:29:50 +05:30
Vandhiadevan Karunamoorthy
82c05e91fa ipq5018: Fix S17C auto-negotiation issue
This changes enable s17c link upto 1Gbps speed.

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I78e3efbbfd1bad58ab2abcba87c06cb9d4ffcd18
2020-06-26 15:54:19 +05:30
Linux Build Service Account
32a2c5eab7 Merge "ipq5018: Update pcie phy initialization" 2020-06-24 13:39:59 -07:00
Linux Build Service Account
0d23afea12 Merge "ipq5018: Add mp03.1 support in tiny U-boot" 2020-06-24 07:12:41 -07:00
Vandhiadevan Karunamoorthy
65b179ddc4 ipq5018: Update pcie phy initialization
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: Ia5228bffd2b663e463542f2c96012329eefb1833
2020-06-24 18:22:34 +05:30
Linux Build Service Account
d88954e3a0 Merge "ipq5018: db-mp03.1: dts: Add ssphy in usb node" 2020-06-22 10:39:24 -07:00
Vandhiadevan Karunamoorthy
09f2298093 ipq5018: Add mp03.1 support in tiny U-boot
This changes add mp03.1(Ap & Db) support in tiny u-boot
for 16MB profile

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: If27bcb8f760c2e648b70811576fc62c4a44f249b
2020-06-22 14:15:56 +05:30
Md Sadre Alam
07e59f4960 driver: nand: qpic_nand: Enable config for serial training.
This change will enable config for serial training.

This change also fix the the logic to get most appropriate phase
out of passed phase.

This change also add support to read serial training offset from
partition table. Also patching freqency value & phase value to kernel.

Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: Ibb4a5cd80f16605e8e91bdf6a0c6c484edff1735
2020-06-21 22:22:13 -07:00
Manikanta Mylavarapu
984dfd4898 ipq5018: db-mp03.1: dts: Add ssphy in usb node
This patch will configure ssphy sequence.

Signed-off-by: Manikanta Mylavarapu <mmanikan@codeaurora.org>
Change-Id: I3fbc22f198daec2fbb691d89d8b12510dabe0dfa
2020-06-22 09:33:16 +05:30
Linux Build Service Account
701523e0ae Merge "ipq807x: Added golden PINE RDP support" 2020-06-17 17:39:16 -07:00
Linux Build Service Account
5cf33b2f00 Merge "ipq807x: Removed identical device-trees AC02 and OAK03" 2020-06-17 06:41:50 -07:00
Linux Build Service Account
13d12c4ea1 Merge "dts: ipq5018: Update config_name in mp02.1" 2020-06-17 06:41:50 -07:00
Gokul Sriram Palanisamy
e9aae6d127 ipq807x: Added golden PINE RDP support
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Change-Id: If910fe9f6f221b39833156d0226435785173fbc8
2020-06-17 17:46:44 +05:30
Linux Build Service Account
c02fa92142 Merge "arm: dts: ipq5018: Update gpio config for MP02.1." 2020-06-15 13:08:12 -07:00
Gokul Sriram Palanisamy
f2b16c5a1e ipq807x: Removed identical device-trees AC02 and OAK03
Removed identical device-tree to reuse original dts.

Affected boards: AC02 and OAK03
OAK03 to reuse HK01 dts and AC02 to reuse AC01 dts

Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Change-Id: I5a70514370f394b15e68d5819cf8d1b52da14f3f
2020-06-15 22:05:58 +05:30
Sham Muthayyan
eb5312c9d4 ipq807x: Fix SFP port for HK10
Change-Id: Idca83bd96b6cd4cdcad45d15046805d251e7ea0d
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2020-06-15 00:40:44 -07:00
Sham Muthayyan
ab206ea9f0 ipq807x: Fix AQ port for HK14
Change-Id: I3cc1e3b3ec1e9829e99485fc2e2b3c4eaf492d26
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2020-06-15 00:40:26 -07:00
Vandhiadevan Karunamoorthy
f4aa5901cf arm: dts: ipq5018: Update gpio config for MP02.1.
This change include setting Gpio 20 & 21 to default 0xC1
value in order to make gpio 28 & 29 works as uart in mp02.1 rdp

Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: I5fd482669c8429f930677f6eb9f1fdc191c7b2a6
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2020-06-14 03:36:25 -07:00
Manikanta Mylavarapu
5c90c31be3 ipq5018: Fix usb3 configuration
This patch will update usb3 configurtaion
based on ssphy availability.

Since usb3 ssphy shared with pcie phy,
certain configuration need to be done based
on ssphy availability.

Signed-off-by: Manikanta Mylavarapu <mmanikan@codeaurora.org>
Change-Id: I474a6ea269e7778738ca9464dae510bb58e8bcea
2020-06-13 01:50:58 -07:00
Linux Build Service Account
6d46daaae2 Merge "ipq5018: Enable run command support" 2020-06-12 15:10:04 -07:00
Vandhiadevan Karunamoorthy
63eda2998d dts: ipq5018: Update config_name in mp02.1
This changes support config based single itb to load kernel

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I163d1788e2875fa8f4dcacb3c1c241535c8658b9
2020-06-12 01:05:48 -07:00
Gokul Sriram Palanisamy
c8365407da ipq807x:Add support to avoid identical device-tree
We had identical device-tree for different RDPs
though they are the same except for machid.

This change enables reuse of a single device-tree
across RDPs with same configurations.

Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Change-Id: If81b431e4a6afe54e427fe0a52de275fdd29df00
2020-06-10 20:49:54 -07:00
Linux Build Service Account
7a4fd1204d Merge "ipq807x: Removed HK05 dts files from u-boot" 2020-06-08 23:57:12 -07:00
Manikanta Mylavarapu
e85ae5f50d ipq5018: mp03.1: dts: Fix pci0 node
Disable pci0 node based on board features.

Signed-off-by: Manikanta Mylavarapu <mmanikan@codeaurora.org>
Change-Id: Ib39106f958ba9d2512d512941f8bb3990a29b8a6
2020-06-04 22:06:22 +05:30
Md Sadre Alam
bcb83aa168 arm: dts: ipq5018: Modify gpio pull value for eMMC CMD line.
This change will modify PULL value for eMMC CMD line.
with this change the pull value will be GPIO_PULL_UP.

Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: Id884ef4742dca5f2f30c699aa2ab48c0d3c7cc97
2020-06-04 22:06:22 +05:30
Vandhiadevan Karunamoorthy
ef78642323 ipq5018: Add support for Gephy
This Gephy is internal phy driver for ethernet

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: Ia4e744c0fbd990bdc94fe93263ac2ddbe4cecf61
2020-06-04 22:06:22 +05:30
Vandhiadevan Karunamoorthy
6150247ce2 ipq5018: Add S17C support
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I657699e24b732e344ed7c109ec259c9144ace342
2020-06-04 22:06:22 +05:30
Vandhiadevan Karunamoorthy
c725f1c3c4 ipq5018: Add mp03.1 dts & remove sod dts.
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I89f986a0d1dfb8080f21cc7e9f60a22d87c66afc
2020-06-04 22:06:22 +05:30
Vandhiadevan Karunamoorthy
d42f5e0c52 ipq5018: Add support S17C switch support
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: Ia3877ba97bc9cbe3b853c6f72ce6e5970395b43f
2020-06-04 22:06:21 +05:30
Md Sadre Alam
cd1b381f34 arm: dts: ipq5018: Add qspi_clk gpio pin configuration.
This change adds qspi_clk gpio configuration.

Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: Iab59a35e919bb069531851ce441880dee61c2005
2020-06-04 22:06:14 +05:30
Vandhiadevan Karunamoorthy
7ed2145eb2 arm: dts: Add mp02.1(ap & db) support for tiny nor
This changes remove emulation dts and add mp02.1 dts support in
Makefile for tiny-nor build

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I99d28415442b4079d4e67e586b794b88aba403a2
2020-06-04 08:26:54 -07:00
Linux Build Service Account
c2205e8cb1 Merge "Revert "u-boot: Remove soft-float compile flag"" 2020-05-26 16:25:44 -07:00
Linux Build Service Account
89358ce633 Merge "arm: Add a 64-bit division routine to the private library" 2020-05-26 16:25:44 -07:00
Karthick Shanmugham
229d01047a ipq807x: Removed HK05 dts files from u-boot
Remove support for hk05 since it is
marked as obsolete in default setting table

Signed-off-by: Karthick Shanmugham <kartshan@codeaurora.org>
Change-Id: I972af09f912c1f613b462cf2559d8a645a0bb270
2020-05-26 20:34:30 +05:30
Balaji Prakash J
da53aec0e4 Revert "u-boot: Remove soft-float compile flag"
This reverts commit 5edb59ceb2.

Signed-off-by: Balaji Prakash J <bjagadee@codeaurora.org>
Change-Id: Ib544d1301ad8cd15d6ecc73318e77e04b79fec7d
2020-05-26 13:52:29 +05:30
Simon Glass
3e712e8988 arm: Add a 64-bit division routine to the private library
This is missing, with causes lldiv() to fail on boards with use the private
libgcc. Add the missing routine.

Code is available for using the CLZ instruction but it is not enabled at
present.

This comes from coreboot version 4.0.

Signed-off-by: Simon Glass <sjg@chromium.org>
(cherry picked from commit 9ab60493c9)
Signed-off-by: Balaji Prakash J <bjagadee@codeaurora.org>

Change-Id: Id1d604819be2a98e1cc1ea306902a86323135679
2020-05-26 13:29:19 +05:30
Balaji Prakash J
66f6a50e58 arm: ipq806x: CP15BEN need not be enabled for IPQ806x
This config need not be defined for IPQ806x. U-boot in
IPQ806x, can run without this CP15BEN setting.

Change-Id: I1b95e2a06f72dcc763a885f81b591d7d529dd446
Signed-off-by: Balaji Prakash J <bjagadee@codeaurora.org>
2020-05-22 14:29:41 +05:30
Linux Build Service Account
3f5714cc45 Merge "ipq5018: ethernet: update clock configuration" 2020-05-18 06:09:20 -07:00
Vandhiadevan Karunamoorthy
699e92652f ipq5018: ethernet: update clock configuration
This changes initialize clock and enable the block of
Gephy, Uniphy, GMAC0 & GMAC1 and also udpate Rx & Tx clock
based on speed.

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: Ia2627e17f7029c2d0d1cbb9eff26afb27aa1c057
2020-05-15 12:28:16 +05:30
Vandhiadevan Karunamoorthy
2b1d1fd4dd ipq5018: Fix sod dts
This changes remove soc dtsi header file and
add only uart and timer nodes.

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I87c1f7c87514e993fed7cd4ff14920309d5eb9b3
2020-05-15 10:31:20 +05:30
Linux Build Service Account
d095d98365 Merge "ipq5018: Update sod dts with mp03.1 dts info" 2020-05-14 08:39:36 -07:00
Linux Build Service Account
34bd7e8a76 Merge "ipq5018: Add support for BT-RAM dump collection" 2020-05-14 08:39:36 -07:00
Linux Build Service Account
953252e6cf Merge "ipq8074: include new config name of hk01 board" 2020-05-12 03:09:32 -07:00
Vandhiadevan Karunamoorthy
a6261ab6a4 ipq5018: Update sod dts with mp03.1 dts info
This change duplicate the mp03.1 dts with minimal node.

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I90a7eac51f022af0d66865cbe6b4df6bc57972a7
2020-05-12 12:37:20 +05:30