Skip to contentSkip to conversation

arm64: dts: rockchip: introduce LinkEase EasePi R1

PATCH Superseded Liangbin Lian 4 participants 14 messages Oct 9, 2025 – Oct 13, 2025

Subsystems (2)

v5 of 6 Superseded Latest is v6 →

lore
Share & tools
lore
#0 lore raw

v5 cover arm64: dts: rockchip: introduce LinkEase EasePi R1

LinkEase EasePi R1 [1] is a high-performance mini router.

Specification:
- Rockchip RK3568
- 2GB/4GB LPDDR4 RAM
- 16GB on-board eMMC
- 1x M.2 key for 2280 NVMe (PCIe 3.0)
- 1x USB 3.0 Type-A
- 1x USB 2.0 Type-C (for USB flashing)
- 2x 1000 Base-T (native, RTL8211F)
- 2x 2500 Base-T (PCIe, RTL8125B)
- 1x HDMI 2.0 Output
- 12v DC Jack
- 1x Power key connected to PMIC
- 2x LEDs (one static power supplied, one GPIO controlled)

[1] https://doc.linkease.com/zh/guide/easepi-r1/hardware.html

---

Changes in v2:
- Change deprecated "rockchip,system-power-controller" to "system-power-controller"
- Link to v1: https://lore.kernel.org/r/[email protected]/

Changes in v3:
- Fix typo ('status = "disable"' -> 'status = "disabled"') found by kernel test robot https://lore.kernel.org/all/[email protected]/
- Link to v2: https://lore.kernel.org/r/[email protected]/

Changes in v4:
- Fix missing "Acked-by" message in patch 1/3 and 2/3
- Link to v3: https://lore.kernel.org/r/[email protected]/

Changes in v5:
- Change gmac phy-mode to 'rgmii-id' and remove {tx|rx}_delay as suggested by Andrew Lunn <[email protected]>
- Fix comments ('not mounted' -> 'not populated') for unpopulated devices as suggested by Andrew Lunn <[email protected]>
- Link to v4: https://lore.kernel.org/r/[email protected]/

---

Liangbin Lian (3):
dt-bindings: vendor-prefixes: Document LinkEase
dt-bindings: arm: rockchip: Add LinkEase EasePi R1
arm64: dts: rockchip: add LinkEase EasePi R1

 .../devicetree/bindings/arm/rockchip.yaml     |   5 +
 .../devicetree/bindings/vendor-prefixes.yaml  |   2 +
 arch/arm64/boot/dts/rockchip/Makefile         |   1 +
 .../boot/dts/rockchip/rk3568-easepi-r1.dts    | 686 ++++++++++++++++++
 4 files changed, 694 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3568-easepi-r1.dts

base-commit: 30d4efb2f5a515a60fe6b0ca85362cbebea21e2f

Signature · 1 line
2.51.0
#1 lore raw

PATCH v5 1/3 dt-bindings: vendor-prefixes: Document LinkEase

LinkEase is a company focusing on the research and development of network equipment and related software and hardware from Shenzhen.

Add vendor prefix for it.

---
 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
index 9ec8947dfcad..db496416b250 100644
@@ -873,6 +873,8 @@ patternProperties:
     description: Lincoln Technology Solutions
   "^lineartechnology,.*":
     description: Linear Technology
+  "^linkease,.*":
+    description: Shenzhen LinkEase Network Technology Co., Ltd.
   "^linksprite,.*":
     description: LinkSprite Technologies, Inc.
   "^linksys,.*":
Signature · 1 line
2.51.0
#2 lore raw

PATCH v5 2/3 dt-bindings: arm: rockchip: Add LinkEase EasePi R1

In reply to Liangbin Lian

LinkEase EasePi R1 is a high-performance mini router based on RK3568.

---
 Documentation/devicetree/bindings/arm/rockchip.yaml | 5 +++++
 1 file changed, 5 insertions(+)
Documentation/devicetree/bindings/arm/rockchip.yaml +5 -0
index 28db6bd6aa5b..ec2271cfb7e1 100644
@@ -726,6 +726,11 @@ properties:
           - const: lckfb,tspi-rk3566
           - const: rockchip,rk3566
 
+      - description: LinkEase EasePi R1
+        items:
+          - const: linkease,easepi-r1
+          - const: rockchip,rk3568
+
       - description: Luckfox Core3576 Module based boards
         items:
           - enum:
Signature · 1 line
2.51.0
#3 lore raw

PATCH v5 3/3 arm64: dts: rockchip: add LinkEase EasePi R1

In reply to Liangbin Lian

LinkEase EasePi R1 [1] is a high-performance mini router.

Specification:
- Rockchip RK3568
- 2GB/4GB LPDDR4 RAM
- 16GB on-board eMMC
- 1x M.2 key for 2280 NVMe (PCIe 3.0)
- 1x USB 3.0 Type-A
- 1x USB 2.0 Type-C (for USB flashing)
- 2x 1000 Base-T (native, RTL8211F)
- 2x 2500 Base-T (PCIe, RTL8125B)
- 1x HDMI 2.0 Output
- 12v DC Jack
- 1x Power key connected to PMIC
- 2x LEDs (one static power supplied, one GPIO controlled)

[1] https://doc.linkease.com/zh/guide/easepi-r1/hardware.html

---
 arch/arm64/boot/dts/rockchip/Makefile         |   1 +
 .../boot/dts/rockchip/rk3568-easepi-r1.dts    | 686 ++++++++++++++++++
 2 files changed, 687 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3568-easepi-r1.dts
arch/arm64/boot/dts/rockchip/Makefile +1 -0
index 099520962ffb..7646ffd7f309 100644
@@ -127,6 +127,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-nanopi-r3s.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-bigtreetech-cb2-manta.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-bigtreetech-pi2.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-bpi-r2-pro.dtb
+dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-easepi-r1.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-evb1-v10.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-fastrhino-r66s.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-fastrhino-r68s.dtb
arch/arm64/boot/dts/rockchip/rk3568-easepi-r1.dts new file +686 -0

686 lines not on this page · raw message

Signature · 1 line
2.51.0
Reviewed-by on v5 3/3
#4 lore raw

Re: [PATCH v5 3/3] arm64: dts: rockchip: add LinkEase EasePi R1

Quoted 49 lines

+&gmac0 {

arch/arm64/boot/dts/rockchip/rk3568-easepi-r1.dts new file +48 -0
+	phy-mode = "rgmii-id";
+	clock_in_out = "input";
+
+	assigned-clocks = <&cru SCLK_GMAC0_RX_TX>, <&cru SCLK_GMAC0>;
+	assigned-clock-parents = <&cru SCLK_GMAC0_RGMII_SPEED>;
+	assigned-clock-rates = <0>, <125000000>;
+	phy-handle = <&rgmii_phy0>;
+	pinctrl-names = "default";
+	pinctrl-0 = <&gmac0_miim
+		     &gmac0_tx_bus2
+		     &gmac0_rx_bus2
+		     &gmac0_rgmii_clk
+		     &gmac0_rgmii_bus>;
+
+	status = "okay";
+};
+
+&gmac1 {
+	phy-mode = "rgmii-id";
+	clock_in_out = "input";
+
+	assigned-clocks = <&cru SCLK_GMAC1_RX_TX>, <&cru SCLK_GMAC1>;
+	assigned-clock-parents = <&cru SCLK_GMAC1_RGMII_SPEED>;
+	assigned-clock-rates = <0>, <125000000>;
+	phy-handle = <&rgmii_phy1>;
+	pinctrl-names = "default";
+	pinctrl-0 = <&gmac1m1_miim
+		     &gmac1m1_tx_bus2
+		     &gmac1m1_rx_bus2
+		     &gmac1m1_rgmii_clk
+		     &gmac1m1_rgmii_bus>;
+
+	status = "okay";
+};
+
+&mdio0 {
+	rgmii_phy0: ethernet-phy@1 {
+		compatible = "ethernet-phy-ieee802.3-c22";
+		reg = <0x1>;
+		pinctrl-0 = <&eth_phy0_reset_pin>;
+		pinctrl-names = "default";
+		reset-assert-us = <20000>;
+		reset-deassert-us = <100000>;
+		reset-gpios = <&gpio2 RK_PD3 GPIO_ACTIVE_LOW>;
+	};
+};
+
+&mdio1 {

arch/arm64/boot/dts/rockchip/rk3568-easepi-r1.dts line 212

Quoted 10 lines
arch/arm64/boot/dts/rockchip/rk3568-easepi-r1.dts new file +10 -0
+	rgmii_phy1: ethernet-phy@1 {
+		compatible = "ethernet-phy-ieee802.3-c22";
+		reg = <0x1>;
+		pinctrl-0 = <&eth_phy1_reset_pin>;
+		pinctrl-names = "default";
+		reset-assert-us = <20000>;
+		reset-deassert-us = <100000>;
+		reset-gpios = <&gpio2 RK_PD1 GPIO_ACTIVE_LOW>;
+	};
+};

For these nodes only:

Andrew

#5 lore raw

Re: [PATCH v5 3/3] arm64: dts: rockchip: add LinkEase EasePi R1

In reply to Liangbin Lian
Quoted 3 lines · Liangbin Lian

+&gmac0 {

(quoted diff) +2 -0
+	phy-mode = "rgmii-id";
+	clock_in_out = "input";

...

Review

Quoted 3 lines

+&gmac1 {

(quoted diff) +2 -0
+	phy-mode = "rgmii-id";
+	clock_in_out = "input";

I am fine with what is being proposed here, but I think this clock_in_out property needs fixing. The description for it is thus:

clock_in_out:
description:
For RGMII, it must be "input", means main clock(125MHz) is not sourced from SoC's PLL, but input from PHY. For RMII, "input" means PHY provides the reference clock(50MHz), "output" means GMAC provides the reference clock.
$ref: /schemas/types.yaml#/definitions/string
enum: [input, output]
default: input

The problems that I have here are:

1) the description states that the only possible value for this when in RGMII mode is "input" which is reasonable, because it's due to the RGMII specification. The driver code is perfectly able to determine whether RGMII has been specified, and set bsp_priv->clock_input itself, relieving DT of this need.

2) bsp_priv->clock_input is only used in gmac_clk_enable() when calling the SoC specific set_clock_selection() method. Only RK3528, RK3576, and RK3588 populate this method. Every other SoC supported by this driver still requires the property:

        ret = of_property_read_string(dev->of_node, "clock_in_out", &strings);
        if (ret) {
                dev_err(dev, "Can not read property: clock_in_out.\n");
                bsp_priv->clock_input = true;
        } ...

If one doesn't provide it, one gets an error print, which is not nice I note that the DT binding doesn't list this property as required, so the code is at odds with the binding.

(I note that your Rockchip SoC is RK3568, which doesn't implement this method.)

So, taking both these points together, the code should not be printing an error if "clock_in_out" is missing when either:

a) RGMII is being used (or maybe only when RMII is being used?)
b) the set_clock_selection() method is not present for the SoC variant.

With the driver fixed as indicated above, I then think clock_in_out in your descriptions becomes unnecessary, and should be removed.

Signature · 2 lines
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!
#6 lore raw

Re: [PATCH v5 3/3] arm64: dts: rockchip: add LinkEase EasePi R1

Quoted 55 lines · Russell King (Oracle) <[email protected]> 于2025年10月9日周四 21:59写道:
Quoted 3 lines · Liangbin Lian

+&gmac0 {

(quoted diff) +2 -0
+     phy-mode = "rgmii-id";
+     clock_in_out = "input";

...

Review

Quoted 3 lines

+&gmac1 {

(quoted diff) +2 -0
+     phy-mode = "rgmii-id";
+     clock_in_out = "input";

I am fine with what is being proposed here, but I think this clock_in_out property needs fixing. The description for it is thus:

clock_in_out:
description:
For RGMII, it must be "input", means main clock(125MHz) is not sourced from SoC's PLL, but input from PHY. For RMII, "input" means PHY provides the reference clock(50MHz), "output" means GMAC provides the reference clock.
$ref: /schemas/types.yaml#/definitions/string
enum: [input, output]
default: input

The problems that I have here are:

1) the description states that the only possible value for this when in RGMII mode is "input" which is reasonable, because it's due to the RGMII specification. The driver code is perfectly able to determine whether RGMII has been specified, and set bsp_priv->clock_input itself, relieving DT of this need.

2) bsp_priv->clock_input is only used in gmac_clk_enable() when calling the SoC specific set_clock_selection() method. Only RK3528, RK3576, and RK3588 populate this method. Every other SoC supported by this driver still requires the property:

        ret = of_property_read_string(dev->of_node, "clock_in_out", &strings);
        if (ret) {
                dev_err(dev, "Can not read property: clock_in_out.\n");
                bsp_priv->clock_input = true;
        } ...

If one doesn't provide it, one gets an error print, which is not nice I note that the DT binding doesn't list this property as required, so the code is at odds with the binding.

(I note that your Rockchip SoC is RK3568, which doesn't implement this method.)

So, taking both these points together, the code should not be printing an error if "clock_in_out" is missing when either:

a) RGMII is being used (or maybe only when RMII is being used?)
b) the set_clock_selection() method is not present for the SoC variant.

Quoted 6 lines

With the driver fixed as indicated above, I then think clock_in_out in your descriptions becomes unnecessary, and should be removed.

--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!

In fact, deleting {tx|rx}_delay also prints errors, but it does not affect the function.
I agree that these prints on the driver should be fixed.

#7 lore raw

Re: [PATCH v5 3/3] arm64: dts: rockchip: add LinkEase EasePi R1

In reply to Russell King (Oracle)
Quoted 58 lines · Russell King (Oracle) <[email protected]> 于2025年10月9日周四 21:59写道:
Quoted 3 lines · Liangbin Lian

+&gmac0 {

(quoted diff) +2 -0
+     phy-mode = "rgmii-id";
+     clock_in_out = "input";

...

Review

Quoted 3 lines

+&gmac1 {

(quoted diff) +2 -0
+     phy-mode = "rgmii-id";
+     clock_in_out = "input";

I am fine with what is being proposed here, but I think this clock_in_out property needs fixing. The description for it is thus:

clock_in_out:
description:
For RGMII, it must be "input", means main clock(125MHz) is not sourced from SoC's PLL, but input from PHY. For RMII, "input" means PHY provides the reference clock(50MHz), "output" means GMAC provides the reference clock.
$ref: /schemas/types.yaml#/definitions/string
enum: [input, output]
default: input

The problems that I have here are:

1) the description states that the only possible value for this when in RGMII mode is "input" which is reasonable, because it's due to the RGMII specification. The driver code is perfectly able to determine whether RGMII has been specified, and set bsp_priv->clock_input itself, relieving DT of this need.

2) bsp_priv->clock_input is only used in gmac_clk_enable() when calling the SoC specific set_clock_selection() method. Only RK3528, RK3576, and RK3588 populate this method. Every other SoC supported by this driver still requires the property:

        ret = of_property_read_string(dev->of_node, "clock_in_out", &strings);
        if (ret) {
                dev_err(dev, "Can not read property: clock_in_out.\n");
                bsp_priv->clock_input = true;
        } ...

If one doesn't provide it, one gets an error print, which is not nice I note that the DT binding doesn't list this property as required, so the code is at odds with the binding.

(I note that your Rockchip SoC is RK3568, which doesn't implement this method.)

So, taking both these points together, the code should not be printing an error if "clock_in_out" is missing when either:

a) RGMII is being used (or maybe only when RMII is being used?)
b) the set_clock_selection() method is not present for the SoC variant.

With the driver fixed as indicated above, I then think clock_in_out in your descriptions becomes unnecessary, and should be removed.

Quoted 8 lines

--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!

clock_in_out:
description:
For RGMII, it must be "input"

This description does not match the actual situation, there are many dts using 'output':
https://elixir.bootlin.com/linux/v6.17/source/arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts#L235
https://elixir.bootlin.com/linux/v6.17/source/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts#L241
https://elixir.bootlin.com/linux/v6.17/source/arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r68s.dts#L33
https://elixir.bootlin.com/linux/v6.17/source/arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5s.dts#L78

#8 lore raw

Re: [PATCH v5 3/3] arm64: dts: rockchip: add LinkEase EasePi R1

Quoted 36 lines · Liangbin Lian
Quoted 35 lines · Russell King (Oracle) <[email protected]> 于2025年10月9日周四 21:59写道:
Quoted 3 lines · Liangbin Lian

+&gmac0 {

(quoted diff) +2 -0
+     phy-mode = "rgmii-id";
+     clock_in_out = "input";

...

Review

Quoted 3 lines

+&gmac1 {

(quoted diff) +2 -0
+     phy-mode = "rgmii-id";
+     clock_in_out = "input";

I am fine with what is being proposed here, but I think this clock_in_out property needs fixing. The description for it is thus:

clock_in_out:
description:
For RGMII, it must be "input", means main clock(125MHz) is not sourced from SoC's PLL, but input from PHY. For RMII, "input" means PHY provides the reference clock(50MHz), "output" means GMAC provides the reference clock.
$ref: /schemas/types.yaml#/definitions/string
enum: [input, output]
default: input

The problems that I have here are:

1) the description states that the only possible value for this when in RGMII mode is "input" which is reasonable, because it's due to the RGMII specification. The driver code is perfectly able to determine whether RGMII has been specified, and set bsp_priv->clock_input itself, relieving DT of this need.

2) bsp_priv->clock_input is only used in gmac_clk_enable() when calling the SoC specific set_clock_selection() method. Only RK3528, RK3576, and RK3588 populate this method. Every other SoC supported by this driver still requires the property:

...

Quoted 10 lines
Quoted 3 lines

clock_in_out:
description:
For RGMII, it must be "input"

This description does not match the actual situation, there are many dts using 'output':
https://elixir.bootlin.com/linux/v6.17/source/arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts#L235
https://elixir.bootlin.com/linux/v6.17/source/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts#L241
https://elixir.bootlin.com/linux/v6.17/source/arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r68s.dts#L33
https://elixir.bootlin.com/linux/v6.17/source/arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5s.dts#L78

For all of the above, whether it is "input" or "output" has no effect as these are all rk3568, and rk3568 does not implement the set_clock_selection() method.

static const struct rk_gmac_ops rk3568_ops = {
        .set_phy_intf_sel = rk3568_set_phy_intf_sel,
        .set_to_rgmii = rk3568_set_to_rgmii,
        .set_to_rmii = rk3568_set_to_rmii,
        .set_speed = rk_set_clk_mac_speed,
        .regs_valid = true,
        .regs = {
                0xfe2a0000, /* gmac0 */
                0xfe010000, /* gmac1 */
                0x0, /* sentinel */
        },
};

I'm going to propose:

1) that the driver should only print an error if "clock_in_out" is missing _and_ the SoC implements the required function.

2) that the driver should print a non-fatal error if this property is specified in DT _and_ the SoC does not implement the function to discourage its use.

3) [tr]x_delay should not print an error for non-RGMII phy interface modes.

I consider it a bug that a driver prints errors for properties that have not been specified that it does not actually require. By doing so, it encourages people to add useless properties to their DT description that will never ever be used (e.g. because they are not relevant for hardware the operating mode that the board is setup for.)

Signature · 2 lines
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!
#9 lore raw

Re: [PATCH v5 3/3] arm64: dts: rockchip: add LinkEase EasePi R1

Quoted 86 lines · Russell King (Oracle) <[email protected]> 于2025年10月13日周一 20:49写道:
Quoted 36 lines · Liangbin Lian
Quoted 35 lines · Russell King (Oracle) <[email protected]> 于2025年10月9日周四 21:59写道:
Quoted 3 lines · Liangbin Lian

+&gmac0 {

(quoted diff) +2 -0
+     phy-mode = "rgmii-id";
+     clock_in_out = "input";

...

Review

Quoted 3 lines

+&gmac1 {

(quoted diff) +2 -0
+     phy-mode = "rgmii-id";
+     clock_in_out = "input";

I am fine with what is being proposed here, but I think this clock_in_out property needs fixing. The description for it is thus:

clock_in_out:
description:
For RGMII, it must be "input", means main clock(125MHz) is not sourced from SoC's PLL, but input from PHY. For RMII, "input" means PHY provides the reference clock(50MHz), "output" means GMAC provides the reference clock.
$ref: /schemas/types.yaml#/definitions/string
enum: [input, output]
default: input

The problems that I have here are:

1) the description states that the only possible value for this when in RGMII mode is "input" which is reasonable, because it's due to the RGMII specification. The driver code is perfectly able to determine whether RGMII has been specified, and set bsp_priv->clock_input itself, relieving DT of this need.

2) bsp_priv->clock_input is only used in gmac_clk_enable() when calling the SoC specific set_clock_selection() method. Only RK3528, RK3576, and RK3588 populate this method. Every other SoC supported by this driver still requires the property:

...

Quoted 10 lines
Quoted 3 lines

clock_in_out:
description:
For RGMII, it must be "input"

This description does not match the actual situation, there are many dts using 'output':
https://elixir.bootlin.com/linux/v6.17/source/arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts#L235
https://elixir.bootlin.com/linux/v6.17/source/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts#L241
https://elixir.bootlin.com/linux/v6.17/source/arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r68s.dts#L33
https://elixir.bootlin.com/linux/v6.17/source/arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5s.dts#L78

For all of the above, whether it is "input" or "output" has no effect as these are all rk3568, and rk3568 does not implement the set_clock_selection() method.

static const struct rk_gmac_ops rk3568_ops = {
        .set_phy_intf_sel = rk3568_set_phy_intf_sel,
        .set_to_rgmii = rk3568_set_to_rgmii,
        .set_to_rmii = rk3568_set_to_rmii,
        .set_speed = rk_set_clk_mac_speed,
        .regs_valid = true,
        .regs = {
                0xfe2a0000, /* gmac0 */
                0xfe010000, /* gmac1 */
                0x0, /* sentinel */
        },
};

I'm going to propose:

1) that the driver should only print an error if "clock_in_out" is missing _and_ the SoC implements the required function.

2) that the driver should print a non-fatal error if this property is specified in DT _and_ the SoC does not implement the function to discourage its use.

3) [tr]x_delay should not print an error for non-RGMII phy interface modes.

I consider it a bug that a driver prints errors for properties that have not been specified that it does not actually require. By doing so, it encourages people to add useless properties to their DT description that will never ever be used (e.g. because they are not relevant for hardware the operating mode that the board is setup for.)

Quoted 3 lines

--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!

I will remove clock_in_out, its default value is 'input'. After removing it, there will only be an error log, which will not affect the function.

#10 lore raw

Re: [PATCH v5 3/3] arm64: dts: rockchip: add LinkEase EasePi R1

In reply to Liangbin Lian

Hi,

arch/arm64/boot/dts/rockchip/rk3568-easepi-r1.dts line 101

Quoted 11 lines
arch/arm64/boot/dts/rockchip/rk3568-easepi-r1.dts new file +11 -0
+	regulator-vdd0v95-25glan {
+		compatible = "regulator-fixed";
+		pinctrl-names = "default";
+		pinctrl-0 = <&pwr_25g_pin>;
+		enable-active-high;
+		gpio = <&gpio3 RK_PB1 GPIO_ACTIVE_HIGH>;
+		regulator-name = "vdd0v95_25glan";
+		regulator-min-microvolt = <950000>;
+		regulator-max-microvolt = <950000>;
+		regulator-boot-on;
+		regulator-always-on;

The property order should be consistent with other nodes.

arch/arm64/boot/dts/rockchip/rk3568-easepi-r1.dts line 112

Quoted 11 lines
arch/arm64/boot/dts/rockchip/rk3568-easepi-r1.dts new file +11 -0
+		vin-supply = <&vcc3v3_sys>;
+	};
+
+	vcc3v3_nvme: regulator-vcc3v3-nvme {
+		compatible = "regulator-fixed";
+		regulator-name = "vcc3v3_nvme";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+		enable-active-high;
+		gpio = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>;
+		vin-supply = <&dc_12v>;

Same here, keep alphabetical order.

arch/arm64/boot/dts/rockchip/rk3568-easepi-r1.dts line 147

Quoted 9 lines
arch/arm64/boot/dts/rockchip/rk3568-easepi-r1.dts new file +8 -0
+		pinctrl-names = "default";
+		pinctrl-0 = <&vcc3v3_nvme_en>;
+	};
 
+		status_led: led-status {
+			gpios = <&gpio2 RK_PD7 GPIO_ACTIVE_HIGH>;
+			color = <LED_COLOR_ID_GREEN>;
+			function = LED_FUNCTION_STATUS;
+			label = "green:status";

The "label" property is deprecated.

arch/arm64/boot/dts/rockchip/rk3568-easepi-r1.dts line 505

Quoted 2 lines

+&pcie2x1 {

arch/arm64/boot/dts/rockchip/rk3568-easepi-r1.dts new file +1 -0
+	reset-gpios = <&gpio3 RK_PA4 GPIO_ACTIVE_HIGH>;

vpcie3v3-supply is missing.

arch/arm64/boot/dts/rockchip/rk3568-easepi-r1.dts line 517

Quoted 6 lines
arch/arm64/boot/dts/rockchip/rk3568-easepi-r1.dts new file +5 -0
+	status = "okay";
+};
 
+&pcie3x1 {
+	num-lanes = <1>;
+	reset-gpios = <&gpio3 RK_PA3 GPIO_ACTIVE_HIGH>;

vpcie3v3-supply is missing.

arch/arm64/boot/dts/rockchip/rk3568-easepi-r1.dts line 602

Quoted 5 lines
arch/arm64/boot/dts/rockchip/rk3568-easepi-r1.dts new file +4 -0
+	status = "okay";
+};
 
+&sdmmc0 {
+	max-frequency = <150000000>;

max-frequency has been defined in rk356x-base.dtsi

arch/arm64/boot/dts/rockchip/rk3568-easepi-r1.dts line 604

Quoted 2 lines
arch/arm64/boot/dts/rockchip/rk3568-easepi-r1.dts new file +2 -0
+	no-sdio;
+	no-mmc;

no-mmc and cap-mmc-highspeed are mutually exclusive.

arch/arm64/boot/dts/rockchip/rk3568-easepi-r1.dts line 616

Quoted 5 lines
arch/arm64/boot/dts/rockchip/rk3568-easepi-r1.dts new file +4 -0
+	bus-width = <4>;
+	cap-mmc-highspeed;
 
+/* Micro SD card slot is not populated */
+/* Wifi module is not populated */

Why would you define them if they aren't on the board?

Review

Quoted 2 lines

+&sdmmc2 {

(quoted diff) +1 -0
+	max-frequency = <150000000>;

max-frequency has been defined in rk356x-base.dtsi

Review

Quoted 2 lines
(quoted diff) +2 -0
+	bus-width = <4>;
+	disable-wp;

disable-wp does not work with sdio

Quoted 1 line

+&usb2phy0_otg {

phy-supply is missing.

Review

Quoted 2 lines
(quoted diff) +2 -0
+	status = "okay";
+};

_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip

#11 lore raw

Re: [PATCH v5 3/3] arm64: dts: rockchip: add LinkEase EasePi R1

Quoted 83 lines · Chukun Pan <[email protected]> 于2025年10月13日周一 15:01写道:

Hi,

arch/arm64/boot/dts/rockchip/rk3568-easepi-r1.dts line 101

Quoted 11 lines
arch/arm64/boot/dts/rockchip/rk3568-easepi-r1.dts new file +11 -0
+     regulator-vdd0v95-25glan {
+             compatible = "regulator-fixed";
+             pinctrl-names = "default";
+             pinctrl-0 = <&pwr_25g_pin>;
+             enable-active-high;
+             gpio = <&gpio3 RK_PB1 GPIO_ACTIVE_HIGH>;
+             regulator-name = "vdd0v95_25glan";
+             regulator-min-microvolt = <950000>;
+             regulator-max-microvolt = <950000>;
+             regulator-boot-on;
+             regulator-always-on;

The property order should be consistent with other nodes.

arch/arm64/boot/dts/rockchip/rk3568-easepi-r1.dts line 112

Quoted 11 lines
arch/arm64/boot/dts/rockchip/rk3568-easepi-r1.dts new file +11 -0
+             vin-supply = <&vcc3v3_sys>;
+     };
+
+     vcc3v3_nvme: regulator-vcc3v3-nvme {
+             compatible = "regulator-fixed";
+             regulator-name = "vcc3v3_nvme";
+             regulator-min-microvolt = <3300000>;
+             regulator-max-microvolt = <3300000>;
+             enable-active-high;
+             gpio = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>;
+             vin-supply = <&dc_12v>;

Same here, keep alphabetical order.

arch/arm64/boot/dts/rockchip/rk3568-easepi-r1.dts line 147

Quoted 9 lines
arch/arm64/boot/dts/rockchip/rk3568-easepi-r1.dts new file +8 -0
+             pinctrl-names = "default";
+             pinctrl-0 = <&vcc3v3_nvme_en>;
+     };
 
+             status_led: led-status {
+                     gpios = <&gpio2 RK_PD7 GPIO_ACTIVE_HIGH>;
+                     color = <LED_COLOR_ID_GREEN>;
+                     function = LED_FUNCTION_STATUS;
+                     label = "green:status";

The "label" property is deprecated.

Quoted 2 lines

+&pcie2x1 {
+ reset-gpios = <&gpio3 RK_PA4 GPIO_ACTIVE_HIGH>;

vpcie3v3-supply is missing.

arch/arm64/boot/dts/rockchip/rk3568-easepi-r1.dts line 517

Quoted 6 lines
arch/arm64/boot/dts/rockchip/rk3568-easepi-r1.dts new file +5 -0
+     status = "okay";
+};
 
+&pcie3x1 {
+     num-lanes = <1>;
+     reset-gpios = <&gpio3 RK_PA3 GPIO_ACTIVE_HIGH>;

vpcie3v3-supply is missing.

arch/arm64/boot/dts/rockchip/rk3568-easepi-r1.dts line 602

Quoted 5 lines
arch/arm64/boot/dts/rockchip/rk3568-easepi-r1.dts new file +4 -0
+     status = "okay";
+};
 
+&sdmmc0 {
+     max-frequency = <150000000>;

max-frequency has been defined in rk356x-base.dtsi

arch/arm64/boot/dts/rockchip/rk3568-easepi-r1.dts line 604

Quoted 2 lines
arch/arm64/boot/dts/rockchip/rk3568-easepi-r1.dts new file +2 -0
+     no-sdio;
+     no-mmc;

no-mmc and cap-mmc-highspeed are mutually exclusive.

arch/arm64/boot/dts/rockchip/rk3568-easepi-r1.dts line 616

Quoted 5 lines
arch/arm64/boot/dts/rockchip/rk3568-easepi-r1.dts new file +4 -0
+     bus-width = <4>;
+     cap-mmc-highspeed;
 
+/* Micro SD card slot is not populated */
+/* Wifi module is not populated */

Why would you define them if they aren't on the board?

Quoted 2 lines

+&sdmmc2 {
+ max-frequency = <150000000>;

max-frequency has been defined in rk356x-base.dtsi

Quoted 11 lines

Review

Quoted 2 lines
(quoted diff) +2 -0
+     bus-width = <4>;
+     disable-wp;

disable-wp does not work with sdio

Quoted 1 line

+&usb2phy0_otg {

phy-supply is missing.

Quoted 2 lines
(quoted diff) +2 -0
+     status = "okay";
+};

Chukun Pan:
Hello!

All except usb2phy0_otg will be fixed.

Quoted 6 lines
Quoted 1 line

+&usb2phy0_otg {

phy-supply is missing.

Quoted 2 lines
(quoted diff) +2 -0
+     status = "okay";
+};

VBUS on usb2phy0_otg is floating, this USB port only works on device(peripheral) mode.
phy-supply is optional, so this should be fine, right?

Liangbin Lian

#12 lore raw

Re: [PATCH v5 3/3] arm64: dts: rockchip: add LinkEase EasePi R1

Hi,

arch/arm64/boot/dts/rockchip/rk3568-easepi-r1.dts line 534

Quoted 6 lines

+&pinctrl {

arch/arm64/boot/dts/rockchip/rk3568-easepi-r1.dts new file +5 -0
+	gmac0 {
+		eth_phy0_reset_pin: eth-phy0-reset-pin {
+			rockchip,pins = <2 RK_PD3 RK_FUNC_GPIO &pcfg_pull_up>;
+		};
+	};

Leave a blank line.

arch/arm64/boot/dts/rockchip/rk3568-easepi-r1.dts line 543

Quoted 9 lines
arch/arm64/boot/dts/rockchip/rk3568-easepi-r1.dts new file +8 -0
+	gmac1 {
+		eth_phy1_reset_pin: eth-phy1-reset-pin {
+			rockchip,pins = <2 RK_PD1 RK_FUNC_GPIO &pcfg_pull_up>;
+		};
+	};
 
+	gpio-leds {
+		status_led_pin: status-led-pin {
+			rockchip,pins =

No line break required here.

Quoted 7 lines
arch/arm64/boot/dts/rockchip/rk3568-easepi-r1.dts new file +3 -0
+				<2 RK_PD7 RK_FUNC_GPIO &pcfg_pull_none>;
+		};
+	};

VBUS on usb2phy0_otg is floating, this USB port only works on device (peripheral) mode.
phy-supply is optional, so this should be fine, right?

Yes, if there is no log like this:
supply phy not found, using dummy regulator

#13 lore raw

Re: [PATCH v5 3/3] arm64: dts: rockchip: add LinkEase EasePi R1

Quoted 34 lines · Chukun Pan <[email protected]> 于2025年10月13日周一 21:00写道:

Hi,

arch/arm64/boot/dts/rockchip/rk3568-easepi-r1.dts line 534

Quoted 6 lines

+&pinctrl {

arch/arm64/boot/dts/rockchip/rk3568-easepi-r1.dts new file +5 -0
+     gmac0 {
+             eth_phy0_reset_pin: eth-phy0-reset-pin {
+                     rockchip,pins = <2 RK_PD3 RK_FUNC_GPIO &pcfg_pull_up>;
+             };
+     };

Leave a blank line.

arch/arm64/boot/dts/rockchip/rk3568-easepi-r1.dts line 543

Quoted 9 lines
arch/arm64/boot/dts/rockchip/rk3568-easepi-r1.dts new file +8 -0
+     gmac1 {
+             eth_phy1_reset_pin: eth-phy1-reset-pin {
+                     rockchip,pins = <2 RK_PD1 RK_FUNC_GPIO &pcfg_pull_up>;
+             };
+     };
 
+     gpio-leds {
+             status_led_pin: status-led-pin {
+                     rockchip,pins =

No line break required here.

Quoted 7 lines
arch/arm64/boot/dts/rockchip/rk3568-easepi-r1.dts new file +3 -0
+                             <2 RK_PD7 RK_FUNC_GPIO &pcfg_pull_none>;
+             };
+     };

VBUS on usb2phy0_otg is floating, this USB port only works on device (peripheral) mode.
phy-supply is optional, so this should be fine, right?

Yes, if there is no log like this:
supply phy not found, using dummy regulator

...

Quoted 6 lines
Quoted 3 lines

VBUS on usb2phy0_otg is floating, this USB port only works on device (peripheral) mode.
phy-supply is optional, so this should be fine, right?

Yes, if there is no log like this:
supply phy not found, using dummy regulator

I have checked the log, 'supply phy not found, using dummy regulator' not present on usb, but present on gmac.