2020-03-12 16:38:30 +08:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+ OR MIT
|
2014-11-03 04:36:47 +08:00
|
|
|
/*
|
2020-03-12 16:38:30 +08:00
|
|
|
* Copyright 2014-2020 Toradex
|
2014-11-03 04:36:47 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include "vf500.dtsi"
|
|
|
|
#include "vf-colibri.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Toradex Colibri VF50 COM";
|
2019-10-26 17:03:59 +08:00
|
|
|
compatible = "toradex,vf500-colibri_vf50", "fsl,vf500";
|
2014-11-03 04:36:47 +08:00
|
|
|
|
2018-03-04 06:40:41 +08:00
|
|
|
memory@80000000 {
|
2018-12-01 08:44:52 +08:00
|
|
|
device_type = "memory";
|
2014-11-03 04:36:47 +08:00
|
|
|
reg = <0x80000000 0x8000000>;
|
|
|
|
};
|
2015-09-01 20:36:53 +08:00
|
|
|
|
|
|
|
touchscreen: vf50-touchscreen {
|
|
|
|
compatible = "toradex,vf50-touchscreen";
|
|
|
|
io-channels = <&adc1 0>,<&adc0 0>,
|
|
|
|
<&adc0 1>,<&adc1 2>;
|
|
|
|
xp-gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
|
|
|
|
xm-gpios = <&gpio2 29 GPIO_ACTIVE_HIGH>;
|
|
|
|
yp-gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
|
|
|
|
ym-gpios = <&gpio0 4 GPIO_ACTIVE_HIGH>;
|
|
|
|
interrupt-parent = <&gpio0>;
|
|
|
|
interrupts = <8 IRQ_TYPE_LEVEL_LOW>;
|
|
|
|
pinctrl-names = "idle","default","gpios";
|
|
|
|
pinctrl-0 = <&pinctrl_touchctrl_idle>;
|
|
|
|
pinctrl-1 = <&pinctrl_touchctrl_default>;
|
|
|
|
pinctrl-2 = <&pinctrl_touchctrl_gpios>;
|
|
|
|
vf50-ts-min-pressure = <200>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-04-02 14:13:40 +08:00
|
|
|
&nfc {
|
|
|
|
assigned-clocks = <&clks VF610_CLK_NFC>;
|
|
|
|
assigned-clock-rates = <33000000>;
|
|
|
|
};
|
|
|
|
|
2015-09-01 20:36:53 +08:00
|
|
|
&iomuxc {
|
|
|
|
vf610-colibri {
|
|
|
|
pinctrl_touchctrl_idle: touchctrl_idle {
|
|
|
|
fsl,pins = <
|
|
|
|
VF610_PAD_PTA18__GPIO_8 0x006d
|
|
|
|
VF610_PAD_PTA19__GPIO_9 0x006c
|
|
|
|
>;
|
|
|
|
};
|
|
|
|
|
|
|
|
pinctrl_touchctrl_default: touchctrl_default {
|
|
|
|
fsl,pins = <
|
|
|
|
VF610_PAD_PTA18__ADC0_SE0 0x0040
|
|
|
|
VF610_PAD_PTA19__ADC0_SE1 0x0040
|
|
|
|
VF610_PAD_PTA16__ADC1_SE0 0x0040
|
|
|
|
VF610_PAD_PTB2__ADC1_SE2 0x0040
|
|
|
|
>;
|
|
|
|
};
|
|
|
|
|
|
|
|
pinctrl_touchctrl_gpios: touchctrl_gpios {
|
|
|
|
fsl,pins = <
|
|
|
|
VF610_PAD_PTA23__GPIO_13 0x22e9
|
|
|
|
VF610_PAD_PTB23__GPIO_93 0x22e9
|
|
|
|
VF610_PAD_PTA22__GPIO_12 0x22e9
|
|
|
|
VF610_PAD_PTA11__GPIO_4 0x22e9
|
|
|
|
>;
|
|
|
|
};
|
|
|
|
};
|
2014-11-03 04:36:47 +08:00
|
|
|
};
|