summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* ARM: rmobile: Enable Micrel KSZ90x1 PHY driver on ULCBMarek Vasut2017-11-303-1/+4
| | | | | | | | Enable the Micrel KSZ90x1 driver on ULCB, since the board is populated with KSZ9031 and without this driver, the PHY cannot be operated. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
* ARM: rmobile: Fix eMMC signal voltage on ULCBMarek Vasut2017-11-301-1/+1
| | | | | | | | The eMMC is 1V8 device only and the signaling is always 1V8, fix the DT for ULCB to describe the hardware correctly. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
* net: ravb: Fix reset GPIO handlingMarek Vasut2017-11-301-3/+4
| | | | | | | | | | | Fix handling of the reset GPIO. Drop the _nodev() suffix from the gpio_request_by_name() call as there is now a proper DM capable GPIO driver. Also check if the GPIO is valid before freeing it in remove path, otherwise U-Boot will crash. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
* i2c: rcar_iic: Add RCar IIC driverMarek Vasut2017-11-303-0/+278
| | | | | | | | | Add driver for the RCar IIC or DVFS I2C controller. This driver is based on the SH I2C driver, but supports DM and DT probing as well as modern I2C framework API. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
* serial: sh: Unify R8A7795 and R8A7796 as Gen3Marek Vasut2017-11-301-2/+1
| | | | | | | | | Unify the CONFIG_R8A7795 and CONFIG_R8A7796 as CONFIG_RCAR_GEN3 so that every time we add a new SoC, we won't have to add more stuff to this list. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
* clk: rmobile: Add R8A7796 xHCI clockMarek Vasut2017-11-301-0/+1
| | | | | | | | Add xHCI entry into the clock tables, so that the xHCI USB driver can enable the clock for the xHCI block via clock framework. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
* clk: rmobile: Move preboot clock shutdown to the driverMarek Vasut2017-11-301-0/+59
| | | | | | | | | | | The MSTP registers were poked in boards/renesas/rcar-common/common.c in arch_preboot_os hook thus far to shut down the clock before Linux takes over. With DM, this is no longer needed and we can do the same in the clock driver .remove callback. This patch adds such a .remove callback for R8A7795 and R8A7796. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
* fdtdec: Support parsing multiple /memory nodesMarek Vasut2017-11-301-6/+18
| | | | | | | | | | | | | | | It is legal to have multiple /memory nodes in a device tree . Currently, fdtdec_setup_memory_size() only supports parsing the first node . This patch extends the function such that if a particular /memory node does no longer have further "reg" entries and CONFIG_NR_DRAM_BANKS still allows for more DRAM banks, the code moves on to the next memory node and checks it's "reg"s. This makes it possible to handle both systems with single memory node with multiple entries and systems with multiple memory nodes with single entry. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Tom Rini <trini@konsulko.com> Cc: Simon Glass <sjg@chromium.org>
* MAINTAINERS: Add myself as RCar/RMobile comaintainerMarek Vasut2017-11-301-0/+1
| | | | | | | | To help out with the RCar/RMobile upstreaming, I'm adding myself as the RCar/RMobile maintainer. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
* Merge tag 'xilinx-for-v2018.01' of git://www.denx.de/git/u-boot-microblazeTom Rini2017-11-29104-2358/+3013
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Xilinx changes for v2018.1 Zynq: - Add support for Syzygy and cc108 boards - Add support for mini u-boot configurations (cse) - dts updates - config/defconfig updates in connection to Kconfig changes - Fix psu_init handling ZynqMP: - SPL fixes - Remove slcr.c - Fixing r5 startup sequence - Add support for external pmufw - Add support for new ZynqMP chips - dts updates - Add support for zcu102 rev1.0 board Drivers: - nand: Support external timing setting and board init - ahci: Fix wording - axi_emac: Wait for bit, non processor mode, readl/write conversion - zynq_gem: Fix SGMII/PCS support
| * net: xilinx_axi_emac: Use readl and writel for io opsSiva Durga Prasad Paladugu2017-11-291-42/+42
| | | | | | | | | | | | | | | | | | | | | | | | This patch uses readl and writel instead of in_be32 and out_be32 for io ops as these internally uses readl, writel for microblaze and for Zynq, ZynqMP there is no need of endianness conversion and readl, writel should work straightaway. This patch starts supporting the driver for Zynq and ZynqMP platforms. Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * net: zynq_gem: Dont enable SGMII and PCS selectionSiva Durga Prasad Paladugu2017-11-291-1/+10
| | | | | | | | | | | | | | | | | | Dont enable SGMII and PCS selection if internal PCS/PMA is not used, by getting the info about internal/external PCS/PMA usage from dt property "is-internal-phy". Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm: zynq: Change Zynq/ZynqMP Kconfig descriptionMichal Simek2017-11-291-2/+2
| | | | | | | | | | | | | | | | Use more accurate description for Xilinx Zynq and ZynqMP based platforms. With using driver model there shouldn't be a need to create separate Kconfig config options. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * tools: zynqmpimage: adjust ug1085 reference to v1.4 of the documentJean-Francois Dagenais2017-11-291-1/+1
| | | | | | | | | | | | | | | | | | The chapter in which the table explaining the image format changed chapter as the document evolved. This should help people track the info down faster. Signed-off-by: Jean-Francois Dagenais <jeff.dagenais@gmail.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * mtd: nand: zynq: Add support for the NAND lock/unlock operationJoe Hershberger2017-11-291-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Zynq NAND driver is not support for NAND lock or unlock operation. Hence, accidentally write into the critical NAND region might cause data corruption to occur. This commit is to add NAND lock/unlock command into NAND SMC register set for NAND lock/unlock operaion. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Signed-off-by: Keng Soon Cheah <keng.soon.cheah@ni.com> Cc: Chen Yee Chew <chen.yee.chew@ni.com> Cc: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Cc: Michal Simek <michal.simek@xilinx.com> Cc: Scott Wood <oss@buserror.net> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * mtd: zynq: nand: Move board_nand_init() function to board.cWilson Lee2017-11-292-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Putting board_nand_init() function inside NAND driver was not appropriate due to it doesn't allow board vendor to customise their NAND initialization code such as adding NAND lock/unlock code. This commit was to move the board_nand_init() function from NAND driver to board.c file. This allow customization of board_nand_init() function. Signed-off-by: Wilson Lee <wilson.lee@ni.com> Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Keng Soon Cheah <keng.soon.cheah@ni.com> Cc: Chen Yee Chew <chen.yee.chew@ni.com> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Michal Simek <michal.simek@xilinx.com> Cc: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Cc: Scott Wood <oss@buserror.net> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm: zynq: Add ps7_init for cc108Michal Simek2017-11-291-0/+815
| | | | | | | | | | | | | | After some generic cleanup adding ps7_init* to repository is not big pain now. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm: zynq: Show information about silicon versionMichal Simek2017-11-291-0/+9
| | | | | | | | | | | | Show information about silicon in bootlog. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm: zynq: Do not show information from checkboard twiceMichal Simek2017-11-291-3/+0
| | | | | | | | | | | | | | There is no reason to show information about board twice. Remove boardinfo late calls. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm: zynq: Use unsigned type with comparison with ARRAY_SIZEMichal Simek2017-11-291-1/+2
| | | | | | | | | | | | | | | | | | | | | | Sparse is return warning about this: arch/arm/mach-zynq/slcr.c: In function 'zynq_slcr_get_mio_pin_status': arch/arm/mach-zynq/slcr.c:185:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < ARRAY_SIZE(mio_periphs); i++) { ^ Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm: zynq: Convert all board to use arch ps7_init codeMichal Simek2017-11-2912-1629/+6
| | | | | | | | | | | | | | Use generic implementation. It will also reduce config data size for converted boards. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm: zynq: Add support for EMIT_WRITE operationMichal Simek2017-11-292-0/+8
| | | | | | | | | | | | | | Add proper support for EMIT_WRITE operation which is write only. Do not use EMIT_MASKWRITE which is read-modify-write. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm: zynq: Add ps7GetSiliconVersion() to ps7_spl_initMichal Simek2017-11-292-0/+12
| | | | | | | | | | | | Unfortunately camelcase is coming from ps7_init* format. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm: zynq: Move common ps7_init* initialization to arch codeMichal Simek2017-11-298-156/+140
| | | | | | | | | | | | | | | | | | | | | | | | This patch is based on work done in topic board where the first address word also storing operation which should be done. This is reducing size of configuration data. This patch is not breaking an option to copy default ps7_init_gpl* files from hdf file but it is doing preparation for ps7_init* consolidation. The patch is also marking ps7_config as weak function. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm: zynq: Get rid of ps7_reset_apu() for syzygy boardMichal Simek2017-11-291-7/+1
| | | | | | | | | | | | There is no reason to call separate function. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm: zynq: Move ps7_* to separate fileMichal Simek2017-11-295-22/+43
| | | | | | | | | | | | | | Extract ps7_* from spl code to prepare for extension. And also return value. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm: zynq: Remove ps7_debug codeMichal Simek2017-11-2912-578/+0
| | | | | | | | | | | | | | SPL is not calling this code that's why it is dead code and can be removed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm: zynq: Enable debug uart on zc706Michal Simek2017-11-291-0/+5
| | | | | | | | | | | | Enable debug uart by default. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm: zynq: Add missing ps7_post_config declarationMichal Simek2017-11-291-0/+1
| | | | | | | | | | | | | | | | | | | | Add missing declaration to header. Warning log: arch/arm/mach-zynq/spl.c:94:12: warning: symbol 'ps7_post_config' was not declared. Should it be static? Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * net: xilinx_axi_emac: Add support for non processor modeSiva Durga Prasad Paladugu2017-11-291-12/+29
| | | | | | | | | | | | | | | | | | Add support for non processor mode, this mode doesn't have access to some of the registers and hence this patch bypasses it and also length has to be calculated from status instead of app4 in this mode. Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
| * net: xilinx_axi_emac: Read dma address using fdtdec_get_addrSiva Durga Prasad Paladugu2017-11-281-2/+2
| | | | | | | | | | | | | | | | | | | | Read dma address using fdtdec_get_addr as it checks for address cells and size cells and reads the address properly. fdtdec_get_int always assume address is of int size which goes wrong if using it on 64-bit architecture. Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * net: xilinx_axi_emac: Use wait_for_bit instead of while loopSiva Durga Prasad Paladugu2017-11-281-6/+5
| | | | | | | | | | | | Use wait_for_bit instead while loop during init Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
| * arm64: zynqmp: Add revision to identification stringMichal Simek2017-11-282-2/+2
| | | | | | | | | | | | It is good to see revision in boot log. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm64: zynqmp: Enable watchdog by defaultShubhrajyoti Datta2017-11-281-0/+4
| | | | | | | | | | | | | | Enable watchdog in dts for zcu102. Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm64: zynqmp: Add note about si5328 interruptMichal Simek2017-11-281-0/+5
| | | | | | | | | | | | Add comment about irq present on the board connected to PL. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm64: zynqmp: usb: Correct IOMMU node for making SMMU work with USBAnurag Kumar Vulisha2017-11-281-4/+4
| | | | | | | | | | | | | | | | This patch makes SMMU work by moving the iommus node under the dwc3 child entry from parent node. Signed-off-by: Anurag Kumar Vulisha <anuragku@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm64: zynqmp: Remove clock setting from dtsiMichal Simek2017-11-281-2/+0
| | | | | | | | | | | | clock setting is handled via clk dtsi file. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm64: zynqmp: Uncomment snps,quirk-frame-length-adjustment flag in dwc3Anurag Kumar Vulisha2017-11-281-2/+2
| | | | | | | | | | | | | | This patch uncomments snps,quirk-frame-length-adjustment which has the value to adjust the SOF/ITP generated from the controller. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm64: zynqmp: Add USB OTG interrupts support in dtManish Narani2017-11-281-2/+2
| | | | | | | | | | | | | | | | | | This patch adds OTG interrupt support in device tree. It will add an extra interrupt line number dedicated to OTG events. This will enable OTG interrupts to serve in DWC3 OTG driver. Signed-off-by: Manish Narani <mnarani@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm64: zynqmp: Enabled CCI support for USBManish Narani2017-11-281-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | This patch adds CCI support for USB when CCI is enabled in design. This patch also adds 'reg' property for Xilinx USB 3.0 IP. The 'reg' property is added in order to modify a register in that to enable coherency in Hardware. Also add address to unit name to avoid dtc warning Signed-off-by: Manish Narani <mnarani@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm64: zynqmp: Add support reading SoC revision using nvmem driver in dwc3Anurag Kumar Vulisha2017-11-281-0/+4
| | | | | | | | | | | | | | | | This patch adds support for reading silicon revision using zynqmp nvmem driver. Signed-off-by: Anurag Kumar Vulisha <anuragku@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm64: zynqmp: Move nodes which have no reg property out of busMichal Simek2017-11-283-50/+50
| | | | | | | | | | | | | | Nodes without reg properties shouldn't be placed in amba node. Move them out. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm64: zynqmp: dt: Add AMS nodeMichal Simek2017-11-282-0/+38
| | | | | | | | | | | | | | | | | | The AMS includes an ADC as well as on-chip sensors that can be used to sample external voltages and monitor on-die operating conditions, such as temperature and supply voltage levels. Signed-off-by: Rajnikant Bhojani <rajnikant.bhojani@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm64: zynqmp: sdhci: set host quirk2 for no 1.8V support for 1.0 siliconManish Narani2017-11-281-0/+4
| | | | | | | | | | | | | | | | | | This patch sets host quirk2 bit field for No 1.8V supported in case of 1.0 silicon. The 1.0 silicon doesn't have support for UHS-I modes. This property will ensure the SD runs on High Speed mode. Signed-off-by: Manish Narani <mnarani@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm64: zynqmp: Use reset controller framework for asserting/de-asserting resetAnurag Kumar Vulisha2017-11-281-2/+1
| | | | | | | | | | | | | | | | | | | | This patch modifies the phy_zynqmp.c driver to use reset-controller framework for asserting/de-asserting reset for High Speed modules. Also fix documentation and dtsi. Signed-off-by: Anurag Kumar Vulisha <anuragku@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm64: zynqmp: Add reset-controller support in serdes driverAnurag Kumar Vulisha2017-11-281-0/+13
| | | | | | | | | | | | | | | | This patch add the reset nodes in zynqmp.dtsi which are used by reset-controller framework Signed-off-by: Anurag Kumar Vulisha <anuragku@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm64: zynqmp: Remove tx_termination_fix detection on silicon v1Michal Simek2017-11-281-1/+2
| | | | | | | | | | | | | | | | Only silicon v1 requires this termination fix. With new nvmem soc revision nvmem detection driver this can be autodetected at run time and this flag is not needed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm64: zynqmp: Add support for zynqmp nvmem firmware driverNava kishore Manne2017-11-281-0/+10
| | | | | | | | | | | | | | Add support for zynqmp nvmem firmware driver. Signed-off-by: Nava kishore Manne <navam@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm64: zynqmp: Add support for zcu102 1.0 revMichal Simek2017-11-284-1/+121
| | | | | | | | | | | | 1.0 rev is the latest rev. Describe information in eeprom. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm64: zynqmp: Update device tree for pinmuxMichal Simek2017-11-283-0/+325
| | | | | | | | | | | | | | Added pin control support in device tree for zynqmp. Signed-off-by: Chirag Parekh <chirag.parekh@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>