Commit graph

2613 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Linux Build Service Account
8d3d5c2071 Merge "ipq40xx: Adding ethernet init sequence" into eggplant 2016-09-23 01:42:17 -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
Aditya Kumar Patra S
50b331a6f7 qca: ipq806x: Added GMAC driver.
Change-Id: If35df7d37a82604b1f686765e21c79b1bae094f5
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2016-09-22 17:46:47 +05:30
Akila N
d3cefa47c5 ipq40xx: Adding ethernet init sequence
Change-Id: I3401f99e89e9dd3af952f70437524eadf3a1a80a
Signed-off-by: Akila N <akilan@codeaurora.org>
2016-09-13 14:41:41 +05:30
Gokul Sriram Palanisamy
234dc3a733 qca: Moving fdt fixup related routines to a common file
Adding a common file fdt.c and moving fdt fixup related routines
to this file to keep them generic.

Change-Id: I863135fc79f52eb35789605b8e240c637db0e02a
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-09-01 06:50:13 -07:00
Aditya Kumar Patra S
a30ad3ea21 qca: GPIO: Added API to read GPIO input.
Change-Id: Icaaf82668bbdec8aaac478f70a4ef29ffc1396a1
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2016-08-30 23:24:34 -07:00
Akila N
03787a3b82 ipq40xx: Parsing config values from dts
Change-Id: I6fc163b24d1beb4baf93992588f25cb254507606
Signed-off-by: Akila N <akilan@codeaurora.org>
2016-08-24 16:50:15 +05:30
Akila N
e7aaad5e69 ipq40xx: Eliminate use of gboard_param
This change eliminates the use of gboard_param
variable. Subsequent changes will make use of
dts.

Change-Id: Ic79a72c4fa1b86e864b55306a32c110bcfbc9184
Signed-off-by: Akila N <akilan@codeaurora.org>
2016-08-23 15:30:36 +05:30
Linux Build Service Account
83ea1846ff Merge changes I532ef7e8,I77614174 into eggplant
* changes:
  qca: ipq: Fixed compiler warning
  qca: ipq: Moved clock header files into include folder
2016-08-12 06:30:44 -07:00
Gokul Sriram Palanisamy
ddd2d641fe qca: GPIO: Moved GPIO bit value macros to dt-bindings
1. Moved gpio structure declaration to gpio.h
2. Moved gpio configuration bit value macros to dt-bindings

Change-Id: I9da1cc3703a92e02cfa86765c8d4afe5321fed35
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-08-12 15:15:01 +05:30
Ajay Kishore
bdaab34867 qca: ipq: Moved clock header files into include folder
Moved the clock header files into include folder to
escape from relative paths.

Change-Id: I776141741296e1138e45efb069479a0e26b4855c
Signed-off-by: Ajay Kishore <akisho@codeaurora.org>
2016-08-11 23:12:37 -07:00
Aditya Kumar Patra S
607aab806a qca: serial: Porting qcom serial common driver.
Modified common serial driver to work for all AK, DK and HK boards.

Made the driver more generic. The board specific
configurations are moved to respective board.c files.

Change-Id: I8aa0001d215126eb1dd15d75d6ab3f9139d6f919
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2016-08-09 00:13:51 -07:00
Gowtham Siddarth Dhandapani
2a12ef637f qca: ipq40xx: Enabled full boot chain for eMMC
Change-Id: I5e795ff87d2c7a28ef5bd6cf2bbaabdc26cd48e7
Signed-off-by: Gowtham Siddarth Dhandapani <gdhandap@codeaurora.org>
2016-08-05 14:54:10 +05:30
Gokul Sriram Palanisamy
4a358cb07e ipq4019: Enabling qca common bootipq command
Change-Id: Ia5c3e996142dfdc194f0ed2f4bbe860b586a4139
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-07-18 19:36:18 +05:30
Saravanan Jaganathan
2230d5482d qca: ipq: Fixed compiler warnings
Fixed warnings for both ipq807x and ipq40xx
builds.

Change-Id: I69accebf525ee52f470335a14474378f5e7f65b0
Signed-off-by: Saravanan Jaganathan <sjaganat@codeaurora.org>
2016-07-09 17:41:34 +05:30
Manoharan Vijaya Raghavan
bc66f872cb scm: qca: Added scm call support for 64 bit TZ
Change-Id: I061193a9cf3be3a6c6ad42de7756aa8319004a29
Signed-off-by: Manoharan Vijaya Raghavan <mraghava@codeaurora.org>
2016-06-30 23:53:58 -07:00
Manoharan Vijaya Raghavan
f3c9b9f060 scm: qcom: Moving smc calls to common folder
SMC calls are common for IPQ807x, IPQ40xx hence moving it to
common folder

Change-Id: I3d6564ad51ebe396f85cedbf41374374f40865c6
Signed-off-by: Manoharan Vijaya Raghavan <mraghava@codeaurora.org>
2016-06-30 23:53:46 -07:00
Sham Muthayyan
2a8bb9d7d7 qcom: nand: Add IPQ807x support
Change-Id: If83199c83275dba83350ddbf0f2d3a80de3e9c65
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2016-06-27 06:40:50 -07:00
Sham Muthayyan
32d68e6e5b ipq807x: QPIC NAND Makefile and board file changes
Change-Id: I67aeca19bcb7bdc5c83cb1fc6666cdb55bb24c37
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2016-06-27 19:09:37 +05:30
Linux Build Service Account
f07326d936 Merge "qcom: nand: Add QPIC NAND driver with BAM support" into eggplant 2016-06-26 21:43:26 -07:00
Linux Build Service Account
3467925840 Merge "qcom: dma: Add BAM support" into eggplant 2016-06-26 21:43:26 -07:00
Sham Muthayyan
df863e53b2 qcom: nand: Add QPIC NAND driver with BAM support
These files are copied from
https://us.codeaurora.org/cgit/quic/qsdk/oss/boot/uboot-1.0/tree/arch/arm/include/asm/arch-qcom-common/qpic_nand.h
https://us.codeaurora.org/cgit/quic/qsdk/oss/boot/uboot-1.0/tree/drivers/mtd/qpic_nand.c

Change-Id: I21956eae14487086680d81c21468dbde1306a8e2
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2016-06-24 16:57:43 +05:30
Sham Muthayyan
1eb5034b0b qcom: dma: Add BAM support
These files are copied from
https://us.codeaurora.org/cgit/quic/qsdk/oss/boot/uboot-1.0/tree/arch/arm/include/asm/arch-qcom-common/bam.h
https://us.codeaurora.org/cgit/quic/qsdk/oss/boot/uboot-1.0/tree/drivers/dma/bam.c

Change-Id: I450227a1a85530ee78d6128c97ce722b6abec4bf
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2016-06-24 16:57:33 +05:30
Sham Muthayyan
f464f73be8 qcom: Moving SMEM into common location
The SMEM is used for all the platforms like ipq40xx and ipq807x.
So moving this into a common place to use all qcom platforms.

Change-Id: I04f0bf0e7aad0eae71024d734d8049a3470d510d
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2016-06-23 23:04:57 -07:00
Akila N
8013845f03 qca: ipq40xx: Adding files scm.c and scm.h
Change-Id: I1aad71936526a497499a476dd2a0e9b004e7364e
Signed-off-by: Akila N <akilan@codeaurora.org>
2016-04-18 03:12:29 -07:00
Balamurugan Selvarajan
84ba768fc3 qca: ipq40xx: Add EDMA controller driver
Change-Id: I7f784bac9dedbbbc54cae3827bfe2aa826867c3c
Signed-off-by: Balamurugan Selvarajan <bselvara@codeaurora.org>
2016-04-08 16:44:39 +05:30
Linux Build Service Account
2758c33842 Merge changes Ib63a3920,I468af254,Iae0cc3bf,I367b3521,I3b7d64f5,I1ba2b87e into eggplant
* changes:
  qca: ipq40xx: Adding support for UART driver
  qca: ipq40xx: Enabling Makefile and Kconfig
  qca: ipq40xx: Adding dts support
  qca: ipq40xx: Adding board specific files
  qca: ipq40xx: Adding files iomap.h and gpio.h
  qca: ipq40xx: Addding smem related files
2016-04-07 22:54:12 -07:00
Akila N
03363dc9b9 qca: ipq40xx: Adding support for UART driver
Change-Id: Ib63a39202ad1475600ac6583aed85a52a7de82a7
Signed-off-by: Akila N <akilan@codeaurora.org>
2016-04-06 22:15:38 -07:00
Akila N
bbe6202f7c qca: ipq40xx: Adding board specific files
Change-Id: I367b352146ad34d1564f6f861b0dd4a902572562
Signed-off-by: Akila N <akilan@codeaurora.org>
2016-04-07 10:43:25 +05:30
Akila N
00a91730cf qca: ipq40xx: Adding files iomap.h and gpio.h
Change-Id: I3b7d64f5172d9e52626f4e24c8a6f2b386201df0
Signed-off-by: Akila N <akilan@codeaurora.org>
2016-04-07 10:43:00 +05:30
Akila N
438419dd6e qca: ipq40xx: Addding smem related files
Change-Id: I1ba2b87e7e33a0ba8a2357aab5fd4b961ce4bd81
Signed-off-by: Akila N <akilan@codeaurora.org>
2016-04-07 10:42:38 +05:30
Vasudevan Murugesan
80664c0da4 ipq807x: mmc: Initial changes for compilable mmc driver
This patch has the initial changes required to make the
qca_mmc driver buildable. Also added the Kconfig
options required for the qca_mmc driver.

Change-Id: I15c0e9288ae5c7ae361659dff1e84b619de989a8
Signed-off-by: Vasudevan Murugesan <vmuruges@codeaurora.org>
2016-04-06 18:29:39 +05:30
Manoharan Vijaya Raghavan
ae1ec36950 qcom: serial: common serial driver
Porting serial driver from IPQ806x u-boot for IPQ807x

Change-Id: I860af26485231d5634f33422ca5cb7a0219e6125
Signed-off-by: Manoharan Vijaya Raghavan <mraghava@codeaurora.org>
2016-02-25 11:58:48 +05:30
Tom Rini
f1993ca066 Merge branch 'master' of git://www.denx.de/git/u-boot-imx 2016-01-03 10:32:24 -05:00
Michael Heimpold
fe21eaf92d ARM: mxs: allow boards to select DC-DC switching clock source
For some board designs, it might be useful to switch the DC-DC
clock source to something else rather the default 24 MHz, e.g.
for EMI reasons.

For this, override the mxs_power_setup_dcdc_clocksource function
in your board support files.

Example:
void mxs_power_setup_dcdc_clocksource(void)
{
    mxs_power_switch_dcdc_clocksource(POWER_MISC_FREQSEL_20MHZ);
}

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Cc: Marek Vasut <marex@denx.de>
Cc: Otavio Salvador <otavio@ossystems.com.br>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Marek Vasut <marex@denx.de>
2016-01-03 15:56:36 +01:00
Mingkai Hu
0d6faf2bd0 armv8/ls1043a: Implement workaround for PEX erratum A009929
Consecutive write transactions from core to PCI express outbound
path hangs after 25 to 30 transactions depending on core freq.
This erratum enable the mbist clock through COP register setting.

Signed-off-by: Mingkai Hu <Mingkai.Hu@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
2015-12-17 08:52:18 +08:00
Mingkai Hu
2949ae5212 armv8/fsl_lsch2: fix DCSR_DCFG address
Signed-off-by: Mingkai Hu <Mingkai.Hu@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
2015-12-17 08:52:18 +08:00