Commit graph

9378 commits

Author SHA1 Message Date
Linux Build Service Account
8e311f259f Merge "ipq6018: Enable PMIC reset during abnormal reset" 2019-05-02 12:04:56 -07:00
Antony Arun T
11329094c2 ipq6018: Enable PMIC reset during abnormal reset
Change-Id: I353f13f8b7ca286ad7c1bcd2d5c162e5592b2a86
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-04-30 02:17:42 -07:00
speriaka
f91df70bc5 u-boot: ipq6018: eth: Add mdio gpio config from DTS
Change-Id: I6d8288e2450415bb2a1616b0ecb63b2714ecfa47
Signed-off-by: speriaka <speriaka@codeaurora.org>
2019-04-29 22:56:06 -07:00
Antony Arun T
9efa8ffd84 ipq6018: read malibu reset gpio from dts
Change-Id: I62fbc11bf02532d73c96555aa8c29434274ec1a1
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-04-24 12:22:14 +05:30
Antony Arun T
47fdb7070f ipq6018: Enable memory dump collection during abnormal reset
Change-Id: I5196f33f6fd0053762bfaa5795158fc13a18641d
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-04-08 02:58:39 -07:00
Linux Build Service Account
f3c79f19c4 Merge "ip1807x:Initial commit for Minidump" 2019-04-03 08:47:07 -07:00
Venkat Raju Sana
2e7684f3f9 ip1807x:Initial commit for Minidump
Change-Id: If08d31ebb009d6b37ee55861644ab1f11a46ac98
Signed-off-by: Venkat Raju Sana <vrsana@codeaurora.org>
2019-03-29 12:47:06 -07:00
Antony Arun T
1d89a6f1da ipq6018: configuring SDHC1_AHB_CBCR clock
Change-Id: I818e5cc0da74240a78ffeb15a1765be4501f6756
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-03-26 12:41:54 +05:30
Sham Muthayyan
5159c61570 ipq807x: Add SFP TX reset
Change-Id: I0f01a9c2b1b749220853c91af8fc9297e5fa5e80
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2019-03-04 22:44:44 -08:00
Balaji Prakash J
a385a03ec3 ipq6018: usb: Update USB init and deinit functions
There is a change in reference clock(XO) frequency of
ipq6018(24MHz) from ipq807x(19.2MHz) platform.
So,  updated USB phy init sequence. Also, updated
clock init and usb deinit functions.

Change-Id: Ie48867d1c0740562e2c108ef3b2caa187fa95485
Signed-off-by: Balaji Prakash J <bjagadee@codeaurora.org>
2019-02-27 19:00:34 +05:30
Nikhil Prakash V
7f0fff151b ipq807x: Disable dump collection during warm reset.
This is to provide software framework to retain IMEM’s state
across warm reset. For warm reset crashdump collection should be
disabled.

In uboot we will check for the environment variable dload_warm_reset.The
crashdump magic is reset to 0x10 in SDI path, hence disable the SDI bit
in Uboot  if environment variable is set which will disable crashdump 
collection. 

Change-Id: Ic60b63ead03436689ee04d2e3e7ecdbb275ccfee
Signed-off-by: Nikhil Prakash V <nprakash@codeaurora.org>
2019-02-22 00:46:43 -08:00
Balaji Prakash J
c27270dc2e ipq6018: usb: Skip usb deinit in emulation
In emulation, during full boot chain, usb clocks are
disabled during usb deinit in uboot. In kernel,
we are using dummy clock driver for emulation.
In order for the usb clocks to be enabled while
kernel boot up, skipped usb deinit in uboot.

Change-Id: I47de9da5a6afbed524659e936eb8215e03a99ac0
Signed-off-by: Balaji Prakash J <bjagadee@codeaurora.org>
2019-02-20 08:39:18 +05:30
Antony Arun T
f5e48f3e59 ipq6018: Enabling Ethernet support
Change-Id: If49c5b86fb08bda0ab29d7663fa0f8fca9a9f5bb
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-02-15 18:55:16 +05:30
Md Sadre Alam
0164b14f3e ipq807x: Add fixed HW key support.
This change will add to support "qce_fixed_key" as
environmen variable. If "qce_fixed_key" environmen variable
set then "qce,use_fixed_hw_key" dts property set in kernel.

This property will use for fixed HW key selection.

Change-Id: I9b94d0a2b4e48dac92eccd95f42bedd8b990b723
Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
2019-02-13 17:07:25 +05:30
Nikhil Prakash V
18c7f6a7c9 ipq807x: Support for warm reset.
Added support for warm reset to retain IMEM state.

If dload_warm_reset environment variable is set, then dload_status and
dload_warm_reset dts entry in kernel will be set to 1. This will be used for
disabling crashdump and sdi and also to set crashdump magic to 0x20.

Change-Id: Ie8c32e9d619c910d0f12f93374ee45bc1c8379a0
Signed-off-by: Nikhil Prakash V <nprakash@codeaurora.org>
2019-02-12 18:46:02 +05:30
Gokul Sriram Palanisamy
9189ae97f1 ipq807x: Moved ethernet PHY configs
Moved Aquantia, QCA8033, QCA8075 and QCA8081
PHY configs to defconfig.

For tiny u-boot variant, except QCA8075 all
other PHYs are disabled.

Change-Id: Iaafa848bf7d578bfa3bcdaf0cfcb815ecfef067f
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2019-02-08 01:03:04 -08:00
Gokul Sriram Palanisamy
f7b08a8210 ipq807x: Moved Peripheral configs to defconfig
Moved PCI, USB and I2C configs to defconfig and
disabled for tiny variant to reduce image size.

Change-Id: I8dfdd75057527779e7af246bea796a22d50575fc
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2019-02-07 20:47:40 +05:30
Antony Arun T
c7dac12ed5 ipq6018: Remove SDCC_MCI_POWER register write
As ipq6018 is not supporting MCI mode, removing MCI register write.

Change-Id: I330cd20b5b967992e86969ab6005a81e48e62506
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-02-04 17:58:01 +05:30
Antony Arun T
871caf2276 ipq6018: Support for new smem version
Change-Id: I2e847eface6d5604ff30ce245e767b8a9d923500
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-01-30 19:38:01 +05:30
sameeruddin shaik
8338952d77 ipq807x: Fix compiler warnings in u-boot
Change-Id: Icd0c082fcc5d191745e4e4242dda5a7f3b22c4f0
Signed-off-by: sameeruddin shaik <samesh@codeaurora.org>
2019-01-22 12:57:57 +05:30
Linux Build Service Account
95ad2c8c6d Merge "ipq6018: enable reset support" 2018-12-23 20:47:42 -08:00
Antony Arun T
13cbfa1606 ipq6018: enable reset support
Change-Id: I617c1373dda9c3c384f29d5c0f8b089a42e332a1
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-12-20 15:14:09 +05:30
Rajkumar Ayyasamy
929e19e29e ipq6018: Added pcie support
Change-Id: Iff5db65fd2f4391f04c8c717fa7a75d35ef5b65a
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2018-12-17 17:47:17 +05:30
Antony Arun T
51eda13d9c ipq6018: Enabling SPI nand support
Change-Id: I72a20fc90343ee85b98f9b78d321ef85e4590eaa
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-12-06 11:54:47 +05:30
Antony Arun T
191aa8b443 ipq6018: Pass UUID of rootfs partion to kernel in bootargs
Change-Id: I0c8e186ad84c3eb18ae0b6fbf88bbeef4bec5077
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-11-28 15:25:12 +05:30
Linux Build Service Account
df527e6248 Merge "ipq6018: Enable USB support" 2018-11-23 07:34:53 -08:00
Antony Arun T
7ddbdf9a5e ipq6018: Enabling data cache
Change-Id: Icdce919badfce0660ef43119e236740220f25d1d
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-11-22 19:04:29 +05:30
Balaji Prakash Jagadeesan
74f379e8db ipq6018: Enable USB support
Change-Id: Id663a2866355c2baa5455ce848ef08d16f6038e5
Signed-off-by: Balaji Prakash Jagadeesan <bjagadee@codeaurora.org>
2018-11-22 13:24:18 +05:30
Linux Build Service Account
caac981e1b Merge "ipq6018: Enable i2c subsytem" 2018-11-20 22:15:57 -08:00
Antony Arun T
40697c440e ipq6018: Enabling bootipq command
Change-Id: I5059a07b1a436cf732848009eaebb8c29b37a136
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-11-19 10:51:42 +05:30
Gokul Sriram Palanisamy
e63b778c80 ipq807x: Removed reservation for TZAPpps in low mem profile
TZ APPS will not be supported in Low memory Profile.

Change-Id: Ic6b83d21182ba9b4f9d3ff7386ef1d01a1457249
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Signed-off-by: Saravanan Jaganathan <sjaganat@codeaurora.org>
2018-11-18 08:11:20 +05:30
Venkat Raju Sana
a80c2f0118 ipq6018: Enable i2c subsytem
Change-Id: Ia727b07803f738588241b8406f125ec3f9ac1472
Signed-off-by: Venkat Raju Sana <vrsana@codeaurora.org>
2018-11-15 09:56:10 -08:00
Antony Arun T
4c6e82c553 ipq6018: Enabling bootm command support
FDTHIGH is moved to 0x48700000 because the FDT
should get loaded within the linux region.

Change-Id: Idabcdeb797fe0e39382b2d3fdb54a4758c495296
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-11-12 14:49:45 +05:30
Linux Build Service Account
cfccc0b8a7 Merge "ipq807x: Adding SOC version to default env." 2018-11-09 23:04:30 -08:00
Linux Build Service Account
8de8d3ba83 Merge "Revert "ipq807x: disable PCI"" 2018-11-09 06:04:40 -08:00
Nikhil Prakash V
8438ea4b9b ipq807x: Adding SOC version to default env.
Adding soc_version_major and soc_version_minor to the default
environment.

Change-Id: I38ee6dd228382111beaa2bdacfade1e3d2c989de
Signed-off-by: Nikhil Prakash V <nprakash@codeaurora.org>
2018-11-09 16:29:18 +05:30
Linux Build Service Account
fb77909be3 Merge "ipq6018:Enable eMMC" 2018-11-08 22:33:52 -08:00
Sham Muthayyan
38c7f93620 ipq8074: PCIE Gen3 support
Change-Id: Ic1b1e15a239d52e0a50b0a90d81d0523f1ee69a6
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2018-11-08 04:56:03 -08:00
Gokul Sriram Palanisamy
f89da93d58 fdt_fixup: Reduced wcnss and wifi_dump sizes
If env variable "low_mem_mode" is set,
wcnss and wifi_dump reserved memory sizes
are reduced to 55M and 2M respectively.

Change-Id: I1412ba16507f809a344ae133a91ae486e54836c5
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-11-08 18:10:19 +05:30
sameeruddin shaik
9ad98fee86 ipq806x: Added new scm_atomic_call
use scm_atomic_call to access the usb_mode_controller
register in u-boot.

Change-Id: I9523f2dcf312fa1526d6b7052e98a0d9489c1701
Signed-off-by: sameeruddin shaik <samesh@codeaurora.org>
2018-11-05 01:29:32 -08:00
Venkat Raju Sana
f015dd1bbb ipq6018:Enable eMMC
ipq6018 suppports only SDHCI mode.

Change-Id: I55246e3d994c6db7dd84c955c7186c256fc61bd5
Signed-off-by: Venkat Raju Sana <vrsana@codeaurora.org>
2018-11-02 09:52:17 -07:00
Sham Muthayyan
8eb2f9b3cb Revert "ipq807x: Disable PCI in dts for HKV2"
This reverts commit 51ac77307a.
2018-10-31 23:33:05 -07:00
Antony Arun T
39d2121738 ipq6018: enabling nand flash support
Change-Id: I4b8fb686d958668d6dcfeea1060aa877a228f71b
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-10-22 10:54:35 +05:30
Gokul Sriram Palanisamy
2e22dca77d ipq806x: Fixed UART TX FIFO corruption
During serial init after relocation, if TX FIFO is
not empty, clock init on-the-fly causes baudrate
flucutation resulting in TX data corruption and
outputs as garbage data on the console.

This patch fixes this by waiting until TX FIFO
gets flushed before serial initialization starts.

Change-Id: I487c73fbfb4fdb80b20d8beb8daa111ee9bae34e
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-10-17 03:06:52 -07:00
Nikhil Prakash V
1df0c30ce9 ipq: Force crashdump collection
Force the crashdump collection based on environment variable. If the
environment varibale force_crashdump is set then we will proceed directly
with the crashdump collection, else we will wait for user input
for 10s before going for crashdump collection.

Change-Id: Ida500bd060dcdd46736e9ea950a0009353abcbf1
Signed-off-by: Nikhil Prakash V <nprakash@codeaurora.org>
2018-10-16 18:11:12 +05:30
Antony Arun T
cb7e1ff2ce ipq6018: Adding SPI NOR support
Change-Id: I647ef1358a5d509d58b4d9874ea386e9fa64594b
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-10-11 16:37:27 +05:30
Vasudevan Murugesan
51ac77307a ipq807x: Disable PCI in dts for HKV2
Change-Id: I02f32ce7f22cc9b628307a1014205ff19bb0576d
Signed-off-by: Vasudevan Murugesan <vmuruges@codeaurora.org>
2018-09-29 01:15:35 +05:30
Gokul Sriram Palanisamy
acf1b5cb51 fdt_fixup: Deleted cpu operating point, nss supply
Deleted cpu operating point opp06,
npu-supply and mx-supply from nss.

Change-Id: I0b8c464d6d93c2af24958ddd84e89b3fbd87641b
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-09-23 23:47:22 +05:30
Linux Build Service Account
17cfa04ac2 Merge "bootqca: Device-tree config name made board specific" 2018-09-22 01:05:04 -07:00
Gokul Sriram Palanisamy
5f8a5f8916 bootqca: Device-tree config name made board specific
device-tree name suffix with soc version
is made specific to ipq806x

Change-Id: I32913a13929127ff41cec83d1319f0c98fdb3127
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-09-22 04:02:05 +05:30