Lines Matching +full:codec +full:- +full:gpio4

1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 * DHCM-iMX8ML8-C160-R409-F1638-SPI16-GE-CAN2-SD-RTC-WBTA-ADC-T-RGB-CSI2-HS-I-01D2
7 * DHCOM PCB number: 660-100 or newer
8 * PDK3 PCB number: 669-100 or newer
11 /dts-v1/;
13 #include <dt-bindings/leds/common.h>
14 #include <dt-bindings/phy/phy-imx8-pcie.h>
15 #include "imx8mp-dhcom-som.dtsi"
19 compatible = "dh,imx8mp-dhcom-pdk3", "dh,imx8mp-dhcom-som",
23 stdout-path = &uart1;
26 clk_ext_audio_codec: clock-codec {
27 compatible = "fixed-clock";
28 #clock-cells = <0>;
29 clock-frequency = <24000000>;
32 clk_xtal25: clock-xtal25 {
33 compatible = "fixed-clock";
34 #clock-cells = <0>;
35 clock-frequency = <25000000>;
38 gpio-keys {
39 compatible = "gpio-keys";
41 button-0 {
43 label = "TA1-GPIO-A";
45 pinctrl-0 = <&pinctrl_dhcom_a>;
46 pinctrl-names = "default";
47 wakeup-source;
50 button-1 {
52 label = "TA2-GPIO-B";
54 pinctrl-0 = <&pinctrl_dhcom_b>;
55 pinctrl-names = "default";
56 wakeup-source;
59 button-2 {
61 label = "TA3-GPIO-C";
63 pinctrl-0 = <&pinctrl_dhcom_c>;
64 pinctrl-names = "default";
65 wakeup-source;
68 button-3 {
70 label = "TA4-GPIO-E";
72 pinctrl-0 = <&pinctrl_dhcom_e>;
73 pinctrl-names = "default";
74 wakeup-source;
78 hdmi-connector {
79 compatible = "hdmi-connector";
85 remote-endpoint = <&hdmi_tx_out>;
91 compatible = "gpio-leds";
93 led-0 {
95 default-state = "off";
97 function-enumerator = <0>;
98 gpios = <&gpio4 27 GPIO_ACTIVE_HIGH>; /* GPIO D */
99 pinctrl-0 = <&pinctrl_dhcom_d>;
100 pinctrl-names = "default";
103 led-1 {
105 default-state = "off";
107 function-enumerator = <1>;
109 pinctrl-0 = <&pinctrl_dhcom_f>;
110 pinctrl-names = "default";
113 led-2 {
115 default-state = "off";
117 function-enumerator = <2>;
119 pinctrl-0 = <&pinctrl_dhcom_g>;
120 pinctrl-names = "default";
123 led-3 {
125 default-state = "off";
127 function-enumerator = <3>;
129 pinctrl-0 = <&pinctrl_dhcom_i>;
130 pinctrl-names = "default";
134 reg_3p3vdd: regulator-3p3vdd { /* 3.3VDD */
135 compatible = "regulator-fixed";
136 regulator-always-on;
137 regulator-min-microvolt = <3300000>;
138 regulator-max-microvolt = <3300000>;
139 regulator-name = "3P3VDD";
143 compatible = "simple-audio-card";
144 simple-audio-card,name = "SGTL5000-Card";
145 simple-audio-card,format = "i2s";
146 simple-audio-card,bitclock-master = <&codec_dai>;
147 simple-audio-card,frame-master = <&codec_dai>;
148 simple-audio-card,widgets = "Headphone", "Headphone Jack";
149 simple-audio-card,routing = "Headphone Jack", "HP_OUT";
151 cpu_dai: simple-audio-card,cpu {
152 sound-dai = <&sai3>;
155 codec_dai: simple-audio-card,codec {
156 sound-dai = <&sgtl5000>;
162 i2c-mux@70 {
165 #address-cells = <1>;
166 #size-cells = <0>;
169 #address-cells = <1>;
170 #size-cells = <0>;
173 sgtl5000: codec@a {
176 #sound-dai-cells = <0>;
178 VDDA-supply = <&reg_3p3vdd>;
179 VDDIO-supply = <&reg_vdd_3p3v_awo>;
185 gpio-controller;
186 #gpio-cells = <2>;
187 gpio-line-names =
195 interrupt-parent = <&gpio4>;
197 pinctrl-names = "default";
198 pinctrl-0 = <&pinctrl_ptn5150>;
203 remote-endpoint = <&dwc3_0_ep>;
208 power-sensor@40 {
211 shunt-resistor = <20000>; /* 0.02 R */
212 ti,shunt-gain = <1>; /* Drop cca. 40mV */
225 #clock-cells = <1>;
230 #address-cells = <1>;
231 #size-cells = <0>;
238 pinctrl-0 = <&pinctrl_fec_rgmii>;
239 phy-handle = <&ethphypdk>;
240 phy-mode = "rgmii-id";
243 ethphypdk: ethernet-phy@7 { /* Micrel KSZ9131RNXI */
244 compatible = "ethernet-phy-id0022.1642",
245 "ethernet-phy-ieee802.3-c22";
246 interrupt-parent = <&gpio4>;
248 pinctrl-0 = <&pinctrl_ethphy1>;
249 pinctrl-names = "default";
251 reset-assert-us = <1000>;
253 reset-deassert-us = <120000>;
254 reset-gpios = <&gpio4 2 GPIO_ACTIVE_LOW>;
268 ddc-i2c-bus = <&i2cmuxed1>;
269 pinctrl-names = "default";
270 pinctrl-0 = <&pinctrl_hdmi>;
276 remote-endpoint = <&hdmi_connector_in>;
292 clock-names = "ref";
293 fsl,refclk-pad-mode = <IMX8_PCIE_REFCLK_PAD_INPUT>;
298 fsl,max-link-speed = <3>;
299 reset-gpio = <&gpio1 6 GPIO_ACTIVE_LOW>;
304 pinctrl-names = "default";
305 pinctrl-0 = <&pinctrl_sai3>;
306 assigned-clocks = <&clk IMX8MP_CLK_SAI3>;
307 assigned-clock-parents = <&clk IMX8MP_AUDIO_PLL1_OUT>;
308 assigned-clock-rates = <12288000>;
309 fsl,sai-mclk-direction-output;
314 usb-role-switch;
318 remote-endpoint = <&ptn5150_out_ep>;
324 fsl,disable-port-power-control;
325 fsl,permanently-attached;
330 /delete-property/ pinctrl-names;
331 /delete-property/ pinctrl-0;
341 pinctrl-0 = <&pinctrl_hog_base