linux
6 years agoARM: dts: ls1021a: add support for Moxa UC-8410A open platform
SZ Lin [Tue, 26 Dec 2017 04:54:31 +0000 (12:54 +0800)]
ARM: dts: ls1021a: add support for Moxa UC-8410A open platform

Add support for Moxa UC-8410A open platform

The UC-8410A computing platform is designed
for embedded communication-centric industrial applications

The features of UC-8410A are:
* QSPI flash
* SD slot
* 3x LAN
* 8x RS-232/422/485 ports, software-selectable
* Mini PCIe form factor with PCIe/USB signal
* 2x USB host
* TPM
* Watchdog
* RTC
* User LEDs
* Beeper
* Push button

Signed-off-by: Jimmy Chen <jimmy.chen@moxa.com>
Signed-off-by: Harry YJ Jhou <harryyj.jhou@moxa.com>
Signed-off-by: SZ Lin <sz.lin@moxa.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx51-babbage: Fix the 26MHz clock modelling
Fabio Estevam [Thu, 21 Dec 2017 15:23:52 +0000 (13:23 -0200)]
ARM: dts: imx51-babbage: Fix the 26MHz clock modelling

On imx51-babbage there is a 26MHz oscillator that is gated by GPIO3_1.

The output of this clock feeds audio codec clock and USB PHY clocks,
which are gated by GPIO4_26 and GPIO2_1 respectively.

Fix the clock representation by properly using gpio-gate-clock.

The clock nodes can be moved out of the 'clocks' node.

Based on a commit from Lucas Stach for imx51-zii-rdu1 board.

This also fixes the following build warning with W=1:

arch/arm/boot/dts/imx51-babbage.dtb: Warning (unit_address_vs_reg): Node /clocks/codec_clock has a reg or ranges property, but no unit name

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: vf610-zii-dev-rev-b: add PHYs for switch2
Russell King [Wed, 20 Dec 2017 23:11:55 +0000 (23:11 +0000)]
ARM: dts: vf610-zii-dev-rev-b: add PHYs for switch2

Switch 2 has an 88e1545 PHY behind it, which is a quad PHY.  Only the
first three PHYs are used, the remaining PHY is unused.  When we wire
up the SFF sockets in a later commit, the omission of this causes the
fourth PHY to be used for port 3.  Specifying the PHYs in DT avoids
the auto-probing of the bus, and discovery of this PHY.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: vf610-zii-dev-rev-b: fix interrupt for GPIO expander
Russell King [Wed, 20 Dec 2017 23:11:50 +0000 (23:11 +0000)]
ARM: dts: vf610-zii-dev-rev-b: fix interrupt for GPIO expander

The interrupt specification for the GPIO expander is wrong - the
expander is wired to PTB28, which is GPIO98.  GPIO98 is on gpio chip
3, not 2.

In addition, the device is missing a required property.  Interrupt
controllers must have the "interrupt-controller" property specified.
Add this.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: vf610-zii-dev: enable edma1
Russell King [Wed, 20 Dec 2017 23:11:45 +0000 (23:11 +0000)]
ARM: dts: vf610-zii-dev: enable edma1

EDMA1 is required for the SPI controller used on the ZII boards to be
functional.  Enable EDMA1.

Fixes: 14c416336820 ("ARM: dts: vfxxx: Enable DMA for DSPI on Vybrid")
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: ls1021a-twr: Remove extra clock cell
Fabio Estevam [Tue, 19 Dec 2017 15:36:37 +0000 (13:36 -0200)]
ARM: dts: ls1021a-twr: Remove extra clock cell

There is an extraneous '1' cell in the clock phandle, which causes
the following build warning:

arch/arm/boot/dts/ls1021a-twr.dtb: Warning (clocks_property): Property 'clocks', cell 1 is not a phandle reference in /soc/i2c@2190000/sgtl5000@a
arch/arm/boot/dts/ls1021a-twr.dtb: Warning (clocks_property): Missing property '#clock-cells' in node /soc/interrupt-controller@1400000 or bad phandle (referred from /soc/i2c@2190000/sgtl5000@a:clocks[1])

Remove the unneeded extra cell.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: ls1021a-qds: Remove extra clock cell
Fabio Estevam [Tue, 19 Dec 2017 15:36:36 +0000 (13:36 -0200)]
ARM: dts: ls1021a-qds: Remove extra clock cell

There is an extraneous '1' cell in the clock phandle, which causes
the following build warning:

arch/arm/boot/dts/ls1021a-qds.dtb: Warning (clocks_property): Property 'clocks', cell 1 is not a phandle reference in /soc/i2c@2180000/mux@77/i2c@4/sgtl5000@2a
arch/arm/boot/dts/ls1021a-qds.dtb: Warning (clocks_property): Missing property '#clock-cells' in node /soc/interrupt-controller@1400000 or bad phandle (referred from /soc/i2c@2180000/mux@77/i2c@4/sgtl5000@2a:clocks[1])

Remove the unneeded extra cell.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx53: add srtc node
Patrick Bruenn [Mon, 18 Dec 2017 11:51:31 +0000 (12:51 +0100)]
ARM: dts: imx53: add srtc node

rtc-mxc_v2 driver will add support for the i.MX53 SRTC

Note: we keep the 'srtc' label to avoid duplicate with imx53-m53.dtsi

Signed-off-by: Patrick Bruenn <p.bruenn@beckhoff.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agodt-bindings: imx-gpcv2: Fix the unit address
Fabio Estevam [Sat, 16 Dec 2017 18:03:02 +0000 (16:03 -0200)]
dt-bindings: imx-gpcv2: Fix the unit address

In the provided example the unit address does not match the 'reg' value,
as IMX7_POWER_DOMAIN_PCIE_PHY is defined as 1.

Fix the unit address and avoid using defines in reg as per Rob
Herring's recommendation.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: imx: dts: Use lower case for bindings notation
Mathieu Malaterre [Fri, 15 Dec 2017 19:19:30 +0000 (20:19 +0100)]
ARM: imx: dts: Use lower case for bindings notation

Improve the DTS files using lower case to fix the following dtc warnings:

Warning (simple_bus_reg): Node /XXX@<UPPER> simple-bus unit address format error, expected "<lower>"

Converted using the following command:

find . -type f \( -iname *.dts -o -iname *.dtsi \) -exec sed -i -e "s/@\([0-9a-fA-FxX\.;:#]+\)\s*{/@\L\1 {/g" -e "s/@0x\(.*\) {/@\1 {/g" -e "s/@0+\(.*\) {/@\1 {/g" {} +^C

For simplicity, two sed expressions were used to solve each warnings separately.

To make the regex expression more robust a few other issues were resolved,
namely setting unit-address to lower case, and adding a whitespace before the
the opening curly brace:

https://elinux.org/Device_Tree_Linux#Linux_conventions

This is a follow up to commit 4c9847b7375a ("dt-bindings: Remove leading 0x from bindings notation")

Reported-by: David Daney <ddaney@caviumnetworks.com>
Suggested-by: Rob Herring <robh@kernel.org>
Signed-off-by: Mathieu Malaterre <malat@debian.org>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6q-h100: use usdhc2 VSELECT
Michael Tretter [Fri, 15 Dec 2017 09:26:24 +0000 (10:26 +0100)]
ARM: dts: imx6q-h100: use usdhc2 VSELECT

The uSDHC controller directly provides a VSELECT signal that can be
muxed to the external voltage select. Mux the VSELECT directly to avoid
using a GPIO.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6sx: Add support for PCI power domain
Fabio Estevam [Fri, 15 Dec 2017 02:24:58 +0000 (00:24 -0200)]
ARM: dts: imx6sx: Add support for PCI power domain

Previously PCI support was working because the bootloader has previously
powered up the PCI power domain.

Represent the PCI power domain, so that PCI is functional without
relying on the PCI support from the bootloader.

Tested on a imx6sx-sdb board with no PCI support in the bootloader.

Reported-by: Abel Vesa <abel.vesa@nxp.com>
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6sx: Fix PCI non-prefetchable memory range
Fabio Estevam [Thu, 14 Dec 2017 17:14:27 +0000 (15:14 -0200)]
ARM: dts: imx6sx: Fix PCI non-prefetchable memory range

The third cell of the PCI non-prefetchable memory range should be
0x08000000, so change it accordingly.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6qdl-hummingboard2: rename regulators to match schematic
Russell King [Mon, 11 Dec 2017 16:59:00 +0000 (16:59 +0000)]
ARM: dts: imx6qdl-hummingboard2: rename regulators to match schematic

Make the regulators match the schematic - name the regulators after
one of their schematic supply names, and arrange them into their
heirarchy.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6qdl-hummingboard2: add v1.5 som with eMMC
Russell King [Mon, 11 Dec 2017 16:58:54 +0000 (16:58 +0000)]
ARM: dts: imx6qdl-hummingboard2: add v1.5 som with eMMC

Add support for the v1.5 SOM with TI Wi-Fi and eMMC.  As the pinmux
settings are different for the microsom, we need to use a separate
board-level dts for this as there is no support for overlays.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6qdl-hummingboard2: add v1.5 som without eMMC
Russell King [Mon, 11 Dec 2017 16:58:49 +0000 (16:58 +0000)]
ARM: dts: imx6qdl-hummingboard2: add v1.5 som without eMMC

Add support for the v1.5 SOM with TI Wi-Fi but without eMMC.  As the
pinmux settings are different for the microsom, we need to use a
separate board-level dts for this as there is no support for overlays.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6qdl-hummingboard2: add PWM3 support
Russell King [Mon, 11 Dec 2017 16:58:44 +0000 (16:58 +0000)]
ARM: dts: imx6qdl-hummingboard2: add PWM3 support

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6*-hummingboard2: split out eMMC support
Russell King [Mon, 11 Dec 2017 16:58:39 +0000 (16:58 +0000)]
ARM: dts: imx6*-hummingboard2: split out eMMC support

eMMC is optional on HB2 boards, and may be implemented by the SOM.  Move
it out of the base HB2 include file.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6*-hummingboard2: rework regulators
Lucas Stach [Mon, 11 Dec 2017 16:58:34 +0000 (16:58 +0000)]
ARM: dts: imx6*-hummingboard2: rework regulators

Name the regulators according to the voltage rails they are feeding in
the schematic. The USB 2-4 regulators are fixed regulators and are always
on, as they are not a VBUS supply for a single USB host port on the i.MX6,
but supply VBUS to ports behind a USB hub and there is currently no way
to model this in mainline.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6*-hummingboard2: remove redundant PWM disables
Lucas Stach [Mon, 11 Dec 2017 16:58:29 +0000 (16:58 +0000)]
ARM: dts: imx6*-hummingboard2: remove redundant PWM disables

The PWM nodes are already disabled in the imx6qdl.dtsi, so there
is no need to disable them again in the board DTS.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6*-hummingboard2: remove non-mainline property from RTC
Lucas Stach [Mon, 11 Dec 2017 16:58:24 +0000 (16:58 +0000)]
ARM: dts: imx6*-hummingboard2: remove non-mainline property from RTC

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6*-hummingboard2: fix PCIe reset polarity
Lucas Stach [Mon, 11 Dec 2017 16:58:18 +0000 (16:58 +0000)]
ARM: dts: imx6*-hummingboard2: fix PCIe reset polarity

The driver always uses active-low, but better describe reality in the DT.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6*-hummingboard2: remove LDB node
Lucas Stach [Mon, 11 Dec 2017 16:58:13 +0000 (16:58 +0000)]
ARM: dts: imx6*-hummingboard2: remove LDB node

It's disabled by default and the data mapping is supposed to be
retrieved from the attached panel driver in mainline.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6*-hummingboard2: add SGTL5000 VDDD supply
Lucas Stach [Mon, 11 Dec 2017 16:58:08 +0000 (16:58 +0000)]
ARM: dts: imx6*-hummingboard2: add SGTL5000 VDDD supply

VDDD is supplied by VCC_1P8 on HB2.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6*-hummingboard2: fix formatting
Lucas Stach [Mon, 11 Dec 2017 16:58:03 +0000 (16:58 +0000)]
ARM: dts: imx6*-hummingboard2: fix formatting

Trivial formatting change.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6*-hummingboard2: convert to more conventional vmmc-supply
Russell King [Mon, 11 Dec 2017 16:57:58 +0000 (16:57 +0000)]
ARM: dts: imx6*-hummingboard2: convert to more conventional vmmc-supply

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6*-hummingboard2: use proper gpio flags definitions
Russell King [Mon, 11 Dec 2017 16:57:53 +0000 (16:57 +0000)]
ARM: dts: imx6*-hummingboard2: use proper gpio flags definitions

Use proper gpio flag definitions for GPIOs rather than using opaque
uninformative numbers.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6*-hummingboard2: fix SD card detect
Russell King [Mon, 11 Dec 2017 16:57:48 +0000 (16:57 +0000)]
ARM: dts: imx6*-hummingboard2: fix SD card detect

Fix the SD card detect signal, which was missing the polarity
specification, and the pull-up necessary for proper signalling.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6*-hummingboard2: add Broadcom Wi-Fi include
Russell King [Mon, 11 Dec 2017 16:57:42 +0000 (16:57 +0000)]
ARM: dts: imx6*-hummingboard2: add Broadcom Wi-Fi include

The Broadcom Wi-Fi was moved out to a separate include file.  Add the
include.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6*-hummingboard2: move microsom includes into .dts
Russell King [Mon, 11 Dec 2017 16:57:37 +0000 (16:57 +0000)]
ARM: dts: imx6*-hummingboard2: move microsom includes into .dts

Move the microsom includes into the .dts files.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6qdl-hummingboard2: rename microsom include
Russell King [Mon, 11 Dec 2017 16:57:32 +0000 (16:57 +0000)]
ARM: dts: imx6qdl-hummingboard2: rename microsom include

Rename microsom include to imx6qdl-sr-som.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6*-hummingboard2: remove ar8035 include
Russell King [Mon, 11 Dec 2017 16:57:27 +0000 (16:57 +0000)]
ARM: dts: imx6*-hummingboard2: remove ar8035 include

Remove the AR8035 include, the file is now gone.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6qdl: add HummingBoard2 boards
Jon Nettleton [Mon, 11 Dec 2017 16:57:22 +0000 (16:57 +0000)]
ARM: dts: imx6qdl: add HummingBoard2 boards

This adds support for the Hummingboard Gate and Edge devices from
SolidRun.

Signed-off-by: Jon Nettleton <jon@solid-run.com>
Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: TS-4600: add basic device tree
Sebastien Bourdelin [Thu, 7 Dec 2017 17:11:18 +0000 (12:11 -0500)]
ARM: dts: TS-4600: add basic device tree

These device trees add support for the TS-4600 by Technologic Systems.

More details here:
  http://wiki.embeddedarm.com/wiki/TS-4600

Signed-off-by: Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoof: documentation: add bindings documentation for TS-4600
Sebastien Bourdelin [Thu, 7 Dec 2017 17:11:17 +0000 (12:11 -0500)]
of: documentation: add bindings documentation for TS-4600

This adds the documentation for the TS-4600 by Technologic Systems.

Signed-off-by: Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: TS-7970: add basic device tree
Sebastien Bourdelin [Thu, 7 Dec 2017 16:05:50 +0000 (11:05 -0500)]
ARM: dts: TS-7970: add basic device tree

These device trees add support for TS-7970 by Technologic Systems.

More details here:
   https://wiki.embeddedarm.com/wiki/TS-7970

Signed-off-by: Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoof: documentation: add bindings documentation for TS-7970
Sebastien Bourdelin [Thu, 7 Dec 2017 16:05:49 +0000 (11:05 -0500)]
of: documentation: add bindings documentation for TS-7970

This adds the documentation for the TS-7970 by Technologic Systems.

Signed-off-by: Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx7: add Toradex Colibri iMX7D 1GB (eMMC) support
Stefan Agner [Tue, 19 Dec 2017 18:10:38 +0000 (19:10 +0100)]
ARM: dts: imx7: add Toradex Colibri iMX7D 1GB (eMMC) support

Add support for the Computer on Module Colibri iMX7D 1GB along
with the Colibri Evaluation Board device trees. Follow the usual
hierarchic include model, maintaining shared configuration in
imx7-colibri.dtsi and imx7-colibri-eval-v3.dtsi respectively.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx7-colibri: add MCP2515 CAN controller
Stefan Agner [Tue, 19 Dec 2017 18:10:37 +0000 (19:10 +0100)]
ARM: dts: imx7-colibri: add MCP2515 CAN controller

The Colibri Evaluation Carrier Board provides a MCP2515 CAN
controller connected via SPI. Note that the i.MX 7 provides
an internal CAN controller which is much better suited for CAN
operations. Using the MCP2515 with a Colibri iMX7 module is
mainly useful to test the SPI interface.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx7-colibri: specify backlight GPIO
Stefan Agner [Tue, 19 Dec 2017 18:10:36 +0000 (19:10 +0100)]
ARM: dts: imx7-colibri: specify backlight GPIO

The Colibri standard defines SODIMM 71 as backlight enable
GPIO. Assign the GPIO to the backlight node in the module
level device tree.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx7-colibri: specify usdhc1 supplies
Stefan Agner [Tue, 19 Dec 2017 18:10:35 +0000 (19:10 +0100)]
ARM: dts: imx7-colibri: specify usdhc1 supplies

The usdhc1 controller instance is used to provide the default
SD/MMC capabilities of the Colibri standard. The IO pins are
supplied to the SoC on the module whereas the SD-card is powered
by the Carrier Board supply.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx7-colibri: specify cpu-supply
Stefan Agner [Tue, 19 Dec 2017 18:10:34 +0000 (19:10 +0100)]
ARM: dts: imx7-colibri: specify cpu-supply

Specify CPU supply using the "cpu-supply" property instead of
the invalid "arm-supply" property.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx7-colibri: use NAND_CE1 as GPIO
Stefan Agner [Tue, 19 Dec 2017 18:10:33 +0000 (19:10 +0100)]
ARM: dts: imx7-colibri: use NAND_CE1 as GPIO

All Colibri iMX7 SKUs use either single-die NAND or eMMC, hence
NAND_CE1 is not used on the module and can be used as a GPIO by
carrier boards.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx7-colibri: mux pull-ups where appropriate
Stefan Agner [Tue, 19 Dec 2017 18:10:32 +0000 (19:10 +0100)]
ARM: dts: imx7-colibri: mux pull-ups where appropriate

Use pull-ups instead of pull-downs for the pins which are already
pulled-up externally.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx7-colibri: make sure multiplexed pins are not active
Stefan Agner [Tue, 19 Dec 2017 18:10:31 +0000 (19:10 +0100)]
ARM: dts: imx7-colibri: make sure multiplexed pins are not active

The Colibri pins PWM<A> and <D> are multiplexed on the module, make
sure the secondary SoC pin is not active.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx7-colibri: move and rename USB Host power regulator
Stefan Agner [Tue, 19 Dec 2017 18:10:30 +0000 (19:10 +0100)]
ARM: dts: imx7-colibri: move and rename USB Host power regulator

The Colibri default which enables USB Host power is not necessarily
tied to the OTG2 controller, some carrier board use the pin to
control USB power for both controllers. Hence name the pinctrl
group more generic.

Also move the regulator to the generic eval-v3 device tree since
the regulator is always on the carrier board. In the Colibri iMX7S
case the regulator is just not used.  This allows to reuse the
regulator in a upcoming SKU Colibri iMX7D 1GB with eMMC.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6sl-evk: Convert from fbdev to drm bindings
Marco Franchi [Wed, 6 Dec 2017 15:15:19 +0000 (13:15 -0200)]
ARM: dts: imx6sl-evk: Convert from fbdev to drm bindings

It is preferred to use the panel compatible string rather than passing
the LCD timing in the device tree.

So pass the "sii,43wvf1g" compatible string which describes the parallel
LCD.

Also, pass the 'backlight' property as described in
Documentation/devicetree/bindings/display/panel/simple-panel.txt

Signed-off-by: Marco Franchi <marco.franchi@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6sl-evk: Rearrange the regulators node
Marco Franchi [Wed, 6 Dec 2017 15:15:18 +0000 (13:15 -0200)]
ARM: dts: imx6sl-evk: Rearrange the regulators node

It is not recommended to place regulators inside "simple-bus", so move
them out.

The motivation for doing this is to make it easier to adding new
regulators.

Signed-off-by: Marco Franchi <marcofrk@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6sx-sdb: Convert from fbdev to drm bindings
Marco Franchi [Wed, 6 Dec 2017 15:15:17 +0000 (13:15 -0200)]
ARM: dts: imx6sx-sdb: Convert from fbdev to drm bindings

It is preferred to use the panel compatible string rather than passing
the LCD timing in the device tree.

So pass the "sii,43wvf1g" compatible string, which describes the parallel
LCD.

Also pass the 'backlight' property as described in
Documentation/devicetree/bindings/display/panel/simple-panel.txt

Signed-off-by: Marco Franchi <marcofrk@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: colibri/apalis: use correct compatible for RTC
Stefan Agner [Wed, 6 Dec 2017 10:29:29 +0000 (11:29 +0100)]
ARM: dts: colibri/apalis: use correct compatible for RTC

All Toradex Carrier Boards use a st,m41t0 compatible RTC. Compared
to a st,m41t00 this RTC has also an oscillator fail bit which allows
to detect when the RTC lost track of time.

Cc: Sanchayan Maity <maitysanchayan@gmail.com>
Cc: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Stefan Agner <stefan@agner.ch>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: ls1021a: Specify interrupt-affinity for pmu node
Esben Haabendal [Tue, 5 Dec 2017 08:22:25 +0000 (09:22 +0100)]
ARM: dts: ls1021a: Specify interrupt-affinity for pmu node

This avoids the warning

  hw perfevents: no interrupt-affinity property for /pmu, guessing.

Signed-off-by: Esben Haabendal <eha@deif.com>
[RV: adapt commit log to the warning emitted in current mainline]
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: ls1021a: Add label to USB controllers
Esben Haabendal [Tue, 5 Dec 2017 08:16:33 +0000 (09:16 +0100)]
ARM: dts: ls1021a: Add label to USB controllers

Add usb2 and usb3 labels to USB2 and USB3 controller device tree nodes,
for easier modification in board dts files.

Signed-off-by: Esben Haabendal <eha@deif.com>
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: ls1021a: add reboot node to .dtsi
Rasmus Villemoes [Tue, 5 Dec 2017 08:12:47 +0000 (09:12 +0100)]
ARM: dts: ls1021a: add reboot node to .dtsi

The LS1021A can be reset via the dcfg regmap in the same way as the
arm64 layerscape SoCs, so add the corresponding DT node.

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx51-babbage: Pass the USB PHY regulator
Fabio Estevam [Sat, 2 Dec 2017 20:26:04 +0000 (18:26 -0200)]
ARM: dts: imx51-babbage: Pass the USB PHY regulator

The USB PHYs are supplied via MC13892 VUSB regulator rail,
so properly describe this in the device tree.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6qdl-zii-rdu2: Remove device_type from PCI subnode
Fabio Estevam [Sat, 2 Dec 2017 17:08:08 +0000 (15:08 -0200)]
ARM: dts: imx6qdl-zii-rdu2: Remove device_type from PCI subnode

device_type = "pci" should be used for the SoC level PCI controller and
it is already present at imx6qdl.dtsi.

Remove it from the subnode in order to fix the following build
warnings with W=1:

arch/arm/boot/dts/imx6q-zii-rdu2.dtb: Warning (pci_bridge): Node /soc/pcie@1ffc000/pci@0 missing ranges for PCI bridge (or not a bridge)
arch/arm/boot/dts/imx6q-zii-rdu2.dtb: Warning (pci_bridge): Node /soc/pcie@1ffc000/pci@0 missing bus-range for PCI bridge
arch/arm/boot/dts/imx6q-zii-rdu2.dtb: Warning (unit_address_format): Failed prerequisite 'pci_bridge'
arch/arm/boot/dts/imx6q-zii-rdu2.dtb: Warning (pci_device_reg): Failed prerequisite 'pci_bridge'
arch/arm/boot/dts/imx6q-zii-rdu2.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge'

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6ul-14x14-evk: Move regulators out of simple-bus
Fabio Estevam [Mon, 4 Dec 2017 12:20:16 +0000 (10:20 -0200)]
ARM: dts: imx6ul-14x14-evk: Move regulators out of simple-bus

It is not recommended to place regulator nodes inside simple-bus, so
move them out in order to fix the following build warnings with W=1:

arch/arm/boot/dts/imx6ul-14x14-evk.dtb: Warning (simple_bus_reg): Node /regulators/sd1_regulator missing or empty reg/ranges property

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6qdl-nitrogen6_max: Remove unneeded unit address
Fabio Estevam [Mon, 4 Dec 2017 12:20:15 +0000 (10:20 -0200)]
ARM: dts: imx6qdl-nitrogen6_max: Remove unneeded unit address

Remove the unneeded unit address for the i2cmux nodes in order to fix
the following build warnings with W=1:

arch/arm/boot/dts/imx6q-nitrogen6_max.dtb: Warning (unit_address_vs_reg): Node /i2cmux@2 has a unit name, but no reg property
arch/arm/boot/dts/imx6q-nitrogen6_max.dtb: Warning (unit_address_vs_reg): Node /i2cmux@3 has a unit name, but no reg property

While at it, rename the i2cmux nodes and subnodes to make it clearer to which
i2c controller the mux belongs to.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6q-h100: Remove unneeded unit address
Fabio Estevam [Mon, 4 Dec 2017 12:20:14 +0000 (10:20 -0200)]
ARM: dts: imx6q-h100: Remove unneeded unit address

Remove the unneeded unit address for the port nodes in order to fix
the following build warnings with W=1:

arch/arm/boot/dts/imx6q-h100.dtb: Warning (unit_address_vs_reg): Node /soc/aips-bus@2100000/i2c@21a0000/tc358743@f/port@0 has a unit name, but no reg property
arch/arm/boot/dts/imx6q-h100.dtb: Warning (unit_address_vs_reg): Node /soc/aips-bus@2100000/mipi@21dc000/port@0 has a unit name, but no reg property

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6qdl-colibri: Remove unneeded reg property
Fabio Estevam [Mon, 4 Dec 2017 12:20:13 +0000 (10:20 -0200)]
ARM: dts: imx6qdl-colibri: Remove unneeded reg property

As described in
Documentation/devicetree/bindings/input/touchscreen/stmpe.txt
there is no 'reg' property under stmpe_touchscreen, so remove it
to fix the following build warning with W=1:

arch/arm/boot/dts/imx6dl-colibri-eval-v3.dtb: Warning (unit_address_vs_reg): Node /soc/aips-bus@2100000/i2c@21a4000/stmpe811@41/stmpe_touchscreen has a reg or ranges property, but no unit name

Cc: Sanchayan Maity <maitysanchayan@gmail.com>
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6qdl-apalis: Remove unneeded reg property
Fabio Estevam [Mon, 4 Dec 2017 12:20:12 +0000 (10:20 -0200)]
ARM: dts: imx6qdl-apalis: Remove unneeded reg property

As described in
Documentation/devicetree/bindings/input/touchscreen/stmpe.txt
there is no 'reg' property under stmpe_touchscreen, so remove it
to fix the following build warning with W=1:

arch/arm/boot/dts/imx6q-apalis-eval.dtb: Warning (unit_address_vs_reg): Node /soc/aips-bus@2100000/i2c@21a4000/stmpe811@41/stmpe_touchscreen has a reg or ranges property, but no unit name

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6qdl-aristainetos: Move display node out of 'soc'
Fabio Estevam [Mon, 4 Dec 2017 12:20:11 +0000 (10:20 -0200)]
ARM: dts: imx6qdl-aristainetos: Move display node out of 'soc'

Move disp0 node from soc node to root node.

disp0 node does not have any register properties and thus
shouldn't be placed on the bus.

This fixes the following build warnings with W=1:

arch/arm/boot/dts/imx6dl-aristainetos_4.dtb: Warning (simple_bus_reg): Node /soc/disp0 missing or empty reg/ranges property

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
Tested-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6qdl-aristainetos: Move regulators out of simple-bus
Fabio Estevam [Mon, 4 Dec 2017 12:20:10 +0000 (10:20 -0200)]
ARM: dts: imx6qdl-aristainetos: Move regulators out of simple-bus

It is not recommended to place regulator nodes inside simple-bus, so
move them out in order to fix the following build warnings with W=1:

arch/arm/boot/dts/imx6dl-aristainetos_4.dtb: Warning (unit_address_vs_reg): Node /regulators/regulator@0 has a unit name, but no reg property
arch/arm/boot/dts/imx6dl-aristainetos_4.dtb: Warning (unit_address_vs_reg): Node /regulators/regulator@1 has a unit name, but no reg property
arch/arm/boot/dts/imx6dl-aristainetos_4.dtb: Warning (unit_address_vs_reg): Node /regulators/regulator@2 has a unit name, but no reg property
arch/arm/boot/dts/imx6dl-aristainetos_4.dtb: Warning (unit_address_vs_reg): Node /regulators/regulator@3 has a unit name, but no reg property

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
Tested-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6qdl-apf6dev: Move regulators out of simple-bus
Fabio Estevam [Mon, 4 Dec 2017 12:20:09 +0000 (10:20 -0200)]
ARM: dts: imx6qdl-apf6dev: Move regulators out of simple-bus

It is not recommended to place regulator nodes inside simple-bus, so
move them out in order to fix the following build warnings with W=1:

arch/arm/boot/dts/imx6dl-apf6dev.dtb: Warning (simple_bus_reg): Node /regulators/3p3v missing or empty reg/ranges property
arch/arm/boot/dts/imx6dl-apf6dev.dtb: Warning (simple_bus_reg): Node /regulators/usb-h1-vbus missing or empty reg/ranges property
arch/arm/boot/dts/imx6dl-apf6dev.dtb: Warning (simple_bus_reg): Node /regulators/usb-otg-vbus missing or empty reg/ranges property

Cc: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx53-tx53-x03x: Move display node out of 'soc'
Fabio Estevam [Mon, 4 Dec 2017 12:20:08 +0000 (10:20 -0200)]
ARM: dts: imx53-tx53-x03x: Move display node out of 'soc'

Move disp0 node from soc node to root node.

disp0 node does not have any register properties and thus
shouldn't be placed on the bus.

This fixes the following build warnings with W=1:

arch/arm/boot/dts/imx53-tx53-x03x.dtb: Warning (simple_bus_reg): Node /soc/disp0 missing or empty reg/ranges property

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Acked-by: Lothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx53-m53: Remove unneeded reg property
Fabio Estevam [Mon, 4 Dec 2017 12:20:07 +0000 (10:20 -0200)]
ARM: dts: imx53-m53: Remove unneeded reg property

As described in
Documentation/devicetree/bindings/input/touchscreen/stmpe.txt
there is no 'reg' property under stmpe_touchscreen, so remove it
to fix the following build warning with W=1:

arch/arm/boot/dts/imx53-m53evk.dtb: Warning (unit_address_vs_reg): Node /soc/aips@60000000/i2c@63fc4000/stmpe610@41/stmpe_touchscreen has a reg or ranges property, but no unit name

Cc: Marek Vasut <marex@denx.de>
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx51-zii-rdu1: Add the unit addresses in sysled
Fabio Estevam [Mon, 4 Dec 2017 12:20:06 +0000 (10:20 -0200)]
ARM: dts: imx51-zii-rdu1: Add the unit addresses in sysled

As described at Documentation/devicetree/bindings/mfd/mc13xxx.txt the
reg property is mandatory, so add the corresponding unit address in
order to fix the following build warnings with W=1:

arch/arm/boot/dts/imx51-zii-rdu1.dtb: Warning (unit_address_vs_reg): Node /soc/aips@70000000/spba@70000000/ecspi@70010000/pmic@0/leds/sysled0 has a reg or ranges property, but no unit name
arch/arm/boot/dts/imx51-zii-rdu1.dtb: Warning (unit_address_vs_reg): Node /soc/aips@70000000/spba@70000000/ecspi@70010000/pmic@0/leds/sysled1 has a reg or ranges property, but no unit name

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx51-ts4800: Fix syscon and touschscreen nodes
Fabio Estevam [Mon, 4 Dec 2017 12:20:05 +0000 (10:20 -0200)]
ARM: dts: imx51-ts4800: Fix syscon and touschscreen nodes

The syscon node has an incorrect notation for its unit address and the
wdt node has an unneeded unit address.

Fix them so that the following build warnings with W=1 are gone:

arch/arm/boot/dts/imx51-ts4800.dtb: Warning (unit_address_vs_reg): Node /soc/aips@80000000/weim@83fda000/fpga@0/syscon@b0010000/wdt@e has a unit name, but no reg property
arch/arm/boot/dts/imx51-ts4800.dtb: Warning (unit_address_vs_reg): Node /soc/aips@80000000/weim@83fda000/fpga@0/touchscreen has a reg or ranges property, but no unit name
arch/arm/boot/dts/imx51-ts4800.dtb: Warning (simple_bus_reg): Node /soc/aips@80000000/weim@83fda000/fpga@0/syscon@b0010000 simple-bus unit address format error, expected "10000"
arch/arm/boot/dts/imx51-ts4800.dtb: Warning (simple_bus_reg): Node /soc/aips@80000000/weim@83fda000/fpga@0/touchscreen simple-bus unit address format error, expected "12000"

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Damien Riegel <damien.riegel@savoirfairelinux.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6q: Add Variscite DART-MX6 Carrier-board support
Neil Armstrong [Mon, 4 Dec 2017 09:21:09 +0000 (10:21 +0100)]
ARM: dts: imx6q: Add Variscite DART-MX6 Carrier-board support

This patch adds support for the i.MX6 Quad variant of the Variscite DART-MX6
SoM Carrier-Board.

This Carrier-Board has the following :
- LVDS interface for the VLCD-CAP-GLD-LVDS 7" LCD 800 x 480 touch display
- HDMI Connector
- USB Host + USB OTG Connector
- 10/100/1000 Mbps Ethernet
- miniPCI-Express slot
- SD Card connector
- Audio Headphone/Line In jack connectors
- On-board DMIC
- CAN bus header
- SPI header
- Camera Interfaces header
- 4xButtons, 2xLeds
- OnBoard RTC with Coin Backup battery socket
- RS232 Header + USB-Serial debug port

Product Page : http://www.variscite.com/products/evaluation-kits/dart-mx6-kits

The board support is done with all on-board and header interfaces enabled.
7" LVDS Touchscreen is enabled by default along HDMI output.
Audio interface is supported with the "simple-card" bindings.

PCIe slot, On-Board DMIC and Camera Interfaces are not handled yet.

Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6qdl: Add Variscite DART-MX6 SoM support
Neil Armstrong [Mon, 4 Dec 2017 09:21:08 +0000 (10:21 +0100)]
ARM: dts: imx6qdl: Add Variscite DART-MX6 SoM support

This patch adds support for the Variscite DART-MX6 SoM with :
- i.MX6 Quad or Dual Lite SoC
- 1Gb/2Gb LPDDR2
- 4-64 GB eMMC
- Camera Interface
- HDMI+CEC interface
- LVDS / DSI / Parallel RGB interfaces
- Ethernet RGMII interface
- On-SoM Wi-Fi/Bluetooth with WiLink wl1835 SDIO Module
- SD/MMC/SDIO interface
- USB Host + USB OTG interface
- I2C interfaces
- SPI interfaces
- PCI-Express 2.0 interface
- on-SoM Audio Codec with HP/Line-In interfaces + DMIC interface
- Digital Audio interface
- S/PDIF interface

Product website : http://www.variscite.com/products/system-on-module-som/cortex-a9/dart-mx6-cpu-freescale-imx6

Support is handled with a SoM-centric dtsi exporting the default interfaces
along the default pinmuxing to be enabled by the board dts file.

Only board-independent devices like WiFi, eMMC or PMIC are enabled in the dtsi.

Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agodt-bindings: display: Add bindings for SGD GKTW70SDAE4SE Panel
Neil Armstrong [Mon, 4 Dec 2017 09:21:07 +0000 (10:21 +0100)]
dt-bindings: display: Add bindings for SGD GKTW70SDAE4SE Panel

The GKTW70SDAE4SE is an LVDS display panel.
Their bindings are modelled on the the LVDS panel bindings.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agodt-bindings: Add vendor prefix for Solomon Goldentek Display Corporation
Neil Armstrong [Mon, 4 Dec 2017 09:21:06 +0000 (10:21 +0100)]
dt-bindings: Add vendor prefix for Solomon Goldentek Display Corporation

Solomon Goldentek Display Corporation is a Taiwanese LCD/LCM manufacturer.
Company Site: http://www.goldentek.com.tw

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6qdl-pinfunc: Add missing MX6QDL_PAD_ENET_RXD0__OSC32K_32K_OUT
Neil Armstrong [Mon, 4 Dec 2017 09:21:05 +0000 (10:21 +0100)]
ARM: dts: imx6qdl-pinfunc: Add missing MX6QDL_PAD_ENET_RXD0__OSC32K_32K_OUT

Add missing pinmux entry for OSC32K_32K_OUT on pad ENET_RXD0 used by the
Variscite DART-MX6 SoM.

Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: ls1021aqds: Add nand node for ifc controller
Prabhakar Kushwaha [Thu, 30 Nov 2017 03:42:24 +0000 (09:12 +0530)]
ARM: dts: ls1021aqds: Add nand node for ifc controller

LS1021AQDS support NAND flash on IFC chip-select 2.

So add NAND node in device tree for IFC controller.

Signed-off-by: Jagdish Gediya <jagdish.gediya@nxp.com>
Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx7d-pico-pi: Separate into cpu and baseboard dts
Vanessa Maegima [Thu, 30 Nov 2017 17:55:17 +0000 (15:55 -0200)]
ARM: dts: imx7d-pico-pi: Separate into cpu and baseboard dts

Separate the old imx7d-pico into cpu (imx7d-pico.dtsi) and baseboard
(imx7d-pico-pi.dts) dts so the same cpu dtsi can be used in different
baseboards variants.

Signed-off-by: Vanessa Maegima <vanessa.maegima@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: vf500: Fix interrupt-controller unit address
Fabio Estevam [Wed, 29 Nov 2017 18:54:44 +0000 (16:54 -0200)]
ARM: dts: vf500: Fix interrupt-controller unit address

The correct unit address for interrupt-controller is 0x40003000, so
change it accordingly in order to fix the following build warning
with W=1:

arch/arm/boot/dts/vf500-colibri-eval-v3.dtb: Warning (simple_bus_reg): Node /soc/aips-bus@40000000/interrupt-controller@40002000 simple-bus unit address format error, expected "40003000"

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6sx: Fix spba-bus unit address
Fabio Estevam [Wed, 29 Nov 2017 18:54:43 +0000 (16:54 -0200)]
ARM: dts: imx6sx: Fix spba-bus unit address

The correct unit address for spba-bus is 0x2240000, so change it
accordingly in order to fix the following build warning with W=1:

arch/arm/boot/dts/imx6sx-sabreauto.dtb: Warning (simple_bus_reg): Node /soc/aips-bus@2200000/spba-bus@2200000 simple-bus unit address format error, expected "2240000"

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: vfxxx: Move nodes which have no reg property out of bus
Fabio Estevam [Wed, 29 Nov 2017 18:54:42 +0000 (16:54 -0200)]
ARM: dts: vfxxx: Move nodes which have no reg property out of bus

Move iio-hwmon node from soc node to root node.

iio-hwmon node does not have any register properties and thus
shouldn't be placed on the bus.

This fixes the following build warnings with W=1:

arch/arm/boot/dts/vf500-colibri-eval-v3.dtb: Warning (simple_bus_reg): Node /soc/iio-hwmon missing or empty reg/ranges property

Based on a patch from Simon Horman for the renesas r8a7795 dtsi.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx7s: Add unit address and reg for the anatop nodes
Fabio Estevam [Wed, 29 Nov 2017 18:54:41 +0000 (16:54 -0200)]
ARM: dts: imx7s: Add unit address and reg for the anatop nodes

Add unit address and reg for the anatop nodes in order to fix the
following build warnings with W=1:

arch/arm/boot/dts/imx7d-cl-som-imx7.dtb: Warning (simple_bus_reg): Node /soc/aips-bus@30000000/anatop@30360000/regulator-vdd1p0d missing or empty reg/ranges property

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx7d: Fix pcie node warnings
Fabio Estevam [Wed, 29 Nov 2017 18:54:40 +0000 (16:54 -0200)]
ARM: dts: imx7d: Fix pcie node warnings

Fix the unit address notation and pass bus-range property in order to
fix the following build warnings with W=1:

arch/arm/boot/dts/imx7d-cl-som-imx7.dtb: Warning (pci_bridge): Node /soc/aips-bus@30800000/pcie@0x33800000 missing bus-range for PCI bridge
arch/arm/boot/dts/imx7d-cl-som-imx7.dtb: Warning (unit_address_format): Failed prerequisite 'pci_bridge'
arch/arm/boot/dts/imx7d-cl-som-imx7.dtb: Warning (pci_device_reg): Failed prerequisite 'pci_bridge'
arch/arm/boot/dts/imx7d-cl-som-imx7.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge'
arch/arm/boot/dts/imx7d-cl-som-imx7.dtb: Warning (simple_bus_reg): Node /soc/aips-bus@30800000/pcie@0x33800000 simple-bus unit address format error, expected "33800000"

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx7: Move nodes which have no reg property out of bus
Fabio Estevam [Wed, 29 Nov 2017 18:54:39 +0000 (16:54 -0200)]
ARM: dts: imx7: Move nodes which have no reg property out of bus

Move usbphynop1, usbphynop2, usbhypnop3, replicator and timer and nodes
from soc node to root node.

The nodes that have been moved do not have any register properties and thus
shouldn't be placed on the bus.

This fixes the following build warnings with W=1:

arch/arm/boot/dts/imx7d-cl-som-imx7.dtb: Warning (simple_bus_reg): Node /soc/replicator missing or empty reg/ranges property
arch/arm/boot/dts/imx7d-cl-som-imx7.dtb: Warning (simple_bus_reg): Node /soc/timer missing or empty reg/ranges property
arch/arm/boot/dts/imx7d-cl-som-imx7.dtb: Warning (simple_bus_reg): Node /soc/aips-bus@30800000/usbphynop1 missing or empty reg/ranges property
arch/arm/boot/dts/imx7d-cl-som-imx7.dtb: Warning (simple_bus_reg): Node /soc/aips-bus@30800000/usbphynop3 missing or empty reg/ranges property
arch/arm/boot/dts/imx7d-cl-som-imx7.dtb: Warning (simple_bus_reg): Node /soc/aips-bus@30800000/usbphynop2 missing or empty reg/ranges property

Based on a patch from Simon Horman for r8a7795.dtsi.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6dl: Remove unneeded label and unit address
Fabio Estevam [Wed, 29 Nov 2017 18:54:38 +0000 (16:54 -0200)]
ARM: dts: imx6dl: Remove unneeded label and unit address

Remove unneeded label and unit address in order to fix the following
build warnings with W=1:

arch/arm/boot/dts/imx6dl-apf6dev.dtb: Warning (unit_address_vs_reg): Node /soc/aips-bus@2000000/iomuxc-gpr@20e0000/ipu1_csi0_mux@34 has a unit name, but no reg property
arch/arm/boot/dts/imx6dl-apf6dev.dtb: Warning (unit_address_vs_reg): Node /soc/aips-bus@2000000/iomuxc-gpr@20e0000/ipu1_csi1_mux@34 has a unit name, but no

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6dl: Pass the reg properties for mipi nodes
Fabio Estevam [Wed, 29 Nov 2017 18:54:37 +0000 (16:54 -0200)]
ARM: dts: imx6dl: Pass the reg properties for mipi nodes

Pass the reg properties for mipi nodes in order to fix the
following build warnings with W=1:

arch/arm/boot/dts/imx6dl-apf6dev.dtb: Warning (unit_address_vs_reg): Node /soc/aips-bus@2100000/mipi@21dc000/port@1/endpoint@0 has a unit name, but no reg property
arch/arm/boot/dts/imx6dl-apf6dev.dtb: Warning (unit_address_vs_reg): Node /soc/aips-bus@2100000/mipi@21dc000/port@1/endpoint@1 has a unit name, but no reg property
arch/arm/boot/dts/imx6dl-apf6dev.dtb: Warning (unit_address_vs_reg): Node /soc/aips-bus@2100000/mipi@21dc000/port@2/endpoint@0 has a unit name, but no reg property
arch/arm/boot/dts/imx6dl-apf6dev.dtb: Warning (unit_address_vs_reg): Node /soc/aips-bus@2100000/mipi@21dc000/port@2/endpoint@1 has a unit name, but no reg property
arch/arm/boot/dts/imx6dl-apf6dev.dtb: Warning (unit_address_vs_reg): Node /soc/aips-bus@2100000/mipi@21dc000/port@3/endpoint@0 has a unit name, but no reg property
arch/arm/boot/dts/imx6dl-apf6dev.dtb: Warning (unit_address_vs_reg): Node /soc/aips-bus@2100000/mipi@21dc000/port@3/endpoint@1 has a unit name, but no reg property
arch/arm/boot/dts/imx6dl-apf6dev.dtb: Warning (unit_address_vs_reg): Node /soc/aips-bus@2100000/mipi@21dc000/port@4/endpoint@0 has a unit name, but no reg property
arch/arm/boot/dts/imx6dl-apf6dev.dtb: Warning (unit_address_vs_reg): Node /soc/aips-bus@2100000/mipi@21dc000/port@4/endpoint@1 has a unit name, but no reg property

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6: Add unit address and reg for the anatop nodes
Fabio Estevam [Wed, 29 Nov 2017 18:54:36 +0000 (16:54 -0200)]
ARM: dts: imx6: Add unit address and reg for the anatop nodes

Add unit address and reg for the anatop nodes in order to fix the
following build warnings with W=1:

arch/arm/boot/dts/imx6dl-apf6dev.dtb: Warning (simple_bus_reg): Node /soc/aips-bus@2000000/anatop@20c8000/regulator-1p1 missing or empty reg/ranges property
arch/arm/boot/dts/imx6dl-apf6dev.dtb: Warning (simple_bus_reg): Node /soc/aips-bus@2000000/anatop@20c8000/regulator-3p0 missing or empty reg/ranges property
arch/arm/boot/dts/imx6dl-apf6dev.dtb: Warning (simple_bus_reg): Node /soc/aips-bus@2000000/anatop@20c8000/regulator-2p5 missing or empty reg/ranges property
arch/arm/boot/dts/imx6dl-apf6dev.dtb: Warning (simple_bus_reg): Node /soc/aips-bus@2000000/anatop@20c8000/regulator-vddcore missing or empty reg/ranges property
arch/arm/boot/dts/imx6dl-apf6dev.dtb: Warning (simple_bus_reg): Node /soc/aips-bus@2000000/anatop@20c8000/regulator-vddpu missing or empty reg/ranges property
arch/arm/boot/dts/imx6dl-apf6dev.dtb: Warning (simple_bus_reg): Node /soc/aips-bus@2000000/anatop@20c8000/regulator-vddsoc missing or empty reg/ranges property

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6: Move nodes which have no reg property out of bus
Fabio Estevam [Wed, 29 Nov 2017 18:54:35 +0000 (16:54 -0200)]
ARM: dts: imx6: Move nodes which have no reg property out of bus

Move tempmon, ldb and pmu nodes from soc node to root node.

The nodes that have been moved do not have any register properties and thus
shouldn't be placed on the bus.

This fixes the following build warnings with W=1:

arch/arm/boot/dts/imx6dl-apf6dev.dtb: Warning (simple_bus_reg): Node /soc/aips-bus@2000000/tempmon missing or empty reg/ranges property
arch/arm/boot/dts/imx6dl-apf6dev.dtb: Warning (simple_bus_reg): Node /soc/aips-bus@2000000/ldb missing or empty reg/ranges property
arch/arm/boot/dts/imx6dl-apf6dev.dtb: Warning (simple_bus_reg): Node /soc/pmu missing or empty reg/ranges property

Based on a patch from Simon Horman for r8a7795.dtsi.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx53: Move nodes which have no reg property out of bus
Fabio Estevam [Wed, 29 Nov 2017 18:54:34 +0000 (16:54 -0200)]
ARM: dts: imx53: Move nodes which have no reg property out of bus

Move pmu, usbphy0 and usbphy1 nodes from soc node to root node.

The nodes that have been moved do not have any register properties and thus
shouldn't be placed on the bus.

This fixes the following build warnings with W=1:

arch/arm/boot/dts/imx53-ard.dtb: Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name
arch/arm/boot/dts/imx53-ard.dtb: Warning (simple_bus_reg): Node /soc/aips@50000000/usbphy-0 missing or empty reg/ranges property
arch/arm/boot/dts/imx53-ard.dtb: Warning (simple_bus_reg): Node /soc/aips@50000000/usbphy-1 missing or empty reg/ranges property
arch/arm/boot/dts/imx53-ard.dtb: Warning (simple_bus_reg): Node /soc/pmu missing or empty reg/ranges property

Based on a patch from Simon Horman for r8a7795.dtsi.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6: add snvs-lpgpr node
Oleksij Rempel [Tue, 20 Jun 2017 07:09:32 +0000 (09:09 +0200)]
ARM: dts: imx6: add snvs-lpgpr node

This node is for Low Power General Purpose Register which can
be used as Non-Volatile Storage.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: ls1021a: fix the value of TMR_FIPER1
Yangbo Lu [Wed, 29 Nov 2017 06:54:58 +0000 (14:54 +0800)]
ARM: dts: ls1021a: fix the value of TMR_FIPER1

The timer fixed interval period pulse generator register
is used to generate periodic pulses. The down count
register loads the value programmed in the fixed period
interval (FIPER). At every tick of the timer accumulator
overflow, the counter decrements by the value of
TMR_CTRL[TCLK_PERIOD]. It generates a pulse when the down
counter value reaches zero. It reloads the down counter
in the cycle following a pulse. To use the TMR_FIPER1
register to generate a 1 PPS event, the value
(10^9 nanoseconds) - TCLK_PERIOD should be programmed.
It should be 999999995 not 999999990 since TCLK_PERIOD
is 5.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6qdl-nitrogen6x: Add SPI NOR partitions
Otavio Salvador [Tue, 28 Nov 2017 17:49:24 +0000 (15:49 -0200)]
ARM: dts: imx6qdl-nitrogen6x: Add SPI NOR partitions

This adds the partitions definition for the SPI NOR to provide
backward compatibility with the documented[1] layout used with
Boundary Devices BSP.

1. https://boundarydevices.com/boot-flash-access-linux/

It exports to Linux:

 mtd0: bootloader
 mtd1: env
 mtd2: splash

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6qdl-cubox-i: update GPIO specification
Russell King [Tue, 28 Nov 2017 15:03:16 +0000 (15:03 +0000)]
ARM: dts: imx6qdl-cubox-i: update GPIO specification

Fabio Estevam suggested using GPIO_ACTIVE_HIGH in the gpio specification
for the USB regulators.  Change them to conform.

Suggested-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6qdl: SolidRun: add v1.5 som with eMMC
Russell King [Tue, 28 Nov 2017 15:03:11 +0000 (15:03 +0000)]
ARM: dts: imx6qdl: SolidRun: add v1.5 som with eMMC

Add Cubox-i and Hummingboard variants for v1.5 SOMs, where the SOM has
eMMC fitted.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6qdl: SolidRun: add v1.5 som without eMMC
Russell King [Tue, 28 Nov 2017 15:03:06 +0000 (15:03 +0000)]
ARM: dts: imx6qdl: SolidRun: add v1.5 som without eMMC

Add Cubox-i and Hummingboard variants for v1.5 SOMs, which have TI
Wi-Fi instead of Broadcom Wi-Fi.  This variant does not include
SOM eMMC support.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6qdl: SolidRun: fix node names
Russell King [Tue, 28 Nov 2017 15:03:01 +0000 (15:03 +0000)]
ARM: dts: imx6qdl: SolidRun: fix node names

Node names are supposed to be generic, fix the RTC and codec node
names for both Hummingboard and Cubox-i.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6qdl: SolidRun: rename regulators to match schematic
Russell King [Tue, 28 Nov 2017 15:02:56 +0000 (15:02 +0000)]
ARM: dts: imx6qdl: SolidRun: rename regulators to match schematic

Make the regulators match the schematic - name the regulators after
one of their schematic supply names, and arrange them into their
heirarchy.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6qdl-hummingboard: add SD card regulator
Russell King [Tue, 28 Nov 2017 15:02:51 +0000 (15:02 +0000)]
ARM: dts: imx6qdl-hummingboard: add SD card regulator

Add the SD card regulator, which allows the SD card power to be switched
on/off.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6qdl-sr-som: add support for eMMC
Russell King [Tue, 28 Nov 2017 15:02:46 +0000 (15:02 +0000)]
ARM: dts: imx6qdl-sr-som: add support for eMMC

Rev 1.5 microsoms include eMMC support on-board.  Add a microsom include
file which can be used to add support for this.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6qdl-sr-som: add support for TI Wi-Fi
Russell King [Tue, 28 Nov 2017 15:02:41 +0000 (15:02 +0000)]
ARM: dts: imx6qdl-sr-som: add support for TI Wi-Fi

Add support for the TI Wi-Fi WL1837 device on SolidRun's revision
1.5 microsoms.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6qdl-sr-som: add 3.3V vcc regulator
Russell King [Tue, 28 Nov 2017 15:02:35 +0000 (15:02 +0000)]
ARM: dts: imx6qdl-sr-som: add 3.3V vcc regulator

Add a 3.3V regulator for devices connected to the vcc_3v3 supply
signal on the microsom.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6qdl-sr-som-brcm: rename sdio clock
Russell King [Tue, 28 Nov 2017 15:02:30 +0000 (15:02 +0000)]
ARM: dts: imx6qdl-sr-som-brcm: rename sdio clock

The SDIO clock is really the Broadcom clock.  Rename it as such.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6qdl-sr-som: split out Broadcom Wi-Fi support
Russell King [Tue, 28 Nov 2017 15:02:25 +0000 (15:02 +0000)]
ARM: dts: imx6qdl-sr-som: split out Broadcom Wi-Fi support

There are two variants of the imx6qdl som: one with Broadcom Wi-Fi and
another with Texas Instruments Wi-Fi.  The two Wi-Fi devices require
different DT bindings, so it's necessary to split out the Broadcom
specifics.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6qdl-sr-som: use real iomuxc values for ethernet
Russell King [Tue, 28 Nov 2017 15:02:20 +0000 (15:02 +0000)]
ARM: dts: imx6qdl-sr-som: use real iomuxc values for ethernet

Use real iomuxc values rather than preserving the boot loader value for
the SOMs ethernet.

Suggested-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>