]> git.karo-electronics.de Git - karo-tx-linux.git/log
karo-tx-linux.git
10 years agoARM: dts: i.MX27: Add missing pullup settings for SDHC pin groups
Alexander Shiyan [Sat, 21 Dec 2013 07:11:40 +0000 (11:11 +0400)]
ARM: dts: i.MX27: Add missing pullup settings for SDHC pin groups

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx27-phytec-phycore-som: Add spi-cs-high property to PMIC
Alexander Shiyan [Sat, 21 Dec 2013 07:11:39 +0000 (11:11 +0400)]
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>
10 years agoARM: dts: imx27-phytec-phycore-rdk: Enable 1-Wire module
Alexander Shiyan [Sat, 21 Dec 2013 07:11:38 +0000 (11:11 +0400)]
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>
10 years agoARM: dts: imx27-phytec-phycore-som: Add NFC pin group
Alexander Shiyan [Sat, 21 Dec 2013 07:11:37 +0000 (11:11 +0400)]
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>
10 years agoARM: dts: imx6q-arm2: use GPIO_6 for FEC interrupt.
Troy Kisky [Fri, 20 Dec 2013 18:47:13 +0000 (11:47 -0700)]
ARM: dts: imx6q-arm2: use GPIO_6 for FEC interrupt.

This works around a hardware bug.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6qdl-sabreauto: use GPIO_6 for FEC interrupt.
Troy Kisky [Fri, 20 Dec 2013 18:47:12 +0000 (11:47 -0700)]
ARM: dts: imx6qdl-sabreauto: use GPIO_6 for FEC interrupt.

This works around a hardware bug.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6qdl-sabrelite: use GPIO_6 for FEC interrupt.
Troy Kisky [Fri, 20 Dec 2013 18:47:11 +0000 (11:47 -0700)]
ARM: dts: imx6qdl-sabrelite: use GPIO_6 for FEC interrupt.

This works around a hardware bug.
From "Chip Errata for the i.MX 6Dual/6Quad"

ERR006687 ENET: Only the ENET wake-up interrupt request can wake the
system from Wait mode.

The ENET block generates many interrupts. Only one of these interrupt lines
is connected to the General Power Controller (GPC) block, but a logical OR
of all of the ENET interrupts is connected to the General Interrupt Controller
(GIC). When the system enters Wait mode, a normal RX Done or TX Done does not
wake up the system because the GPC cannot see this interrupt. This impacts
performance of the ENET block because its interrupts are serviced only when
the chip exits Wait mode due to an interrupt from some other wake-up source.

Before this patch, ping times of a Sabre Lite board are quite
random:
ping 192.168.0.13 -i.5 -c5
PING 192.168.0.13 (192.168.0.13) 56(84) bytes of data.
64 bytes from 192.168.0.13: icmp_req=1 ttl=64 time=15.7 ms
64 bytes from 192.168.0.13: icmp_req=2 ttl=64 time=14.4 ms
64 bytes from 192.168.0.13: icmp_req=3 ttl=64 time=13.4 ms
64 bytes from 192.168.0.13: icmp_req=4 ttl=64 time=12.4 ms
64 bytes from 192.168.0.13: icmp_req=5 ttl=64 time=11.4 ms

--- 192.168.0.13 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 11.431/13.501/15.746/1.508 ms
____________________________________________________
After this patch:

ping 192.168.0.13 -i.5 -c5
PING 192.168.0.13 (192.168.0.13) 56(84) bytes of data.
64 bytes from 192.168.0.13: icmp_req=1 ttl=64 time=0.120 ms
64 bytes from 192.168.0.13: icmp_req=2 ttl=64 time=0.175 ms
64 bytes from 192.168.0.13: icmp_req=3 ttl=64 time=0.169 ms
64 bytes from 192.168.0.13: icmp_req=4 ttl=64 time=0.168 ms
64 bytes from 192.168.0.13: icmp_req=5 ttl=64 time=0.172 ms

--- 192.168.0.13 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 0.120/0.160/0.175/0.026 ms
____________________________________________________

Also, apply same change to imx6qdl-nitrogen6x.

This change may not be appropriate for all boards.
Sabre Lite uses GPIO6 as a power down output for a ov5642
camera. As this expansion board does not yet work with mainline,
this is not yet a conflict. It would be nice to have an alternative
fix for boards where this is a problem.

For example Sabre SD uses GPIO6 for I2C3_SDA. It also
has long ping times currently. But cannot use this fix
without giving up a touchscreen.

Its ping times are also random.

ping 192.168.0.19 -i.5 -c5
PING 192.168.0.19 (192.168.0.19) 56(84) bytes of data.
64 bytes from 192.168.0.19: icmp_req=1 ttl=64 time=16.0 ms
64 bytes from 192.168.0.19: icmp_req=2 ttl=64 time=15.4 ms
64 bytes from 192.168.0.19: icmp_req=3 ttl=64 time=14.4 ms
64 bytes from 192.168.0.19: icmp_req=4 ttl=64 time=13.4 ms
64 bytes from 192.168.0.19: icmp_req=5 ttl=64 time=12.4 ms

--- 192.168.0.19 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 12.451/14.369/16.057/1.316 ms

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
CC: Ranjani Vaidyanathan <ra5478@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6qdl: use interrupts-extended for fec
Troy Kisky [Fri, 20 Dec 2013 18:47:10 +0000 (11:47 -0700)]
ARM: dts: imx6qdl: use interrupts-extended for fec

We need to be able to override interrupts in board file to
workaround a hardware bug for ethernet interrupts
waking the processor by using interrupts-extended.
So, use interrupts-extended here as well.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6qdl-sabrelite: use MX6QDL_ENET_PINGRP_RGMII_MD
Troy Kisky [Fri, 20 Dec 2013 18:47:09 +0000 (11:47 -0700)]
ARM: dts: imx6qdl-sabrelite: use MX6QDL_ENET_PINGRP_RGMII_MD

This saves some lines, but should not be a functional change.
Also, apply same change to imx6qdl-nitrogen6x.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6qdl: add pingroups for enet with GPIO6 interrupt
Troy Kisky [Fri, 20 Dec 2013 18:47:08 +0000 (11:47 -0700)]
ARM: dts: imx6qdl: add pingroups for enet with GPIO6 interrupt

Most boards will want this hardware work-around so
add new pingroups.

Also, add MX6QDL_ENET_PINGRP_RGMII macro so that other
pingroups can use this.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx: pinfunc: add MX6QDL_PAD_GPIO_6__ENET_IRQ
Troy Kisky [Fri, 20 Dec 2013 18:47:07 +0000 (11:47 -0700)]
ARM: dts: imx: pinfunc: add MX6QDL_PAD_GPIO_6__ENET_IRQ

From "Chip Errata for the i.MX 6Dual/6Quad"

ERR006687 ENET: Only the ENET wake-up interrupt request can wake the
system from Wait mode.

The ENET block generates many interrupts. Only one of these interrupt lines
is connected to the General Power Controller (GPC) block, but a logical OR
of all of the ENET interrupts is connected to the General Interrupt Controller
(GIC). When the system enters Wait mode, a normal RX Done or TX Done does not
wake up the system because the GPC cannot see this interrupt. This impacts
performance of the ENET block because its interrupts are serviced only when
the chip exits Wait mode due to an interrupt from some other wake-up source.

Adding MX6QDL_PAD_GPIO_6__ENET_IRQ is the 1st step to
workaround this problem.

The input reg is set to 0x3c to set IOMUX_OBSRV_MUX1 to ENET_IRQ.
The mux reg value is 0x11, so that the observable mux is routed to
this pin and to the gpio controller(sion bit). These magic values
come from Ranjani Vaidyanathan's patch:
"ENGR00257847-1 MX6Q/DL-Fix Ethernet performance issue when WAIT mode is active"

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
CC: Ranjani Vaidyanathan <ra5478@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6q-sabrelite: PHY reset is active-low
Philipp Zabel [Fri, 20 Dec 2013 15:25:17 +0000 (16:25 +0100)]
ARM: dts: imx6q-sabrelite: 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@linaro.org>
10 years agoARM: dts: imx6: Use 'vddarm' as the regulator name
Fabio Estevam [Thu, 19 Dec 2013 23:08:52 +0000 (21:08 -0200)]
ARM: dts: imx6: Use 'vddarm' as the regulator name

Instead of calling the regulator for the ARM core as 'cpu', let's rename it
as 'vddarm', so that we keep a better consistency with the other internal
regulators:

vdd1p1: 800 <--> 1375 mV at 1100 mV
vdd3p0: 2800 <--> 3150 mV at 3000 mV
vdd2p5: 2000 <--> 2750 mV at 2400 mV
vddarm: 725 <--> 1450 mV at 1150 mV
vddpu: 725 <--> 1450 mV at 1150 mV
vddsoc: 725 <--> 1450 mV at 1200 mV

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6qdl-sabresd: Add power key support
Anson Huang [Thu, 19 Dec 2013 21:07:24 +0000 (16:07 -0500)]
ARM: dts: imx6qdl-sabresd: Add power key support

This patch adds support for imx6qdl-sabresd board's power
key, the key is named "SW1" on board, press it can wake up
system from suspend.

Add a new pinctrl entry for gpio keys and move all gpio
keys pin to this entry.

Signed-off-by: Anson Huang <b20788@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6sl: Adding cpu frequency and VDDSOC/PU table.
John Tobias [Thu, 19 Dec 2013 20:35:36 +0000 (12:35 -0800)]
ARM: dts: imx6sl: Adding cpu frequency and VDDSOC/PU table.

Device tree for iMX6SL doesn't have an existing cpu frequency table
as well as the VDDSOC/PU.

Signed-off-by: John Tobias <john.tobias.ph@gmail.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: Add support for the i.MX35.
Steffen Trumtrar [Wed, 18 Dec 2013 14:10:26 +0000 (15:10 +0100)]
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>
10 years agoARM: dts: imx6qdl: add necessary thermal clk
Anson Huang [Thu, 19 Dec 2013 18:17:23 +0000 (13:17 -0500)]
ARM: dts: imx6qdl: add necessary thermal clk

Thermal sensor needs pll3_usb_otg when measuring temperature,
so we need to pass clk info to thermal driver.

Signed-off-by: Anson Huang <b20788@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6dl: enable cpufreq support
Anson Huang [Thu, 19 Dec 2013 15:02:10 +0000 (10:02 -0500)]
ARM: dts: imx6dl: enable cpufreq support

This patch adds cpufreq dts for i.mx6dl to support cpufreq driver.

Signed-off-by: Anson Huang <b20788@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6q: add vddsoc/pu setpoint info
Anson Huang [Thu, 19 Dec 2013 14:16:48 +0000 (09:16 -0500)]
ARM: dts: imx6q: add vddsoc/pu setpoint info

i.MX6Q needs to update vddarm, vddsoc/pu regulators when cpu freq
is changed, each setpoint has different voltage, so we need to
pass vddarm, vddsoc/pu's freq-voltage info from dts together.

Signed-off-by: Anson Huang <b20788@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6q: update setting of VDDARM_CAP voltage
Anson Huang [Mon, 16 Dec 2013 21:07:37 +0000 (16:07 -0500)]
ARM: dts: imx6q: update setting of VDDARM_CAP voltage

According to datasheet, VDD_CACHE_CAP must not exceed VDDARM_CAP
by more than 200mV, as all of i.MX6Q boards' VDD_CACHE_CAP currently
are connected to VDDSOC_CAP, so we need to follow this rule by
increasing VDDARM_CAP's voltage.

Signed-off-by: Anson Huang <b20788@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6qdl-sabrelite: add gpio-keys
Troy Kisky [Wed, 18 Dec 2013 21:51:44 +0000 (14:51 -0700)]
ARM: dts: imx6qdl-sabrelite: add gpio-keys

Add power, menu, home, back, volume up, and volume down
buttons.

Also, apply same changes to imx6qdl-nitrogen6x.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: mxs: Add iio-hwmon to mx23 soc
Alexandre Belloni [Wed, 18 Dec 2013 18:50:56 +0000 (19:50 +0100)]
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>
10 years agoARM: dts: mxs: Add iio-hwmon to mx28 soc
Alexandre Belloni [Wed, 18 Dec 2013 18:50:55 +0000 (19:50 +0100)]
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>
10 years agoARM: imx: initial SolidRun HummingBoard support
Russell King [Tue, 17 Dec 2013 19:42:27 +0000 (19:42 +0000)]
ARM: imx: initial SolidRun HummingBoard support

Add support for the SolidRun HummingBoard.  This commit adds support for
the following interfaces on this board:

- Consumer Ir receiver
- S/PDIF output
- Both USB interfaces
- Gigabit Ethernet using AR8035
- UART port

shawn.guo:
- Add pinctrl_hummingboard_i2c1 and pinctrl_microsom_uart1 to replace
  pinctrl_i2c1_1 and pinctrl_uart1_1
- Use generic name for fixed voltage regulator nodes
- Fix commment format in mach-imx6q.c
- Move ar8035_phy_fixup around to put PHY_ID_AR8031 and PHY_ID_AR8035
  together

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx: add nitrogen6x board
Troy Kisky [Tue, 17 Dec 2013 01:13:03 +0000 (18:13 -0700)]
ARM: dts: imx: add nitrogen6x board

Add file imx6q-nitrogen6x.dts,
imx6dl-nitrogen6x.dts,
imx6qdl-nitrogen6x.dtsi

And add board to makefile.

Eric Nelson created a web page to show the
differences between Nitrogen6x and Sabre Lite boards.
http://boundarydevices.com/differences-sabre-lite-nitrogen6x

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6qdl-sabrelite: Add over-current pin to usbotg
Troy Kisky [Tue, 17 Dec 2013 01:13:02 +0000 (18:13 -0700)]
ARM: dts: imx6qdl-sabrelite: Add over-current pin to usbotg

KEY_COL4 is over-current for usbotg on Sabre Lite.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6qdl-sabrelite: fix ENET group
Troy Kisky [Tue, 17 Dec 2013 01:13:01 +0000 (18:13 -0700)]
ARM: dts: imx6qdl-sabrelite: fix ENET group

GPIO16 is used for I2C3, not ENET_REF_CLK.
Replace MX6QDL_ENET_PINGRP1 with explicit list.
Also, remove pull-ups from tx pins, and ENET_MDIO
which has an external pull-up.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6qdl-sabrelite: add skews for Micrel phy
Troy Kisky [Tue, 17 Dec 2013 01:13:00 +0000 (18:13 -0700)]
ARM: dts: imx6qdl-sabrelite: add skews for Micrel phy

Set the data delays to min, and clock delays to max
because the traces are equal length on pcb.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6qdl-sabrelite: add pwms for backlights
Troy Kisky [Tue, 17 Dec 2013 01:12:59 +0000 (18:12 -0700)]
ARM: dts: imx6qdl-sabrelite: add pwms for backlights

add pwm1 for lcd backlight
add pwm4 for lvds backlight
add pwm3 for ov5640 mipi clock

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6qdl-sabrelite: explicitly set pad for SGTL5000 sys_mclk
Troy Kisky [Tue, 17 Dec 2013 01:12:57 +0000 (18:12 -0700)]
ARM: dts: imx6qdl-sabrelite: explicitly set pad for SGTL5000 sys_mclk

Explicitly sets the pad GPIO_0 (sys_mclk) to 0x030b0.

Before this patch, it has the value 0x130b0 if using mainline u-boot.
So this patch also removes hysteresis. The 100k pulldown remains so
that a disabled clock will be low.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6qdl-sabrelite: move phy reset to pinctrl_enet
Troy Kisky [Tue, 17 Dec 2013 01:12:56 +0000 (18:12 -0700)]
ARM: dts: imx6qdl-sabrelite: move phy reset to pinctrl_enet

This patch moves pin EIM_D23 (phy reset) from pinctrl_hog to pinctrl_enet.
It also explicitly sets the pad to 0x000b0.

Before this patch, it has the value 0x1b0b0 if using mainline u-boot.
So this patch also removes hysteresis and a 100K pullup since the pad
is always an output.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6qdl-sabrelite: move usbotg power enable to pinctrl_usbotg
Troy Kisky [Tue, 17 Dec 2013 01:12:55 +0000 (18:12 -0700)]
ARM: dts: imx6qdl-sabrelite: move usbotg power enable to pinctrl_usbotg

This patch moves pin EIM_D22(power enable) from pinctrl_hog to pinctrl_usbotg.
It also explicitly sets the pad to 0x000b0, which is also the value
that it has before this patch if using mainline u-boot.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6qdl-sabrelite: move spi-nor CS to pinctrl_ecspi1
Troy Kisky [Tue, 17 Dec 2013 01:12:54 +0000 (18:12 -0700)]
ARM: dts: imx6qdl-sabrelite: move spi-nor CS to pinctrl_ecspi1

This patch moves pin EIM_D19 (CS) from pinctrl_hog to pinctrl_ecspi1.
It also explicitly sets the pad to 0x000b1.

Before this patch, it has the value 0x100b1 if using mainline u-boot.
So this patch also removes hysteresis since the pad is always an output.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6qdl-sabrelite: move USDHC3 CD/WP to pinctrl_usdhc3
Troy Kisky [Tue, 17 Dec 2013 01:12:53 +0000 (18:12 -0700)]
ARM: dts: imx6qdl-sabrelite: move USDHC3 CD/WP to pinctrl_usdhc3

This patch moves pin SD3_DAT5/4 (CD/WP) from pinctrl_hog to pinctrl_usdhc3.
It also explicitly sets the pad SD3_DAT5 to 0x1b0b0, which is also the value
that it has before this patch if using mainline u-boot.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6qdl-sabrelite: move USDHC4 CD to pinctrl_usdhc4
Troy Kisky [Tue, 17 Dec 2013 01:12:52 +0000 (18:12 -0700)]
ARM: dts: imx6qdl-sabrelite: move USDHC4 CD to pinctrl_usdhc4

This patch moves pin NANDF_D6 (CD) from pinctrl_hog to pinctrl_usdhc4.
It also explicitly sets the pad to 0x1b0b0, which is also the value
that it has before this patch if using mainline u-boot.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6qdl-sabrelite: move pcie to imx6qdl-sabrelite.dtsi
Troy Kisky [Tue, 17 Dec 2013 01:12:51 +0000 (18:12 -0700)]
ARM: dts: imx6qdl-sabrelite: move pcie to imx6qdl-sabrelite.dtsi

PCIe is common to Quad, Dual, Dual Lite, and Solo variants
of the processor. So, move enabling from imx6q-sabrelite.dts
to imx6qdl-sabrelite.dtsi.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6qdl: add spdif support for sabreauto
Nicolin Chen [Mon, 16 Dec 2013 10:37:48 +0000 (18:37 +0800)]
ARM: dts: imx6qdl: add spdif support for sabreauto

This patch adds spdif support for imx6qdl-sabreauto by inserting the cpu dai
node with pinctrl group and its ASoC dai link node.

Signed-off-by: Nicolin Chen <Guangyu.Chen@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6qdl-sabrelite: remove usdhc4 wp-gpio
Troy Kisky [Fri, 13 Dec 2013 01:49:07 +0000 (18:49 -0700)]
ARM: dts: imx6qdl-sabrelite: remove usdhc4 wp-gpio

On Sabre Lite usdhc4 is a micro sd slot, which has no
write protect.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6qdl-sabrelite: Add uart1 support
Troy Kisky [Fri, 13 Dec 2013 01:49:06 +0000 (18:49 -0700)]
ARM: dts: imx6qdl-sabrelite: Add uart1 support

Uart1 is available on Sabre Lite.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx: sabrelite: add Dual Lite/Solo support
Troy Kisky [Fri, 13 Dec 2013 01:49:05 +0000 (18:49 -0700)]
ARM: dts: imx: sabrelite: add Dual Lite/Solo support

This makes the structure of Sabre Lite board files the same
as Sabre SD board files so that they are easier to compare.

By this, I mean that the majority of the file imx6q-sabrelite.dts
is moved to imx6qdl-sabrelite.dtsi so that both imx6q-sabrelite.dts
and imx6dl-sabrelite.dts can include it.

Now Sabre Lite has support for Dual Lite/Solo
processors.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6qdl: add new pingroup for audmux
Lothar Waßmann [Thu, 12 Dec 2013 13:27:59 +0000 (14:27 +0100)]
ARM: dts: imx6qdl: add new pingroup for audmux

This will be used by the TX6 modules from Ka-Ro electronics.

Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6qdl: add pingroup for enet interface in RMII mode
Lothar Waßmann [Thu, 12 Dec 2013 13:27:58 +0000 (14:27 +0100)]
ARM: dts: imx6qdl: add pingroup for enet interface in RMII mode

This will be used by the TX6 modules from Ka-Ro electronics.

Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6qdl: add aliases for can interfaces
Lothar Waßmann [Thu, 12 Dec 2013 13:27:57 +0000 (14:27 +0100)]
ARM: dts: imx6qdl: add aliases for can interfaces

Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6q-sabrelite: Enable PCI express
Marek Vasut [Thu, 12 Dec 2013 21:50:04 +0000 (22:50 +0100)]
ARM: dts: imx6q-sabrelite: Enable PCI express

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Frank Li <lznuaa@gmail.com>
Cc: Harro Haan <hrhaan@gmail.com>
Cc: Jingoo Han <jg1.han@samsung.com>
Cc: Mohit KUMAR <Mohit.KUMAR@st.com>
Cc: Pratyush Anand <pratyush.anand@st.com>
Cc: Richard Zhu <r65037@freescale.com>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Sean Cross <xobs@kosagi.com>
Cc: Siva Reddy Kallam <siva.kallam@samsung.com>
Cc: Srikanth T Shivanand <ts.srikanth@samsung.com>
Cc: Tim Harvey <tharvey@gateworks.com>
Cc: Troy Kisky <troy.kisky@boundarydevices.com>
Cc: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: vf610: make pinctrl nodes board specific
Shawn Guo [Mon, 9 Dec 2013 06:42:54 +0000 (14:42 +0800)]
ARM: dts: vf610: make pinctrl nodes board specific

Currently, all pinctrl setting nodes are defined in <soc>.dtsi, so that
boards that share the same pinctrl setting do not have to define it time
and time again in <board>.dts.  However, along with the devices and use
cases being added continuously, the pinctrl setting nodes under iomuxc
becomes more than expected.  This bloats device tree blob for particular
board unnecessarily since only a small subset of those pinctrl setting
nodes will be used by the board.  It impacts not only the DTB file size
but also the run-time device tree lookup efficiency.

The patch provides a solution to avoid this device tree bloating problem
while still keeping boards share the common pinctrl setting data by
using DTC macro support.  It creates <soc>-pingrp.h and move all those
pinctrl setting data into there as macro definitions.  The <board>.dts
will instead define the pinctrl setting nodes that are necessary for the
board by referring to the macros in <soc>-pingrp.h, so that only the
pinctrl setting data that will be used by the board will get compiled
into the DTB for the board.

With the changes, the pinctrl setting nodes becomes local to particular
board, and it makes no sense to continue numbering the setting for
given peripheral.  Thus, all the pinctrl phandler name gets updated to
have only peripheral name in there.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Fugang Duan <B38611@freescale.com>
10 years agoARM: dts: mbimxsd51: Add sound support.
Denis Carikli [Wed, 27 Nov 2013 15:54:23 +0000 (16:54 +0100)]
ARM: dts: mbimxsd51: Add sound support.

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: Liam Girdwood <lgirdwood@gmail.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: alsa-devel@alsa-project.org
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: Eric Bénard <eric@eukrea.com>
Signed-off-by: Denis Carikli <denis@eukrea.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: mbimxsd25: Add sound support.
Denis Carikli [Wed, 27 Nov 2013 15:54:21 +0000 (16:54 +0100)]
ARM: dts: mbimxsd25: Add sound support.

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: Liam Girdwood <lgirdwood@gmail.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: alsa-devel@alsa-project.org
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: Eric Bénard <eric@eukrea.com>
Signed-off-by: Denis Carikli <denis@eukrea.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx27-phytec-phycore-som: Rename file to .dtsi
Alexander Shiyan [Sat, 7 Dec 2013 08:26:36 +0000 (12:26 +0400)]
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>
10 years agoARM: dts: imx27-phytec-phycore-som: Add pinctrl for CSPI1 and GPIOs used on module
Alexander Shiyan [Sat, 7 Dec 2013 08:26:35 +0000 (12:26 +0400)]
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>
10 years agoARM: dts: imx27-phytec-phycore-som: trivial: Typo fix
Alexander Shiyan [Sat, 7 Dec 2013 08:26:34 +0000 (12:26 +0400)]
ARM: dts: imx27-phytec-phycore-som: trivial: Typo fix

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx27-phytec-phycore-rdk: Change pinctrl settings for I2C1
Alexander Shiyan [Sat, 7 Dec 2013 08:26:33 +0000 (12:26 +0400)]
ARM: dts: imx27-phytec-phycore-rdk: Change pinctrl settings for I2C1

Pullup resistor for I2C1 DATA line on PCM-970 board is missing.
This patch adds internal pullup for local workaround.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: i.MX: Move include "imxXX-pinfunc.h" into "imxXX-pingrp.h"
Alexander Shiyan [Sat, 7 Dec 2013 08:26:32 +0000 (12:26 +0400)]
ARM: dts: i.MX: Move include "imxXX-pinfunc.h" into "imxXX-pingrp.h"

Pin function definitions are used for pin groups definitions,
so move the header in the correspond "imxXX-pingrp.h".

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: mxs: add #io-channel-cells to mx28 lradc
Alexandre Belloni [Fri, 6 Dec 2013 20:20:31 +0000 (21:20 +0100)]
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>
10 years agoARM: i.MX28: dts: rename usbphy pin names
Michael Grzeschik [Fri, 6 Dec 2013 14:56:40 +0000 (15:56 +0100)]
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>
10 years agoARM: dts: Add support for the cpuimx25 board from Eukrea and its baseboard.
Denis Carikli [Thu, 5 Dec 2013 14:56:56 +0000 (15:56 +0100)]
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>
10 years agoARM: mxs: Add support for the eukrea-cpuimx28.
Eric Bénard [Thu, 5 Dec 2013 13:28:06 +0000 (14:28 +0100)]
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>
10 years agoARM: dts: mxs: Add a new pin config for the usb0 ID.
Denis Carikli [Thu, 5 Dec 2013 13:28:05 +0000 (14:28 +0100)]
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>
10 years agoARM: dts: mxs: Add 18bit pin config for lcdif.
Denis Carikli [Thu, 5 Dec 2013 13:28:04 +0000 (14:28 +0100)]
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>
10 years agoARM: dts: imx53: Enable AHCI SATA for imx53-qsb
Robert Nelson [Tue, 3 Dec 2013 14:39:38 +0000 (08:39 -0600)]
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>
10 years agoARM: dts: i.MX27: Configure GPIOs as "input" by default
Alexander Shiyan [Sat, 30 Nov 2013 07:03:20 +0000 (11:03 +0400)]
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>
10 years agoARM: dts: imx27-apf27dev: Add pinctrl for cspi, sdhci, leds and keys
Gwenhael Goavec-Merou [Tue, 3 Dec 2013 11:10:15 +0000 (12:10 +0100)]
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>
10 years agoARM: dts: apf27dev: Add pwm support
Gwenhael Goavec-Merou [Tue, 3 Dec 2013 11:10:14 +0000 (12:10 +0100)]
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>
10 years agoARM: imx27: add pwm pingrp
Gwenhael Goavec-Merou [Tue, 3 Dec 2013 11:10:13 +0000 (12:10 +0100)]
ARM: imx27: add pwm pingrp

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: imx28: add apf28 specific initialization (macaddr)
Gwenhael Goavec-Merou [Sat, 30 Nov 2013 08:51:12 +0000 (09:51 +0100)]
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>
10 years agoARM: dts: apf28dev: set gpio polarity for usb regulator and pinctrl for regulator...
Gwenhael Goavec-Merou [Sat, 30 Nov 2013 08:51:13 +0000 (09:51 +0100)]
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>
10 years agoARM: dts: i.MX27 boards: Switch to use standard GPIO and IRQ flags definitions
Alexander Shiyan [Sat, 30 Nov 2013 06:18:04 +0000 (10:18 +0400)]
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>
10 years agoARM: dts: imx27-phytec-phycore-som: Update FEC node
Alexander Shiyan [Sat, 30 Nov 2013 06:18:03 +0000 (10:18 +0400)]
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>
10 years agoARM: dts: imx27-phytec-phycore-rdk: Add DT node for camera module
Alexander Shiyan [Sat, 30 Nov 2013 06:18:02 +0000 (10:18 +0400)]
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>
10 years agoARM: dts: imx27-phytec-phycore-som: Add on-flash BBT support
Alexander Shiyan [Sat, 30 Nov 2013 06:18:01 +0000 (10:18 +0400)]
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>
10 years agoARM: dts: imx27: imx27-apf27dev: add pinctrl for cspi, i2c, sdhc and framebuffer
Gwenhael Goavec-Merou [Thu, 28 Nov 2013 07:19:32 +0000 (08:19 +0100)]
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>
10 years agoARM: dts: imx27: imx27-apf27: add pinctrl for fec and uart1
Gwenhael Goavec-Merou [Thu, 28 Nov 2013 07:19:31 +0000 (08:19 +0100)]
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>
10 years agoARM: imx27: add pingroups for cspi, sdhc and framebuffer
Gwenhael Goavec-Merou [Thu, 28 Nov 2013 07:19:30 +0000 (08:19 +0100)]
ARM: imx27: add pingroups for cspi, sdhc and framebuffer

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx51-babbage: Define FEC reset pin
Alexander Shiyan [Wed, 27 Nov 2013 11:55:46 +0000 (15:55 +0400)]
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>
10 years agoARM: dts: imx51-babbage: Fix chipselect level for dataflash on spi0.1
Alexander Shiyan [Wed, 27 Nov 2013 11:55:45 +0000 (15:55 +0400)]
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>
10 years agoARM: i.MX53: dts: USB host controller
Rostislav Lisovy [Tue, 26 Nov 2013 23:53:16 +0000 (00:53 +0100)]
ARM: i.MX53: dts: USB host controller

Signed-off-by: Rostislav Lisovy <lisovy@gmail.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: i.MX53: dts: NAND flash controller
Rostislav Lisovy [Tue, 26 Nov 2013 23:53:15 +0000 (00:53 +0100)]
ARM: i.MX53: dts: NAND flash controller

Signed-off-by: Rostislav Lisovy <lisovy@gmail.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx28-evk: Run I2C0 at 400kHz
Fabio Estevam [Mon, 25 Nov 2013 17:47:39 +0000 (15:47 -0200)]
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>
10 years agoARM: dts: imx27-apf27dev: fix display size
Gwenhael Goavec-Merou [Mon, 25 Nov 2013 07:45:44 +0000 (08:45 +0100)]
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>
10 years agoARM: dts: imx27 phycore pinctrl
Markus Pargmann [Wed, 20 Nov 2013 08:45:51 +0000 (09:45 +0100)]
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>
10 years agoARM: dts: imx27 phycore move uart1 to rdk
Markus Pargmann [Wed, 20 Nov 2013 08:45:50 +0000 (09:45 +0100)]
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>
10 years agoARM: dts: imx27 phyCARD-S pinctrl
Markus Pargmann [Wed, 20 Nov 2013 08:45:49 +0000 (09:45 +0100)]
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>
10 years agoARM: dts: imx27 iomux device node
Markus Pargmann [Wed, 20 Nov 2013 08:45:48 +0000 (09:45 +0100)]
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>
10 years agoARM: dts: imx53: Enable AHCI SATA for M53EVK
Marek Vasut [Fri, 22 Nov 2013 11:05:04 +0000 (12:05 +0100)]
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>
10 years agoARM: dts: imx53: Add AHCI SATA DT node
Marek Vasut [Fri, 22 Nov 2013 11:05:03 +0000 (12:05 +0100)]
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>
10 years agoARM: dts: imx: imx6sl/qdl-pingrp: reorganize USDHCx pad groups
Troy Kisky [Thu, 21 Nov 2013 05:35:22 +0000 (22:35 -0700)]
ARM: dts: imx: imx6sl/qdl-pingrp: reorganize USDHCx pad groups

Use helper macros to avoid repetition.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6q-sabrelite: Place 'status' as the last node
Fabio Estevam [Wed, 20 Nov 2013 18:20:48 +0000 (16:20 -0200)]
ARM: dts: imx6q-sabrelite: Place 'status' as the last node

In order to follow the standard approach used on other imx dts files, place the
'status' node as the last one.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: i.MX51 boards: Switch to use standard GPIO flags definitions
Alexander Shiyan [Tue, 19 Nov 2013 11:47:27 +0000 (15:47 +0400)]
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>
10 years agoARM: dts: i.MX51: Move usbphy0 node from AIPS1
Alexander Shiyan [Tue, 19 Nov 2013 11:47:26 +0000 (15:47 +0400)]
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>
10 years agoARM: dts: cfa10036: Add dr_mode and phy_type properties to the DT
Maxime Ripard [Mon, 18 Nov 2013 14:52:02 +0000 (15:52 +0100)]
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>
10 years agoARM: mxs: cfa10049: Add NAU7802 ADCs to the device tree
Maxime Ripard [Mon, 18 Nov 2013 14:37:52 +0000 (15:37 +0100)]
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>
10 years agoARM: dts: imx53: Add USB support for M53EVK
Marek Vasut [Sun, 17 Nov 2013 03:04:50 +0000 (04:04 +0100)]
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>
10 years agoARM: dts: imx53: Fix backlight for M53EVK
Marek Vasut [Sun, 17 Nov 2013 01:19:40 +0000 (02:19 +0100)]
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>
10 years agoARM: dts: imx53: Fix display pinmux for M53EVK
Marek Vasut [Sun, 17 Nov 2013 01:19:39 +0000 (02:19 +0100)]
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>
10 years agoARM: dts: imx: imx6qdl.dtsi: use IRQ_TYPE_LEVEL_HIGH
Troy Kisky [Thu, 14 Nov 2013 21:02:13 +0000 (14:02 -0700)]
ARM: dts: imx: imx6qdl.dtsi: use IRQ_TYPE_LEVEL_HIGH

Make the interrupts node slightly more readable.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx: imx6sl.dtsi: use IRQ_TYPE_LEVEL_HIGH
Troy Kisky [Thu, 14 Nov 2013 21:02:12 +0000 (14:02 -0700)]
ARM: dts: imx: imx6sl.dtsi: use IRQ_TYPE_LEVEL_HIGH

Make the interrupts node slightly more readable.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx: imx6dl.dtsi: use IRQ_TYPE_LEVEL_HIGH
Troy Kisky [Thu, 14 Nov 2013 21:02:11 +0000 (14:02 -0700)]
ARM: dts: imx: imx6dl.dtsi: use IRQ_TYPE_LEVEL_HIGH

Make the interrupts node slightly more readable.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx: imx6q.dtsi: use IRQ_TYPE_LEVEL_HIGH
Troy Kisky [Thu, 14 Nov 2013 21:02:10 +0000 (14:02 -0700)]
ARM: dts: imx: imx6q.dtsi: use IRQ_TYPE_LEVEL_HIGH

Make the interrupts node slightly more readable.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx: imx6qdl.dtsi: add mipi_csi tag
Troy Kisky [Thu, 14 Nov 2013 21:02:08 +0000 (14:02 -0700)]
ARM: dts: imx: imx6qdl.dtsi: add mipi_csi tag

We will reference mipi_csi from board
dts files.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx: pinfunc: add MX6QDL_PAD_SD1_CLK__OSC32K_32K_OUT
Troy Kisky [Thu, 14 Nov 2013 21:02:07 +0000 (14:02 -0700)]
ARM: dts: imx: pinfunc: add MX6QDL_PAD_SD1_CLK__OSC32K_32K_OUT

The solo/duallite reference manual does not mention
this setting, but it works.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx: specify the value of audmux pinctrl instead of 0x80000000
Nicolin Chen [Fri, 15 Nov 2013 06:31:11 +0000 (14:31 +0800)]
ARM: dts: imx: specify the value of audmux pinctrl instead of 0x80000000

We must specify the value of audmux pinctrl if we want to use pinctrl_pm().
Thus change bypass value 0x80000000 to what we exactly need.

This patch also seperately unset PUE bit for TXD so that IOMUX won't pull
up/down the pin after turning into tristate. When we use SSI normal mode to
playback monaural audio via I2S signal, there'd be a pulled curve occur to
its signal at the second slot if setting PUE bit for TXD. And it will make
the second channel to play a constant noise. So by keeping the signal level
in the second slot, we can get a constant high level signal (-1) or a low
level one (0).

Signed-off-by: Nicolin Chen <b42378@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>