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>
Added ethernet support to devicetrees of AP145,
AP160 and Ap161 boards.
Change-Id: Iad370852c4d3e2dc662627d2890198bb0747d03c
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
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>
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>
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>
Added device tree to extend support for DB149, AP145, AP145_1xx.
Change-Id: Ief0fdcc521bb3c884ada04dfece27bce47d00c9f
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
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>
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>
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>
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>
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>
This change adds uart, spi, nand, emmc gpios
to dts files. Also, config info like machid,
ddr size, supported flash configs are added to
dts files.
Change-Id: Id130b721fb09777d58401334d7f59c6377b84496
Signed-off-by: Akila N <akilan@codeaurora.org>
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>
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>
Moved the clock header files into include folder to
escape from relative paths.
Change-Id: I776141741296e1138e45efb069479a0e26b4855c
Signed-off-by: Ajay Kishore <akisho@codeaurora.org>
Added device tree based IPQ common GPIO driver.
Updated device tree with uart_gpio data.
Change-Id: I4752609a766716d3bdd97f6ca1c1c20ffa3caa47
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>