Debian Codegraph @

arch/arm/boot/dts/nxp/imx/imx7d-pico-dwarf.dts

raw
1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
2 //
3 // Copyright 2015 Technexion Ltd.
4 //
5 // Author: Wig Cheng <[email protected]>
6 // Richard Hu <[email protected]>
7 // Tapani Utriainen <[email protected]>
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 #sound-dai-cells = <0>;
44 clocks = <&sys_mclk>;
45 VDDA-supply = <&reg_2p5v>;
46 VDDIO-supply = <&reg_3p3v>;
47 };
48
49 pressure-sensor@60 {
50 compatible = "fsl,mpl3115";
51 reg = <0x60>;
52 vdd-supply = <&reg_3p3v>;
53 vddio-supply = <&reg_3p3v>;
54 };
55 };
56
57 &i2c4 {
58 clock-frequency = <100000>;
59 pinctrl-names = "default";
60 pinctrl-0 = <&pinctrl_i2c1>;
61 status = "okay";
62
63 pca9554: io-expander@25 {
64 compatible = "nxp,pca9554";
65 gpio-controller;
66 #gpio-cells = <2>;
67 #interrupt-cells = <2>;
68 interrupt-controller;
69 reg = <0x25>;
70 };
71
72 touchscreen@38 {
73 compatible = "edt,edt-ft5x06";
74 reg = <0x38>;
75 pinctrl-names = "default";
76 pinctrl-0 = <&pinctrl_touchscreen>;
77 interrupt-parent = <&gpio2>;
78 interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
79 reset-gpios = <&pca9554 4 GPIO_ACTIVE_LOW>;
80 touchscreen-size-x = <800>;
81 touchscreen-size-y = <480>;
82 };
83 };
84
85 &iomuxc {
86 pinctrl_touchscreen: touchscreengrp {
87 fsl,pins = <
88 MX7D_PAD_EPDC_DATA13__GPIO2_IO13 0x14
89 >;
90 };
91 };