1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
5 #include "imx7d-pico.dtsi"
8 model = "TechNexion PICO-IMX7D Board and PI baseboard";
9 compatible = "technexion,imx7d-pico-pi", "fsl,imx7d";
12 compatible = "gpio-leds";
13 pinctrl-names = "default";
14 pinctrl-0 = <&pinctrl_gpio_leds>;
18 gpios = <&gpio2 6 GPIO_ACTIVE_HIGH>;
23 compatible = "simple-audio-card";
24 simple-audio-card,name = "imx7-sgtl5000";
25 simple-audio-card,format = "i2s";
26 simple-audio-card,bitclock-master = <&dailink_master>;
27 simple-audio-card,frame-master = <&dailink_master>;
28 simple-audio-card,cpu {
32 dailink_master: simple-audio-card,codec {
33 sound-dai = <&sgtl5000>;
34 clocks = <&clks IMX7D_AUDIO_MCLK_ROOT_CLK>;
41 #sound-dai-cells = <0>;
43 compatible = "fsl,sgtl5000";
44 clocks = <&clks IMX7D_AUDIO_MCLK_ROOT_CLK>;
45 VDDA-supply = <®_2p5v>;
46 VDDIO-supply = <®_vref_1v8>;
51 polytouch: touchscreen@38 {
52 compatible = "edt,edt-ft5x06";
54 pinctrl-names = "default";
55 pinctrl-0 = <&pinctrl_touchscreen>;
56 interrupt-parent = <&gpio2>;
57 interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
58 reset-gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
59 touchscreen-size-x = <800>;
60 touchscreen-size-y = <480>;
65 pinctrl-names = "default";
66 pinctrl-0 = <&pinctrl_hog>;
70 MX7D_PAD_EPDC_DATA00__GPIO2_IO0 0x14
71 MX7D_PAD_EPDC_DATA01__GPIO2_IO1 0x14
72 MX7D_PAD_EPDC_DATA02__GPIO2_IO2 0x14
73 MX7D_PAD_EPDC_DATA03__GPIO2_IO3 0x14
74 MX7D_PAD_EPDC_DATA05__GPIO2_IO5 0x14
75 MX7D_PAD_EPDC_DATA12__GPIO2_IO12 0x14
76 MX7D_PAD_EPDC_DATA07__GPIO2_IO7 0x14
80 pinctrl_gpio_leds: gpioledsgrp {
82 MX7D_PAD_EPDC_DATA06__GPIO2_IO6 0x14
86 pinctrl_touchscreen: touchscreengrp {
88 MX7D_PAD_EPDC_DATA04__GPIO2_IO4 0x14
89 MX7D_PAD_EPDC_DATA13__GPIO2_IO13 0x14