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>
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>
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>
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>
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>
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>
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>
As ipq6018 is not supporting MCI mode, removing MCI register write.
Change-Id: I330cd20b5b967992e86969ab6005a81e48e62506
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
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>
Adding soc_version_major and soc_version_minor to the default
environment.
Change-Id: I38ee6dd228382111beaa2bdacfade1e3d2c989de
Signed-off-by: Nikhil Prakash V <nprakash@codeaurora.org>
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>
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>
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>
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>
Deleted cpu operating point opp06,
npu-supply and mx-supply from nss.
Change-Id: I0b8c464d6d93c2af24958ddd84e89b3fbd87641b
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
device-tree name suffix with soc version
is made specific to ipq806x
Change-Id: I32913a13929127ff41cec83d1319f0c98fdb3127
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>