]> git.karo-electronics.de Git - karo-tx-linux.git/log
karo-tx-linux.git
10 years agoMerge branch 'imx/dt' into for-next
Shawn Guo [Wed, 30 Apr 2014 06:47:03 +0000 (14:47 +0800)]
Merge branch 'imx/dt' into for-next

10 years agoARM: dts: imx6: update pcie to bring in line with new binding
Lucas Stach [Wed, 30 Apr 2014 05:58:15 +0000 (13:58 +0800)]
ARM: dts: imx6: update pcie to bring in line with new binding

The new bindings drops one clock, renames the others and
drops the old interrupt mapping.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: i.MX: Fix eMMa PrP resource size
Alexander Shiyan [Sun, 27 Apr 2014 16:03:26 +0000 (20:03 +0400)]
ARM: i.MX: Fix eMMa PrP resource size

Last address for eMMa PrP is 0x80...0x83, so increase resource size
for eMMa to 256.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: imx_v4_v5_defconfig: drop CONFIG_COMMON_CLK_DEBUG option
Shawn Guo [Tue, 29 Apr 2014 06:15:58 +0000 (14:15 +0800)]
ARM: imx_v4_v5_defconfig: drop CONFIG_COMMON_CLK_DEBUG option

The option COMMON_CLK_DEBUG was removed by commit ea72dc2 (clk: remove
CONFIG_COMMON_CLK_DEBUG), so let's remove CONFIG_COMMON_CLK_DEBUG from
the defconfig.

Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: i.MX27 clk: Remove clk_register_clkdev() for unused clocks
Alexander Shiyan [Sun, 20 Apr 2014 05:18:52 +0000 (09:18 +0400)]
ARM: i.MX27 clk: Remove clk_register_clkdev() for unused clocks

This patch removes clk_register_clkdev() for the clocks that do not
have any users for non-DT boards and drivers.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: i.MX27 clk: Add missing clocks for MSHC and RTIC
Alexander Shiyan [Sun, 20 Apr 2014 05:18:51 +0000 (09:18 +0400)]
ARM: i.MX27 clk: Add missing clocks for MSHC and RTIC

This patch adds missing clocks handling for the Memory Stick Host
Controller (MSHC) and Run-Time Integrity Checker (RTIC).

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: imx6q: add the missing esai_ahb clock
Shawn Guo [Sat, 19 Apr 2014 03:15:06 +0000 (11:15 +0800)]
ARM: imx6q: add the missing esai_ahb clock

The esai_ahb clock is derived from ahb and used to provide ESAI the
capability of register accessing and FSYS clock source for I2S clocks
dividing.  The gate bits of this esai_ahb clock are shared with the
esai clock -- the baud clock, so we need to call imx_clk_gate2_shared()
for these two clocks.

Signed-off-by: Nicolin Chen <Guangyu.Chen@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: imx: add shared gate clock support
Shawn Guo [Sat, 19 Apr 2014 02:58:22 +0000 (10:58 +0800)]
ARM: imx: add shared gate clock support

It's quite common on i.MX that one gate bit controls the gating of
multiple clocks, i.e. this is a shared gate.  The patch adds the
function imx_clk_gate2_shared() for such case.  The clocks controlled
by the same gate bits should call this function with a pointer to a
single share count variable, so that the gate bits will only be
operated on the first enabling and the last disabling of these shared
gate clocks.

Thanks to Gerhard Sittig <gsi@denx.de> for this idea.

Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: imx: lock is always valid for clk_gate2
Shawn Guo [Fri, 18 Apr 2014 08:07:44 +0000 (16:07 +0800)]
ARM: imx: lock is always valid for clk_gate2

The imx specific clk_gate2 always has a valid lock with the clock.  So
the validation on gate->lock is not really needed.  Remove it.

Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: imx: define struct clk_gate2 on our own
Shawn Guo [Fri, 18 Apr 2014 07:55:16 +0000 (15:55 +0800)]
ARM: imx: define struct clk_gate2 on our own

The imx clk-gate2 driver implements an i.MX specific gate clock, which
has two bits controlling the gate states.  While this is a completely
separate gate driver from the common clk-gate one, it reuses the common
clk_gate structure.  Such reusing makes the extending of clk_gate2
clumsy.  Let's define struct clk_gate2 on our own to make the driver
independent of the common clk-gate one, and ease the clk_gate2 extending
at a later time.

Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: i.MX: Remove #ifdef CONFIG_OF
Alexander Shiyan [Sat, 19 Apr 2014 05:04:03 +0000 (09:04 +0400)]
ARM: i.MX: Remove #ifdef CONFIG_OF

CONFIG_OF is always selected for i.MX.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: imx_v6_v7_defconfig: enable option CONFIG_LOCALVERSION_AUTO
Shawn Guo [Mon, 14 Apr 2014 04:58:32 +0000 (12:58 +0800)]
ARM: imx_v6_v7_defconfig: enable option CONFIG_LOCALVERSION_AUTO

Option CONFIG_LOCALVERSION_AUTO is quite helpful to tell kernel version.
I do not see any reason why we should unset it.  Let's remove the unset
to have it enabled.

Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: imx: drop CONFIG_MMC_UNSAFE_RESUME from defconfig
Shawn Guo [Mon, 14 Apr 2014 04:55:13 +0000 (12:55 +0800)]
ARM: imx: drop CONFIG_MMC_UNSAFE_RESUME from defconfig

Since 2501c91 (mmc: core: Use MMC_UNSAFE_RESUME as default behavior),
CONFIG_MMC_UNSAFE_RESUME is not available anymore.  Drop it from imx
defconfig.

Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: imx6: clk: i.MX6 DualLite/Solo i2c4 clock
Iain Paton [Wed, 16 Apr 2014 18:33:24 +0000 (19:33 +0100)]
ARM: imx6: clk: i.MX6 DualLite/Solo i2c4 clock

Compared to i.MX6 Quad/Dual the CCM_CCGR1 register in the i.MX6 Solo/DualLite
replaces the ecspi5 clock with the i2c4 clock.

Handle this difference using cpu_is_imx6dl().

Signed-off-by: Iain Paton <ipaton0@gmail.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: imx_v6_v7_defconfig: enable cpufreq and CMA support
Shawn Guo [Thu, 10 Apr 2014 06:53:34 +0000 (14:53 +0800)]
ARM: imx_v6_v7_defconfig: enable cpufreq and CMA support

 - Enable imx6 cpufreq support with ondemand governor
 - Enable CMA support so that device like 1080p HDMI can work
 - Run savedefconfig

Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: imx_v6_v7_defconfig: Enable drivers for i.MX51 USB Host support.
Denis Carikli [Tue, 8 Apr 2014 11:55:52 +0000 (19:55 +0800)]
ARM: imx_v6_v7_defconfig: Enable drivers for i.MX51 USB Host support.

Signed-off-by: Denis Carikli <denis@eukrea.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: imx_v6_v7_defconfig: Add more drm drivers.
Denis Carikli [Mon, 7 Apr 2014 12:44:51 +0000 (14:44 +0200)]
ARM: imx_v6_v7_defconfig: Add more drm drivers.

The DRM_PANEL_SIMPLE is needed by the eukrea
mbimxsd51's displays.

Signed-off-by: Denis Carikli <denis@eukrea.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: mxs_defconfig: Select CONFIG_CRYPTO_DEV_MXS_DCP
Fabio Estevam [Sat, 5 Apr 2014 18:45:28 +0000 (15:45 -0300)]
ARM: mxs_defconfig: Select CONFIG_CRYPTO_DEV_MXS_DCP

Let CONFIG_CRYPTO_DEV_MXS_DCP driver to be built by default.

Generated by doing:

make mxs_defconfig
Manually selected the CONFIG_CRYPTO_DEV_MXS_DCP driver
make savedefconfig
cp defconfig arch/arm/configs/mxs_defconfig

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: imx: factor device tree timer initialization
Gilles Chanteperdrix [Sat, 5 Apr 2014 15:57:45 +0000 (17:57 +0200)]
ARM: imx: factor device tree timer initialization

Signed-off-by: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: imx: Remove mx51_babbage board file
Fabio Estevam [Fri, 4 Apr 2014 15:12:59 +0000 (12:12 -0300)]
ARM: imx: Remove mx51_babbage board file

The device tree version for the babbage board (imx51-babbage.dtb) has a more
complete support than the board file version, so remove the board file source
code.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: i.MX5: Remove outdated VPU clock lookups
Philipp Zabel [Wed, 19 Mar 2014 14:49:22 +0000 (15:49 +0100)]
ARM: i.MX5: Remove outdated VPU clock lookups

CODA7 clock lookups are now defined in the device tree.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: imx_v4_v5_defconfig: Enable drivers for i.MX25/i.MX35 USB support.
Denis Carikli [Thu, 13 Mar 2014 09:18:46 +0000 (10:18 +0100)]
ARM: imx_v4_v5_defconfig: Enable drivers for i.MX25/i.MX35 USB support.

Signed-off-by: Denis Carikli <denis@eukrea.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: i.MX: mx21ads: Cleanup board
Alexander Shiyan [Thu, 6 Mar 2014 16:23:33 +0000 (20:23 +0400)]
ARM: i.MX: mx21ads: Cleanup board

- Remove unused <asm/mach/time.h> inclusion.
- Use predefined constant for CS8900A base address.
- Use DEFINE_RES_MEM() macro for NOR flash resource.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: i.MX: mx21ads: Use fixed voltage regulator for LCD power
Alexander Shiyan [Thu, 6 Mar 2014 16:23:32 +0000 (20:23 +0400)]
ARM: i.MX: mx21ads: Use fixed voltage regulator for LCD power

Instead of using init() and exit() hooks from framebuffer driver
to control power of LCD, introduce fixed voltage regulator for
this purpose.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: vf610: add UART choice for low-level debug
Stefan Agner [Wed, 5 Mar 2014 22:07:48 +0000 (23:07 +0100)]
ARM: vf610: add UART choice for low-level debug

Add choice for low-level debug UART. Similar to i.MX6, there is a
numeric configuration, valid choices are 0 to 3.
Note that the kernel assumes that the boot loader initialized clock
properly.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: i.MX: mx21ads: Replace direct handling of peripheral bits with GPIOs
Alexander Shiyan [Mon, 3 Mar 2014 18:37:44 +0000 (22:37 +0400)]
ARM: i.MX: mx21ads: Replace direct handling of peripheral bits with GPIOs

This patch replaces direct handling of peripheral bits with GPIOs by
using basic-mmio-gpio driver. As a result this change eliminate some
low-level code and removes custom io_map() from the board.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx53-qsb-common: Add TVE support
Fabio Estevam [Tue, 29 Apr 2014 04:59:36 +0000 (01:59 -0300)]
ARM: dts: imx53-qsb-common: Add TVE support

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx27-phytec-phycore-rdk: Fix "reg" property for USBH2 PHY
Alexander Shiyan [Sat, 26 Apr 2014 04:52:11 +0000 (08:52 +0400)]
ARM: dts: imx27-phytec-phycore-rdk: Fix "reg" property for USBH2 PHY

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx27-phytec-phycore-rdk: Add CSI enable switch
Alexander Shiyan [Sat, 26 Apr 2014 04:52:10 +0000 (08:52 +0400)]
ARM: dts: imx27-phytec-phycore-rdk: Add CSI enable switch

This patch adds a GPIO fixed regulator which used on RDK to
enable CSI bus.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx: Remove excess entries for PMIC
Alexander Shiyan [Sat, 26 Apr 2014 04:52:09 +0000 (08:52 +0400)]
ARM: dts: imx: Remove excess entries for PMIC

This patch removes excess "#address-cells" and "#size-cells" entries
for PMIC, since these entries is not used.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx27-phytec-phycore-som: Disable PM pins for USB OTG
Alexander Shiyan [Sat, 26 Apr 2014 04:52:08 +0000 (08:52 +0400)]
ARM: dts: imx27-phytec-phycore-som: Disable PM pins for USB OTG

USB PWR and OC pins are used as GPIOs for different purposes,
so add "disable-over-current" property for OTG node to indicate this.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx27-phytec-phycore-som: Fix active level for FEC reset
Alexander Shiyan [Sat, 26 Apr 2014 04:52:07 +0000 (08:52 +0400)]
ARM: dts: imx27-phytec-phycore-som: Fix active level for FEC reset

FEC reset GPIO is active low. Fix this typo.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx27-phytec-phycore-rdk: Remove duplicate entries for USB PHY
Alexander Shiyan [Sat, 26 Apr 2014 04:52:06 +0000 (08:52 +0400)]
ARM: dts: imx27-phytec-phycore-rdk: Remove duplicate entries for USB PHY

"compatible", "#address-cells" and "#size-cells" for USB PHY are
already described in the SOM DTS. Remove these duplicate entries.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: ventana: Add HDMI support
Tim Harvey [Wed, 23 Apr 2014 07:47:51 +0000 (00:47 -0700)]
ARM: dts: ventana: Add HDMI support

Configure ddc and enable HDMI

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx6qdl-sabresd: Add PCIe support
Marek Vasut [Mon, 21 Apr 2014 20:56:49 +0000 (22:56 +0200)]
ARM: dts: imx6qdl-sabresd: Add PCIe support

Add support for the PCI express bus available on MX6 SabreSDP.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx6qdl-wandboard: Add HDMI support
Fabio Estevam [Tue, 22 Apr 2014 14:26:22 +0000 (11:26 -0300)]
ARM: dts: imx6qdl-wandboard: Add HDMI support

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx6qdl-sabresd: Add HDMI support
Fabio Estevam [Tue, 22 Apr 2014 13:04:59 +0000 (10:04 -0300)]
ARM: dts: imx6qdl-sabresd: Add HDMI support

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx27-pdk: Add keypad support
Fabio Estevam [Thu, 17 Apr 2014 18:23:31 +0000 (15:23 -0300)]
ARM: dts: imx27-pdk: Add keypad support

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx27-pdk: Add NAND support
Fabio Estevam [Thu, 17 Apr 2014 18:23:30 +0000 (15:23 -0300)]
ARM: dts: imx27-pdk: Add NAND support

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx6q-gk802: Enable HDMI
Philipp Zabel [Wed, 16 Apr 2014 21:23:50 +0000 (23:23 +0200)]
ARM: dts: imx6q-gk802: Enable HDMI

Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx27-pdk: Add USB OTG support
Fabio Estevam [Wed, 16 Apr 2014 17:53:20 +0000 (14:53 -0300)]
ARM: dts: imx27-pdk: Add USB OTG support

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx27: Place the usb phy nodes in the board dts files
Fabio Estevam [Wed, 16 Apr 2014 17:53:19 +0000 (14:53 -0300)]
ARM: dts: imx27: Place the usb phy nodes in the board dts files

It is not a good approach to have the USB PHY nodes inside imx27.dtsi since
the USB PHYs on mx27 are not internal to the SoC.

Place the USB PHY nodes in the board dts files instead.

Also, each board may have a different clock source for the USB PHY, so do not
hardcode it.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx27: Use the correct usb clock gate
Fabio Estevam [Wed, 16 Apr 2014 17:53:18 +0000 (14:53 -0300)]
ARM: dts: imx27: Use the correct usb clock gate

USB Host1, Host2 and OTG are gated via 'usb_ipg_gate' clock, so fix it in order
to avoid the following kernel oops:

usbcore: registered new interface driver usb-storage
10024000.usb supply vbus not found, using dummy regulator
Unhandled fault: external abort on non-linefetch (0x808) at 0xf4424184
Internal error: : 808 [#1] PREEMPT ARM
Modules linked in:
CPU: 0 PID: 1 Comm: swapper Not tainted 3.15.0-rc1-26325-g971f9fd-dirty #64
task: c7829aa0 ti: c7836000 task.ti: c7836000
PC is at ci_hdrc_probe+0x3a4/0x634
LR is at ci_hdrc_probe+0x100/0x634
pc : [<c036cc78>]    lr : [<c036c9d4>]    psr: 60000013
sp : c7837d48  ip : 00000001  fp : 00000000
r10: 00000000  r9 : 00000000  r8 : c791b6c0
r7 : c7945000  r6 : f4424000  r5 : c7945010  r4 : c794e010
r3 : f4424184  r2 : 00000000  r1 : 8c000004  r0 : 0c000004
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 0005317f  Table: a0004000  DAC: 00000017
Process swapper (pid: 1, stack limit = 0xc78361c0)
Stack: (0xc7837d48 to 0xc7838000)

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx27-phytec-phycore-som: Move PMIC IRQ GPIO into a separate pin group
Fabio Estevam [Wed, 16 Apr 2014 11:25:56 +0000 (08:25 -0300)]
ARM: dts: imx27-phytec-phycore-som: Move PMIC IRQ GPIO into a separate pin group

The hardware is better described if we place the PMIC IRQ GPIO into its own
pingroup.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx27-pdk: Add PMIC support
Fabio Estevam [Tue, 15 Apr 2014 21:55:12 +0000 (18:55 -0300)]
ARM: dts: imx27-pdk: Add PMIC support

imx27-pdk has a MC13783 PMIC connected to CSPI2 port.

Add support for it.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx51-babbage: Use predefined constants for clock definition
Alexander Shiyan [Wed, 16 Apr 2014 07:24:57 +0000 (11:24 +0400)]
ARM: dts: imx51-babbage: Use predefined constants for clock definition

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx51-babbage: Add devicetree node for I2C1
Alexander Shiyan [Wed, 16 Apr 2014 07:24:56 +0000 (11:24 +0400)]
ARM: dts: imx51-babbage: Add devicetree node for I2C1

This patch adds devicetree node and pinctrl group for I2C1.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx51-babbage: Sort nodes by name
Alexander Shiyan [Wed, 16 Apr 2014 07:24:55 +0000 (11:24 +0400)]
ARM: dts: imx51-babbage: Sort nodes by name

This patch sorts nodes by name and moves "iomux" configuration at
the bottom of file.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx51-babbage: Add USB OTG regulator node
Alexander Shiyan [Wed, 16 Apr 2014 07:24:54 +0000 (11:24 +0400)]
ARM: dts: imx51-babbage: Add USB OTG regulator node

This patch adds a regulator node and pinctrl group for USB OTG.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx51-babbage: Use predefined constants for keys definition
Alexander Shiyan [Wed, 16 Apr 2014 07:24:53 +0000 (11:24 +0400)]
ARM: dts: imx51-babbage: Use predefined constants for keys definition

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx51-babbage: Add missing pingroup for PMIC
Alexander Shiyan [Wed, 16 Apr 2014 07:24:52 +0000 (11:24 +0400)]
ARM: dts: imx51-babbage: Add missing pingroup for PMIC

This patch adds missing pin definition for PMIC IRQ GPIO.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx51-babbage: Move "hog" pins into corresponded pin groups
Alexander Shiyan [Wed, 16 Apr 2014 07:24:51 +0000 (11:24 +0400)]
ARM: dts: imx51-babbage: Move "hog" pins into corresponded pin groups

Move "hog" pins into corresponded pin groups for eSDHC1, eSDHC2,
eCSPI1, gpio-keys, regulator-fixed and codec clock.
Additionally, this patch fixes GPIO active level definition for
USB regulator.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: i.MX51: Allow to define partitions onto NFC
Alexander Shiyan [Wed, 16 Apr 2014 07:24:50 +0000 (11:24 +0400)]
ARM: dts: i.MX51: Allow to define partitions onto NFC

This patch allow to define partitions onto NFC in user defined
devicetrees.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: pbab01: Enable DVI
Philipp Zabel [Mon, 14 Apr 2014 15:37:32 +0000 (17:37 +0200)]
ARM: dts: pbab01: Enable DVI

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: pbab01: Enable UART1
Philipp Zabel [Mon, 14 Apr 2014 15:37:31 +0000 (17:37 +0200)]
ARM: dts: pbab01: Enable UART1

This patch enables UART1 on the phyFLEX connector (i.MX6 uart3).

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: pfla02: Add UART1 (uart3)
Philipp Zabel [Mon, 14 Apr 2014 15:37:30 +0000 (17:37 +0200)]
ARM: dts: pfla02: Add UART1 (uart3)

The pins labeled UART1 on the module connector are wired to i.MX6 uart3.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: pbab01: Add I2C devices
Philipp Zabel [Mon, 14 Apr 2014 15:37:29 +0000 (17:37 +0200)]
ARM: dts: pbab01: Add I2C devices

This patch adds the TLV320, STMPE811, RTC8564, and MX1037 ICs to the I2C2 bus.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: pbab01: Add I2C2 and I2C3
Philipp Zabel [Mon, 14 Apr 2014 15:37:28 +0000 (17:37 +0200)]
ARM: dts: pbab01: Add I2C2 and I2C3

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: pbab01: Set linux,stdout-path to UART4
Philipp Zabel [Mon, 14 Apr 2014 15:37:27 +0000 (17:37 +0200)]
ARM: dts: pbab01: Set linux,stdout-path to UART4

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: pfla02: PHY reset is active-low
Philipp Zabel [Mon, 14 Apr 2014 15:37:26 +0000 (17:37 +0200)]
ARM: dts: pfla02: PHY reset is active-low

Note that the fec driver code currently hard-codes an active-low
reset, regardless of the flags in the device tree.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: pfla02: Add GPIO LEDs
Philipp Zabel [Mon, 14 Apr 2014 15:37:25 +0000 (17:37 +0200)]
ARM: dts: pfla02: Add GPIO LEDs

This patch enables the red and green GPIO LEDs on Phytec phyFLEX i.MX6 modules.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: Add Phytec pbab01 with i.MX6 DualLite/Solo
Philipp Zabel [Mon, 14 Apr 2014 15:37:24 +0000 (17:37 +0200)]
ARM: dts: Add Phytec pbab01 with i.MX6 DualLite/Solo

The PBA-B-01 carrier board can be equipped with either Quad or DualLite/Solo
phyFLEX i.MX6 modules (PFL-A-02).
This moves all common devices into imx6qdl-phytec-pbab01.dtsi. The SoC specific
device trees then just include the pfla01 and pbab01 dtsi files corresponding
to the SoC variant.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: Add Phytec pfla02 with i.MX6 DualLite/Solo
Philipp Zabel [Mon, 14 Apr 2014 15:37:23 +0000 (17:37 +0200)]
ARM: dts: Add Phytec pfla02 with i.MX6 DualLite/Solo

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx27-pdk: Pass the FEC pin configuration
Fabio Estevam [Sun, 13 Apr 2014 14:48:43 +0000 (11:48 -0300)]
ARM: dts: imx27-pdk: Pass the FEC pin configuration

Provide an entry for the FEC pin muxing.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx27-pdk: Pass the UART1 pin configuration
Fabio Estevam [Sun, 13 Apr 2014 14:48:42 +0000 (11:48 -0300)]
ARM: dts: imx27-pdk: Pass the UART1 pin configuration

Provide an entry for the UART1 pin muxing.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx27-pdk: Keep the dt nodes sorted
Fabio Estevam [Sun, 13 Apr 2014 14:48:41 +0000 (11:48 -0300)]
ARM: dts: imx27-pdk: Keep the dt nodes sorted

For better readability keep the dt nodes sorted.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM i.MX51: Add Digi ConnectCore devicetree
Alexander Shiyan [Sat, 12 Apr 2014 05:29:05 +0000 (09:29 +0400)]
ARM i.MX51: Add Digi ConnectCore devicetree

This patch adds support for Digi ConnectCore® i.MX51/Wi-i.MX51 SOM
and basic support for the ConnectCore for i.MX51 JumpStart Kit.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: i.MX: Use single naming style for i.MX WEIM device
Alexander Shiyan [Wed, 9 Apr 2014 15:08:16 +0000 (19:08 +0400)]
ARM: dts: i.MX: Use single naming style for i.MX WEIM device

This patch converts all i.MX WEIM users to use single naming style
for devices.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: cpuimx51 Add touchscreen support.
Denis Carikli [Tue, 8 Apr 2014 16:22:42 +0000 (18:22 +0200)]
ARM: dts: cpuimx51 Add touchscreen support.

Signed-off-by: Denis Carikli <denis@eukrea.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: cpuimx35 Add touchscreen support.
Denis Carikli [Tue, 8 Apr 2014 16:22:41 +0000 (18:22 +0200)]
ARM: dts: cpuimx35 Add touchscreen support.

Signed-off-by: Denis Carikli <denis@eukrea.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: mbimxsd51 baseboard: Add USB support.
Denis Carikli [Mon, 7 Apr 2014 16:04:00 +0000 (18:04 +0200)]
ARM: dts: mbimxsd51 baseboard: Add USB support.

Signed-off-by: Denis Carikli <denis@eukrea.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: add initial Colibri VF61 board support
Stefan Agner [Thu, 3 Apr 2014 15:47:10 +0000 (17:47 +0200)]
ARM: dts: add initial Colibri VF61 board support

Add initial Toradex Colibri VF61 board support. Ethernet, UART
and SDHC cards are working. Cache latencies need to be a bit
higher than vf610.dtsi suggests. Those values are validated
by running multiple memory tests.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoof: add vendor prefix for Toradex AG
Stefan Agner [Thu, 3 Apr 2014 15:47:09 +0000 (17:47 +0200)]
of: add vendor prefix for Toradex AG

Adds toradex to the list of DT vendor prefixes.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx27-pdk: Pass the memory range
Fabio Estevam [Wed, 2 Apr 2014 22:25:44 +0000 (19:25 -0300)]
ARM: dts: imx27-pdk: Pass the memory range

imx27-pdk has 128 MB of DRAM. Pass the memory range in dt.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx27-phytec-phycore-rdk: Add display control signal definitions
Alexander Shiyan [Sat, 29 Mar 2014 06:48:25 +0000 (10:48 +0400)]
ARM: dts: imx27-phytec-phycore-rdk: Add display control signal definitions

This patch adds display control signal definitions.
These fields are not used in the driver yet, but will be used for
reference to indicate the polarity of the signals.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx28-duckbill: use symbolic names from gpio.h
Michael Heimpold [Thu, 27 Mar 2014 22:51:30 +0000 (23:51 +0100)]
ARM: dts: imx28-duckbill: use symbolic names from gpio.h

Use GPIO_ACTIVE_HIGH and GPIO_ACTIVE_LOW instead of 0 and 1.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Acked-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx28-duckbill: fix phy reset gpio
Michael Heimpold [Thu, 27 Mar 2014 22:51:28 +0000 (23:51 +0100)]
ARM: dts: imx28-duckbill: fix phy reset gpio

Fix a copy & paste error: on duckbills the GPIO used for resetting
the ethernet phy differs from FSL's MX28EVK board.

Reported-by: Stefan Wahren <info@lategoodbye.de>
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Acked-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx28: include gpio.h to allow use of symbolic names
Michael Heimpold [Thu, 27 Mar 2014 22:51:29 +0000 (23:51 +0100)]
ARM: dts: imx28: include gpio.h to allow use of symbolic names

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Acked-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx28-duckbill: fix mmc settings
Michael Heimpold [Thu, 27 Mar 2014 22:51:27 +0000 (23:51 +0100)]
ARM: dts: imx28-duckbill: fix mmc settings

I2SE's duckbills are only equipped with a micro SD card slot and
thus only provide a 4-bit interface.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Acked-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx51-babbage: Add USB OTG support
Fabio Estevam [Wed, 26 Mar 2014 14:54:39 +0000 (11:54 -0300)]
ARM: dts: imx51-babbage: Add USB OTG support

Tested by pinging from the host PC to the imx51-babbage via a g_ether
connection.

Signed-off by: Dave Ebright <dave.ebright@parsons.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx51-babbage: Add USB Host1 support
Fabio Estevam [Wed, 26 Mar 2014 14:54:38 +0000 (11:54 -0300)]
ARM: dts: imx51-babbage: Add USB Host1 support

Signed-off by: Dave Ebright <dave.ebright@parsons.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx35-pdk: Add initial device tree support
Fabio Estevam [Tue, 25 Mar 2014 17:47:41 +0000 (14:47 -0300)]
ARM: dts: imx35-pdk: Add initial device tree support

Add support for UART, eSDHC and NAND.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: vf610-twr: Enables FTM PWM device.
Xiubo Li [Mon, 24 Mar 2014 02:22:16 +0000 (10:22 +0800)]
ARM: dts: vf610-twr: Enables FTM PWM device.

Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com>
Reviewed-by: Sascha Hauer <s.hauer@pengutronix.de>
Reviewed-by: Yuan Yao <yao.yuan@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: vf610-twr: Add PWM0's pinctrl node
Xiubo Li [Mon, 24 Mar 2014 02:22:15 +0000 (10:22 +0800)]
ARM: dts: vf610-twr: Add PWM0's pinctrl node

Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: vf610: Add Freescale FTM PWM node.
Xiubo Li [Mon, 24 Mar 2014 02:22:14 +0000 (10:22 +0800)]
ARM: dts: vf610: Add Freescale FTM PWM node.

This adds devicetree node for VF610, and there are 8 channels
supported.

Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com>
Reviewed-by: Sascha Hauer <s.hauer@pengutronix.de>
Reviewed-by: Yuan Yao <yao.yuan@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: i.MX53: Add reset line to VPU device node
Philipp Zabel [Wed, 19 Mar 2014 14:49:24 +0000 (15:49 +0100)]
ARM: dts: i.MX53: Add reset line to VPU device node

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: i.MX53: Enable CODA7541 VPU
Philipp Zabel [Wed, 19 Mar 2014 14:49:23 +0000 (15:49 +0100)]
ARM: dts: i.MX53: Enable CODA7541 VPU

This IP module is always present and has no external connections.
There is no reason to disable it in the device tree.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx25-pdk: Add USB Host1 support
Fabio Estevam [Sun, 16 Mar 2014 21:09:20 +0000 (18:09 -0300)]
ARM: dts: imx25-pdk: Add USB Host1 support

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx27-phytec-phycore-rdk: Add display support
Alexander Shiyan [Sat, 15 Mar 2014 05:22:40 +0000 (09:22 +0400)]
ARM: dts: imx27-phytec-phycore-rdk: Add display support

This patch adds FB, Sharp-LQ035Q7 display (add-on module) and
corresponded pinctrl devicetree nodes to the Phytec PCM970 RDK.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx25-pdk: Add CAN support
Fabio Estevam [Wed, 12 Mar 2014 13:19:25 +0000 (10:19 -0300)]
ARM: dts: imx25-pdk: Add CAN support

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx25-pdk: Add keypad support
Fabio Estevam [Wed, 12 Mar 2014 13:19:24 +0000 (10:19 -0300)]
ARM: dts: imx25-pdk: Add keypad support

Tested with evtest.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx25-pdk: Add audio support
Fabio Estevam [Tue, 11 Mar 2014 18:55:47 +0000 (02:55 +0800)]
ARM: dts: imx25-pdk: Add audio support

mx25pdk has a sgtl5000 codec connected to the I2C1 port.

Add support for it.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: mx25: Add CLKO support
Fabio Estevam [Tue, 11 Mar 2014 18:55:46 +0000 (02:55 +0800)]
ARM: mx25: Add CLKO support

CLKO support is a clock output on mx25 which can output many of the internal
clock sources. It is useful for debugging purpose or also for driving the
audio codec for example.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: mbimxsd35 baseboard: Add USB support.
Denis Carikli [Thu, 13 Mar 2014 09:18:45 +0000 (10:18 +0100)]
ARM: dts: mbimxsd35 baseboard: Add USB support.

Signed-off-by: Denis Carikli <denis@eukrea.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: i.MX35: Add USB support.
Denis Carikli [Thu, 13 Mar 2014 09:18:44 +0000 (10:18 +0100)]
ARM: dts: i.MX35: Add USB support.

Signed-off-by: Denis Carikli <denis@eukrea.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: mbimxsd25 baseboard: Add USB support
Denis Carikli [Thu, 13 Mar 2014 09:18:43 +0000 (10:18 +0100)]
ARM: dts: mbimxsd25 baseboard: Add USB support

Signed-off-by: Denis Carikli <denis@eukrea.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx25.dtsi: Fix USB support.
Fabio Estevam [Thu, 13 Mar 2014 09:18:42 +0000 (10:18 +0100)]
ARM: dts: imx25.dtsi: Fix USB support.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Denis Carikli <denis@eukrea.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: mx35: USB block requires only one clock
Fabio Estevam [Thu, 13 Mar 2014 09:18:40 +0000 (10:18 +0100)]
ARM: dts: mx35: USB block requires only one clock

Like other imx SoCs only one USB clock is needed on mx35.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: mx25: USB block requires only one clock
Fabio Estevam [Thu, 13 Mar 2014 09:18:39 +0000 (10:18 +0100)]
ARM: dts: mx25: USB block requires only one clock

Like other imx SoCs only one USB clock is needed on mx25.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: vf610-twr: Add support for sdhc1
Cosmin Stoica [Thu, 6 Mar 2014 16:40:34 +0000 (18:40 +0200)]
ARM: dts: vf610-twr: Add support for sdhc1

The kernel was not able to boot from SD card because sdhc support
was not present into the dts.

A new entry for sdhc1 was added for vf610-twr board based on the
compatible entry present on imx53.

After applying these changes, the kernel is able to boot successfully
from SD card.

Signed-off-by: Cosmin Stoica <cosminstefan.stoica@freescale.com>
Signed-off-by: Chircu Bogdan <Bogdan.Chircu@freescale.com>
Signed-off-by: Eddy Petrisor <eddy.petrisor@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>