Commit graph

8920 commits

Author SHA1 Message Date
Linux Build Service Account
b7e5f67e98 Merge "dts: ipq50xx: Update spi-nor gpio DRV_STRENGTH." 2020-10-24 01:06:06 -07:00
Vandhiadevan Karunamoorthy
3fc5e5d54d dts: ipq50xx: Update spi-nor gpio DRV_STRENGTH.
This changes reduce spi-nor drv_strength from 8mA to 2mA.

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: Ib21e8229fff3ce81f5da29edfb978cbe1fdc833b
2020-10-23 13:56:09 +05:30
Vandhiadevan Karunamoorthy
7fff6b863d ipq5018: update ethernet initialization sequence
This change make the qca_8337 switch initialization generic based on
dts irrespective of gmac controller.

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I292992307ead2cd7bbb0763ff483dc16c266d417
2020-10-22 12:13:32 +05:30
Vandhiadevan Karunamoorthy
1affd87bb6 dts: ipq5018: modify MP03.6 to MP03.6-C1
This changes update mp03.6 config name.

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I16b68bae3939848102c52152604e2a25807683cf
2020-10-06 15:40:24 +05:30
Vandhiadevan Karunamoorthy
2f134cac29 dts: ipq5018: Add MP03.6 RDP
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: Id0e7cffd0d996cf9629f2aa3e10ec7ed579cb62e
2020-10-01 13:45:54 +05:30
Karthick Shanmugham
7635ecacd3 ipq50xx: Added support for compressed dtb in u-boot
Signed-off-by: Karthick Shanmugham <kartshan@codeaurora.org>
Change-Id: If56b282b02cf621fa220d7f8cc6f2ddfe85bb212
2020-09-16 00:01:29 -07:00
Linux Build Service Account
397b6fab69 Merge "config: ipq5018: Add tiny_debug config" 2020-09-14 09:06:03 -07:00
Vandhiadevan Karunamoorthy
1189dd5c9d ipq5018: Add argument for size in fuseipq
This changes add additional argument for binary size
information in fuseipq.

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I9ea5e3104a750377b7999a5e0475739b107b0204
2020-09-11 16:42:52 +05:30
Karthick Shanmugham
434cc613fc ipq: Added nand bad block skipping to dump_to_flash feature
This change will skip the bad blocks offsets, if any while writing
into the nand flash duirng crash when dump_to_flash enabled. This
change also verifies whether the dump data is not overwritten into
the next partition.

Signed-off-by: Karthick Shanmugham <kartshan@codeaurora.org>
Change-Id: I0eec4c772a5f5efb3c17bfd1fd3d3d9a5ff85d1d
2020-09-11 12:49:29 +05:30
Vandhiadevan Karunamoorthy
089da6a643 dts: ipq5018: update gephy led gpio pin
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: Ic44ca15091cb6ee44bec2e65ac765b475174d6f3
2020-08-13 23:26:43 -07:00
Vandhiadevan Karunamoorthy
81ba78ca06 mtd: ipq5018: remove CONFIG_CMD_NAND from tiny nor
This changes add CONFIG_CMD_NAND flags in flash command and smem
source file to eliminate nand specific source if CONFIG_CMD_NAND
is not defined.

This changes replace CONFIG_IPQ_MTD_NOR with CONFIG_MTD_DEVICE flag

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I612ae89c3730dc86f2693088fb4cb5c10763165d
2020-08-12 00:04:52 -07:00
Linux Build Service Account
ace1d279a1 Merge "env: Export soc_hw_version to environment variable" 2020-08-07 09:35:39 -07:00
Karthick Jeyaraman
a6ca8dd013 IPQ807x: Implement SCM interface for AES 256
Encryptio/Decryption

	- For encryption/decryption, plain data/
	  encrypted date has to be written to memory
	  directly using mw command along with
	  ivadata, type and mode
	- Implemented new uboot command "aes_256"
	  to receive the memory address where the
	  above data is written to
	- Perfom basic sanity check against the data
	  received and send them to secure world through
	  scm calls
	- This is supported only for HK/CYP, hence not
	  implemented for TZ running in 32bit mode

Change-Id: I589a15025cd248cf5792f13ea435c5c5b64c6066
Signed-off-by: Karthick Jeyaraman <kjeyaram@codeaurora.org>
2020-08-05 06:48:06 -07:00
Gokul Sriram Palanisamy
bae298d521 env: Export soc_hw_version to environment variable
soc_hw_version can used to prevent cross-platform
flashing of single images to prevent board
from getting bricked.

Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Change-Id: I579489498c8cbbc944b54e3050a319d1e11cb825
2020-08-04 14:21:10 +05:30
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