1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 2 // 2 // 3 // Copyright 2015 Technexion Ltd. 3 // Copyright 2015 Technexion Ltd. 4 // 4 // 5 // Author: Wig Cheng <wig.cheng@technexion.com 5 // Author: Wig Cheng <wig.cheng@technexion.com> 6 // Richard Hu <richard.hu@technexion.co 6 // Richard Hu <richard.hu@technexion.com> 7 // Tapani Utriainen <tapani@technexion. 7 // Tapani Utriainen <tapani@technexion.com> 8 /dts-v1/; 8 /dts-v1/; 9 9 10 #include "imx7d-pico.dtsi" 10 #include "imx7d-pico.dtsi" 11 / { 11 / { 12 model = "TechNexion PICO-IMX7D and DWA 12 model = "TechNexion PICO-IMX7D and DWARF baseboard"; 13 compatible = "technexion,imx7d-pico-dw 13 compatible = "technexion,imx7d-pico-dwarf", "fsl,imx7d"; 14 14 15 sound { 15 sound { 16 compatible = "fsl,imx-audio-sg 16 compatible = "fsl,imx-audio-sgtl5000"; 17 model = "imx7d-sgtl5000"; 17 model = "imx7d-sgtl5000"; 18 audio-cpu = <&sai1>; 18 audio-cpu = <&sai1>; 19 audio-codec = <&sgtl5000>; 19 audio-codec = <&sgtl5000>; 20 audio-routing = 20 audio-routing = 21 "LINE_IN", "Line In Ja 21 "LINE_IN", "Line In Jack", 22 "MIC_IN", "Mic Jack", 22 "MIC_IN", "Mic Jack", 23 "Mic Jack", "Mic Bias" 23 "Mic Jack", "Mic Bias", 24 "Headphone Jack", "HP_ 24 "Headphone Jack", "HP_OUT"; 25 }; 25 }; 26 26 27 sys_mclk: clock-sys-mclk { 27 sys_mclk: clock-sys-mclk { 28 compatible = "fixed-clock"; 28 compatible = "fixed-clock"; 29 #clock-cells = <0>; 29 #clock-cells = <0>; 30 clock-frequency = <24576000>; 30 clock-frequency = <24576000>; 31 }; 31 }; 32 }; 32 }; 33 33 34 &i2c1 { 34 &i2c1 { 35 clock-frequency = <100000>; 35 clock-frequency = <100000>; 36 pinctrl-names = "default"; 36 pinctrl-names = "default"; 37 pinctrl-0 = <&pinctrl_i2c1>; 37 pinctrl-0 = <&pinctrl_i2c1>; 38 status = "okay"; 38 status = "okay"; 39 39 40 sgtl5000: audio-codec@a { 40 sgtl5000: audio-codec@a { 41 reg = <0x0a>; 41 reg = <0x0a>; 42 compatible = "fsl,sgtl5000"; 42 compatible = "fsl,sgtl5000"; 43 #sound-dai-cells = <0>; 43 #sound-dai-cells = <0>; 44 clocks = <&sys_mclk>; 44 clocks = <&sys_mclk>; 45 VDDA-supply = <®_2p5v>; 45 VDDA-supply = <®_2p5v>; 46 VDDIO-supply = <®_3p3v>; 46 VDDIO-supply = <®_3p3v>; 47 }; 47 }; 48 48 49 pressure-sensor@60 { 49 pressure-sensor@60 { 50 compatible = "fsl,mpl3115"; 50 compatible = "fsl,mpl3115"; 51 reg = <0x60>; 51 reg = <0x60>; 52 }; 52 }; 53 }; 53 }; 54 54 55 &i2c4 { 55 &i2c4 { 56 clock-frequency = <100000>; 56 clock-frequency = <100000>; 57 pinctrl-names = "default"; 57 pinctrl-names = "default"; 58 pinctrl-0 = <&pinctrl_i2c1>; 58 pinctrl-0 = <&pinctrl_i2c1>; 59 status = "okay"; 59 status = "okay"; 60 60 61 pca9554: io-expander@25 { 61 pca9554: io-expander@25 { 62 compatible = "nxp,pca9554"; 62 compatible = "nxp,pca9554"; 63 gpio-controller; 63 gpio-controller; 64 #gpio-cells = <2>; 64 #gpio-cells = <2>; 65 #interrupt-cells = <2>; 65 #interrupt-cells = <2>; 66 interrupt-controller; 66 interrupt-controller; 67 reg = <0x25>; 67 reg = <0x25>; 68 }; 68 }; 69 69 70 touchscreen@38 { 70 touchscreen@38 { 71 compatible = "edt,edt-ft5x06"; 71 compatible = "edt,edt-ft5x06"; 72 reg = <0x38>; 72 reg = <0x38>; 73 pinctrl-names = "default"; 73 pinctrl-names = "default"; 74 pinctrl-0 = <&pinctrl_touchscr 74 pinctrl-0 = <&pinctrl_touchscreen>; 75 interrupt-parent = <&gpio2>; 75 interrupt-parent = <&gpio2>; 76 interrupts = <13 IRQ_TYPE_EDGE 76 interrupts = <13 IRQ_TYPE_EDGE_FALLING>; 77 reset-gpios = <&pca9554 4 GPIO 77 reset-gpios = <&pca9554 4 GPIO_ACTIVE_LOW>; 78 touchscreen-size-x = <800>; 78 touchscreen-size-x = <800>; 79 touchscreen-size-y = <480>; 79 touchscreen-size-y = <480>; 80 }; 80 }; 81 }; 81 }; 82 82 83 &iomuxc { 83 &iomuxc { 84 pinctrl_touchscreen: touchscreengrp { 84 pinctrl_touchscreen: touchscreengrp { 85 fsl,pins = < 85 fsl,pins = < 86 MX7D_PAD_EPDC_DATA13__ 86 MX7D_PAD_EPDC_DATA13__GPIO2_IO13 0x14 87 >; 87 >; 88 }; 88 }; 89 }; 89 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.