Commit graph

37165 commits

Author SHA1 Message Date
Vandhiadevan Karunamoorthy
1b5ee1dd8a ipq5018: Add dts file for sod bring up
This new dts file contain uart support for sod bring up purpose

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I994e041363702febc40ed3c7632f76468483f8ca
2020-05-11 14:09:35 +05:30
Manikanta Mylavarapu
9800b9c065 ipq5018: Fix usb configuration
Update usb configuration based
on hardware requirement.

Signed-off-by: Manikanta Mylavarapu <mmanikan@codeaurora.org>
Change-Id: I307834cddab8b3b060d78a98ed047725d265ee00
2020-05-10 21:49:14 +05:30
Gerrit - the friendly Code Review server
bca0d487d3 Merge changes 2020-05-09 19:16:07 -07:00
Linux Build Service Account
4ef16c2f14 Merge "ipq5018: Uart clock update" 2020-05-09 15:38:26 -07:00
Linux Build Service Account
8473a5f83c Merge "ipq5018: Update GMAC ethernet driver" 2020-05-09 13:08:37 -07:00
Linux Build Service Account
8a67c4a29d Merge "board: ipq50xx: Initialize qpic nand only if rdp's has nand support." 2020-05-08 16:43:38 -07:00
Linux Build Service Account
830d6e3ea4 Merge "ipq5018: Add support for BT debug fdt fixup" 2020-05-08 08:39:45 -07:00
Md Sadre Alam
e5d962423b board: ipq50xx: Initialize qpic nand only if rdp's has nand support.
This change will add condition check based on dts property
status ="okay" and status = "disabled" for qpic nand initialization.

qpic_nand init will get called if and only if the corresponding
dts file will set the status="okay" for nand-controoler node.

if status="disabled" then qpic nand initialization will be skipped.

Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: Iea3069ee7b0e54635b991e6d932ac9273b26fe0f
2020-05-08 16:29:14 +05:30
Rajkumar Ayyasamy
5b037707e2 ipq8074: include new config name of hk01 board
Change-Id: If678ee50333b81cd81b23d4b1fb0aeca5edff99a
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2020-05-08 03:51:43 -07:00
Rajkumar Ayyasamy
37d87655a2 ipq: add support to have multiple configname
Change-Id: Ie7c32f764fa42666b7997f4319789111e0551ad0
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2020-05-08 15:33:47 +05:30
Vandhiadevan Karunamoorthy
b36a6b7023 ipq5018: Support for Compressed ART caldata
This code update add support in tiny spi-nor flash
for  uncompressing the ART partition and read
the mac address.

This support GZIP and LZMA compression

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I699cebeb98748116ab7e3b1412d33562a4aa9d6d
2020-05-08 13:46:12 +05:30
Linux Build Service Account
190eec8139 Merge "driver: nand: qpic: Enable default clock setting for qpic." 2020-05-08 01:12:16 -07:00
Linux Build Service Account
8011644ef3 Merge "arm: dts: ipq50xx: Remove duplicate nodes from dts." 2020-05-08 01:12:16 -07:00
Md Sadre Alam
4d380489d5 driver: nand: qpic: Enable default clock setting for qpic.
This change will enable default clock setting QPIC block.

Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: I12396dc9776c611df69216bad1471a988130b22d
2020-05-07 20:45:20 +05:30
Vandhiadevan Karunamoorthy
efb97f9df0 ipq5018: Uart clock update
This changes update uart clock setting for 1.8Mhz

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I406a0e3c86481d0fce9ac9aff489212ee5f709d9
2020-05-07 20:08:06 +05:30
Vandhiadevan Karunamoorthy
577c8ba9dc ipq5018: Update GMAC ethernet driver
This code changes update gmac configuration and
add Gephy, internal Mdio, uniphy and s17c switch.

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I1759b5edf91de9a48f6d8ae46b3481f3a87f10eb
2020-05-07 13:27:01 +05:30
Linux Build Service Account
6870c76758 Merge "arm: dts: ipq50xx: Add separate dts file to support eMMC." 2020-05-06 14:38:59 -07:00
Linux Build Service Account
bcb64aee5b Merge "ipq5018: Tiny U-boot: Add thumb2 support" 2020-05-06 10:10:56 -07:00
Vandhiadevan Karunamoorthy
13401122aa ipq5018: Add support for BT debug fdt fixup
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: Ic1b8e4e566f63d4bf007435d0690ceee6c926297
2020-05-06 21:13:57 +05:30
Md Sadre Alam
8e2a19d7d2 arm: dts: ipq50xx: Remove duplicate nodes from dts.
This change will remove duplicate nodes from dts
and update machine id.

Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: I62f7868fe6b7c4b5eeb0f16e9ea65099cbb40f01
2020-05-06 13:13:42 +05:30
Md Sadre Alam
d07f150ce6 arm: dts: ipq50xx: Add separate dts file to support eMMC.
Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: I28988066d0e75d5eec950a89c80fee5b13ca9df0
2020-05-05 18:34:33 +05:30
Saravanan Jaganathan
e3cb69348b tools: pack: exit with error code when pack fails
change print to exit with error code so that we know
when an image packing fails

Change-Id: I55b791c226de1c6b2d40c4886a43b301c58aa644
Signed-off-by: Saravanan Jaganathan <sjaganat@codeaurora.org>
2020-05-04 22:01:47 -07:00
Vandhiadevan Karunamoorthy
08c5aec681 ipq5018: Tiny U-boot: Add thumb2 support
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: Id4e04f98edee3a710ced1481815f29d83a44200c
2020-05-04 15:49:34 +05:30
Linux Build Service Account
8027a7fcf0 Merge "ipq5018: Add PCIe clocks configuration" 2020-05-02 04:07:57 -07:00
Manikanta Mylavarapu
d7f72cf927 ipq5018: Add PCIe clocks configuration
Signed-off-by: Manikanta Mylavarapu <mmanikan@codeaurora.org>
Change-Id: I5ef7d1f6b447c4626992ad79e97608fbce9f01b2
2020-05-01 13:26:50 +05:30
Vandhiadevan Karunamoorthy
fed441d78c ipq5018: Tiny U-boot: Remove NAND features
This changes remove nand command and Env support

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I6c59f8259306ef79499420afe4da17a2674e98be
2020-04-30 11:22:27 +05:30
Vandhiadevan Karunamoorthy
f5f074b49e ipq5018: Tiny U-boot: Remove nor from MTD
This code changes remove initializing nor as sudo NAND in mtd
framework and add sf command support to read from ART partition

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I39a27a72d9ab966f95d58adb4274660e147df67c
2020-04-30 11:22:27 +05:30
Vandhiadevan Karunamoorthy
dc75984fcc ipq5018: Remove default unwanted configuration
This code changes remove boot support for netbsd, vxworks and
rtems.

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I1f435fc80f29ad1f8e52e4b18d832e120ac9a503
2020-04-30 11:22:26 +05:30
Vandhiadevan Karunamoorthy
1df5cd41f6 ipq5018: Tiny U-boot: Remove unwanted features.
This code changes remove the list of features given below
which is not required for tiny u-boot.
1.CONFIG_EFI_PARTITION
2.CONFIG_RBTREE
3.CONFIG_CMD_CACHE
4.CONFIG_CMD_BOOTZ

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I8174686db1e30334512fb2c77e77aa9ae101e023
2020-04-30 11:22:26 +05:30
Linux Build Service Account
1663d8c23b Merge "ipq: fdt_fixup: Add support for addmtdparts" 2020-04-29 03:11:21 -07:00
Manikanta Mylavarapu
92980348f7 ipq5018: Fix phy initialization
This Fix will skip phy init sequence
for IPQ5018 because it doesn't need
any phy initialization.

Signed-off-by: Manikanta Mylavarapu <mmanikan@codeaurora.org>
Change-Id: I781ea03eda933692d6a096c97d93d238b1e7063d
2020-04-29 08:48:03 +05:30
Saravanan Jaganathan
c78c9ed1f5 ipq: fdt_fixup: Add support for addmtdparts
Uboot passes the partition table in smem to kernel through
device tree. There is currently no method to specify
additional paritions to be created. This environment
variable addmtdparts allows users to specify new
partitions. The format is

	setenv addmtdparts <newpart>[,<newpart>,...]
	where <newpart> is  <size>[@<offset>][<name>][ro][lk]

This syntax is same as in mtdparts part definition.

	Example:
		setenv addmtdparts 100M@0x8080000(diag)

Change-Id: I91486cf5f74b0724565735f116ee1ec6722ba683
Signed-off-by: Saravanan Jaganathan <sjaganat@codeaurora.org>
2020-04-28 22:41:21 +05:30
Vandhiadevan Karunamoorthy
7d2cfd8f6a ipq5018: Add support for execute_tzt command
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I5ddc35daf908c894cce59808c9cb5c310417efdf
2020-04-28 10:01:09 +05:30
Linux Build Service Account
78ff936e75 Merge "arm: dts: ipq50xx: configure all GPIOs for DB board" 2020-04-27 13:14:03 -07:00
Md Sadre Alam
9ce72a0472 arm: dts: ipq50xx: configure all GPIOs for DB board
This change will add all GPIO configuration for DB boards
as per DB board schematics.

Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: Ic853acc1639c344327f509ef0b391b9e3fd9933a
2020-04-27 16:28:10 +05:30
Linux Build Service Account
7f2f9a9814 Merge "ipq5018: Enable LZMA decompression support" 2020-04-24 13:15:31 -07:00
Linux Build Service Account
4f43809fbb Merge "arm: dts: ipq501x: update gpio as per rdps schematics." 2020-04-24 07:13:46 -07:00
Md Sadre Alam
88a244aa1f arm: dts: ipq501x: update gpio as per rdps schematics.
Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: I1269d8a0ec33b7c07bf27e7482d36bceb87fd35c
2020-04-23 11:22:17 +05:30
Ram Chandra Jangir
084830e8c4 ipq5018: Enable LZMA decompression support
LZMA usually performs better than gzip in terms of compression
ratio, IPQ5018 has small flash memory and hence the lzma support
is enabled defining the CONFIG_LZMA define.

Signed-off-by: Ram Chandra Jangir <rjangir@codeaurora.org>
Change-Id: Ib07abe85206f011c637c61a7c00d8d3788120a41
2020-04-20 16:22:41 +05:30
Linux Build Service Account
28e69e89c5 Merge "ipq5018: Tiny-nor support" 2020-04-15 13:45:54 -07:00
Linux Build Service Account
2b20ed0e91 Merge "ipq5018: Disable secure pil for ATF" 2020-04-15 13:45:53 -07:00
Linux Build Service Account
429d109cfd Merge "ipq6018: add UART clock settings" 2020-04-15 10:47:46 -07:00
Linux Build Service Account
c8100436ec Merge "pack.py: Section and variable names made generic" 2020-04-15 10:47:45 -07:00
Rajkumar Ayyasamy
86e3d52362 ipq6018: add UART clock settings
Change-Id: Ifb80b67e961ae2cde93bc5709330c5df932d0b4b
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2020-04-15 10:30:05 +05:30
Gokul Sriram Palanisamy
72afd56aaf pack.py: Section and variable names made generic
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Change-Id: I54ba0d7898445cfba5032bb6525f15b4a6888416
2020-04-14 21:48:31 -07:00
Vandhiadevan Karunamoorthy
de9c7a6a8b ipq5018: Tiny-nor support
This changes enable ipq5018-tiny arch config which support
ipq5018 standard board files but support only particular dtbs

This change mainly removes eMMC, Pci ,I2C & UBI command and
additional features support

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I4c92c77094d7fbc23b979f0c65f650cc89c28715
2020-04-14 23:28:58 +05:30
Vandhiadevan Karunamoorthy
b9ca7ae4a2 ipq5018: Disable secure pil for ATF
This changes disable secure pil if 'atf' env variable is set

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I8a86b313a639515375c71e78f90d08e8fc340f59
2020-04-14 21:00:59 +05:30
Gitanjali Krishna
f403ae6e97 minidump: Add u-boot env variable to test minidump
To test minidump feature, we require a method to
collect full dump and minidump binaries on a
single run for side by side comparison.

This change enables dumping of minidump and
full dump binaries consecutively when uboot
env variable 'dump_minimal_and_full' is set.

Change-Id: I846084546d3c67398d7ef7b81e87c97bcc63c609
Signed-off-by: Gitanjali Krishna <gitanjal@codeaurora.org>
2020-04-09 08:55:57 -07:00
Linux Build Service Account
b02ecfef9e Merge "dts: hk14: Removed unused malibu port" 2020-04-08 06:42:15 -07:00
Linux Build Service Account
cfb97cf321 Merge "ipq5018: Fix xPU violation issue" 2020-04-08 03:21:49 -07:00