]>
git.ipfire.org Git - thirdparty/u-boot.git/log
Siva Durga Prasad Paladugu [Wed, 25 May 2016 09:50:38 +0000 (15:20 +0530)]
mtd: nand: arasan_nfc: Correct nand ecc initialization
Correct the nand ecc initialization code
This fixes the issue of incorrect nand ecc
init if no device is found in ecc_matrix then
it endsup ecc init with junk initialization
instead of the most suited one.
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Fri, 18 Mar 2016 18:36:01 +0000 (19:36 +0100)]
ARM64: zynqmp: Add end of line to MAINTAINERS file
Trivial fix.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Fri, 18 Mar 2016 17:21:36 +0000 (18:21 +0100)]
ARM64: zynqmp: Select SYS_CONFIG_NAME via Kconfig
This option enable adding new platform suport just by adding defconfig
and DTS file which will target generic configuration for SoC.
Make no sense to extend Kconfig just create a pointer between DTS and
configuration file.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Fri, 18 Mar 2016 17:14:32 +0000 (18:14 +0100)]
Revert "ARM: zynqmp: Extend cache handling"
This reverts commit
88d67cb1b4425496607ceaadf893b46a61d304a8 .
This patch was in the tree for Silicon bringup. It is not needed
anymore.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Fri, 18 Mar 2016 17:09:15 +0000 (18:09 +0100)]
ARM64: zynqmp: Enable fat/ext4 write for USB too
Fix USB config option.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Fri, 18 Mar 2016 17:04:01 +0000 (18:04 +0100)]
ARM64: zynqmp: Move flash enabling from board file to defconfig
Simplify board config file.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Fri, 18 Mar 2016 16:57:57 +0000 (17:57 +0100)]
ARM64: zynqmp: Move CONFIG_SPI_FLASH_SST from board file to defconfig
Simplify board configuration.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Fri, 17 Jun 2016 07:45:05 +0000 (09:45 +0200)]
Merge tag 'v2016.03' into master
Prepare v2016.03
There could be problems with SPI like always.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Thu, 9 Jun 2016 08:29:41 +0000 (10:29 +0200)]
ARM64: zynqmp: DCC is already enabled by default
Remove duplicated DCC enabling.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Tue, 7 Jun 2016 06:01:35 +0000 (08:01 +0200)]
Revert "mmc: mmc_write: Write only single block at a time"
This reverts commit
69ea56c61f09a058cd413f87b2a0a41ca4d6f474 .
Issue with EXT2/EXT3/EXT4 is gone without finding out reason.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Anurag Kumar Vulisha [Tue, 17 May 2016 11:19:08 +0000 (16:49 +0530)]
Revert "ARM64: zynqmp: Add serdes address space dp driver"
This reverts commit
1e89d3062fc5883a2ea7bd999a108af6adf71937
Since we are using serdes driver , no need of mapping serdes register
space into DP driver.
Signed-off-by: Anurag Kumar Vulisha <anuragku@xilinx.com>
Tested-by: Hyun Kwon <hyunk@xilinx.com
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Hyun Kwon [Tue, 17 May 2016 11:19:10 +0000 (16:49 +0530)]
ARM64: zynqmp: zcu102: Add phy phandles to DisplayPort
Add phy phandles to the DisplayPort DT node.
Signed-off-by: Hyun Kwon <hyun.kwon@xilinx.com>
Signed-off-by: Anurag Kumar Vulisha <anuragku@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Wed, 25 May 2016 18:09:35 +0000 (20:09 +0200)]
ARM64: zynqmp: Add gpio-keys for zcu102
There is gpio push button on MIO22. Add it to DTS to have full board
description.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Wed, 20 Apr 2016 11:12:25 +0000 (13:12 +0200)]
ARM64: zynqmp: Enable gpio-led as heartbeat on zcu102
Show user that Linux is alive on the board.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Anurag Kumar Vulisha [Tue, 17 May 2016 11:19:05 +0000 (16:49 +0530)]
devicetree: ata: Add phys phandle property in sata node
This patch adds phys phandle property in sata node for using
zynqmp phy driver.
Signed-off-by: Anurag Kumar Vulisha <anuragku@xilinx.com>
Tested-by: Hyun Kwon <hyunk@xilinx.com
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Anurag Kumar Vulisha [Tue, 17 May 2016 11:19:06 +0000 (16:49 +0530)]
devicetree: usb: Add phys phandle property in usb node
This patch adds phys phandle property in usb node for using
zynqmp phy driver.
Signed-off-by: Anurag Kumar Vulisha <anuragku@xilinx.com>
Tested-by: Hyun Kwon <hyunk@xilinx.com
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Wed, 25 May 2016 13:23:25 +0000 (15:23 +0200)]
ARM64: zynqmp: Move serdes node to the right location
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Anurag Kumar Vulisha [Tue, 17 May 2016 11:19:03 +0000 (16:49 +0530)]
devicetree: phy: Add ZynqMP GT core support to zcu102
This patch adds Zynqmp Phy spport to zcu102 board
Signed-off-by: Anurag Kumar Vulisha <anuragku@xilinx.com>
Tested-by: Hyun Kwon <hyunk@xilinx.com
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Anurag Kumar Vulisha [Tue, 17 May 2016 11:19:02 +0000 (16:49 +0530)]
devicetree: phy: Add Zynqmp Phy core support to DC1 board
This patch adds Zynqmp Phy support to DC1 boards
Signed-off-by: Anurag Kumar Vulisha <anuragku@xilinx.com>
Tested-by: Hyun Kwon <hyunk@xilinx.com
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Anurag Kumar Vulisha [Tue, 17 May 2016 11:19:01 +0000 (16:49 +0530)]
devicetree: phy: add device tree properties for ZynqMP GT core
This patch adds the ZynqMP GT core device-tree properties for
zynqmp.dtsi file.
Signed-off-by: Anurag Kumar Vulisha <anuragku@xilinx.com>
Tested-by: Hyun Kwon <hyunk@xilinx.com
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Naga Sureshkumar Relli [Wed, 18 May 2016 06:53:13 +0000 (12:23 +0530)]
ARM64: zynqmp: Add ocm node in dtsi
This patch adds ocm controller node in zynqmp.dtsi.
needed for OCM edac support.
Signed-off-by: Naga Sureshkumar Relli <nagasure@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Wed, 6 Apr 2016 08:43:23 +0000 (10:43 +0200)]
ARM64: zynqmp: List all SMMU ids
Add SMMU description for all tested IPs.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Anurag Kumar Vulisha [Tue, 17 May 2016 11:19:04 +0000 (16:49 +0530)]
devicetree: phy: Include phy.h in dts files
This patch adds phy.h include file from dt-bindings. This is used
for adding phandles to phy driver by high speed pheripherals like
SATA, USB, Display Port, PCIe and SGMII in their device tree nodes.
Signed-off-by: Anurag Kumar Vulisha <anuragku@xilinx.com>
Tested-by: Hyun Kwon <hyunk@xilinx.com
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Anurag Kumar Vulisha [Tue, 17 May 2016 11:18:57 +0000 (16:48 +0530)]
phy: Add Display port and SGMII type PHYs
This patch adds two new macros for specifying Display
Port and SGMII PHYs.
Signed-off-by: Anurag Kumar Vulisha <anuragku@xilinx.com>
Tested-by: Hyun Kwon <hyunk@xilinx.com
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Stefan Roese [Fri, 29 Jan 2016 08:35:37 +0000 (09:35 +0100)]
dt-bindings: Add include/dt-bindings/phy/phy.h from Linux v4.4
This will be needed by the upcoming Marvell Armada 375 dts files.
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Luka Perkov <luka.perkov@sartura.hr>
Siva Durga Prasad Paladugu [Wed, 25 May 2016 07:37:44 +0000 (13:07 +0530)]
xilinx: zynqmp: Correct sd autoboot command
Correct the SD auto boot command so that it
will work even if uEnv.txt file did not
exist in SD card
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Alexander Graf [Thu, 12 May 2016 11:44:01 +0000 (13:44 +0200)]
ARM64: zynqmp: Align gic ranges for 64k in device tree
The GIC ranges in the zynqmp device tree are only 4kb aligned. Since
commit
12e14066f we automatically deal with aliases GIC regions though,
so we can map them transparently into guests even on 64kb page size
systems.
This patch makes use of that features and sets GICC and GICV to 64kb
aligned and sized regions.
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Tue, 24 May 2016 12:10:17 +0000 (14:10 +0200)]
ARM: zynq: Remove -fno-strict-aliasing from config.mk
config.mk is not included in the build for a while and none reported any
problem. Remove this file completely.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Tue, 24 May 2016 12:05:57 +0000 (14:05 +0200)]
ARM: zynq: Remove -mno-unaligned-access flag duplication
Patch:
"arm: Switch to -mno-unaligned-access when supported by the compiler"
(sha1:
1551df35f296f0a8df32f4f2054254f46e8be252 )
enables -mno-unaligned-access for all platforms. Remove it for Zynq.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Wed, 18 May 2016 11:45:55 +0000 (13:45 +0200)]
ARM: Move AES from board file to Kconfig
And also enable it for RSA defconfigs.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Jude Nifong [Fri, 1 Apr 2016 15:44:31 +0000 (11:44 -0400)]
cmd: zynq: Fixed CMD_ZYNQ_RSA dependency on a non-existent menu option
Fix dependencies.
Signed-off-by: Jude Nifong <jnifong@gatech.edu>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Siva Durga Prasad Paladugu [Thu, 12 May 2016 06:36:02 +0000 (12:06 +0530)]
usb: dwc3: Modify routines dwc3_readl and dwc3_writel
Modify routines dwc3_readl and dwc3_writel to be insync
with mainline.
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Siva Durga Prasad Paladugu [Thu, 12 May 2016 06:36:01 +0000 (12:06 +0530)]
usb: dwc3: Correct datatype of base to unsigned long
Correct type of varibale base to unsigned long as
keeping it as int causes usb failures if MSB of
the base address is set.
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Siva Durga Prasad Paladugu [Tue, 17 May 2016 10:07:23 +0000 (15:37 +0530)]
spi: xilinx_spi: Add support for Quad mode
Add Quad mode support for xilinx spi driver
Inform the spi framework about quad mode
capability by reading it from devicetree.
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Siva Durga Prasad Paladugu [Mon, 16 May 2016 10:01:38 +0000 (15:31 +0530)]
net: zynq_gem: Correct SGMII enable bit setting
Correct the SGMII enable bit position to 27 instead
of 31.
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Siva Durga Prasad Paladugu [Mon, 16 May 2016 10:01:37 +0000 (15:31 +0530)]
net: zynq_gem: Modify the nwcfg bit definitions
Modify the nwcfg bit definitions to have 32-bit
by removing the extra nibble.
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Thu, 5 May 2016 09:17:01 +0000 (11:17 +0200)]
ARM: zynq: Add support for SPL for cc108
It is necessary to call ps7_post_config to enable PS-PL level shifters
because UART is on EMIO.
SPL is enabled but output is not visible because
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Tue, 10 May 2016 11:11:19 +0000 (13:11 +0200)]
microblaze: Enable option to overwrite default variables
Enable overwriting variables out of main config file.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Tue, 10 May 2016 11:28:11 +0000 (13:28 +0200)]
Revert "net: gem: Add support for DMA coherent"
This reverts commit
455bb41aba6055b491ef3522966df7481c1eb2de .
Added this patch for backup. It can be used for CCI testing in u-boot.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Thu, 21 Jan 2016 09:34:57 +0000 (10:34 +0100)]
net: gem: Add support for DMA coherent
dma-coherent property can be added on zynqmp where coherency is done via
CCI400 but some settings needs to happen.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Tue, 26 Apr 2016 14:03:42 +0000 (16:03 +0200)]
ARM64: zynqmp: Enable emmc boot partitions handling
Enable additional EMMC boot partitions handling commands.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Tue, 10 May 2016 06:07:09 +0000 (08:07 +0200)]
ARM: zynq: Enable RAM boot mode by default
It is useful for testing that's why enable it by default.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Tue, 10 May 2016 05:55:52 +0000 (07:55 +0200)]
ARM: zynq: Call ps7_post_config() for SPL
If ps7_post_config() is defined call it. It is enabling for example
level shifters for PL bitstreams.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Tue, 10 May 2016 05:54:20 +0000 (07:54 +0200)]
spl: Introduce new function spl_board_prepare_for_boot
Call this function before passing control from SPL.
For fpga case it is necessary to enable for example level shifters.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Tue, 10 May 2016 07:50:35 +0000 (09:50 +0200)]
ARM64: zynqmp: Enable option to overwrite default variables
Enable overwriting variables out of main config file.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Sat, 13 Feb 2016 10:50:03 +0000 (11:50 +0100)]
ARM: zynq: Enable option to overwrite default variables
Enable overwriting variables out of main config file.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Siva Durga Prasad Paladugu [Mon, 18 Apr 2016 11:08:11 +0000 (16:38 +0530)]
ARM64: zynqmp: Read environment from uEnv.txt
Add support to read environment form
uEnv.txt file present in sd/eMMC device
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Thu, 7 Apr 2016 12:02:16 +0000 (14:02 +0200)]
ARM: zynq: Add missing reset-gpio property for Zybo
Sync with the kernel.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Thu, 7 Apr 2016 10:56:19 +0000 (12:56 +0200)]
ARM: zynq: Add u-boot,dm-pre-reloc from mainline
Sync qspi nodes from mainline.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Thu, 7 Apr 2016 11:23:56 +0000 (13:23 +0200)]
ARM64: zynqmp: Use 32bit size cell format for amba busses
But use 64bit size cells for memory nodes to be able to address more
then 4GB memories in single block.
It is revert of the patch
"ARM64: zynqmp: Use 64bit size cell format"
(sha1:
a4b88ed52e54c267dd8ecfea53618c2edb55970c )
which was rejected by Linux reviewers.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Thu, 7 Apr 2016 11:13:20 +0000 (13:13 +0200)]
ARM64: zynqmp: Do not have empty line below header
It is the style used everywhere. Sync it up.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Thu, 7 Apr 2016 09:36:10 +0000 (11:36 +0200)]
ARM: zynq: Fix license headers for afx, cc108 and xm011
Sync with others boards and use SPDX header.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Thu, 7 Apr 2016 09:42:53 +0000 (11:42 +0200)]
ARM: zynq: Sort DTS for zc770-xm010/zybo boards
Use the same alphabelical order everywhere.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Thu, 7 Apr 2016 09:19:11 +0000 (11:19 +0200)]
ARM: zynq: Unify qspi mode
Put together two qspi mode references and remove duplication.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Christian Kohn [Thu, 12 Nov 2015 23:53:36 +0000 (15:53 -0800)]
ARM: zynq: zc706: Linux adv7511 on i2c bus
Add missing adv7511 and configure to match Base TRD.
Signed-off-by: Christian Kohn <christian.kohn@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Christian Kohn [Thu, 12 Nov 2015 23:53:35 +0000 (15:53 -0800)]
ARM: zynq: zc702: Linux adv7511 on i2c bus
Fix bindings for adv7511 to match Base TRD.
Signed-off-by: Christian Kohn <christian.kohn@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Punnaiah Choudary Kalluri [Wed, 3 Feb 2016 09:57:18 +0000 (15:27 +0530)]
ARM: zynq: DT: Add ethernet phy reset information
Added phy reset gpio information for gem0.
Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Thu, 7 Apr 2016 09:15:00 +0000 (11:15 +0200)]
ARM: zynq: Fix bootargs in board dtsi
- Sync with Linux kernel
- Remove rootfs
- Remove earlyprintk
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Thu, 7 Apr 2016 09:00:37 +0000 (11:00 +0200)]
ARM: zynq: Align devcfg node
- Have compatible string as the first property
- Sync with Linux kernel dtsi
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Moritz Fischer [Tue, 23 Jun 2015 06:18:44 +0000 (23:18 -0700)]
ARM: dts: Updated devicetree bindings for Zynq 7000 platform
Added addtional bindings required for FPGA Manager operation
of the Xilinx Zynq Devc configuration interface.
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Moritz Fischer [Fri, 31 Jul 2015 01:13:55 +0000 (18:13 -0700)]
ARM: dts: zynq: Add devicetree entry for Xilinx Zynq reset controller.
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Punnaiah Choudary Kalluri [Tue, 24 Mar 2015 08:52:37 +0000 (14:22 +0530)]
ARM: zynq: Correct the smc nor memory region size
Corrected the smc nor memory region size as per the zynq trm
Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Thu, 7 Apr 2016 08:54:08 +0000 (10:54 +0200)]
ARM: zynq: Add interrupt-controller property to gpio nodes
GPIO driver supports an input interrupt that's why gpio node itself can
be labeled as interrupt controller.
Reported-by: John Linn <linnj@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Fri, 1 Apr 2016 13:56:33 +0000 (15:56 +0200)]
ARM: zynq: Support systems with more memory banks
This is example how to change u-boot to support more memory banks read
from DT.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Fri, 1 Apr 2016 14:04:14 +0000 (16:04 +0200)]
ARM: zynq: Use memory initialization based on DTS file
Remove hardcoded memory sizes. Use information from DT memory node.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Fri, 1 Apr 2016 14:18:03 +0000 (16:18 +0200)]
cmd: rsa: Use run time memory setup instead of CONFIG_SYS_SDRAM_BASE
Make RSA code work with dynamic memory setup.
The first memory block is used by U-Boot.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Siva Durga Prasad Paladugu [Wed, 13 Apr 2016 11:57:25 +0000 (17:27 +0530)]
usb: dwc3: Increase the timeout for generic commands
Increase the response timeout for generic commands
for handling worst case scenarios
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Siva Durga Prasad Paladugu [Wed, 13 Apr 2016 11:57:24 +0000 (17:27 +0530)]
Revert "Data types defined for 64 bit physical address"
This reverts commit
f4f0b7403a06d2642ca40e6a0b18ee7336f276a8 .
Reverting this commit as it is causing usb failures
Need to find the exact root cause yet and hence this
workaround for the usb to work
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Fri, 1 Apr 2016 13:55:47 +0000 (15:55 +0200)]
ARM64: zynqmp: Make DDR detection code work on 32bit system
Define u64 types to be usable on 32bit system because of 64bit address
and size cells and 32bit shifts in the code.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Naga Sureshkumar Relli [Tue, 12 Apr 2016 06:16:11 +0000 (11:46 +0530)]
ARM64: zynqmp: Enable can1 for ep108
This patch enables can1 for ep108.
Signed-off-by: Naga Sureshkumar Relli <nagasure@xilinx.com>
Reviewed-by: Kedareswara rao Appana <appanad@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
VNSL Durga [Mon, 11 Apr 2016 12:13:47 +0000 (17:43 +0530)]
ARM64: zynqmp: Added clocks to DT for ep108
Added clks for ep108 platform.
Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Mon, 11 Apr 2016 06:07:07 +0000 (08:07 +0200)]
ARM64: zynqmp: Add defconfig for zcu102 revB board
Support natively revB board. Till now support for revB was done via
zcu102 defconfig where device-tree was changed to revB.
This patch is adding direct defconfig for RevB.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
P L Sai Krishna [Fri, 8 Apr 2016 08:01:20 +0000 (13:31 +0530)]
ARM64: zynqmp: Added is-dual property to QSPI node on zcu102
This patch adds is-dual property to QSPI node to
configure QSPI for DUAL PARALLEL.
Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Naga Sureshkumar Relli [Tue, 5 Apr 2016 12:04:55 +0000 (17:34 +0530)]
ARM64: zynqmp: Change usb node label representation
This patch changes usb node label represenation.
Our DTG is not able to recognize that usb node because
the usb node label doesn't have ip address as like other
ip nodes.
Signed-off-by: Naga Sureshkumar Relli <nagasure@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Tue, 5 Apr 2016 10:01:16 +0000 (12:01 +0200)]
ARM64: zynqmp: Fix usb nodes for ep108, dc1 and dc2
Fix DT binding for usb nodes. Setup correct aliases and enable dwc3
nodes.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Siva Durga Prasad Paladugu [Thu, 31 Mar 2016 12:06:00 +0000 (17:36 +0530)]
ARM64: zynqmp: Changes to fix broken zynqmp mini qspi
Decrease the zynqmp mini uboot size to get it working
on latest master.
common/Makefile will be solved in next upgrade when CMD_FDT config
option is introduced.
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Tue, 5 Apr 2016 11:46:28 +0000 (13:46 +0200)]
ARM64: zynqmp: Use dcc instead regular uart for mini targets
mini configuration is supposed to run from OCM which don't need to use
any psu_init configuration that's why using dcc is much better option.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Mon, 4 Apr 2016 13:32:20 +0000 (15:32 +0200)]
ARM64: zynqmp: Do not setup DM_ETH/GPIO/MMC by default for all boards
There are mini configurations which need to be fit to OCM that's why
these options shouldn't be enabled by default.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Wed, 6 Apr 2016 17:55:18 +0000 (19:55 +0200)]
ARM64: zynqmp: Fix CMD_GPIO config location
Fix location of CMD_GPIO config with savedefconfig.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Fri, 1 Apr 2016 12:57:04 +0000 (14:57 +0200)]
ARM64: zynqmp: Sync DTS empty lines with the kernel
Trivial change.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Alistair Francis [Thu, 25 Feb 2016 17:30:03 +0000 (09:30 -0800)]
ARM64: dts: Use C pre-processor for includes
Change the dtsi include code to use the C pre-processor #include instead
of the device tree /include/. This brings all ZynqMP device trees inline
with each other.
Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Reviewed-by: Sören Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Tue, 29 Mar 2016 08:07:04 +0000 (10:07 +0200)]
ARM64: zynqmp: Fix i2c eeprom address
I2C EEPROM address on DC1 is at 0x55 not on 0x54.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Tue, 16 Feb 2016 08:53:36 +0000 (09:53 +0100)]
ARM64: zynqmp: Use only earlycon bootargs instead of full one
OF_EARLYCON_DECLARE support in uart driver read information about
console and setup via stdout-path that's why addresses and setting
doesn't need to be specified.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Mon, 29 Feb 2016 13:18:08 +0000 (14:18 +0100)]
ARM64: zynqmp: Remove incorrect 24c08 DT description
24c08 contains four 256B blocks which are addresses by last two bits.
Linux at24 driver automatically detects number of addresses based on
this algorithm.
num_addresses = DIV_ROUND_UP(chip.byte_len,
(chip.flags & AT24_FLAG_ADDR16) ? 65536 : 256);
for 24c08 it is 4 addresses where driver create one regular device
and 3 dummy devices.
These dummy devices were causing problem when kernel tries to create
another eeprom device on already allocated addresses which were
in collision with dummy devices.
Error log:
[ 3.124001] i2c i2c-6: Failed to register i2c client 24c08 at 0x55
(-16)
[ 3.124005] i2c i2c-6: of_i2c: Failure registering
/amba/i2c@
ff030000 /i2cswitch@74/i2c@0/eeprom@55
[ 3.124012] i2c i2c-6: Failed to register i2c client 24c08 at 0x56
(-16)
[ 3.124015] i2c i2c-6: of_i2c: Failure registering
/amba/i2c@
ff030000 /i2cswitch@74/i2c@0/eeprom@56
[ 3.124022] i2c i2c-6: Failed to register i2c client 24c08 at 0x57
(-16)
[ 3.124025] i2c i2c-6: of_i2c: Failure registering
/amba/i2c@
ff030000 /i2cswitch@74/i2c@0/eeprom@57
This patch removes incorrect eeprom devices which were detect via U-Boot
but it is same device with 4 blocks on 4 different addresses.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Fri, 1 Apr 2016 09:02:26 +0000 (11:02 +0200)]
ARM64: zynqmp: Do not setup default value for DWC3
Setting up default value is causing dev_WARN_ONCE which end up with
error in bootlog. Remove default setting from DTS to remove this
warning.
Error log:
[ 4.254668] dwc3
fe200000 .dwc3: request value same as default,
ignoring
[ 4.261236] ------------[ cut here ]------------
[ 4.265799] WARNING: at drivers/usb/dwc3/core.c:178
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Bharat Kumar Gogada [Mon, 15 Feb 2016 15:48:58 +0000 (21:18 +0530)]
PCI: Xilinx NWL PCIe Bridge: Modifying device tree node
Modifying device tree node to support legacy interrupts.
Signed-off-by: Bharat Kumar Gogada <bharatku@xilinx.com>
Signed-off-by: Ravi Kiran Gummaluri <rgummal@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Naga Sureshkumar Relli [Fri, 11 Mar 2016 07:40:26 +0000 (13:10 +0530)]
ARM64: zynqmp: Add ddrc node in dts
This patch adds ddrc memory controller node in dts.
size mentioned in dts is 0x30000, because we need to access DDR_QOS
INTR registers located at
fd090208 from this driver.
Signed-off-by: Naga Sureshkumar Relli <nagasure@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
VNSL Durga [Thu, 24 Mar 2016 17:15:12 +0000 (22:45 +0530)]
dma: zynqmp: Added clocks to DT
Zyqmp DMA's main clock and apb clock are added
in zynqmp DT.
Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Acked-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
VNSL Durga [Thu, 24 Mar 2016 17:15:11 +0000 (22:45 +0530)]
dma: zynqmp: Added zynqmp DMA clks
zynqmp dma main clock and apb clock are
added in zynqmp-clk.dtsi
Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Acked-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
Siva Durga Prasad Paladugu [Wed, 30 Mar 2016 06:59:49 +0000 (12:29 +0530)]
net: zynq_gem: Return error incase of invalid phy address
Return error from probe in case of invalid phy address.
This fixes the issue of uboot crash if phy is not detected.
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Siva Durga Prasad Paladugu [Fri, 25 Mar 2016 07:23:44 +0000 (12:53 +0530)]
net: zynq_gem: Add SGMII support for zynqMP
PCS auto negotaiation bit should be enabled
along with SGMII autonegotation enabled
in phy.
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Siva Durga Prasad Paladugu [Fri, 25 Mar 2016 07:23:43 +0000 (12:53 +0530)]
net: phy: Add SGMII support for TI phy
Add support of SGMII to TI phy dp838367
Enable the SGMII and PCS settings in phy
control, CFG2 and BIST registers
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Fri, 4 Mar 2016 14:56:50 +0000 (15:56 +0100)]
gpio: zynq: Add support for reading gpio pin state
Add zynq_gpio_get_function() which return status on gpio pin.
This function enables gpio status command.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Wed, 16 Mar 2016 16:18:56 +0000 (17:18 +0100)]
Revert "fdt: Try to read address-cells/size-cells from parent"
This reverts commit
50a14db52c4115e903fbc62941d9d8e3930c5e3b .
becase fdt_get_reg() was fixed by
""
(sha1: XXX)
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Wed, 16 Mar 2016 16:20:21 +0000 (17:20 +0100)]
ARM64: zynqmp: Read address and size cells from parent
Based on these two rules:
* #address-cells and #size-cells describe the format of addresses
for children of this node, not this node itself. So if you're
looking to parse 'reg' for this node, you *always* need to look at
the parent, not just as a fallback.
* #address-cells and #size-cells are *not* inherited. If they're
missing in a node, then the format for its children's addresses is
2 cell addresses and 2 cell sizes, it is *not* correct to look at
the next parent up for these properties.
fdt_get_reg has to find parent node and read address and size cells from
parent node not from actual node.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Wendy Liang [Fri, 18 Mar 2016 00:15:15 +0000 (17:15 -0700)]
ARM64: zynqmp: Change the netboot load address
The netboot address to load the FIT image needs to be higher than
the address where the kernel is loaded.
For ZynqMP, kernel is loaded to 0x80000, the netboot
address for the image.ub which is supposed to be
the FIT image needs to be higher. Set it to
10000000 .
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Soren Brinkmann [Fri, 11 Mar 2016 01:21:52 +0000 (17:21 -0800)]
zynqmp: Move default IP address into server's subnet
Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Soren Brinkmann [Fri, 11 Mar 2016 01:21:51 +0000 (17:21 -0800)]
zynqmp: Switch to 3-component net-boot
For JTAG boot, load Image, DT and ramdisk through tftp and boot.
Also, adjust the image layout in memory a bit to avoid them overlapping:
The old/current layout is:
0x80000 - Image
0x7000000 - DT
And no space for a rootfs.
With this change the layout becomes:
0x80000 - Image
0x4000000 - DT
0x6000000 - rootfs
That provides more than enough space for the kernel without changing the
kernel address everywhere.
Enough room for the DT, which is rather tiny.
And puts the rootfs at the top allowing it to grow.
This seems to be the least intrusive way as it just changes one
variable that is commonly used (fdt_addr), while the addresses
for other components are often repeated and even differ between
boot modes.
Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Tom Rini [Mon, 14 Mar 2016 14:20:21 +0000 (10:20 -0400)]
Prepare v2016.03
Signed-off-by: Tom Rini <trini@konsulko.com>
Fabio Estevam [Fri, 11 Mar 2016 13:50:22 +0000 (10:50 -0300)]
mx6slevk: Fix the power up of the Ethernet PHY
GPIO4_21 is the LAN8720 power pin, not the LAN8720 reset pin.
Fix that, so that we can have Ethernet functional again.
Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>