Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
0002 /*
0003  * Copyright 2022 Toradex
0004  */
0005 
0006 #include "imx8mp-verdin-dahlia.dtsi"
0007 
0008 / {
0009         /* TODO: Audio Codec */
0010 
0011         reg_eth2phy: regulator-eth2phy {
0012                 compatible = "regulator-fixed";
0013                 enable-active-high;
0014                 gpio = <&gpio_expander_21 4 GPIO_ACTIVE_HIGH>; /* ETH_PWR_EN */
0015                 off-on-delay = <500000>;
0016                 regulator-max-microvolt = <3300000>;
0017                 regulator-min-microvolt = <3300000>;
0018                 regulator-name = "+V3.3_ETH";
0019                 startup-delay-us = <200000>;
0020                 vin-supply = <&reg_3p3v>;
0021         };
0022 };
0023 
0024 &fec {
0025         phy-supply = <&reg_eth2phy>;
0026         status = "okay";
0027 };
0028 
0029 &gpio_expander_21 {
0030         status = "okay";
0031         vcc-supply = <&reg_1p8v>;
0032 };
0033 
0034 /* TODO: Verdin I2C_1 with Audio Codec */
0035 
0036 /* Verdin UART_1, connector X50 through RS485 transceiver */
0037 &uart1 {
0038         linux,rs485-enabled-at-boot-time;
0039         rs485-rts-active-low;
0040         rs485-rx-during-tx;
0041 };
0042 
0043 /* Limit frequency on dev board due to long traces and bad signal integrity */
0044 &usdhc2 {
0045         max-frequency = <100000000>;
0046 };