summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx6ull-colibri.dtsi
AgeCommit message (Collapse)Author
2022-06-29ARM: dts: colibri-imx6ull: fix snvs pinmux groupMax Krummenacher
A pin controlled by the iomuxc-snvs pin controller must be specified under the dtb's iomuxc-snvs node. Move the one and only pin of that category from the iomuxc node and set the pinctrl-0 using it accordingly. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-02-15ARM: dts: colibri-imx6ull: update UHS-I mode pinmux settingsDenys Drozdov
Update UHS-I mode pinmux setting to 200 MHz speed grade, e.g. pinmux bits 7-6: 11b SPEED_3_max_200MHz_ Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
2022-01-27ARM: dts: imx6x/imx7-colibri: keep disable-wp for SD interfaceDenys Drozdov
Add disable-wp property to avoid the warning from mmc/sd driver drivers/mmc/core/sd.c: "mmc1: host does not support reading read-only switch, assuming write-enable" Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
2022-01-26arm: dts: colibri-imx6ull: clean-up sd card dtsDenys Drozdov
Keep +3.3V pull-ups interface by default in imx6ull-colibri.dtsi SD card interface setting per board device tree: imx6ull-colibri-aster.dtsi +3.3V pull-ups imx6ull-colibri-eval-v3.dtsi +3.3V pull-ups imx6ull-colibri-iris.dtsi +3.3V pull-ups imx6ull-colibri-iris-v2.dtsi +1.8V signaling, UHS capable Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
2021-09-01dts: colibri-imx6ull: added overlays splitOleksii Bidnichenko
For imx6ull none-emmc device trees enable: - MXT TS over adapter or connector (board dependent); - ad7879 support; - Parallel RGB/VGA capability. Related-to: ELB-4065
2021-08-09cpufreq: imx6: ignore dc_regulator for toradex skusDenys Drozdov
dc_regulator is supported on NXP i.MX6UL/ULL EVK board and should be always ignored for toradex products. The regulator does not apply to the iMX6ULL 512MB, operating at 800MHz maximal clock and should be ignored for any other modules, like iMX6ULL 256MB, running at 528Mhz maximal. Fixes: b932c67cf7f44 ("cpufreq: imx6: Add the busfreq request/release on imx6ul/ull/sll") Related-to: ELB-4060 Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
2021-08-04ARM: dts: colibri-imx6ull-emmc: add device treesMax Krummenacher
Add devices trees for a Colibri iMX6ULL 1GB which has a eMMC instead of the raw NAND used on other SKUs. Related-to: ELB-4056, ELB-4058 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-04-01ARM: dts: colibri-imx6ull-lcdif: add lcdif interface device treeDenys Drozdov
Isolate LCD related interfaces lcdif, backlight, pwm4 into separate device tree. Keep these interfaces disabled by default Enable interfaces in colibri specific device tree. Related-to: ELB-3868 Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
2021-04-01ARM: dts: colibri-imx6ull: add touchscreen device nodesDenys Drozdov
Move all atmel and fusion touchscreen nodes from board-level to the main module DT. Prepare the DTs for use with atmel mxt overlays, adding required pinmux groups. The common scheme of pin groups for TS overlays: - pinctrl_atmel_conn - SODIMM 106/107 pins for INT/RST (default) - pinctrl_atmel_adap - SODIMM 28/30 pins for INT/RST signals. Related-to: ELB-3868 Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
2021-03-31ARM: dts: colibri-imx6ull: separate parallel-rgb interfaceDenys Drozdov
Move parallel-rgb interface into separate module tree imx6ull-colibri-lcdif.dtsi. Keep lcdif, backlight and pwm4 disabled by default. Related-to: ELB-3244 Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
2021-03-01ARM: dts: colibri-imx6ull: Change drive strength for usdhc2Philippe Schenker
The current setting reflects about 86 Ohms of source-impedance on the SDIO signals where the WiFi board is hooked up. PCB traces are routed with 50 Ohms impedance and there are no serial resistors on those traces. This commit changes the source-impedance to 52 Ohms to better match our hardware design. Related-to: ELB-3476 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2021-01-28ARM: dts: colibri-imx6ull: improve spidev configurationOleksandr Suvorov
All Toradex Colibri family boards support the ecspi interface. Move the definition of spidev0 to the module devicetree and enable it by default. Colibri Eval board has a CAN SPI controller. Disable the spidev0 for this board to have the CAN controller been enabled by default. Colibri Aster board supports 2 spidev interfaces. Enable both of them and fix the CS configuration. Related-to: ELB-3401 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2021-01-28ARM: dts: colibri-imx6ull: do not pull-up sd-clk but sd-cmd signalPhilippe Schenker
From the SD-Card specification: > The host shall supply power to the card so that the voltage is > reached to V DD _min within 250ms and start to supply at least > 74 SD clocks to the SD card with keeping CMD line to high. In case of > SPI mode, CS shall be held to high during 74 clock cycles. According to this information I think we should pull the CMD data line like on other boards to 3.3V. Also on other boards we do have the CLK signal pulled. This looks like this got mixed that up. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2021-01-27ARM: dts: colibri-imx6ull: remove cpu0 labelPhilippe Schenker
This label is already created in a level higher in imx6ul.dtsi use that label to add dc-supply Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2021-01-27ARM: dts: colibri-imx6ull: change muxing to newly defined namesPhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2021-01-27ARM: dts: colibri-imx6ull: Use pull-down for adc pinsPhilippe Schenker
As suggested by the reference manual in a note in chapter 13.2 this commit disables the keeper and enables a 100k pull-down on the adc pins. Related-to: ELB-2690 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> (cherry picked from commit 8a26772c9b731865746ec63e0060c6def4b48842)
2021-01-27ARM: dts: colibri-imx6ull: make use of new compatiblePhilippe Schenker
There is now a mainline variant for a regulator-fixed to be enabled by a clock. Make use of this newly cherry-picked mainline feature. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> (cherry picked from commit c860fc5606189715f8e1b183d50576be276ce9eb)
2021-01-27ARM: dts: colibri-imx6ull: pad_gpio1_io03: remove reserved bitsPhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> (cherry picked from commit 48ca902bdb89da1fe0c5404c98ec3a4e009478d9)
2021-01-27ARM: dts: colibri-imx6ull: correct wrong pinmuxing and add commentsPhilippe Schenker
Some pinmuxings are obviously wrong, originating from a copy/paste error. This patch corrects that with the following strategy: - Set all reserved bits to zero - Leave drive strength and slew rate as is - Add sensible pull and hysteresis depending on the function of the pin - Not used pins are muxed to their reset-value defined by the SoC Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> (cherry picked from commit 3eea0d71ed16ce2294fb097b1d292fc8b915f62f)
2021-01-27ARM: dts: imx6ull-colibri: rename vqmmc regulatorMax Krummenacher
Cosmetic change: Rename the reg_sd1_vmmc to reg_sd1_vqmmc as it is used for vqmmc. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 838d16630594b3fd69a13b6e1d19ee55ec93a841)
2021-01-27ARM: dts: imx6ull-colibri: fix vqmmc regulatorMax Krummenacher
The correct spelling for the property is gpios, otherwise the regulator will neither reserve nor control any gpio(s). Thus any SD/MMC card which can use UHS 1 modes will fail. Related-to: #46566 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 6f533e9f3c14af00c284a9bbd1c79a627e928bca)
2021-01-27ARM: dts: imx6ull-colibri-aster: Follow pinctrl naming from mainlineMax Krummenacher
While at it, add the dtbs for Aster Carrier Board to the Makefile. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 48d236e07b708f9cf9332d568f4ef02b8bbd31d6)
2021-01-27ARM: dts (ds): imx6ull*colibri*: Merge changes from 4.9-2.3.x-imx-nextPhilippe Schenker
In 4.14 devicetress are based on the mainline DT's and only necessary stuff for downstream is put into those devicetrees. This commit holds the changes for imx6ull*colibri* from 4.9. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> (cherry picked from commit 2b1fa08bf92d264028e15a14a052a63f8380da65) Conflicts: arch/arm/boot/dts/imx6ull-colibri-eval-v3.dtsi arch/arm/boot/dts/imx6ull-colibri-wifi.dtsi arch/arm/boot/dts/imx6ull-colibri.dtsi Squashed commit 'ARM: dts: imx6ull-colibri: add missing #endif' into this one. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2021-01-27ARM: dts: imx6ull-colibri: reduce v_batt current in power offMax Krummenacher
Reduce the current drawn from VCC_BATT when the main power on the 3V3 pins to the module are switched off. This switches off SoC internal pull resistors which are provided on the module for TAMPER7 and TAMPER9 SoC pin and switches on a pull down instead of a pullup for the USBC_DET module pin (TAMPER2). Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (cherry picked from commit 9fd59b6eebd12106b5b53fc56466bcd89b9a7ee9) Conflicts: arch/arm/boot/dts/imx6ull-colibri.dtsi Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> (cherry picked from commit dee1c3fc2b5fe89bf567d635ec61db3978f596ae)
2021-01-27ARM: dts: imx6ull-colibri: Add watchdogPhilippe Schenker
This patch adds the watchdog to the imx6ull-colibri devicetree Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> (cherry picked from commit a8d381fe007e3632482149970538d1fc2c090fc8)
2021-01-27ARM: dts: imx6ull: improve can templatesMax Krummenacher
Add the pinmuxing and a inactive node for flexcan1 on SODIMM 55/63 and move the inactive flexcan modes to imx6ull-colibri-eval-v3.dtsi where they belong. Note that this commit does not enable flexcan functionality, but rather eases the effort needed to do so. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (cherry picked from commit 983ff8a6b61e9466beb6b4781fb370a6a7da937a) Conflicts: arch/arm/boot/dts/imx6ull-colibri-nonwifi.dtsi arch/arm/boot/dts/imx6ull-colibri-wifi.dtsi arch/arm/boot/dts/imx6ull-colibri.dtsi Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com (cherry picked from commit 169685c139d72eee36914727cd4405fee4c2ee9b)
2021-01-27ARM: dts: imx6ull-colibri: Add sleep mode to fecPhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (cherry picked from commit a6f40c3a1d659467267a9d16355c788524bc5ca7) Conflicts: arch/arm/boot/dts/imx6ull-colibri.dtsi Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> (cherry picked from commit 58f50e2e8147ffa1b1e331f08ef79561855dc09c)
2021-01-27ARM: dts: imx6ull-colibri: change touch i2c parametersMax Krummenacher
Switch on 22 kOhm pull ups and lower the I2C frequency to around 40kHz to get a more reliable communication. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 64e028450971a62c48e3398dcffb052fc5bdcafb)
2019-06-12ARM: dts: imx6ull-colibri: enable UHS-I for USDHC1Igor Opaniuk
Allows to use the SD interface at a higher speed mode if the card supports it. For this the signaling voltage is switched from 3.3V to 1.8V under the usdhc1's drivers control. Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com> Reviewed-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2019-02-11ARM: dts: imx6*-apalis/-colibri: mark I2C recovery GPIOs as open drainStefan Agner
Since commit d2d0ad2aec4a ("i2c: imx: use open drain for recovery GPIO") GPIO lib expects this GPIO to be configured as open drain. Make sure we define this GPIO as open drain in the device tree. This gets rid of the following warning: gpio-81 (scl): enforced open drain please flag it properly in DT/ACPI DSDT/board file Note that currently the i.MX pinctrl driver does not support enabling open drain directly, so this patch has no effect in practice. Open drain is enabled by the fixed pinmux entry. Signed-off-by: Stefan Agner <stefan@agner.ch> Reviewed-by: Philippe Schenker <philippe.schenker@toradex.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2018-02-12ARM: dts: imx6ull: add Toradex Colibri iMX6ULL supportStefan Agner
Add support for the Computer on Module Colibri iMX6ULL and its Bluetooth/Wifi variant along with the development/evaluation carrier board device trees. Follow the usual hierarchic include model, maintaining shared configuration in imx6ull-colibri.dtsi and imx6ull-colibri-eval-v3.dtsi respectively. Signed-off-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Shawn Guo <shawnguo@kernel.org>