Commit graph

9042 commits

Author SHA1 Message Date
Gokul Sriram Palanisamy
fbfc4db4c3 ARM: qca: bootipq: Updated to look for SoC specific config name
As ipq8064 SoC v1.0 support is now suspended, bootipq fails to
fetch the config node as it was looking for v1.0 config name.
With this change, bootipq will look for config name with SoC version.

Change-Id: I8cf7c6e279609e21a4c53e229d38aa0e2049c6b1
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-12-29 16:48:09 +05:30
Linux Build Service Account
1bcde63ae1 Merge "MIPS: qca953x: Enable Support for AP147 Target" 2016-12-22 20:29:02 -08:00
Linux Build Service Account
d0ce39f770 Merge "MIPS: qca956x: Enable AP151 target support" 2016-12-22 20:29:02 -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
Prabhu Jayakumar
b0333e0960 MIPS: qca956x: Enable AP151 target support
The following features are enabled ,
1) AP151 target specific configs are added ( mainly ethernet )
2) AP151 and AP152 share a common configuration file & Makefile
with minimal changes between them. Support for avoiding the conflict
between them is implemented.

Change-Id: Ia71b20199d43cd29ff214c1258e4b15fcd55cb6b
Signed-off-by: Prabhu Jayakumar <pjayak@codeaurora.org>
2016-12-21 14:49:27 +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
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
1ef9b1b6a1 ipq40xx: Added flash crashdump data support
This patch will support storing crashdump data
in flash with the following command from u-boot.

	dumpipq_flash_data <offset_in_flash>

It reads the TLV (Type Length Value) data passed
through kernel (from a DRAM location), extracts the
required information and writes to boot flash in the
provided offset.

This change provides a reference to add any other
information needed to be saved.

Signed-off-by: Akila N <akilan@codeaurora.org>
(cherry picked from commit 68ac327ce760c8a6b5ce1f35def3d0c4ccc0d00f)

Change-Id: I20517eb6e6fdb941101a3aa55af4cc4ee875779b
Signed-off-by: Ajay Kishore <akisho@codeaurora.org>
2016-11-23 06:41:16 -08:00
Gopinath Sekar
b041a1b83e ARM: qca: ipq8064: Updated smem FLASH_DENSITY field ID
Updated SMEM_BOOT_FLASH_DENSITY for a new entry in the sbl table.

Change-Id: I637457a9d93305cd13c80bb460d4e73aec4a29e6
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-11-22 21:37:50 -08:00
Linux Build Service Account
decf90f8ca Merge "MIPS: qca956x: Fix gmac descriptor corruption issue" into eggplant 2016-11-21 04:22:03 -08:00
Linux Build Service Account
b9b1d68387 Merge "MIPS: qca956x: enable the pci driver" into eggplant 2016-11-21 04:22:02 -08:00
Linux Build Service Account
09cb3b08b7 Merge "MIPS: qca956x: enable the ethernet driver" into eggplant 2016-11-21 04:22:02 -08:00
Linux Build Service Account
f286af0057 Merge "ipq4019: Common dts support for nor and nor plus emmc" into eggplant 2016-11-17 01:47:40 -08:00
Linux Build Service Account
add1b4876b Merge "MIPS: qca956x: enable the flash driver" into eggplant 2016-11-17 01:33:01 -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
Gokul Sriram Palanisamy
d92e8c6aa5 ARM: qca: Ported fuseipq command
This is required to blow the fuses in QFPROM using data at sec.dat file.
Fuseipq command is invoked with the address of sec.dat file as argument.
Fuseipq invokes scm_call to carry out this action.

Change-Id: Ib73ba61da7ad339859c4b7b4ea2378650cd96fbf
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-11-04 15:48:56 +05:30
Prabhu Jayakumar
cb833dd465 MIPS: qca956x: Fix gmac descriptor corruption issue
tftp transfer failed as gmac descriptor got corrupted.
GMAC descriptors gets addresses from malloc area that
were already used and made free by some other module.
There is a cache invalidate issue when tftp transfer
happens and gmac descriptors gets corrupted.
flush_cache is needed to avoid this.

Change-Id: I40ae7c771bcac3fade78de4454bfa3dafde4b70a
Signed-off-by: Prabhu Jayakumar <pjayak@codeaurora.org>
2016-11-04 03:04:54 -07:00
Prabhu Jayakumar
8f7336f0a6 MIPS: qca956x: enable the pci driver
This change enables the PCI driver on u-boot for
the AP152 target

Change-Id: I7bce245595935cc844200801c24348f05054b238
Signed-off-by: Prabhu Jayakumar <pjayak@codeaurora.org>
2016-11-04 03:04:29 -07:00
Prabhu Jayakumar
eef8109a37 MIPS: qca956x: enable the ethernet driver
This change enables the GMAC and PHY driver for
the AP152 target

Change-Id: I2d4155754092a4d04d46a40624a68296f9c8fee0
Signed-off-by: Prabhu Jayakumar <pjayak@codeaurora.org>
2016-11-04 15:33:12 +05:30
Prabhu Jayakumar
aee2b6dbdd MIPS: qca956x: enable the flash driver
This change enables the flash driver on u-boot for
the AP152 target.

Change-Id: I9778adf4a4d347fdcce16fbfede87f765302595c
Signed-off-by: Prabhu Jayakumar <pjayak@codeaurora.org>
2016-11-04 10:56:59 +05:30
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
f6b4529449 qca: Modified the way serial init to looks for console and gsbi_base
Updated serial init to look for console property in aliases instead of
directly looking for serial node. This is to support device tree to
contain multiple serial nodes with different unit address to support
boards using different gsbi peripherals.

Change-Id: Iae741d7e56464a2a43f9132dfe87af62945ce60e
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-11-01 10:47:06 +05:30
Gowtham Siddarth Dhandapani
955a9212b6 ipq4019: Common dts support for nor and nor plus emmc
Change-Id: I1412e076f96f778651ff837f30e4b3fe9ad211e6
Signed-off-by: Gowtham Siddarth Dhandapani <gdhandap@codeaurora.org>
2016-10-28 12:31:26 +05:30
Gokul Sriram Palanisamy
b429ae2267 ipq8064: Enabled u-boot reset by enabling watchdog
On applying 'reset' command on u-boot, it enables the watchdog
with a default reset value. CPU will reset after the set value.

Change-Id: Idee257e6fcdf576e5209066fabeb76340465c25e
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-10-21 14:12:04 +05:30
Gokul Sriram Palanisamy
8a8d34f7a0 ipq8064: Updated configuration name with soc_version
Inserted soc_version to configuration string
to support soc versions v2.0 and v3.0.

Change-Id: Ifbd92175312df15cb3adf250f964aa156bd33f71
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-10-20 07:37:33 -07:00
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
fae4bc20ab ipq8064: Added mtd_node for qcom_nand and updated MTDPARTS_MAXLEN to 4096
In ft_board_setup,
1. Added ipq nand device qcom,qcom_nand to mtd nodes list.
2. The maximum size of mtdparts used is 4096. Hence,
   updating MTDPARTS_MAXLEN to match this value.

Change-Id: Iede752ddf72c410c6f4a6f828d8c2caef90cbf09
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-10-17 23:20:26 +05:30
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
Ajay Kishore
e11ebd407d ipq806x: enable saveenv command
Change-Id: If57cde6fb84da52dfb9cb21d1018dcfd82773989
Signed-off-by: Ajay Kishore <akisho@codeaurora.org>
2016-10-14 18:26:59 +05:30
Ajay Kishore
84fd1890ce ipq806x: Fixed compilation errors
Change-Id: I00bc9fdc5fb58a0b4d63b90c416508e07ab49f25
Signed-off-by: Ajay Kishore <akisho@codeaurora.org>
2016-10-14 13:05:41 +05:30
Ajay Kishore
623a60fb2a ipq806x : Enable crashdump support
Change-Id: I0d0d45ad3f35f6d7e49ec96c9b29b6a9dcdc919e
Signed-off-by: Ajay Kishore <akisho@codeaurora.org>
2016-10-12 10:28:19 +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
84d2f385fb qca: Modified board spcific Makefile to support CONFIG_ENV_IS_NOWHERE.
Modified board Makefile to avoid compilation of env.c when
"CONFIG_ENV_IS_NOWHERE" is enabled.

Change-Id: Ie694276c9071ad17f378a9926d78aa5a6e39a449
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2016-10-07 01:41:05 -07:00
Aditya Kumar Patra S
9bbb0820f4 qca: Made IPQ806x specific changes to common fdt fixup files.
Change-Id: I185d28fcaa8f1178e932772ddb10a036cb2b8a1f
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2016-10-07 01:40:51 -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
55ae0d19fb ipq807x: Enable crashdump support
Change-Id: Ie404c042c6222c12f25632078b3db96af2522fc7
Signed-off-by: Ajay Kishore <akisho@codeaurora.org>
2016-10-05 11:30:05 +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
Akila N
ba59fd6f3c ipq40xx: Support cpu reset
Change-Id: I62cb3edb92144280e55b75f99d2361c8faa4d9c2
Signed-off-by: Akila N <akilan@codeaurora.org>
2016-09-29 21:28:25 +05:30
Akila N
e34c2dc55e Fix compilation errors in clk driver
Change-Id: I8d25a211dea888c9143178aa28ec1e01297132c2
Signed-off-by: Akila N <akilan@codeaurora.org>
2016-09-29 21:03:49 +05:30
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
17daa21dc8 ipq40xx: PCI code cleanup
Change-Id: I3ec533e1b6dd2b34dae203ca780e74263cc4f8e3
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2016-09-28 00:37:39 -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
7308319e63 Merge "ipq40xx: Move clock.c to drivers/clk" into eggplant 2016-09-23 01:42:16 -07:00
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