Skip to content

Commit 387b3bb

Browse files
1715173329mmind
authored andcommitted
arm64: dts: rockchip: Add Xunlong OrangePi R1 Plus LTS
The OrangePi R1 Plus LTS is a minor variant of OrangePi R1 Plus with the on-board NIC chip changed from rtl8211e to yt8531c, and otherwise identical to OrangePi R1 Plus. Signed-off-by: Tianling Shen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
1 parent 564cfdb commit 387b3bb

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed

arch/arm64/boot/dts/rockchip/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3328-evb.dtb
1717
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3328-nanopi-r2c.dtb
1818
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3328-nanopi-r2s.dtb
1919
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3328-orangepi-r1-plus.dtb
20+
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3328-orangepi-r1-plus-lts.dtb
2021
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3328-rock64.dtb
2122
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3328-rock-pi-e.dtb
2223
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3328-roc-cc.dtb
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2+
/*
3+
* Copyright (c) 2016 Xunlong Software. Co., Ltd.
4+
* (http://www.orangepi.org)
5+
*
6+
* Copyright (c) 2021-2023 Tianling Shen <[email protected]>
7+
*/
8+
9+
/dts-v1/;
10+
#include "rk3328-orangepi-r1-plus.dts"
11+
12+
/ {
13+
model = "Xunlong Orange Pi R1 Plus LTS";
14+
compatible = "xunlong,orangepi-r1-plus-lts", "rockchip,rk3328";
15+
};
16+
17+
&gmac2io {
18+
phy-handle = <&yt8531c>;
19+
tx_delay = <0x19>;
20+
rx_delay = <0x05>;
21+
22+
mdio {
23+
/delete-node/ ethernet-phy@1;
24+
25+
yt8531c: ethernet-phy@0 {
26+
compatible = "ethernet-phy-ieee802.3-c22";
27+
reg = <0>;
28+
29+
motorcomm,clk-out-frequency-hz = <125000000>;
30+
motorcomm,keep-pll-enabled;
31+
motorcomm,auto-sleep-disabled;
32+
33+
pinctrl-0 = <&eth_phy_reset_pin>;
34+
pinctrl-names = "default";
35+
reset-assert-us = <15000>;
36+
reset-deassert-us = <50000>;
37+
reset-gpios = <&gpio1 RK_PC2 GPIO_ACTIVE_LOW>;
38+
};
39+
};
40+
};

0 commit comments

Comments
 (0)