Debian Codegraph @

scripts/dtc/include-prefixes/arm64/rockchip/rk3328-nanopi-r2s-plus.dts

raw
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2 /*
3 * (C) Copyright 2018 FriendlyElec Computer Tech. Co., Ltd.
4 * (http://www.friendlyarm.com)
5 *
6 * (C) Copyright 2016 Rockchip Electronics Co., Ltd
7 */
8
9 /dts-v1/;
10
11 #include "rk3328-nanopi-r2s.dtsi"
12
13 / {
14 compatible = "friendlyarm,nanopi-r2s-plus", "rockchip,rk3328";
15 model = "FriendlyElec NanoPi R2S Plus";
16
17 aliases {
18 mmc1 = &emmc;
19 };
20 };
21
22 &emmc {
23 bus-width = <8>;
24 cap-mmc-highspeed;
25 disable-wp;
26 mmc-hs200-1_8v;
27 non-removable;
28 pinctrl-names = "default";
29 pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
30 status = "okay";
31 };
32
33 &gmac2io {
34 phy-handle = <&rtl8211e>;
35 tx_delay = <0x24>;
36 rx_delay = <0x18>;
37
38 mdio {
39 rtl8211e: ethernet-phy@1 {
40 reg = <1>;
41 pinctrl-0 = <&eth_phy_reset_pin>;
42 pinctrl-names = "default";
43 reset-assert-us = <10000>;
44 reset-deassert-us = <50000>;
45 reset-gpios = <&gpio1 RK_PC2 GPIO_ACTIVE_LOW>;
46 };
47 };
48 };