Commit graph

8466 commits

Author SHA1 Message Date
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
Gokul Sriram Palanisamy
89d3427cfc ipq8064: Added nand to aliases to enable nand
Added nand to ap145, ap160, ap160_2xx, ap161 and db149 device tree.

Change-Id: I867633b9d50ca2aa826138d164b422d085b2b7db
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-10-31 22:19:49 -07:00
Gokul Sriram Palanisamy
f62b258e04 ipq8074: Adding qpic-nand gpio configuration to device tree
Change-Id: Iac2039fa6eac0143ae8b7f086e4ac1b91070899c
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-10-20 07:37:41 -07:00
Gokul Sriram Palanisamy
79c21864bd qca: Updated smem qca_platform structure
Since smem structure is differnt for ipq8064 and ipq4019, Updated smem
structure table qca_platform to match both the SOCs.

Change-Id: Ia80fc3f8e4460785ed742b719617e6bcfd99ea27
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-10-20 20:05:09 +05:30
Gokul Sriram Palanisamy
96fa862182 qca: moving qpic-nand initialization to common location
Moves qpic-nand configuration and gpio initialization routine
to common location.

Change-Id: Ic78230d4e66450bb6804cf9cbd79cec9e8d2f5df
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-10-18 05:27:50 -07:00
Gokul Sriram Palanisamy
e664dcf4bc arm: dts: ipq8064: Added bootdelay and bootcmd
Added bootdelay and bootcmd in device tree to support autoboot.
The value provided in the device tree will override the value provided
for CONFIG_BOOTDELAY and CONFIG_BOOTCOMMAND in board configuration.

Change-Id: I0482db510976eddb038ff8f7f38cafed07363051
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-10-17 02:57:15 -07:00
Gokul Sriram Palanisamy
9915ab836d arm: dts: ipq8064: Added support for DB149, AP145 and AP145_1xx.
Added device tree to extend support for DB149, AP145, AP145_1xx.

Change-Id: Ief0fdcc521bb3c884ada04dfece27bce47d00c9f
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-10-17 02:56:45 -07:00
Sham Muthayyan
7da9e191b4 mtd: nand: Fixed the nand controller for IPQ806x
Change-Id: I3d5ca487d809f72f3b2015f7dd02eb5b4daf536d
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2016-10-17 02:34:24 -07:00
Sham Muthayyan
282e0cde88 qca: ipq806x: Add NAND dts entries
Change-Id: Ia7f137e2716123ea71dffc607e18aeefce4b3e4a
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2016-10-14 06:58:28 -07:00
Sham Muthayyan
55a105ea74 qcom: ipq: Add nand specific header files
Change-Id: Ie3a269d67589a3eaa2805212ec15fd6ddeac120a
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2016-10-14 06:58:18 -07:00
Gokul Sriram Palanisamy
f5c7ca631b ipq806x: Enables bootipq support
This gerrit adds missing configs and config_name
device tree entry to enable bootipq support for AP148.

Change-Id: If1fb4aa1a3d7d7091b31f882a24f775ced6df52f
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-10-12 20:22:03 +05:30
Aditya Kumar Patra S
85671fbdd2 qca: ipq806x: Moved clock.c to driver/clk/ location.
Change-Id: Ib4246f2fbe0ab0085827833b93c71835255c5361
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2016-10-07 01:41:38 -07:00
Aditya Kumar Patra S
d2639a4f08 qca: ipq806x: Adding ethernet init sequence.
1. Added Ethernet and switch init calls.
2. Added GMAC config info to Devicetree.
3. Enabled Network components in config file.

Change-Id: I1704b01ca9f991934045a2d23f52d1af0f490aab
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2016-10-07 01:41:29 -07:00
Aditya Kumar Patra S
2c97e2ff04 qca: ipq806x: Modified Eth and Switch drivers to read data from DTB.
Change-Id: Ie35b52a2c022c29de341c63af13c67b95f7e565a
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2016-10-07 01:41:13 -07:00
Aditya Kumar Patra S
f8b348e00b qca: Made IPQ806x specific changes to common boardinit and bootipq files.
1. Modified common bootipq command file to support IPQ806x.
    2. Modified common board initialization file to support IPQ806x.

Change-Id: I1fdd93037b885eefea0c5ddede9436861dd485b3
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2016-10-07 14:09:49 +05:30
Aditya Kumar Patra S
db8cc686a2 qca: Added IPQ806x spcific Changes to common SMEM.
Only ipq40xx and ipq807x specific functionalities were
available in common SMEM. Made ipq806x specific changes
so that all QCA platforms can use this.

Change-Id: I00fc9c9ba8e2545d665c9791849d82e0ab5d974a
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2016-10-07 12:23:27 +05:30
Ajay Kishore
3491df2edd ipq40xx : Enable crashdump support
Change-Id: Ibd3b04dcc7870be1922409f81f3011b7edac35bc
Signed-off-by: Ajay Kishore <akisho@codeaurora.org>
2016-10-04 06:52:29 -07:00
Sham Muthayyan
5e6297efa3 ipq807x: Rename the HK01 into soc for ipq807x
Change-Id: I3f23adad92566ba8f1ae38cfedfe690924b4bbf1
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2016-09-29 02:00:13 -07:00
Sham Muthayyan
ef5b429ab2 ipq807x: Add PCIE support for IPQ807x
Change-Id: Iba6db5caf405b4fe4f1668dc6462504e41d5d219
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2016-09-29 02:00:01 -07:00
Sham Muthayyan
dbc99acc0c qcom: pci: Enable PCI support for ipq40xx
Change-Id: I32506cf862a0ab83a05070fa9cfba9f09a96ddd3
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2016-09-29 14:29:01 +05:30
Sham Muthayyan
9202734083 ipq40xx: Add PCIE device entries
Change-Id: Iae02b5812655b7ff4d2a82687dc066eb98afd0df
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2016-09-29 14:25:22 +05:30
Sham Muthayyan
b8cda662ff qcom: ipq: Fix relocation global data size
The board goes into hung state when the GD_SIZE more than
GENERATED_GLOBAL_DATA_SIZE. In this case, the stack poninter
address will be pointing to the unknown address which leads to
hung state. Fixed the hung state to point to correct address.

Change-Id: I0efc807ca07c16ae0b79ea6c606fde931f02a220
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2016-09-28 00:37:13 -07:00
Linux Build Service Account
8d3d5c2071 Merge "ipq40xx: Adding ethernet init sequence" into eggplant 2016-09-23 01:42:17 -07:00
Linux Build Service Account
a8927cdb2a Merge "ipq40xx: Add edma config info to dts files" into eggplant 2016-09-23 01:42:16 -07:00
Aditya Kumar Patra S
a5c1d92139 qca: ipq806x: Added QCA8511 card support.
Change-Id: I9aff645fd7e6879cb637676248f01a65d375d498
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2016-09-22 18:01:23 +05:30
Aditya Kumar Patra S
a98a8248bb qca: ipq806x: Added S17 PHY driver.
Change-Id: I389cb4b7201485635898d25f958712979cc9fb9c
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2016-09-22 17:55:40 +05:30