summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx53-qsb.dts
AgeCommit message (Collapse)AuthorFilesLines
2014-02-09ARM: dts: i.MX53: move common QSB nodes to new fileSteffen Trumtrar1-320/+1
There are (atleast) two versions of the i.MX53 LOCO: - the MCIMX53-START board - the MCIMX53-START-R board The MCIMX53-START-R has a mc34708 pmic and is otherwise the similar to the MCIMX53-START. To prepare for the START-R, move all common nodes to a new imx53-qsb-common.dtsi and remove everything but the board name and pmic from the imx53-qsb.dts. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09ARM: dts: imx53: Enable AHCI SATA for imx53-qsbRobert Nelson1-0/+4
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-09ARM: imx53: use clock defines in DTS filesLucas Stach1-1/+1
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-09ARM: dts: imx: use generic node name for fixed regulatorShawn Guo1-2/+6
The device tree specification recommends that generic name should be used for nodes. So instead of naming those fixed regulator nodes arbitrarily, let's use the generic name 'regulator@num' for those nodes. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2014-02-09ARM: dts: imx53: make pinctrl nodes board specificShawn Guo1-10/+113
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 moves all the pinctrl data into individual boards as needed. 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>
2013-10-06ARM: dts: imx53-qsb: Do not use GPIO1_8 as wakeup sourceFabio Estevam1-1/+2
On the mx53qsb board with mc34708 PMIC, GPIO1_8 resets the system, so better not to use it as a wakeup source. Use GPIO 2_14 and 2_15 for wakeup sources instead. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2013-10-06ARM: dts: imx53-qsb: SDHC1 does not have cd-gpiosFabio Estevam1-2/+0
SDHC1 does not have any GPIO for reading the card detection status, so remove 'cd-gpios'. After this change card detection works via the internal SD controller mechanism. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2013-10-06ARM: dts: imx53-qsb: SDHC3 is connected in 8-bit modeFabio Estevam1-0/+1
SDHC3 is 8 bit-wide, so pass the bus-width property to reflect that. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2013-09-26ARM: dts: imx53-qsb: Allow usb peripheral mode to workFabio Estevam1-1/+2
Trying to use the usb otg port on mx53qsb results in the following error: $ modprobe g_ether using random self ethernet address using random host ethernet address usb0: HOST MAC 52:0f:8a:1e:aa:09 usb0: MAC de:f3:70:d8:6c:62 using random self ethernet address using random host ethernet address g_ether gadget: Ethernet Gadget, version: Memorial Day 2008 g_ether gadget: g_ether ready (Connect the USB cable) $ ci_hdrc ci_hdrc.0: remove, state 4 usb usb1: USB disconnect, device number 1 ci_hdrc ci_hdrc.0: USB bus 1 deregistered ci_hdrc ci_hdrc.0: timeout waiting for 00000800 in 11 USB otg port goes to connector J3 (mini USB) and also to the USB combo (J2). As mx53qsb does not provide a USB ID pin, pass the dr_mode as 'peripheral' so that we can have usb device working. Tested via g_ether. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2013-08-22ARM: dts: imx53-qsb: Make USBH1 functionalFabio Estevam1-1/+13
mx53qsb uses GPIO7_8 to turn on VBUS, so add support for it. Also specify the PHY type in the device tree. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Tested-by: Arnaud Patard <arnaud.patard@rtp-net.org> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2013-08-22ARM: dts: mx53qsb: Enable VPU supportFabio Estevam1-0/+4
Enable Video Processing Unit (VPU) support. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2013-06-17ARM: dts: mx53qsb: Add support for parallel displayRogerio Pimentel1-0/+27
Add support for CLAA WVGA display for i.MX53 QSB. Signed-off-by: Rogerio Pimentel <rogerio.pimentel@freescale.com> Acked-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2013-06-17ARM: imx: move imx53-qsb audio codec clk lookup into DTShawn Guo1-0/+1
With device tree clk lookup support in place, we can move audio codec clk lookup for ssi_ext1 into device tree now, so that imx53_qsb_init() can be saved. Since ssi_ext2 lookup is used nowhere, it gets removed together with ssi_ext1 lookup from clk driver. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2013-06-17ARM: dts: imx: imx53-qsb.dts: enable usbotg and usbh1Michael Grzeschik1-0/+8
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2013-04-09pinctrl: imx: move hard-coding data into device treeShawn Guo1-10/+10
Currently, all imx pinctrl drivers maintain a big array of struct imx_pin_reg which hard-codes data like register offset and mux mode setting for each pin function. Every time a new imx SoC support is added, we need to add such a big mount of data. With moving to single kernel build, it's only matter of time to be blamed on memory consuming. With DTC pre-processor support in place, the patch moves all these data into device tree by redefining the PIN_FUNC_ID in imxXX-pinfunc.h and changing the PIN_FUNC_ID parsing code a little bit. The pin id gets re-numbered based on mux register offset, or config register offset if the pin has no mux register, so that kernel can identify the pin id from register offsets provided by device tree. As a bonus point of the change, those arbitrary magic numbers standing for particular PIN_FUNC_ID in device tree sources are now replaced by macros to improve the readability of dts files. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Dong Aisheng <dong.aisheng@linaro.org> Acked-by: Linus Walleij <linus.walleij@linaro.org>
2013-04-09ARM: imx: use #include for all device treesShawn Guo1-1/+1
Replace /include/ (dtc) with #include (C pre-processor) for all imx DT files, so that gcc -E handles the entire include tree, and hence any of those files can #include some other file e.g. for constant definitions. This allows future use of #defines and header files in order to define names for various constants, such as pinctrl settings. Use of those features will increase the readability of the device tree files. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2013-02-10ARM: dts: imx: use nodes label in board dtsShawn Guo1-194/+186
Following omap3-evm.dts way, it changes all imx dts files to use label in board dts to refer to nodes defined by soc dtsi. Thus, the board dts files become easier to read and edit with the least indentation levels. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2012-11-16ARM: dts: imx53-qsb: Make DA9053 regulator functionalFabio Estevam1-18/+36
Setup the GPIO7_11 pin as interrupt to the DA9053 and also rename the regulator nodes so that they match with the datasheet. This allows probing of DA9053 to succeed. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2012-11-16ARM: dts: imx53-qsb: Use pinctrl for gpio-ledFabio Estevam1-0/+8
Since commit 8fe4554f (leds: leds-gpio: adopt pinctrl support) gpio-led driver has pinctrl support, so setup the gpio led pin via pinctrl and avoid the following warning: leds-gpio leds.2: pins are not configured from the driver Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Reviewed-by: Marek Vasut <marex@denx.de> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2012-09-11ARM: dts: imx53-qsb: add pinctrl settingsShawn Guo1-2/+32
Add pinctrl settings for existing devices in imx53-qsb.dts. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2012-08-24ARM: dts: imx: Move SDMA firmware to SoC dtsi fileFabio Estevam1-4/+0
Instead of adding sdma-ram-script-name into each board dts file, move it to the SoC dtsi file instead. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Acked-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2012-08-24ARM: dts: imx: Always enable the watchdogFabio Estevam1-4/+0
Instead of enabling the watchdog in each individual dts file, select in the SoC dtsi file instead. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2012-05-11ARM: dts: imx53-qsb: enable audio supportShawn Guo1-1/+38
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2012-05-11ARM: dts: imx53-qsb: Add Dialog DA9053 PMIC supportYing-Chun Liu (PaulLiu)1-1/+73
Add Dialog DA9053 regulators support for imx53-qsb (Loco board) Cc: Sascha Hauer <kernel@pengutronix.de> Cc: Mark Brown <broonie@opensource.wolfsonmicro.com> Cc: Amit Kucheria <amit.kucheria@canonical.com> Cc: Arnaud Patard (Rtp) <arnaud.patard@rtp-net.org> Cc: Russell King - ARM Linux <linux@arm.linux.org.uk> Signed-off-by: Ying-Chun Liu (PaulLiu) <paulliu@debian.org> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2012-05-11ARM: imx: rename uart and fec device tree nodesShawn Guo1-2/+2
It has been pointed out by device tree maintainer for several times that the generic names 'serial' and 'ethernet' should be used for those devices per ePAPR. Renames imx uart and fec device tree nodes to stop them being bad examples. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-05-11ARM: dts: imx: Remove bootargs fieldFabio Estevam1-4/+0
Remove bootargs field as this information is retrieved from the bootloader. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2011-12-14dts/imx: rename uart labels to consistent with hw specRichard Zhao1-1/+1
UART1/UART2/... is more readable than UART0/UART1/... . Remove redundant UART comments. Signed-off-by: Richard Zhao <richard.zhao@linaro.org> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2011-12-14dts/imx: rename gpio labels to consistent with hw specRichard Zhao1-8/+8
GPIO1/GPIO2/... is more readable than GPIO0/GPIO1/... . Remove redundant gpio comments. Signed-off-by: Richard Zhao <richard.zhao@linaro.org> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2011-10-18arm/mx5: add device tree support for imx53 boardsShawn Guo1-0/+125
It adds device tree support for imx53 boards. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Grant Likely <grant.likely@secretlab.ca> Acked-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>