Commit graph

9094 commits

Author SHA1 Message Date
Gokul Sriram Palanisamy
c2a95f152f ARM: ipq8074: Added support to patch soc_id
This patch enables reading soc_id form smem required by
thermal deamon in kernel and patches it to kernel dtb.

Change-Id: If4d68d10e47eeed26a9c2867f40abc18d9027812
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-07-24 18:45:31 +05:30
Gokul Sriram Palanisamy
c75090661c ARM: fdt_fixup: Enable multiple ethaddr
Enabled to set multiple ethernet mac addresses
from ART partition into u-boot environment which
in-turn will be patched-up into the kernel dts.

CONFIG_IPQ_NO_MACS should be set accordingly.

Change-Id: I72d1324789685d25adcb3f5c4fb1b54151098f62
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-07-11 08:03:30 -07:00
Sham Muthayyan
07bc207dcb ipq40xx: Enable the additional uart in ipq40xx
Change-Id: I00113845731b679472fe0e0224b69560673e8bd3
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-07-10 11:02:01 +05:30
Sham Muthayyan
956b528723 ipq806x: Enable the additional uart in ipq806x
Change-Id: I34d8f6dbb904fbee9b1fb453e968a5ac932320bf
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-07-06 23:58:25 -07:00
Sham Muthayyan
7195fa74b2 ipq807x: Added the 2nd UART clocks
Change-Id: I057848f175778c08187fad1991d5ae00422c0793
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-07-05 06:03:06 -07:00
Gokul Sriram Palanisamy
622fd6199b ARM: qca: Added fdt-fixup for RPM version
Added fdt-fixup for patching RPM version string
to kernel device-tree that may be required for
test automation and build component information.

Change-Id: I6dedecbe17ecea1a211e3d0a8d64aa1f3835f821
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-07-03 15:37:13 +05:30
Gokul Sriram Palanisamy
e700f9ba7e ARM: qca: Moved boot_version and tz_version
Moved properties boot_version and tz_version
to root node to make it compatible with other
board configurations to facilitate consistent
test automation across boards.

Change-Id: I3046a571f75eb5430f4b50b00f9fd8a7467724fe
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-07-03 12:05:30 +05:30
Vasudevan Murugesan
2e6fe13ebc ipq807x: Added USB de-initialization functions
Change-Id: Ia6877dfd96a65c2808cc67baa1eaa53afb924e80
Signed-off-by: Vasudevan Murugesan <vmuruges@codeaurora.org>
2017-06-30 06:15:57 -07:00
Vasudevan Murugesan
69c3fa2774 ipq807x: usb: Enabled USB2 phy support
Change-Id: I7753c866aafe5c9ec8d4ccf0daa7210b24ed2c95
Signed-off-by: Vasudevan Murugesan <vmuruges@codeaurora.org>
2017-06-30 06:15:32 -07:00
Linux Build Service Account
2613c4d9f4 Merge "qca: scm_call: Added wrapper for image authentication" 2017-06-30 02:53:55 -07:00
Sham Muthayyan
6f1452c953 ipq807x: Deinit pcie before loading kernel
Change-Id: I22fe87dac2fd8f55978481fae71ee65281dfd204
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-06-29 08:53:06 -07:00
Manoharan Vijaya Raghavan
e47e3e516c qca: scm_call: Added wrapper for image authentication
Added a scm_call wrapper for kernel image authentication
required during secure boot flow.

Change-Id: I3c2853219128d24131aa6113f35d6998f2303a34
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-06-28 15:03:46 +05:30
Linux Build Service Account
59664511d0 Merge "qca: mmc: Enabled support for using backup GPT" 2017-06-20 09:40:39 -07:00
Gokul Sriram Palanisamy
aa6e373d7a ARM: fdt_fixup: Added rproc auto-restart support
Added support to patch kernel device tree
for Q6 auto-restart using rproc framework.

Change-Id: Id2deb5e10347aede9ef8ff9e17db46d60fb82058
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-06-19 22:12:09 +05:30
Vasudevan Murugesan
e080434b2f qca: mmc: Enabled support for using backup GPT
This patch enables support to use backup GPT in case the
primary GPT is corrupted.

Change-Id: Ied7edc5a4f86395f264299576cb92efdc92d30e0
Signed-off-by: Vasudevan Murugesan <vmuruges@codeaurora.org>
2017-06-19 05:25:35 -07:00
Gokul Sriram Palanisamy
2fa321aafc ipq8074: dumpqca: Updated RAM dump size
Now, crashdump will dump complete RAM area
based on RAM available on-board.

Change-Id: If747f43f16e047bb5ef1556f659da90c2979d513
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-06-16 16:33:13 +05:30
Gokul Sriram Palanisamy
6760565641 ARM: ipq8074: fdt_fixup: Added support to patch usb mode
This patch enables user to choose usb mode of port 0 in kernel.
By default, usb port 0 will be in host mode.
By setting an environment variable 'usb_mode' to "peripheral",
user can force port 0 to device mode.

Change-Id: Ib18d4db387ace1a0fa4fa1a74cffbc47464160f8
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-06-15 14:25:47 +05:30
Jaiganesh Narayanan
67e7d1b728 ipq807x: Initialize ethernet only if it is needed
Initialize ethernet module only if network communication is needed.
This change is introduced to save the boot up time of the AP.

Change-Id: I318a3e897fe511accef37667af1a6c46ae31db6e
Signed-off-by: Jaiganesh Narayanan <njaigane@codeaurora.org>
2017-06-12 03:33:51 -07:00
Gokul Sriram Palanisamy
a869486d29 ARM: dumpqca: Fixed aligned access issue
Fixed aligned access issue with RPM MSGRAM.

Change-Id: Ia9718dced1eaa897cca8e56bfbe525fec3a624bb
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-06-10 21:31:52 -07:00
smuthayy
313a244c7e ipq807x: Addedd the PCIE clocks
Change-Id: I5214f6e9197811ef21bef8d01040cfc539017861
Signed-off-by: smuthayy <smuthayy@codeaurora.org>
2017-06-02 14:45:08 -07:00
Gokul Sriram Palanisamy
c0ee616f63 ARM: ipq8074: Added scm_call support for crash dump
Change-Id: I47f7192a464f92dbd8c2332767030ec04da9fc47
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-06-01 07:18:09 -07:00
Jaiganesh Narayanan
1d3ca38f62 ipq807x: add ethernet rcgr clk init block
Change-Id: Iab6b1e948c705088e273bf815cc844fb447b392c
Signed-off-by: Jaiganesh Narayanan <njaigane@codeaurora.org>
2017-05-30 19:15:25 -07:00
Linux Build Service Account
6ec2f97385 Merge "ARM: qca: ipq8074: Enabled QPIC NAND initialization" 2017-05-30 02:32:37 -07:00
Gokul Sriram Palanisamy
48d1f57fdc ARM: qca: ipq8074: Enabled QPIC NAND initialization
Change-Id: Iffbf606ad1e257f02b99c824e592c847d91c1905
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-05-29 23:24:42 -07:00
Jaiganesh Narayanan
6fe9db26ac ipq807x: enable net, qca8075 phy reset and link detection code
Change-Id: I978f5a16da7ecf56f006e0e7757a52c7d31b22cf
Signed-off-by: Jaiganesh Narayanan <njaigane@codeaurora.org>
2017-05-29 20:15:48 -07:00
Jaiganesh Narayanan
428fc1d379 ipq: move qca8075 mdio, phy driver into common directory
ipq40xx, ipq807x hardware share the qca8075 phy. So the qca8075 phy
mdio, driver has been moved to common directory for use by both the
hardware.

Change-Id: Id6e9342438ffbdf8599860df6fbb39bba30429b3
Signed-off-by: Jaiganesh Narayanan <njaigane@codeaurora.org>
2017-05-29 08:02:40 -07:00
Gokul Sriram Palanisamy
8b395f5711 ARM: fdt-fixup: Fixed array delimiter
Change-Id: Ie29a96acf9365e70197836f1cf1b6fb2a45fa365
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-05-28 23:41:24 -07:00
Linux Build Service Account
49c11c0235 Merge "ipq807x: Added reset support" 2017-05-28 07:34:05 -07:00
smuthayy
ead0a99fa9 ipq807x: Added reset support
Change-Id: If603ee62167fbbd284090d8e7412263e0d73b363
Signed-off-by: smuthayy <smuthayy@codeaurora.org>
2017-05-27 13:22:31 -07:00
Gokul Sriram Palanisamy
3002391c6b ARM: qca: Include RPM crashdump collection
Included dump collection for RPM code, data and msg.

Change-Id: I8d093c21cadcadf3982c1aa930ad0b0e8b0af14c
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2017-05-27 12:21:32 -07:00
Gokul Sriram Palanisamy
16e1850e40 ARM: fdt-fixup: Fixed array delimiter
Change-Id: I1922edde97c8010969681d1ad1d549ffdf966a37
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-05-27 02:25:56 -07:00
Vasudevan Murugesan
fdcfb6366d ipq807x: serial : Support to handle serial_gpio configurations
Change-Id: Ic928981198c69eb8d68db13553b7222e90de8c8c
Signed-off-by: Vasudevan Murugesan <vmuruges@codeaurora.org>
2017-05-23 12:26:50 -07:00
smuthayy
c8d864ebd1 ipq807x: Disable PCI NAND EMMC and NET
Change-Id: Ifcb56a569f1bb68b816fc7bad15fe1b8ac9951f2
Signed-off-by: smuthayy <smuthayy@codeaurora.org>
2017-05-22 23:32:32 -07:00
Gokul Sriram Palanisamy
0dedd94f33 ARM: qca: Added support for flashless boot
U-boot uses APPSBLENV partition on flash to save environment variables.
During flashless boot, there cannot be any dependency over a flash partition.
This patch revokes the support for this flash partition for flashless boot.

Change-Id: Id387ec3af52c597f3fd408e022446c9b600ecf1d
Signed-off-by: Gopinath Sekar <gsekar@codeaurora.org>
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2017-04-24 14:08:40 +05:30
Gokul Sriram Palanisamy
d8973d0871 ARM: qca: Remove compiler warning
Change-Id: Ib277a580134255ee571077890bef853dc29fead0
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2017-04-11 02:37:49 -07:00
Gokul Sriram Palanisamy
757ae11af9 ARM: qca: ipq8064: Secondary flash type setting is board specific
flash_secondary_type is specific to ipq8064. Initialization of this
parameter is moved into boards specific file.

Change-Id: If1a0e44e3d0a674ce497de045d9c5095b67bc913
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2017-04-11 14:23:24 +05:30
Gokul Sriram Palanisamy
e697c8f7e2 ARM: env: qca: Update parameters for mmc env patition
This change adds mmc init code to update mmc env parameters
such as env offset and size in case of env is in mmc.

Change-Id: I27b5a68b47cab8090ad1a56d452b3211d92d1e21
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2017-03-29 21:26:49 +05:30
Gokul Sriram Palanisamy
c61f26e363 ARM: qca: bootipq: Removed multiple occurance of run_command
Avoids multiple mmc read for HLOS partition.

Change-Id: I1ac9b5c9c97a3702dec3beb521b3c190e07969dc
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2017-03-27 09:24:04 -07:00
Aditya Kumar Patra S
335c21b1a2 ipq807x: Added ethernet support
Added the ipq807x ethernet edma, ppe driver support

Change-Id: Ibcac04d8a60c1ca74549834b70735a6f15b58358
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2017-02-09 10:25:56 +05:30
Vasudevan Murugesan
781e610f87 ipq807x: Enabled SDCC support
Change-Id: I383e65d0eba0cdc11b1694fbb2493596d3b8d626
Signed-off-by: Vasudevan Murugesan <vmuruges@codeaurora.org>
2017-02-02 02:00:23 -08:00
Vasudevan Murugesan
f96d461a27 ipq806x: Enabled SDCC support
This patch enables qca_mmc driver and
also has the changes required for emmc
support

Change-Id: Icc8d807caffced79d6ca576fe6220c522ebda3f7
Signed-off-by: Vasudevan Murugesan <vmuruges@codeaurora.org>
2017-02-01 21:23:50 -08:00
Gokul Sriram Palanisamy
f71a48c2df ARM: qca: ipq8074: Updated smem entry table macros
Change-Id: Ic2885f63ac7144c7d75d9ec3b0c5c2fe2f97b6f2
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2017-02-01 15:17:36 +05:30
Linux Build Service Account
d58684b93a Merge "MIPS: qca956x: Fix AP151 and AP152 target ping issues" 2017-01-30 21:09:28 -08:00
Prabhu Jayakumar
98a81200a7 MIPS: qca956x: Fix AP151 and AP152 target ping issues
This change fixes the ping issue on the AP151 and AP152
targets. The issue happens when ping is attempted for
more than one time on the same port either LAN or WAN.

Change-Id: Iad8b0da3ef15bdf12f73645625167f0ff5106df0
Signed-off-by: Prabhu Jayakumar <pjayak@codeaurora.org>
2017-01-27 18:52:06 +05:30
Saravanan Jaganathan
322b2ebaf8 Revert "ARM: net: ipq807x: Added ethernet support for hk-01 h/w"
This reverts commit 290b4e0b2d.

Change-Id: I9213daec575a426443681759f28c38b943fc001c
Signed-off-by: Saravanan Jaganathan <sjaganat@codeaurora.org>
2017-01-27 17:33:30 +05:30
Linux Build Service Account
58524e17b5 Merge "MIPS: qca955x: Modify target files to use compile flags directly" 2017-01-20 04:21:09 -08:00
Linux Build Service Account
6acddff960 Merge "MIPS: qca953x: Modify target files to use compile flags directly" 2017-01-20 02:10:38 -08:00
Prabhu Jayakumar
4f520fbf29 MIPS: qca953x: Modify target files to use compile flags directly
Changes to use the C Flags pushed by the openwrt package directly
from within the qca953x target sources is done.

Change-Id: Ib66cdf88ccef33e7805cc7a6831200502d7f1c23
Signed-off-by: Prabhu Jayakumar <pjayak@codeaurora.org>
2017-01-19 19:22:10 +05:30
Prabhu Jayakumar
32be07e796 MIPS: qca956x: Modify target files to use compile flags directly
Changes to use the C Flags pushed by the openwrt package directly
from within the qca956x target sources is done.

Change-Id: I4bacf9eb23ed442413d4b4f0833e8d1143aea77f
Signed-off-by: Prabhu Jayakumar <pjayak@codeaurora.org>
2017-01-19 19:19:30 +05:30
Prabhu Jayakumar
56de11b873 MIPS: qca955x: Modify target files to use compile flags directly
Changes to use the C Flags pushed by the openwrt package directly
from within the qca955x target sources is done.

Change-Id: I4f9e6a3e4e919ab01399a803349e79f57573988d
Signed-off-by: Prabhu Jayakumar <pjayak@codeaurora.org>
2017-01-19 19:12:09 +05:30