summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi
AgeCommit message (Collapse)Author
2017-10-02ARM: dts: imx7-colibri: add atmel mxt multitouch controllerBhuvanchandra DV
Add atmel mxt multitouch controller driver which is interfaced over I2C bus. This controller is used by the Logic Technologies, Capacitive Touch Display 7" Parallel (LT161010-2NHC). Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com> Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-07-10colibri_imx7: fix ldo2 operation without sd cardMarcel Ziswiler
This is only an issue for later Colibri iMX7S 256MB V1.1C and Colibri iMX7D 512MB V1.1D modules which are currently still in Toradex internal validation & verification. Currently without an SD card inserted the regulator framework actually powers the LDO2 off however e.g. the BL_ON pin is also on that same rail! Fix this by specifying LDO2 to be always on and use the regular 3.3V supply from the carrier board as the vmmc-supply. Specify that carrier board 3.3V supply to be always on as well to avoid the following misleading message during boot: [ 2.299654] 3.3V: disabling One remaining issue is that now in suspend LDO2 is still powered and even adding the following did not help: regulator-state-mem { regulator-off-in-suspend; }; Further investigation pending. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-07-10Revert "imx7-colibri-aster/eval-v3: fix vmmc-supply"Marcel Ziswiler
This reverts commit 82f0f4f012a646a735d6b44de77b7c9d0712c714. This is only an issue for later Colibri iMX7S 256MB V1.1C and Colibri iMX7D 512MB V1.1D modules which are currently still in Toradex internal validation & verification. As it turns out not using LDO2 anywhere at all in the regular case is a bad idea leading to the following: [ 2.317688] LDO2: disabling Of course display and SD card still worked on the EvalBoard due to back feeding through some pull-ups however on Viola with just one pull-up it failed once both display and SD card were active... Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-06-30imx7-colibri-aster/eval-v3: fix vmmc-supplyColibri-iMX7_LXDE-Image_2.7b3-20170630Colibri-iMX6_LXDE-Image_2.7b3-20170630Apalis-iMX6_LXDE-Image_2.7b3-20170630Marcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com>
2017-04-03ARM: dts: imx: fix M41T0 RTC compatible stringStefan Agner
Toradex Carrier boards use the ST M41T0 RTC (not M41T00). The RTC is almost the same, but the M41T0 needs some special handling in case the oscillator fails. Now that support for this difference is available, using the new compatible string to make use of it. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-04-03ARM: dts: imx7-colibri: use reg value in node namesStefan Agner
By convention, the node name uses the address (specified by the reg property) appended to the node name. Follow this convention in SPI nodes too. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-04-03ARM: dts: imx7-colibri: move USB power enable to carrier boardStefan Agner
The logic to enable USB power is part of the carrier board and might differ depending on the carrier board design. Introduce basic fixed regulators for power input and move the USB power enable regulator to the carrier board device tree. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-01-10arm: dts: imx7: fix CAN interrupt sourceMax Krummenacher
The SPI CAN controller MCP2515 was set up to use the wrong interrupt source. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Stefan Agner <stefan.agner@toradex.com>
2017-01-10arm: dts: imx7: assign CAN interrupt pin explicitlyStefan Agner
The SPI CAN controller MCP2515 uses a dedicated interrupt line. Assign the interrupt line to the CAN controller node explicitly. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 8a91ecf06aa0155b36641630ee1ee932c3855fe2)
2017-01-10arm: dts: imx7: move standard pinctrl to module level dtStefan Agner
We traditionally have all standard pinctrl in the module level device tree. Move pinctrl accordingly. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit a75a5bc0bc91f29ad4df48684589d35454a5ccad)
2017-01-10ARM: dts: imx7d/imx7s-colibri: Enable usb device/host switch using extconSanchayan Maity
Use USBC_DET feature of standard Colibri SODIMM pin 137 for USB device/host switching using the generic extcon USB gpio implementation. Signed-off-by: Sanchayan Maity <sanchayan.maity@toradex.com> [remove pin from FEC and fixed pinmux assignment] Signed-off-by: Stefan Agner <stefan.agner@toradex.com> (cherry picked from commit cf86d072a45f1490d447aebe8677a740164ac5fb)
2017-01-10ARM: dts: imx7-colibri: use VGA resolution by defaultStefan Agner
Use VGA (640x480) timings by default. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit e60b1f9218b5e8de486451a42e44b19b4a20969a)
2017-01-10ARM: dts: imx7-colibri: add GPIO wakeup keyStefan Agner
Add wakeup GPIO key which is able to wake the system from sleep modes (e.g. Suspend-to-Memory). Also rename the intermediate node to imx7d-colibri. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit b5d2713d64c1c69f5dfe14a273e593acac089287)
2017-01-10ARM: dts: imx7-colibri: explicitly disable write-protectStefan Agner
Use the disable-wp property since we don't have a concept of write protect. This also gets rid of the following warning: mmc0: host does not support reading read-only switch, assuming write-enable Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 35da2dc4487466dd2dbaf2437e481ea7b0730cb2)
2017-01-10ARM: dts: imx7-colibri: rename display nodeStefan Agner
Rename display node to avoid node name duplication: device-tree: Duplicate name in lcdif@30730000, renamed to "display#1" Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 8cb4656dee95b61c9d37283a81d7e733da1fcd9f)
2017-01-10ARM: dts: imx7-colibri: make use of the native-mode propertyStefan Agner
We can store multiple modes now and select the mode used by the driver by default using the native-mode property. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit ce29664646350d6baf5d844eac72ca807869bef4)
2017-01-10ARM: dts: imx7-colibri: add VBUS regulator also to OTG portStefan Agner
On some carrier boards (namely Aster, Viola and Orchid) the second USB port (USBC) is used in host only mode. In this case, the USBH_PEN signal is also used to enable USB power. This change makes sure that USBH_PEN is also set in case only one USB port is available (as it is the case on Colibri iMX7 Solo). Strictly speaking we should not add the regulator in the Evaluation Board device tree. However, we use the Evaluation Board device tree as our "Colibri Standard" device tree and it does not really hurt on the Evaluation Board... Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 9848329bdd5ea9166acd20681b1b7dcffc94c978)
2017-01-10ARM: dts: imx7-colibri: add TouchRevolution multitouch controllerStefan Agner
Add TouchRevolution multitouch controller driver which is connectable over I2C bus. The driver supports the 7" and 10" multitouch variant available from TouchRev. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 9a7463af56709636d4063c3a177065df5fb51c51)
2017-01-10ARM: dts: imx7-colibri: Add MCP2515 SPI CAN controller to DTMax Krummenacher
MCP2515 is available on colibri evaluation board, include it in the device tree for Colibri iMX7. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Stefan Agner <stefan.agner@toradex.com> (cherry picked from commit d2adf656222c62a207d55d07cbdb1f891e4aa6bf)
2017-01-10ARM: dts: imx7-colibri: reduce SPI clock to datasheet maximumMax Krummenacher
According to the datasheet the SPI clock (for read) must not exceed 1 / 43ns for i.MX7. Reflect that correctly in the device tree. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Stefan Agner <stefan.agner@toradex.com> (cherry picked from commit 9682073e3250f8cbc8be2326bcf62287ef656e3d)
2017-01-10ARM: dts: imx7-colibri: use Toradex evalspiStefan Agner
Use the newly invented device evalspi. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (cherry picked from commit 0f5839e93e1be86e399f267ad60bf365e15e44e9)
2017-01-10ARM: dts: imx7-colibri: fix SD-cardStefan Agner
The SDHC stack uses the GPIO flags to determine whether the card detect gpio is active-low or high. Zero means GPIO_ACTIVE_HIGH, which is actually wrong. Specify the card detect to be active-low. Also remove the tuning step property, this is a board specific parameter which seems to come from Sabre, where NXP actually deleted it too. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit c2330ccf7023d34671169f11888a3681d32590e6)
2017-01-10ARM: dts: imx7-colibri: introduce carrier board level dtsStefan Agner
Split up the colibri device tree into two device tree files for COM and Carrier Board. Use the usual SoC/COM/Board tripplet and follow including scheme used for Vybrid. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit ac23876a1c36a702019c44f299195afa7b875393)