summaryrefslogtreecommitdiff
path: root/arch/arm
Commit message (Collapse)AuthorAgeFilesLines
* arm64: zynqmp: dt: Add missing DP83867 quirkHarini Katakam2019-10-247-0/+7
| | | | | | | | The DP83867 strap control workaround is already present in Linux kernel mainline binding. All these Xilinx boards require this quirk. Signed-off-by: Harini Katakam <harini.katakam@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* arm64: zynqmp: Enable fpd_dma for zcu104 platformsMichal Simek2019-10-242-0/+64
| | | | | | Enable fpd_dma for these boards. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* arm64: zynqmp: Enable iio-hwmon for ina226 on zcu104Michal Simek2019-10-241-1/+7
| | | | | | | | | ina226 hwmon driver is deprecated and it is recommended to use new iio based driver. The patch is enabling iio-hwmon driver to export functionality from IIO to hwmon interface to be able to use lm-sensors package. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* arm64: zynqmp: Add label property to all ina226 on zcu106Michal Simek2019-10-241-0/+18
| | | | | | | Label property is adding capability to distiguish chips from each other when iio framework is used. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* arm64: zynqmp: Enable iio-hwmon for ina226 on zcu106Michal Simek2019-10-241-18/+109
| | | | | | | | | ina226 hwmon driver is deprecated and it is recommended to use new iio based driver. The patch is enabling iio-hwmon driver to export functionality from IIO to hwmon interface to be able to use lm-sensors package. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* arm64: zynqmp: Fix the si570 clock frequency on zcu111Venkatesh Yadav Abbarapu2019-10-241-1/+1
| | | | | | | The si570 clock frequency should be 156.25MHz as per datasheet. Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* arm64: zynqmp: Add label property to all ina226 on zcu111Michal Simek2019-10-241-0/+14
| | | | | | | Label property is adding capability to distiguish chips from each other when iio framework is used. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* arm64: zynqmp: Enable iio-hwmon for ina226 on zcu111Michal Simek2019-10-241-14/+85
| | | | | | | | | ina226 hwmon driver is deprecated and it is recommended to use new iio based driver. The patch is enabling iio-hwmon driver to export functionality from IIO to hwmon interface to be able to use lm-sensors package. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* arm64: zynqmp: dt: Delete no-1-8-v property from zcu102-rev1.0T Karthik Reddy2019-10-241-0/+4
| | | | | | | | | Currently zcu102 Rev1.0 board includes RevA sdhci dt node which has no-1-8-v property. Since Rev1.0 has level shifters delete this property to enable support for 1.8v. Signed-off-by: T Karthik Reddy <t.karthik.reddy@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* arm64: zynqmp: Remove fixme about memory size on zynqmp-p-a2197Michal Simek2019-10-241-1/+1
| | | | | | System controller has 2GB of memory and fixme can be removed now. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* arm64: zynqmp: Sync si570 setup and clock namesMichal Simek2019-10-241-14/+14
| | | | | | Setup proper si570 names and default factory setup. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* arm64: zynqmp: Fix m-a2197-01 DT based on latest schematicsMichal Simek2019-10-241-14/+9
| | | | | | Remove some FIXMEs and align it with latest schematics. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* arm64: zynqmp: Switch spi-flash to jedec,spi-nor on m-a2197Michal Simek2019-10-241-1/+1
| | | | | | | | | | Mainline has done this switch and there is no reason not to switch it too. Mainline U-Boot patch which has done that switch: "dts: switch spi-flash to jedec, spi-nor compatible" (sha1: ffd4c7c2ecb745586239eb98d5dc0fe5e6ebe3bd) Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* arm64: zynqmp: Add label property to all ina226 on m-a2197-01Michal Simek2019-10-241-0/+6
| | | | | | | Label property is adding capability to distiguish chips from each other when iio framework is used. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* arm64: zynqmp: Enable iio-hwmon for ina226 on m-a2197-01Michal Simek2019-10-241-0/+31
| | | | | | | | | ina226 hwmon driver is deprecated and it is recommended to use new iio based driver. The patch is enabling iio-hwmon driver to export functionality from IIO to hwmon interface to be able to use lm-sensors package. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* arm64: zynqmp: Fix typo in zynqmp-p-a2197-00-revAMichal Simek2019-10-241-1/+1
| | | | | | Trivial fix but not detected by checkpatch. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* arm64: zynqmp: Added new tps53679 compatible string for a2197-0x boardsNishant Mittal2019-10-243-3/+3
| | | | | | | | Added tps53679 compatible string to tps53681. They are both compatible to each other and tps53679 has Linux driver already. Signed-off-by: Nishant Mittal <nishant.mittal@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* arm64: zynqmp: Fix i2c address of u70 on p-a2197-00 boardNishant Mittal2019-10-241-2/+2
| | | | | | | tps53681 is i2c address 0x60 not 0xc0. Signed-off-by: Nishant Mittal <nishant.mittal@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* arm64: zynqmp: Add label property to all ina226 on g-a2197-00Michal Simek2019-10-241-0/+6
| | | | | | | Label property is adding capability to distiguish chips from each other when iio framework is used. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* arm64: zynqmp: Enable iio-hwmon for ina226 on g-a2197-00Michal Simek2019-10-241-6/+37
| | | | | | | | | ina226 hwmon driver is deprecated and it is recommended to use new iio based driver. The patch is enabling iio-hwmon driver to export functionality from IIO to hwmon interface to be able to use lm-sensors package. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* arm64: zynqmp: Use ethernet-phy as node name for ethernet physMichal Simek2019-10-2413-13/+13
| | | | | | | Ethernet phys based on devicetree specification should be using ethernet-phy@ node name instead of pure phy@. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* arm64: zynqmp: Sync names for SC with VersalMichal Simek2019-10-244-6/+6
| | | | | | | ZynqMP based System controller is present on Versal boards. This patch is aligning names with Versal to follow the spec. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* ARM: zynq: Add missing pl353-smc nodeMichal Simek2019-10-241-0/+27
| | | | | | | | | DT binding was reviewed in Linux by commit b0b41af12a1b ("dt-bindings: memory: Add pl353 smc controller devicetree binding information") that's why this fragment can be also added to U-Boot repository. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* arm64: zynqmp: Convert invoke_smc() to xilinx_pm_request()Michal Simek2019-10-241-7/+4
| | | | | | | Remove macros which use PM_SIP_SVC offset and convert invoke_smc() to xilinx_pm_request() which do calculation with PM_SIP_SVC already. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* arm64: xilinx: Move firmware functions from platform to driverMichal Simek2019-10-244-61/+10
| | | | | | | | | | versal_pm_request() and invoke_smc() are almost the same. Only one difference is that versal_pm_request is adding PM_SIP_SVC offset to api_id. The patch is moving platform implementation to firmware driver code for synchronization. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net>
* arm64: versal: Clean pm_api_id usageMichal Simek2019-10-242-55/+1
| | | | | | | Copy enum values from platform code to firmware code. IDs are shared between ZynqMP and Versal. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* armv7: ls102xa: Don't power down OCRAM1 during deep sleepBiwen Li2019-10-211-1/+6
| | | | | | | | To allow OCRAM to be used as wakeup source in deep sleep, do not power it down. Signed-off-by: Biwen Li <biwen.li@nxp.com> Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
* armv7: ls102xa: add errata ID A-008646 for workaroundBiwen Li2019-10-211-3/+4
| | | | | | | | The patch adds an errata ID A-008646 for workaround to provide more information by errata ID. Signed-off-by: Biwen Li <biwen.li@nxp.com> Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
* armv8: Update LX2160A/LX2120A/LX2080A SVR valueWasim Khan2019-10-211-4/+4
| | | | | | | | | LX2160A/LX2120A/LX2080A SVR value should be 0x873600/0x873620/0x873602 Previous values were valid only if CAN fuse is blown. Signed-off-by: Wasim Khan <wasim.khan@nxp.com> Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
* armv8: ls1028a: disable multimedia for ls1027a, ls1017aYuantian Tang2019-10-212-0/+26
| | | | | | | | | | | | ls1028a has 4 personalities: ls1028a, ls1027a, ls1017a and ls1018a. Both ls1027a and ls1017a personalities are lower functionality version which doesn't support the multimedia subsystems, like LCD, GPU. To disable multimedia feature on non-multimedia version, set the status property to disabled in dts nodes. Signed-off-by: Tang Yuantian <andy.tang@nxp.com> Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
* armv7: ls102xa: Correct endianness of SCFG_SPARECR8 readBiwen Li2019-10-211-1/+1
| | | | | | | | The patch corrects endianness of register SCFG_SPARECR8 read in_le32 -> in_be32 Signed-off-by: Biwen Li <biwen.li@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
* armv8: fsl-layerscape: Make USB masters snoopableRan Wang2019-10-212-0/+15
| | | | | | | | | Program register bit of SCFG_SNPCNFGCR_USBxRDSNP and SCFG_SNPCNFGCR_USBxWRSNP(x = 1, 2, 3) to drive USBx read/write snoop signal on LS1043A and LS1046A. Signed-off-by: Ran Wang <ran.wang_1@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
* armv7: ls102xa: Update SCFG_QSPI_CLKSEL valueKuldeep Singh2019-10-211-1/+1
| | | | | | | | | Update SCFG_QSPI_CLKSEL value : 0xC -> 0x5 which means ClusterPLL/16 Signed-off-by: Ashish Kumar <Ashish.kumar@nxp.com> Signed-off-by: Kuldeep Singh <kuldeep.singh@nxp.com> Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
* armv8: ls1028a: Add more personalities supportYuantian Tang2019-10-212-0/+6
| | | | | | | | | | | | | | | | | Add LS1027A, LS1018A and LS1017A personalities support to LS1028A SoC family. LS1028A is the prime personality of LS1028A SoC family. LS1027A is a lower funtionality version of QorIQ LS1028A which does not support the multimedia subsystems, such as LCD controller, GPU, and eDP PHY. The QorIQ LS1018A and LS1017A SoCs are single 64-bit Arm A72 core, low power versions of the QorIQ LS1028A and LS1027A SoCs respectively. Signed-off-by: Tang Yuantian <andy.tang@nxp.com> Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
* ARM: dts: meson-sm1: add U-Boot specific DT for graphicsNeil Armstrong2019-10-185-3/+10
| | | | | | | | Rename meson-g12a-u-boot.dtsi into meson-g12-common-u-boot.dtsi to match the new DT architecture and add meson-sm1-sei610-u-boot.dtsi to handle the U-Boot specific DT for graphics. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
* ARM: dts: Import SEI610 DT from Linux 5.4-rc2Neil Armstrong2019-10-183-1/+532
| | | | | | | | Import the Amlogic SM1 DT and the SEI610 board DT from [1] [1] da0c9ea146cb ("Linux 5.4-rc2") Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
* ARM: meson: add SM1 SoC idNeil Armstrong2019-10-181-0/+2
| | | | | | Add the missing IDs to detect the SM1 S905X3 SoC. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
* arm: meson: Recognize A311D SoCAndreas Färber2019-10-181-0/+1
| | | | | | | | | | Values imported from Linux driver, but in correct numeric order. Khadas VIM3 prints: Amlogic Meson G12B (A311D) Revision 29:b (10:2) Cc: Christian Hewitt <christianshewitt@gmail.com> Signed-off-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
* arm: meson: Tidy SoC information outputAndreas Färber2019-10-181-1/+1
| | | | | | | | Write SoC instead of Soc. The Linux driver is not affected. Fixes: f41d723b9f ("ARM: meson: display Amlogic SoC Information") Signed-off-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
* arm: dts: Import and update DT for Khadas VIM3Andreas Färber2019-10-1810-2382/+3459
| | | | | | | | | | In Linux meson-g12-common.dtsi was introduced as well as new g12b nodes and headers, as dependencies of new meson-g12b-a311d-khadas-vim3.dts. Copied from da0c9ea146cb ("Linux 5.4-rc2") Signed-off-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
* ARM: dts: meson-g12a: add U-Boot specific DT for graphicsNeil Armstrong2019-10-184-0/+50
| | | | | | | | Like the meson-gx support, add the U-Boot specific bits in DT to support graphics on G12A SoCs. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Reviewed-by: Anatolij Gustschin <agust@denx.de>
* arm: meson: board-g12a: Setup VPU in fdtNeil Armstrong2019-10-181-0/+5
| | | | | | | | | | | If VIDEO_MESON is enabled, we need to setup the fdt for the framebuffer. Call meson_vpu_rsv_fb() which reserves the framebuffer memory region for EFI, and sets up simple-framebuffer nodes if simplefb support is enabled. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Reviewed-by: Anatolij Gustschin <agust@denx.de>
* arm: remove the H2200 boardHeinrich Schuchardt2019-10-161-4/+0
| | | | | | | | | | | | U-Boot cannot be built for h2200_defconfig with CONFIG_DM=y. The maintainer Lukasz Dalek suggested to remove the board. https://lists.denx.de/pipermail/u-boot/2019-August/380685.html Cc: Lukasz Dalek <luk0104@gmail.com> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> [trini: As this is the last non-toradex PXA board, update travis too] Signed-off-by: Tom Rini <trini@konsulko.com>
* Merge branch 'master' of git://git.denx.de/u-boot-socfpgaTom Rini2019-10-143-10/+19
|\ | | | | | | - vining_fpga updates
| * ARM: socfpga: vining_fpga: Update DTMarek Vasut2019-10-092-4/+13
| | | | | | | | | | | | | | | | | | Pick minor changes from the downstream DT, disable MMC, add GMAC0 node and adjust PHY skew settings for GMAC1. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Silvio Fricke <silvio.fricke@softing.com> Cc: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
| * ARM: socfpga: vining_fpga: Rename VINING|FPGAMarek Vasut2019-10-092-6/+6
| | | | | | | | | | | | | | | | | | The company Samtec was merged into Softing, migrate the board over to the new name and update copyright headers. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Silvio Fricke <silvio.fricke@softing.com> Cc: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
* | Merge tag 'u-boot-imx-20191014' of ↵Tom Rini2019-10-1415-55/+794
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://gitlab.denx.de/u-boot/custodians/u-boot-imx u-boot-imx-20191014 ------------------- Travis: https://travis-ci.org/sbabic/u-boot-imx/builds/597498628 - logicpd pinmux - i.MX7ULP: imx_ddr_size - fixes Toradex i.MX6/i.MX7 - pico-imx7d - tpc70 converted to DM - New Board: meerkat96 - add HAB version command - i.MX8 : imx8: Jump from alias to OCRAM address at SPL init imx8qm/qxp: Set SPL TEXT base to OCRAM base
| * | imx :hab: Add hab version commandSjoerd Simons2019-10-142-0/+22
| | | | | | | | | | | | | | | | | | | | | THe RVT data includes a major and minor version in its header parameter. Add a new command to print this out. Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
| * | imx: mmdc_size: Allow building it for i.MX7ULPFabio Estevam2019-10-142-2/+4
| | | | | | | | | | | | | | | | | | | | | i.MX7ULP uses the same MMDC controller IP as found on i.MX53 and i.MX6, so build mmdc_size.c for i.MX7ULP as well. Signed-off-by: Fabio Estevam <festevam@gmail.com>
| * | imx: mmdc_size: Fix checkpatch warningsFabio Estevam2019-10-141-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The original imx_ddr_size() implementation had some issues reported by checkpatch like this: CHECK: Prefer kernel type 'u32' over 'uint32_t' #127: FILE: arch/arm/mach-imx/mmdc_size.c:16: + uint32_t ctl; WARNING: Prefer 'unsigned int' to bare use of 'unsigned' #151: FILE: arch/arm/mach-imx/mmdc_size.c:40: + unsigned ctl = readl(&mem->ctl); Fix all of them. Signed-off-by: Fabio Estevam <festevam@gmail.com>