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