1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0+ OR MIT 2*724ba675SRob Herring/* 3*724ba675SRob Herring * Copyright 2014-2020 Toradex 4*724ba675SRob Herring */ 5*724ba675SRob Herring 6*724ba675SRob Herring#include "vf500.dtsi" 7*724ba675SRob Herring#include "vf-colibri.dtsi" 8*724ba675SRob Herring 9*724ba675SRob Herring/ { 10*724ba675SRob Herring model = "Toradex Colibri VF50 COM"; 11*724ba675SRob Herring compatible = "toradex,vf500-colibri_vf50", "fsl,vf500"; 12*724ba675SRob Herring 13*724ba675SRob Herring memory@80000000 { 14*724ba675SRob Herring device_type = "memory"; 15*724ba675SRob Herring reg = <0x80000000 0x8000000>; 16*724ba675SRob Herring }; 17*724ba675SRob Herring 18*724ba675SRob Herring touchscreen: vf50-touchscreen { 19*724ba675SRob Herring compatible = "toradex,vf50-touchscreen"; 20*724ba675SRob Herring io-channels = <&adc1 0>,<&adc0 0>, 21*724ba675SRob Herring <&adc0 1>,<&adc1 2>; 22*724ba675SRob Herring xp-gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; 23*724ba675SRob Herring xm-gpios = <&gpio2 29 GPIO_ACTIVE_HIGH>; 24*724ba675SRob Herring yp-gpios = <&gpio0 12 GPIO_ACTIVE_LOW>; 25*724ba675SRob Herring ym-gpios = <&gpio0 4 GPIO_ACTIVE_HIGH>; 26*724ba675SRob Herring interrupt-parent = <&gpio0>; 27*724ba675SRob Herring interrupts = <8 IRQ_TYPE_LEVEL_LOW>; 28*724ba675SRob Herring pinctrl-names = "idle","default","gpios"; 29*724ba675SRob Herring pinctrl-0 = <&pinctrl_touchctrl_idle>; 30*724ba675SRob Herring pinctrl-1 = <&pinctrl_touchctrl_default>; 31*724ba675SRob Herring pinctrl-2 = <&pinctrl_touchctrl_gpios>; 32*724ba675SRob Herring vf50-ts-min-pressure = <200>; 33*724ba675SRob Herring status = "disabled"; 34*724ba675SRob Herring }; 35*724ba675SRob Herring}; 36*724ba675SRob Herring 37*724ba675SRob Herring&nfc { 38*724ba675SRob Herring assigned-clocks = <&clks VF610_CLK_NFC>; 39*724ba675SRob Herring assigned-clock-rates = <33000000>; 40*724ba675SRob Herring}; 41*724ba675SRob Herring 42*724ba675SRob Herring&iomuxc { 43*724ba675SRob Herring vf610-colibri { 44*724ba675SRob Herring pinctrl_touchctrl_idle: touchctrl_idle { 45*724ba675SRob Herring fsl,pins = < 46*724ba675SRob Herring VF610_PAD_PTA18__GPIO_8 0x006d 47*724ba675SRob Herring VF610_PAD_PTA19__GPIO_9 0x006c 48*724ba675SRob Herring >; 49*724ba675SRob Herring }; 50*724ba675SRob Herring 51*724ba675SRob Herring pinctrl_touchctrl_default: touchctrl_default { 52*724ba675SRob Herring fsl,pins = < 53*724ba675SRob Herring VF610_PAD_PTA18__ADC0_SE0 0x0040 54*724ba675SRob Herring VF610_PAD_PTA19__ADC0_SE1 0x0040 55*724ba675SRob Herring VF610_PAD_PTA16__ADC1_SE0 0x0040 56*724ba675SRob Herring VF610_PAD_PTB2__ADC1_SE2 0x0040 57*724ba675SRob Herring >; 58*724ba675SRob Herring }; 59*724ba675SRob Herring 60*724ba675SRob Herring pinctrl_touchctrl_gpios: touchctrl_gpios { 61*724ba675SRob Herring fsl,pins = < 62*724ba675SRob Herring VF610_PAD_PTA23__GPIO_13 0x22e9 63*724ba675SRob Herring VF610_PAD_PTB23__GPIO_93 0x22e9 64*724ba675SRob Herring VF610_PAD_PTA22__GPIO_12 0x22e9 65*724ba675SRob Herring VF610_PAD_PTA11__GPIO_4 0x22e9 66*724ba675SRob Herring >; 67*724ba675SRob Herring }; 68*724ba675SRob Herring }; 69*724ba675SRob Herring}; 70