1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 * Copyright 2022 Toradex
7 reg_eth2phy: regulator-eth2phy {
8 compatible = "regulator-fixed";
10 gpio = <&gpio_expander_21 4 GPIO_ACTIVE_HIGH>; /* ETH_PWR_EN */
11 off-on-delay-us = <500000>;
12 regulator-max-microvolt = <3300000>;
13 regulator-min-microvolt = <3300000>;
14 regulator-name = "+V3.3_ETH";
15 startup-delay-us = <200000>;
16 vin-supply = <®_3p3v>;
20 compatible = "simple-audio-card";
21 simple-audio-card,bitclock-master = <&codec_dai>;
22 simple-audio-card,format = "i2s";
23 simple-audio-card,frame-master = <&codec_dai>;
24 simple-audio-card,mclk-fs = <256>;
25 simple-audio-card,name = "imx8mp-nau8822";
26 simple-audio-card,routing =
31 "Line Out", "AUXOUT1",
32 "Line Out", "AUXOUT2",
37 simple-audio-card,widgets =
38 "Headphones", "Headphones",
39 "Line Out", "Line Out",
41 "Microphone", "Mic In",
44 codec_dai: simple-audio-card,codec {
45 clocks = <&audio_blk_ctrl IMX8MP_CLK_AUDIOMIX_SAI1_MCLK1>;
46 sound-dai = <&nau8822_1a>;
49 simple-audio-card,cpu {
56 power-supply = <®_3p3v>;
64 /* EEPROM on display adapter boards */
65 &eeprom_display_adapter {
69 /* EEPROM on Verdin Development board */
70 &eeprom_carrier_board {
79 phy-supply = <®_eth2phy>;
98 vcc-supply = <®_1p8v>;
101 /* Current measurement into module VCC */
107 vs-supply = <®_1p8v>;
111 /* Verdin I2C_2_DSI */
125 nau8822_1a: audio-codec@1a {
126 compatible = "nuvoton,nau8822";
128 pinctrl-names = "default";
129 pinctrl-0 = <&pinctrl_sai1>;
130 #sound-dai-cells = <0>;
153 /* Verdin PWM_3_DSI */
159 vin-supply = <®_3p3v>;
164 assigned-clocks = <&clk IMX8MP_CLK_SAI1>;
165 assigned-clock-parents = <&clk IMX8MP_AUDIO_PLL1_OUT>;
166 assigned-clock-rates = <24576000>;
167 fsl,sai-mclk-direction-output;
171 /* Verdin UART_1, connector X50 through RS485 transceiver */
173 linux,rs485-enabled-at-boot-time;
174 rs485-rts-active-low;
184 /* Verdin UART_3, used as the Linux Console */
200 fsl,permanently-attached;
208 /* Limit frequency on dev board due to long traces and bad signal integrity */
210 max-frequency = <100000000>;