Commit Graph

425971 Commits

Author SHA1 Message Date
Alexander Shiyan
3c6c9eeb14 ARM: dts: imx27-phytec-phycore-rdk: Add pinctrl definitions for WEIM
This patch adds pinctrl definitions for WEIM CS4 and GPIO used as
CAN IRQ line.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09 21:33:35 +08:00
Alexander Shiyan
836ac7831d ARM: dts: imx27-phytec-phycore-rdk: Add pingrp for SDHC
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09 21:33:33 +08:00
Alexander Shiyan
986cc49204 ARM: dts: imx27-phytec-phycore-som: Add spi-cs-high property to PMIC
Since SPI core does not use GPIO bindings for CS GPIOs,
we should add an active high level declaration.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09 21:33:32 +08:00
Alexander Shiyan
5e01e58578 ARM: dts: imx27-phytec-phycore-rdk: Enable 1-Wire module
This patch enables 1-Wire module for Phytec PCM-970 RDK.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09 21:33:31 +08:00
Alexander Shiyan
dde5697332 ARM: dts: imx27-phytec-phycore-som: Add NFC pin group
This patch adds pin group for NAND Flash Controller.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09 21:33:30 +08:00
Steffen Trumtrar
a4f3ac4d2b ARM: dts: Add support for the i.MX35.
Cc: linux-arm-kernel@lists.infradead.org
Cc: Eric Bénard <eric@eukrea.com>
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Denis Carikli <denis@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09 21:33:29 +08:00
Alexandre Belloni
bd798f9c7b ARM: dts: mxs: Add iio-hwmon to mx23 soc
This allows to read the SoC on-die temperature sensor available on the LRADC by
using:
 cat /sys/class/hwmon/hwmon0/device/temp1_input

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09 21:33:28 +08:00
Alexandre Belloni
f92dfb0296 ARM: dts: mxs: Add iio-hwmon to mx28 soc
This allows to read the SoC on-die temperature sensor available on the LRADC by
using:
 cat /sys/class/hwmon/hwmon0/device/temp1_input

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09 21:33:27 +08:00
Alexander Shiyan
e3da3d2142 ARM: dts: imx27-phytec-phycore-som: Rename file to .dtsi
PCM-038 module cannot be used standalone. This patch renames
module file to .dtsi and excludes it from compilation.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09 21:33:25 +08:00
Alexander Shiyan
f4bdf21564 ARM: dts: imx27-phytec-phycore-som: Add pinctrl for CSPI1 and GPIOs used on module
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09 21:33:24 +08:00
Alexandre Belloni
40dde68196 ARM: dts: mxs: add #io-channel-cells to mx28 lradc
Adding #io-channel-cells property to lradc allows us to use the lradc as
an iio provider.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09 21:33:23 +08:00
Michael Grzeschik
c8e42bc948 ARM: i.MX28: dts: rename usbphy pin names
The pins have nothing todo with the phy layer. We better rename them, so
it gets clear they are routed to the ehci core not to any phy.

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09 21:33:22 +08:00
Denis Carikli
5c3cf47c20 ARM: dts: Add support for the cpuimx25 board from Eukrea and its baseboard.
The following devices/functionalities were added:
 * Main and secondary UARTs.
 * i2c and the pcf8563 device.
 * Ethernet.
 * NAND.
 * The BP1 button.
 * The LED.
 * Watchdog
 * SD.

Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: devicetree@vger.kernel.org
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: linux-arm-kernel@lists.infradead.org
Cc: Eric Bénard <eric@eukrea.com>
Signed-off-by: Denis Carikli <denis@eukrea.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09 21:33:21 +08:00
Eric Bénard
9a4cc05653 ARM: mxs: Add support for the eukrea-cpuimx28.
The following devices/functionalities were tested:
 * Main UART.
 * Ethernet0.
 * Ethernet1.
 * SD.
 * USB host.
 * USB otg.
 * Display(and its backlight).
 * Touchscreen.
 * Audio.
 * nand.
 * i2c and the pcf8563 device.
 * The gpio buttons.
 * The gpio leds.
 * Watchdog

Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: devicetree@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Denis Carikli <denis@eukrea.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09 21:33:20 +08:00
Denis Carikli
bb89b8d2aa ARM: dts: mxs: Add a new pin config for the usb0 ID.
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: devicetree@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: Eric Bénard <eric@eukrea.com>
Signed-off-by: Denis Carikli <denis@eukrea.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09 21:33:18 +08:00
Denis Carikli
ec985eb2e2 ARM: dts: mxs: Add 18bit pin config for lcdif.
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: devicetree@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: Eric Bénard <eric@eukrea.com>
Signed-off-by: Denis Carikli <denis@eukrea.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09 21:33:17 +08:00
Robert Nelson
dba52977df ARM: dts: imx53: Enable AHCI SATA for imx53-qsb
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
Cc: Richard Zhu <r65037@freescale.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Linux-IDE <linux-ide@vger.kernel.org>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09 21:33:16 +08:00
Alexander Shiyan
0ee6e29358 ARM: dts: i.MX27: Configure GPIOs as "input" by default
This patch changes the default direction for pins used
as GPIO to "input". This prevents a short circuit on the
configuration stage when GPIO-pin is connected to the
other output pin.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09 21:33:15 +08:00
Gwenhael Goavec-Merou
932693f709 ARM: dts: imx27-apf27dev: Add pinctrl for cspi, sdhci, leds and keys
- add chip-select pinctrl for cspi
- add card-detect for sdhci2
- add pinctrl for gpio-leds and gpio-keys

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09 21:33:14 +08:00
Gwenhael Goavec-Merou
398f460d8b ARM: dts: apf27dev: Add pwm support
Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09 21:33:13 +08:00
Gwenhael Goavec-Merou
9648b2efa8 ARM: imx28: add apf28 specific initialization (macaddr)
Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09 21:33:12 +08:00
Gwenhael Goavec-Merou
2ba4d1ca83 ARM: dts: apf28dev: set gpio polarity for usb regulator and pinctrl for regulator gpio
Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09 21:33:10 +08:00
Alexander Shiyan
6ece55b392 ARM: dts: i.MX27 boards: Switch to use standard GPIO and IRQ flags definitions
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09 21:33:09 +08:00
Alexander Shiyan
f64ba74682 ARM: dts: imx27-phytec-phycore-som: Update FEC node
This patch updates FEC devicetree node of Phytec PCM038 module:
- Adding missing phy_mode properties.
- Adding fixed regulator to provide functionality without
  dummy-regulator in the kernel.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09 21:33:08 +08:00
Alexander Shiyan
5f9fe2448e ARM: dts: imx27-phytec-phycore-rdk: Add DT node for camera module
This patch adds first I2C bus and PCA9536 device.
This device is used on Phytec PCM-970 RDK camera addon module.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09 21:33:07 +08:00
Alexander Shiyan
d9a57aaf6e ARM: dts: imx27-phytec-phycore-som: Add on-flash BBT support
This patch adds support for On Flash Bad Block Table for PCM-038
onboard NAND.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09 21:33:06 +08:00
Gwenhael Goavec-Merou
392aa4bf68 ARM: dts: imx27: imx27-apf27dev: add pinctrl for cspi, i2c, sdhc and framebuffer
Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09 21:33:05 +08:00
Gwenhael Goavec-Merou
7672d8eb60 ARM: dts: imx27: imx27-apf27: add pinctrl for fec and uart1
Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09 21:33:03 +08:00
Alexander Shiyan
0c33f66702 ARM: dts: imx51-babbage: Define FEC reset pin
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09 21:33:02 +08:00
Alexander Shiyan
d2176f2903 ARM: dts: imx51-babbage: Fix chipselect level for dataflash on spi0.1
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09 21:33:01 +08:00
Fabio Estevam
78b81f4666 ARM: dts: imx28-evk: Run I2C0 at 400kHz
It is safe to operate I2C0 at 400kHz as SGTL5000 supports this frequency.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09 21:33:00 +08:00
Gwenhael Goavec-Merou
d1572f1f17 ARM: dts: imx27-apf27dev: fix display size
Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09 21:32:59 +08:00
Markus Pargmann
26508cb703 ARM: dts: imx27 phycore pinctrl
Add pinctrl nodes and properties for phycore device nodes.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09 21:32:58 +08:00
Markus Pargmann
858db31608 ARM: dts: imx27 phycore move uart1 to rdk
uart1 is not used on SOM. It is passed directly to the rdk board.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09 21:32:57 +08:00
Markus Pargmann
61664d0b43 ARM: dts: imx27 phyCARD-S pinctrl
Add pinctrl nodes and properties for phyCARD-S device nodes.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09 21:32:55 +08:00
Markus Pargmann
733f6caee9 ARM: dts: imx27 iomux device node
This patch adds a iomux node for imx27 pinctrl driver. The gpio
registers are embedded in the iomux memory area. So this patch moves
them into the iomux node for a better hardware description.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09 21:32:54 +08:00
Marek Vasut
1e728b3a91 ARM: dts: imx53: Enable AHCI SATA for M53EVK
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Richard Zhu <r65037@freescale.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Linux-IDE <linux-ide@vger.kernel.org>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09 21:32:53 +08:00
Marek Vasut
7affee43c6 ARM: dts: imx53: Add AHCI SATA DT node
The AHCI-IMX driver now supports i.MX53 as well. Add DT node.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Richard Zhu <r65037@freescale.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Linux-IDE <linux-ide@vger.kernel.org>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09 21:32:52 +08:00
Alexander Shiyan
bdb3eec7a7 ARM: dts: i.MX51 boards: Switch to use standard GPIO flags definitions
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09 21:32:51 +08:00
Alexander Shiyan
4e942303ea ARM: dts: i.MX51: Move usbphy0 node from AIPS1
usbphy0 is not a part of AIPS1, so move this node under root.
Additionally this patch removes useless "status" property.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09 21:32:50 +08:00
Maxime Ripard
c896238c23 ARM: dts: cfa10036: Add dr_mode and phy_type properties to the DT
This USB port is only used as peripheral. Set it accordingly in its DT
node.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09 21:32:48 +08:00
Maxime Ripard
433bdb6e05 ARM: mxs: cfa10049: Add NAU7802 ADCs to the device tree
The Crystalfontz CFA-10049 has 3 Nuvoton NAU7802 ADCs, plugged behing a
GPIO-controlled I2C muxer because these ADCs don't have a configurable
address.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09 21:32:47 +08:00
Marek Vasut
64b07f0a66 ARM: dts: imx53: Add USB support for M53EVK
Add USB support for M53EVK. The configuration is such that USB Host1
port is used as Host and the USB OTG port is used as Peripheral thus
far. Once OTG is properly fixed, the OTG will be further adjusted.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09 21:32:46 +08:00
Marek Vasut
40b1708f72 ARM: dts: imx53: Fix backlight for M53EVK
Remove the PWM backlight pin from the hog pins list, so it doesn't
collide with the PWM pin group. Moreover, add dummy regulator for
the backlight so that the backlight driver probes correctly.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09 21:32:45 +08:00
Marek Vasut
19b529e9d2 ARM: dts: imx53: Fix display pinmux for M53EVK
Use the DISP1 pinmux on M53EVK for the LCD, not the LVDS.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09 21:32:44 +08:00
Lucas Stach
6650d6db71 ARM: imx50: use clock defines in DTS files
For better readability and no need to look up numbers
in the documentation anymore.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09 21:32:43 +08:00
Lucas Stach
ff65d4cae0 ARM: imx51: use clock defines in DTS files
For better readability and no need to look up numbers
in the documentation anymore.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09 21:32:42 +08:00
Lucas Stach
564695dde9 ARM: imx53: use clock defines in DTS files
For better readability and no need to look up numbers
in the documentation anymore.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09 21:32:40 +08:00
Markus Pargmann
508406e8e8 ARM: dts: imx27 pin functions
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09 21:32:39 +08:00
Gwenhael Goavec-Merou
fd6beeb37e ARM: imx27-apf27dev: Add sdhci support
Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09 21:32:38 +08:00