Commit graph

8932 commits

Author SHA1 Message Date
Md Sadre Alam
680ffebba6 arm: dts: ipq5018: Update blsp base address for i2c.
This change will update blsp base address for i2c in
MP03.3rdp. Updated address from 78b6000 to 78b7000.

Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: Idd37550ac4cf012db0dfea16539d5c0948b13f40
2021-01-11 23:14:08 -08:00
Rajkumar Ayyasamy
2343ff363f ipq5018: Add BT beaconing support
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
Change-Id: Ibe8dc716d0f4bafbbf1ec7f3b776bb4a6f891f45
2020-11-25 12:49:07 +05:30
Linux Build Service Account
2e249ffd6b Merge "ipq5018: dts: Update TB-MP04 device tree" 2020-11-20 14:08:03 -08:00
Pavithra Palanisamy
cb7d4f966d ipq5018: dts: Update TB-MP04 device tree
TB-MP04 baord is based on MP03.3 RDP.

Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
Change-Id: I06ee9973bc7db73e49174cc820c5d2385e1ca943
2020-11-19 20:28:51 +05:30
Pavithra Palanisamy
007a5446e8 ipq5018: dts: Update MP03.4 device tree
MP03.4-C1 and MP03.4-C2 RDPs are based on MP03.3 and
MP03.3-C2 respectively.

Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
Change-Id: I016eb422f3628e1a7733d71754613b2fa51245f1
2020-11-19 20:23:21 +05:30
Pavithra Palanisamy
d6dd5e226b ipq5018: dts: Add support for TB-MP04 RDP
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
Change-Id: I8e048ecfea8c1b32db382b663a6ca54198b31607
2020-11-18 00:04:36 -08:00
Pavithra Palanisamy
63891397f5 ipq5018: dts: Add support for MP03.4-C1/C2 RDPs
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
Change-Id: Iee9d3663a0232a40e6791dc925a5d0a4805155c5
2020-11-18 00:03:30 -08:00
Vandhiadevan Karunamoorthy
9f5a786d58 dts: ipq50xx: Add MP03.1-C3 RDP
This RDP is the combination of MP03.1 + NAPA.
This RDP support Nor & nand flash.

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: Ia39cdf8ae21ad9800ee1c00c7af44c9bc1af03dc
2020-11-05 22:19:27 -08:00
Vandhiadevan Karunamoorthy
c33fb86ed0 dts: ipq50xx: Enable MP03.5 RDP build
This changes add Machid , USB Power gpio and enable build support.

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I99e2da23f54da4d5e4edc9312f08340b88f7c59a
2020-11-04 11:53:11 +05:30
Vandhiadevan Karunamoorthy
e3ccad69cf dts: ipq5018: Add MP03.5 RDP
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: Ica56c52ee16051b0b9d13bbb68c5cd90e27e7cb3
2020-11-04 11:48:25 +05:30
Linux Build Service Account
ea3e33a8e2 Merge "ipq5018: Add pull up gpio for usb pwr in MP03 RDP" 2020-10-29 08:06:42 -07:00
Vandhiadevan Karunamoorthy
0ee364d5ed ipq5018: Add pull up gpio for usb pwr in MP03 RDP
This changes enable pull up to drive 5V to usb
in MP03 RDP

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I43c2098c75f23a38bab221773c1dcce7c754cf39
2020-10-24 20:49:06 +05:30
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