Marcel Ziswiler | f862146 | 2022-07-21 15:46:44 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0-or-later OR MIT |
| 2 | /* |
| 3 | * Copyright 2022 Toradex |
| 4 | */ |
| 5 | |
| 6 | #include "imx8mp-verdin-dahlia.dtsi" |
| 7 | |
| 8 | / { |
| 9 | /* TODO: Audio Codec */ |
| 10 | |
| 11 | reg_eth2phy: regulator-eth2phy { |
| 12 | compatible = "regulator-fixed"; |
| 13 | enable-active-high; |
| 14 | gpio = <&gpio_expander_21 4 GPIO_ACTIVE_HIGH>; /* ETH_PWR_EN */ |
| 15 | off-on-delay = <500000>; |
| 16 | regulator-max-microvolt = <3300000>; |
| 17 | regulator-min-microvolt = <3300000>; |
| 18 | regulator-name = "+V3.3_ETH"; |
| 19 | startup-delay-us = <200000>; |
| 20 | vin-supply = <®_3p3v>; |
| 21 | }; |
| 22 | }; |
| 23 | |
| 24 | &fec { |
| 25 | phy-supply = <®_eth2phy>; |
| 26 | status = "okay"; |
| 27 | }; |
| 28 | |
| 29 | &gpio_expander_21 { |
| 30 | status = "okay"; |
| 31 | vcc-supply = <®_1p8v>; |
| 32 | }; |
| 33 | |
| 34 | /* TODO: Verdin I2C_1 with Audio Codec */ |
| 35 | |
| 36 | /* Verdin UART_1, connector X50 through RS485 transceiver */ |
| 37 | &uart1 { |
| 38 | linux,rs485-enabled-at-boot-time; |
| 39 | rs485-rts-active-low; |
| 40 | rs485-rx-during-tx; |
| 41 | }; |
| 42 | |
| 43 | /* Limit frequency on dev board due to long traces and bad signal integrity */ |
| 44 | &usdhc2 { |
| 45 | max-frequency = <100000000>; |
| 46 | }; |