1d1824cf9SSebastian Reichel// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2d1824cf9SSebastian Reichel 3d1824cf9SSebastian Reichel/dts-v1/; 4d1824cf9SSebastian Reichel 5d1824cf9SSebastian Reichel#include <dt-bindings/gpio/gpio.h> 6d1824cf9SSebastian Reichel#include <dt-bindings/pinctrl/rockchip.h> 7d1824cf9SSebastian Reichel#include "rk3588s.dtsi" 8d1824cf9SSebastian Reichel 9d1824cf9SSebastian Reichel/ { 10d1824cf9SSebastian Reichel model = "Radxa ROCK 5 Model A"; 11d1824cf9SSebastian Reichel compatible = "radxa,rock-5a", "rockchip,rk3588s"; 12d1824cf9SSebastian Reichel 13d1824cf9SSebastian Reichel aliases { 14991f136cSChristopher Obbard mmc0 = &sdhci; 15d1824cf9SSebastian Reichel serial2 = &uart2; 16d1824cf9SSebastian Reichel }; 17d1824cf9SSebastian Reichel 18d1824cf9SSebastian Reichel chosen { 19d1824cf9SSebastian Reichel stdout-path = "serial2:1500000n8"; 20d1824cf9SSebastian Reichel }; 21d1824cf9SSebastian Reichel}; 22d1824cf9SSebastian Reichel 23d1824cf9SSebastian Reichel&gmac1 { 24d1824cf9SSebastian Reichel clock_in_out = "output"; 25d1824cf9SSebastian Reichel phy-handle = <&rgmii_phy1>; 26*cda0c2eaSLucas Tanure phy-mode = "rgmii"; 27d1824cf9SSebastian Reichel pinctrl-0 = <&gmac1_miim 28d1824cf9SSebastian Reichel &gmac1_tx_bus2 29d1824cf9SSebastian Reichel &gmac1_rx_bus2 30d1824cf9SSebastian Reichel &gmac1_rgmii_clk 31d1824cf9SSebastian Reichel &gmac1_rgmii_bus>; 32d1824cf9SSebastian Reichel pinctrl-names = "default"; 33d1824cf9SSebastian Reichel tx_delay = <0x3a>; 34*cda0c2eaSLucas Tanure rx_delay = <0x3e>; 35d1824cf9SSebastian Reichel status = "okay"; 36d1824cf9SSebastian Reichel}; 37d1824cf9SSebastian Reichel 38d1824cf9SSebastian Reichel&mdio1 { 39d1824cf9SSebastian Reichel rgmii_phy1: ethernet-phy@1 { 40d1824cf9SSebastian Reichel /* RTL8211F */ 41d1824cf9SSebastian Reichel compatible = "ethernet-phy-id001c.c916"; 42d1824cf9SSebastian Reichel reg = <0x1>; 43d1824cf9SSebastian Reichel pinctrl-names = "default"; 44d1824cf9SSebastian Reichel pinctrl-0 = <&rtl8211f_rst>; 45d1824cf9SSebastian Reichel reset-assert-us = <20000>; 46d1824cf9SSebastian Reichel reset-deassert-us = <100000>; 47d1824cf9SSebastian Reichel reset-gpios = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>; 48d1824cf9SSebastian Reichel }; 49d1824cf9SSebastian Reichel}; 50d1824cf9SSebastian Reichel 51d1824cf9SSebastian Reichel&pinctrl { 52d1824cf9SSebastian Reichel rtl8211f { 53d1824cf9SSebastian Reichel rtl8211f_rst: rtl8211f-rst { 54d1824cf9SSebastian Reichel rockchip,pins = <3 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>; 55d1824cf9SSebastian Reichel }; 56d1824cf9SSebastian Reichel }; 57d1824cf9SSebastian Reichel}; 58d1824cf9SSebastian Reichel 59d1824cf9SSebastian Reichel&sdhci { 60d1824cf9SSebastian Reichel bus-width = <8>; 61d1824cf9SSebastian Reichel no-sdio; 62d1824cf9SSebastian Reichel no-sd; 63d1824cf9SSebastian Reichel non-removable; 64d1824cf9SSebastian Reichel max-frequency = <200000000>; 65d1824cf9SSebastian Reichel mmc-hs400-1_8v; 66d1824cf9SSebastian Reichel mmc-hs400-enhanced-strobe; 67d1824cf9SSebastian Reichel status = "okay"; 68d1824cf9SSebastian Reichel}; 69d1824cf9SSebastian Reichel 70d1824cf9SSebastian Reichel&uart2 { 71d1824cf9SSebastian Reichel pinctrl-0 = <&uart2m0_xfer>; 72d1824cf9SSebastian Reichel status = "okay"; 73d1824cf9SSebastian Reichel}; 74