Commit graph

8491 commits

Author SHA1 Message Date
Gokul Sriram Palanisamy
908aefaa1b ARM: qca: ipq8074: Added support for HK05 and HK06
Added device tree to support for HK05 and HK06 boards
based on ipq807x SoC.

Change-Id: I78a49340cbfc6c4f6c4ee5a3171cc1b6dd6ad1ed
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-07-19 15:18:13 +05:30
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
b5f4069981 ipq807x: Enabled Second UART for IPQ807x
Change-Id: I85c365afb506e631d3dc2a6128a328b1f6710731
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-07-06 23:58:18 -07:00
Sham Muthayyan
9841ffefc8 ipq807x: Added the baud rates support
Change-Id: I099488e7a0a74669b974c6892022922c3f14610a
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-07-06 23:57:02 -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
Abhishek Sahu
4d61ddbda3 qcom: nand: configure QPIC XFER STEPS registers
The QPIC XFER STEPS will not be configured in non NAND boot
mode and the data transfer speed will be very slow. Now this
patch reads the timing parameter from ONFI page and configures
the NAND XFER STEPS registers for highest supported ONFI mode.
For NON ONFI device, it will configure to default mode.

Change-Id: I2daf4a92255307efc53db9bb7fe2f02e8c00c3fa
Signed-off-by: Abhishek Sahu <absahu@codeaurora.org>
2017-06-22 23:48:48 -07:00
Gokul Sriram Palanisamy
b225631e62 ARM: dts: ipq8074: Added device tree for DB boards
Added individual device trees for DB.HK01 and DB.HK02
boards to manage their configurations individually.

Change-Id: I5846b08a11febd5e7559b08b558245dc4f75c70e
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-06-21 02:56:08 -07:00
Gokul Sriram Palanisamy
84472cb4a4 ARM: dts: Added aliases to pci devices for HK02
Change-Id: I2d292564063fdfe99b33db8ae717cdf7723265df
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-06-07 06:24:31 -07:00
Gokul Sriram Palanisamy
f5d84614f5 ARM: ipq8074: qca_scm_sdi_v8 api is made specific for armv8
Change-Id: I3996e3e3632a72c20c1c69f97335a939f707c392
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-06-04 23:37:03 -07:00
smuthayy
0613a0b89c ipq807x: Enabled the PCIE
Change-Id: Iecd166a5a88ce563f02ebc0cae1b3b81ab5884ed
Signed-off-by: smuthayy <smuthayy@codeaurora.org>
2017-06-02 14:46:46 -07:00
smuthayy
7c309ca403 ipq807x: Added the PCIE phy support
Change-Id: I30212d0b82a28c131ec35ec8eeada3b91f8369a1
Signed-off-by: smuthayy <smuthayy@codeaurora.org>
2017-06-02 14:45:56 -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
Gokul Sriram Palanisamy
15946aa171 ARM: dts: ipq8074: Added support for HK02 board
Change-Id: Ie48cef59239b5d082333337c443504d218b83d4c
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-05-30 12:39:46 +05:30
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
smuthayy
2af7368202 ipq807x: Enabled the i2c support
Change-Id: I81f6210a8bd562d77dc6461a8916eca59a5fdc1b
Signed-off-by: smuthayy <smuthayy@codeaurora.org>
2017-05-27 13:28:36 -07:00
Linux Build Service Account
45b4c03776 Merge "ARM: dts: spi: Updated tlmm values" 2017-05-26 06:13:15 -07:00
Gokul Sriram Palanisamy
aece84674c ARM: dts: spi: Updated tlmm values
Change-Id: I8ebb883d2c7c219bbe1dd1682c638157e78cd53c
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-05-25 08:28:31 -07:00
smuthayy
e86ed2aba9 ipq807x: Fixed the UART bitrate for HWK01
Change-Id: I8fdb8359f762dc7f3fb9e745d745992e3d97b8da
Signed-off-by: smuthayy <smuthayy@codeaurora.org>
2017-05-25 04:22:59 -07:00
Sham Muthayyan
0a3aa1330a ipq807x: Fixed the HKW01 peripherals
Change-Id: I1abe6ffccf633e7f2c37350961a64192cc07cf70
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-05-23 12:26:14 -07:00
Gokul Sriram Palanisamy
b815cbe2a7 ARM: dts: Updated HK01 machid and kernel config
Updated HK01 machid and kernel config to reflect
HK01 board machid and kernel configuration.

Change-Id: Iabbda090ff595318686040ba4a3c1d1960f1b877
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-05-22 19:09:42 +05:30
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
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
c75b95d121 ARM: dts: ipq8074: Removed timer base from device tree
We have timer enabled by default. We don't want the
register re-written as it is write protected by the
underlying layer.

Change-Id: Ided26b1e41e9e44872f224c9f91cbb0c6e984701
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2017-03-15 10:22:29 +05:30
Gokul Sriram Palanisamy
9349111a4c ARM: qca: smem: ipq8074: Update platform structure
Added a new entry in platform structure to align with smem entry.

Change-Id: I41b0e69536a625aaf791d39722b781698cffa5b6
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2017-02-23 15:30:27 +05:30
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
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
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
Jaiganesh Narayanan
290b4e0b2d ARM: net: ipq807x: Added ethernet support for hk-01 h/w
Added the ipq807x ethernet edma, ppe, gmac driver support
in the u-boot

Change-Id: I1d8ddd19f2c3d3765adda2253d3b71876142aa59
Signed-off-by: Jaiganesh Narayanan <njaigane@codeaurora.org>
2017-01-16 14:37:51 +05:30
Prabhu Jayakumar
97c3087906 qca: move ARM specific files to another sublevel
As the U-boot source is going to be common between ARM and MIPS
architecture , it is required to pick only the files specific
to the respective architectures during the build.

So, move the qca arm target specific common files to another
sub level by specifying the ARCH arm.

Change-Id: I06b538834109981f21fef6270bfb8e437a2f5a7e
Signed-off-by: Prabhu Jayakumar <pjayak@codeaurora.org>
2017-01-06 12:33:30 +05:30
Gokul Sriram Palanisamy
b023acbe25 ARM: dts: ipq8064: Added support for AK01
Change-Id: I8a466246deb119ef29cb48991b932a78480d5cd2
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-12-28 21:11:18 +05:30
Linux Build Service Account
7dea0252c3 Merge "qca: ipq806x: Removed "bootdelay" data from dtb." 2016-12-23 21:49:05 -08:00
Linux Build Service Account
1bcde63ae1 Merge "MIPS: qca953x: Enable Support for AP147 Target" 2016-12-22 20:29:02 -08:00
Aditya Kumar Patra S
0165626534 qca: ipq806x: Removed "bootdelay" data from dtb.
Change-Id: I1aa8e7ec53e306db004a421d2c26e2a6a695f5bd
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2016-12-22 02:10:16 -08:00
Prabhu Jayakumar
a700195ae9 MIPS: qca953x: Enable Support for AP147 Target
this change enables the support for the AP147 target

Change-Id: Ia9dd0f63578107eb127410d752598081e9be2d85
Signed-off-by: Prabhu Jayakumar <pjayak@codeaurora.org>
2016-12-21 22:20:30 -08:00
Prabhu Jayakumar
44bdfc09e8 MIPS: qca955x: Enable Support for AP135 target
this change enables the support for the AP135 target

Change-Id: I772cdf3a135ac327fec21c42be6248f22d3d3f83
Signed-off-by: Prabhu Jayakumar <pjayak@codeaurora.org>
2016-12-21 22:20:10 -08:00
Gokul Sriram Palanisamy
3d9bb6e8f1 ARM: qca: ipq8064: Added support for NOR+NAND
Updates mtdparts and mtdids to add secondary NAND partition.

Change-Id: Iddf7dd7507a4c531c8247b07ff7d244db7091ef2
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-12-21 15:29:22 +05:30
Aditya Kumar Patra S
0ce2cb2d44 qca: ipq806x: SPI-NOR driver support
Change-Id: I0e6a664d825991780c03d18c8b5c0fc85bd67f66
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2016-12-21 01:10:03 -08:00
Linux Build Service Account
0fe6e3659a Merge "ipq40xx: dts: Add i2c gpios and clk frequency" 2016-12-20 18:08:46 -08:00
Gokul Sriram Palanisamy
5c0dd6970e ARM: qca: ipq8074: Added support for NOR+NAND
Change includes
1. Device tree entry for SPI_NOR GPIO configuration
2. Register SPI_NOR as psudo NAND

Change-Id: I4d271dcd2970af370975e4a8d9a78199e1cfd2a2
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-12-02 15:17:35 +05:30
Akila N
005e4c761d ipq40xx: dts: Add i2c gpios and clk frequency
Change-Id: I62e5acb28c6369149119cc0d7a1f0aff619f698a
Signed-off-by: Akila N <akilan@codeaurora.org>
2016-11-24 16:21:32 +05:30
Linux Build Service Account
46a3cf234e Merge "ipq806x: Added support for I2C diagnostics" into eggplant 2016-11-21 05:30:47 -08:00
Linux Build Service Account
8c46bb2ecf Merge "MIPS: qca956x: initial changes for the AP152 target" into eggplant 2016-11-17 01:33:00 -08:00
Ajay Kishore
db05c5974f ipq806x: Added support for I2C diagnostics
Change-Id: I1287a66b25e437cd29feb755c034407ea1555ca5
Signed-off-by: Ajay Kishore <akisho@codeaurora.org>
2016-11-16 12:21:11 +05:30
Aditya Kumar Patra S
6d2e7fc8a6 qca: ipq806x: Fixed timer driver
The logic used to calculate tick count in
_udelay() was always giving Zero. Updated
the logic to make it work across QCA boards.

Change-Id: Iebc5905003ad99e66b299de3beabb80ce40ce710
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2016-11-14 00:59:01 -08:00
Aditya Kumar Patra S
467a26184d qca: ipq806x: Added Ethernet support in devicetrees.
Added ethernet support to devicetrees of AP145,
AP160 and Ap161 boards.

Change-Id: Iad370852c4d3e2dc662627d2890198bb0747d03c
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2016-11-14 00:58:24 -08:00
Prabhu Jayakumar
c4c0122082 MIPS: qca956x: initial changes for the AP152 target
This change initializes the CPU PLL , configures the
timer, DRAM & enables the serial console for the
AP152 target.

Change-Id: If2a6884813250c09a856c3cb2e1783bf3940619c
Signed-off-by: Prabhu Jayakumar <pjayak@codeaurora.org>
2016-11-04 10:56:32 +05:30
Aditya Kumar Patra S
b917394e6f qca: ipq806x: Devicetree changes for ethernet support.
1. Added ethernet support for DB149
2. Added gmac_gpio node to aliases, to make
   it common across the boards

Change-Id: I18a3d3ebaac993635830d36bd7c51f91ebd6749b
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2016-11-02 11:45:27 +05:30