summaryrefslogtreecommitdiffstats
path: root/arch/arm/dts
Commit message (Collapse)AuthorAgeFilesLines
* ARM: dts: stm32mp: report psci v0.2 at leastAhmad Fatoum2019-11-071-0/+4
| | | | | | | | | | | | | | | | | | | | | | ARM TF-A reports compatibility with PSCI v1.1 since v1.5. Upstream ARM TF-A support for STM32MP was introduced with v1.6. It's thus safe to assume that the STM32MP barebox will never have to interact with a secure monitor implementing PSCI v0.1. Overwrite the psci device tree compatible to specify v0.2. This is the first version that implements PSCI_VERSION, which allows the barebox psci client driver selected in this commit to query the actual PSCI version and fix it up into the device tree. This fixes an issue where resetting via PSCI fails in Linux because the upstream device tree compatible: reboot: Restarting system Reboot failed -- System halted Reported-by: Michael Olbrich <mol@pengutronix.de> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: dts: stm32mp157a-dk1: remove unnecessary sram nodeAhmad Fatoum2019-11-061-13/+0
| | | | | | | | This node has so far been unused and is a remnant from when the stm32mp device drivers weren't completely upstream yet. Drop the node. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: stm32mp: dk2: add barebox SD-Card update handlerAhmad Fatoum2019-11-061-0/+4
| | | | | | | | Now with the SD/MMC controller supported, lets add a bbu handler, so we can use it to update the second stage boot loader partition. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* nvmem: add read support for STM32MP1 bsec OTPAhmad Fatoum2019-11-061-0/+4
| | | | | | | | | The bsec on the STM32MP157C provides a 380 byte OTP. Add initial support for reading and writing the shadow copy of the fuses. Direct fuse access is not yet supported. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/misc'Sascha Hauer2019-10-171-0/+7
|\
| * ARM: dts: stm32mp: add barebox-enviroment on DK boardsOleksij Rempel2019-10-151-0/+7
| | | | | | | | | | Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/layerscape'Sascha Hauer2019-10-171-0/+26
|\ \
| * | ARM: Layerscape: ls1046a: enable GPIOsSteffen Trumtrar2019-09-171-0/+12
| | | | | | | | | | | | | | | | | | | | | Enable GPIOs on LS1046a. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: Layerscape: LS1046a: configure USB portsSteffen Trumtrar2019-09-171-0/+14
| |/ | | | | | | | | | | | | | | | | The LS1046a has three USB ports: - 2 USB Host ports - 1 USB Device port Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/imx'Sascha Hauer2019-10-1715-658/+99
|\ \
| * | ARM: dts: imx6qdl: pfla02: Remove fec phy-supplyStefan Riedmueller2019-10-141-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | There is no driver for the phyFLEX-i.MX 6 phy-supply regulator in the barebox. Use a dummy regulator instead by simply deleting the phy-supply property. Signed-off-by: Stefan Riedmueller <s.riedmueller@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: dts: vf610-zii-scu4-aib: Add "i2c-mux-idle-disconnect" to I2C muxesAndrey Smirnov2019-10-141-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | Add "i2c-mux-idle-disconnect" to I2C muxes to prevent identical slaves from different segments from interfering with each other. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: zii-common: Share MAC address configuration between RDU2/3Andrey Smirnov2019-09-171-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Both RDU2 and RDU3 share the same MAC address configuration mechanism. Reflect that by moving that code into zii-common and changing it to be executed on both platforms. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Cc: Chris Healy <cphealy@gmail.com> Cc: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: imx8mq-zii-ultra: Use upstream DTSAndrey Smirnov2019-09-173-555/+2
| | | | | | | | | | | | | | | | | | | | | | | | Upstream DTS files now contain most of the boilerplate we need. Drop all unnecessary part from Barebox's DTS. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: imx6: add Embest MarSBoard supportAhmad Fatoum2019-09-172-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This board is produced by Embest/Element 14 and is based on i.MX6 Dual. For more informations on this board : http://www.embest-tech.com/shop/star/marsboard.html Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Tested-by: Stefan Lengfeld <contact@stefanchrist.eu> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: dts: imx25-karo-tx25: include Linux dts instead of duplicating itUwe Kleine-König2019-09-122-96/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reduces duplicated information and benefits automatically from some changes that were done in Linux since the board was last touched in barebox. Also the intended differences are more obvious this way. To not include dts/src/arm/imx25.dtsi twice (which undoes some intended changes) it is necessary to drop the respective include from arch/arm/dts/imx25.dtsi. This is not a problem as tx25 is its only consumer. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: dts: drop skeleton.dtsiUwe Kleine-König2019-09-128-20/+27
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the Linux dts files skeleton.dtsi was dropped (in commit abe60a3a7afb ("ARM: dts: Kill off skeleton{64}.dtsi") for v5.1-rc1). At least one reason for this also applies for barebox: memory nodes are supposed to have a unit address and so adding a memory node without address isn't sensible. There are only four dtsi files that use skeleton.dtsi. Add some of the nodes and properties defined in skeleton.dtsi to its includers. I dropped adding empty alias nodes as neither barebox nor Linux depend on its presence. All consumers override reg in the memory node, so add the device_type property there. The remaining properties are added unchanged. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/at91'Sascha Hauer2019-10-174-12/+44
|\ \
| * | ARM: at91: add basic sama5d2-som1-ek1 supportAhmad Fatoum2019-10-142-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ATSAMA5D27-SOM1-EK1 is Microchip's evaluation kit for the SAMA5D2 System in Packages (SiPs). The ATSAMA5D27C-D1G-CU SIP embeds 128 MB of DDR2 DRAM and the SoM has a PMIC, QSPI flash and a 100Mbps PHY. barebox already supports the sama5d2 clocks, GPIO/Pinctrl, QSPI controller and Ethernet MAC. Most notable omission is the sama5d2 variant of the SDHCI, which differs from the MCI used by previous AT91 boards, but we kernel boot over the network works, so lets add the board now and have the SDHCI follow later. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: at91: add basic sama5d2 supportAhmad Fatoum2019-10-141-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | Add hardware description, chip identification and clock changes to support the sama5d2 SoC. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: at91: at91sam9x5ek: squelch new dtc warningAhmad Fatoum2019-10-141-12/+7
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since v1.5.0, dtc has been applying a heuristic to detect spi busses. It erroneously thinks the spi node in at91sam9x5ek.dts defines a spi bus: ./arch/arm/dts/at91sam9x5ek.dts:25.9-29.7: Warning (spi_bus_bridge): /ahb/apb/pinctrl@fffff400/spi: incorrect #address-cells for SPI bus ./arch/arm/dts/at91sam9x5ek.dts:25.9-29.7: Warning (spi_bus_bridge): /ahb/apb/pinctrl@fffff400/spi: incorrect #size-cells for SPI bus ./arch/arm/dts/at91sam9x5ek.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' Avoid this by renaming the node. While at it move the node to top-level to reduce indentation. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: drop bultin DTBSascha Hauer2019-10-011-5/+4
| | | | | | | | | | | | | | | | We can build multiple DTBs into the binary and board code can select which one to use. Drop the single builtin DTB and let the boards using it pass the correct one. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: Compile dtbs for lowlevel codeSascha Hauer2019-10-011-95/+95
|/ | | | | | | | | When no PBL is used then the DTB is used in the real barebox binary. We already have lwl-y for code which needs to be in PBL when existing and in the real barebox binary otherwise. Do the same for the DTBs and compile them with lwl-dtb-y. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/socfpga'Sascha Hauer2019-09-121-2/+34
|\
| * ARM: Arria10: achilles: add named partitionsSteffen Trumtrar2019-08-191-0/+32
| | | | | | | | | | | | | | Add labels for the barebox1/2 and bitstream1/2 partitions. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: Arria10: achilles: fix offsets in node namesSteffen Trumtrar2019-08-191-2/+2
| | | | | | | | | | | | | | | | The node names do not match the actual reg values. Fix this up. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/misc'Sascha Hauer2019-09-121-4/+4
|\ \
| * | ARM: dts: vf610-zii-cfu1: Fix indentationCory Tusar2019-09-021-4/+4
| |/ | | | | | | | | | | | | Whitespace only - no functional changes. Signed-off-by: Cory Tusar <cory.tusar@zii.aero> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: dts: imx8mq-zii-ultra: Add switch EEPROM aliasAndrey Smirnov2019-09-091-0/+9
| | | | | | | | | | Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: dts: vf610-zii-scu4-aib: Expose fiber EEPROM modulesAndrey Smirnov2019-09-091-0/+90
| | | | | | | | | | | | | | | | EEPROM on a fiber optic modules present on SCU4 can be exposed as a AT24 compatible device. Add corresponding DT node needed for that. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: dts: vf610-zii-cfu1: Expose fiber optic module EEPROMAndrey Smirnov2019-09-091-0/+9
| | | | | | | | | | | | | | | | EEPROM on a fiber optic module present on CFU1 can be exposed as a AT24 compatible device. Add corresponding DT node needed for that. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: dts: vf610-zii-cfu1: Configure "STATUS" LED as heartbeatAndrey Smirnov2019-09-091-0/+6
| | | | | | | | | | | | | | | | | | | | Configure "STATUS" LED as heartbeat in addition to "DEBUG" LED not exposed on the front panel. This way it becomes a bit easier to see what part of the boot process the device is at. Suggested-by: Chris Healy <cphealy@gmail.com> Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: dts: vf610-zii-dev-rev-c: Fix DSPI flash node nameAndrey Smirnov2019-09-091-1/+1
| | | | | | | | | | | | | | | | Latest upstream DTS renamed the node to flash@0, so we need to follow suit. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: dts: vf610-zii-dev-rev-b: Fix SPI flash node nameAndrey Smirnov2019-09-091-1/+1
|/ | | | | | | | Latest upstream DTS renamed the node to flash@0, so we need to follow suit. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/stm32'Sascha Hauer2019-08-151-1/+1
|\
| * ARM: dts: stm32mp157c: correct gpioz idAhmad Fatoum2019-07-151-1/+1
| | | | | | | | | | | | | | | | | | The pinctrl-stm32 driver uses the alias id to infer the index of the first GPIO supported by a controller. Because gpioz' identifiers start at ('Z' - 'A') * 0x10, change the id to 25. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/misc'Sascha Hauer2019-08-151-7/+0
|\ \
| * | dts/imx25: drop sram nodeUwe Kleine-König2019-07-151-7/+0
| |/ | | | | | | | | | | | | | | This node is in dts/src/arm/imx25.dtsi since 9313920df6d3 ("dts: update to v3.16-rc1"). Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: i.MX: scb9328: refurbish board suportSascha Hauer2019-08-152-0/+118
| | | | | | | | | | | | | | | | | | - switch the i.MX1 based scb9328 board to device tree - Remove scb9328_defconfig and enable scb9328 board support in imx_defconfig - Remove old environment and switch to new default environment Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | arm: port imx28-evk to devicetreeOleksij Rempel2019-07-172-0/+33
|/ | | | | Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/zii'Sascha Hauer2019-07-126-682/+387
|\
| * ARM: zii-imx7d-dev: Add support for RMU2 boardAndrey Smirnov2019-06-263-1/+370
| | | | | | | | | | | | | | Add support for Remote Modem Unit i.MX7D board. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: imx7d-zii-rpu2: Switch to using kernel DTSAndrey Smirnov2019-06-261-601/+7
| | | | | | | | | | | | | | Now that it is availible, switch to using kernel DTS. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: Rename zii-imx7d-rpu2 to zii-imx7d-devAndrey Smirnov2019-06-261-1/+1
| | | | | | | | | | | | | | | | | | To prepare for addition of another ZII i.MX7D based board, i.MX7D RMU2, rename zii-imx7d-rpu2 to zii-imx7d-dev to avoid any image naming confusion. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: i.MX: zii-vf610-dev-rev-c: Fix DTS warningAndrey Smirnov2019-06-261-0/+3
| | | | | | | | | | | | | | Add missing #address-cells and #size-cells to fix a warning Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: i.MX: zii-vf610-dev-rev-b: Fix DTS warningAndrey Smirnov2019-06-261-0/+3
| | | | | | | | | | | | | | Add missing #address-cells and #size-cells to fix a warning Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: i.MX: zii-vf610-dev-rev-c: Use SPDX tag in DTSAndrey Smirnov2019-06-261-40/+2
| | | | | | | | | | Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: i.MX: zii-vf610-dev-rev-b: Use SPDX tag in DTSAndrey Smirnov2019-06-261-40/+2
| | | | | | | | | | Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/stm32'Sascha Hauer2019-07-124-64/+55
|\ \
| * | ARM: dts: stm32mp157a-dk1: enable heartbeat and error LEDsAhmad Fatoum2019-06-201-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | Now that we have GPIO support, add the red LED to the barebox device tree and override the blue one's default state. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>