mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-29 22:43:10 +00:00
7000a60947
The NanoPi R2C is a minor variant of NanoPi R2S with the on-board NIC chip changed from rtl8211e to yt8521s, and otherwise identical to R2S. The device tree is taken from the kernel linux-next branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=004589ff9df5b75672a78b6c3c4cba93202b14c9 Signed-off-by: Tianling Shen <cnsztl@gmail.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
40 lines
876 B
Text
40 lines
876 B
Text
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
/*
|
|
* Copyright (c) 2021 FriendlyElec Computer Tech. Co., Ltd.
|
|
* (http://www.friendlyarm.com)
|
|
*
|
|
* Copyright (c) 2021-2023 Tianling Shen <cnsztl@gmail.com>
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include "rk3328-nanopi-r2s.dts"
|
|
|
|
/ {
|
|
model = "FriendlyElec NanoPi R2C";
|
|
compatible = "friendlyarm,nanopi-r2c", "rockchip,rk3328";
|
|
};
|
|
|
|
&gmac2io {
|
|
phy-handle = <&yt8521s>;
|
|
tx_delay = <0x22>;
|
|
rx_delay = <0x12>;
|
|
|
|
mdio {
|
|
/delete-node/ ethernet-phy@1;
|
|
|
|
yt8521s: ethernet-phy@3 {
|
|
compatible = "ethernet-phy-ieee802.3-c22";
|
|
reg = <3>;
|
|
|
|
motorcomm,clk-out-frequency-hz = <125000000>;
|
|
motorcomm,keep-pll-enabled;
|
|
motorcomm,auto-sleep-disabled;
|
|
|
|
pinctrl-0 = <ð_phy_reset_pin>;
|
|
pinctrl-names = "default";
|
|
reset-assert-us = <10000>;
|
|
reset-deassert-us = <50000>;
|
|
reset-gpios = <&gpio1 RK_PC2 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
};
|