mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] arm64: dts: rockchip: Add initial support for Khadas Edge 2L
@ 2026-03-17  9:07 Gray Huang
  2026-03-17  9:07 ` [PATCH v2 1/2] dt-bindings: arm: rockchip: Add Khadas Edge 2L board Gray Huang
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Gray Huang @ 2026-03-17  9:07 UTC (permalink / raw)
  To: heiko, robh, krzk+dt, conor+dt
  Cc: linux-rockchip, devicetree, linux-arm-kernel, linux-kernel,
	naoki, jonas, chaoyi.chen, i, michael.opdenacker, inindev,
	quentin.schulz, andrew, alchark, pbrobinson, nick, Gray Huang

This patch series adds initial basic support for the Khadas Edge 2L board,
which is based on the Rockchip RK3576 SoC.

To keep the initial review process simple and easy, this series only 
enables the bare minimum peripherals required to boot the board to a shell:
- UART (for serial console)
- eMMC (for root filesystem)

Support for other rich peripherals (such as PCIe Wi-Fi, USB, HDMI, 
microSD, etc.) will be submitted in subsequent patch series once this 
base is merged.

Changes from v1 at [1]:
- dt-bindings: Removed marketing language from the commit message.
- arm64: dts: Rewrote the commit message to use the imperative mood.

[1] https://patchwork.kernel.org/project/linux-rockchip/cover/20260317040248.267154-1-gray.huang@wesion.com/

Gray Huang (2):
  dt-bindings: arm: rockchip: Add Khadas Edge 2L board
  arm64: dts: rockchip: Add Khadas Edge 2L board

 .../devicetree/bindings/arm/rockchip.yaml     |  5 +++
 arch/arm64/boot/dts/rockchip/Makefile         |  1 +
 .../dts/rockchip/rk3576-khadas-edge-2l.dts    | 34 +++++++++++++++++++
 3 files changed, 40 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3576-khadas-edge-2l.dts

-- 
2.34.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH v2 1/2] dt-bindings: arm: rockchip: Add Khadas Edge 2L board
  2026-03-17  9:07 [PATCH v2 0/2] arm64: dts: rockchip: Add initial support for Khadas Edge 2L Gray Huang
@ 2026-03-17  9:07 ` Gray Huang
  2026-03-18  7:56   ` Krzysztof Kozlowski
  2026-03-17  9:07 ` [PATCH v2 2/2] arm64: dts: " Gray Huang
  2026-03-24 19:53 ` [PATCH v2 0/2] arm64: dts: rockchip: Add initial support for Khadas Edge 2L Heiko Stuebner
  2 siblings, 1 reply; 6+ messages in thread
From: Gray Huang @ 2026-03-17  9:07 UTC (permalink / raw)
  To: heiko, robh, krzk+dt, conor+dt
  Cc: linux-rockchip, devicetree, linux-arm-kernel, linux-kernel,
	naoki, jonas, chaoyi.chen, i, michael.opdenacker, inindev,
	quentin.schulz, andrew, alchark, pbrobinson, nick, Gray Huang

The Khadas Edge 2L is a single board computer based on the
Rockchip RK3576 SoC.

Specification:
- Rockchip RK3576
- 8/16GB LPDDR5
- 64/128GB eMMC 5.1
- AP6275P WiFi6 LAN
- HDMI2.1 Type-A
- MIPI-CSI x2
- MIPI-DSI x2
- USB3.1; USB2.0
- RTC clock
- PWM fan
- SPI Flash
- Pads expansion board (UART, USB)

Signed-off-by: Gray Huang <gray.huang@wesion.com>
---
 Documentation/devicetree/bindings/arm/rockchip.yaml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/rockchip.yaml b/Documentation/devicetree/bindings/arm/rockchip.yaml
index ae77ded9fe47..aaf6ed3b364d 100644
--- a/Documentation/devicetree/bindings/arm/rockchip.yaml
+++ b/Documentation/devicetree/bindings/arm/rockchip.yaml
@@ -754,6 +754,11 @@ properties:
           - const: khadas,edge2
           - const: rockchip,rk3588s
 
+      - description: Khadas Edge-2L series boards
+        items:
+          - const: khadas,edge-2l
+          - const: rockchip,rk3576
+
       - description: Kobol Helios64
         items:
           - const: kobol,helios64
-- 
2.34.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH v2 2/2] arm64: dts: rockchip: Add Khadas Edge 2L board
  2026-03-17  9:07 [PATCH v2 0/2] arm64: dts: rockchip: Add initial support for Khadas Edge 2L Gray Huang
  2026-03-17  9:07 ` [PATCH v2 1/2] dt-bindings: arm: rockchip: Add Khadas Edge 2L board Gray Huang
@ 2026-03-17  9:07 ` Gray Huang
  2026-03-24 19:53 ` [PATCH v2 0/2] arm64: dts: rockchip: Add initial support for Khadas Edge 2L Heiko Stuebner
  2 siblings, 0 replies; 6+ messages in thread
From: Gray Huang @ 2026-03-17  9:07 UTC (permalink / raw)
  To: heiko, robh, krzk+dt, conor+dt
  Cc: linux-rockchip, devicetree, linux-arm-kernel, linux-kernel,
	naoki, jonas, chaoyi.chen, i, michael.opdenacker, inindev,
	quentin.schulz, andrew, alchark, pbrobinson, nick, Gray Huang

The Khadas Edge 2L is a single board computer based on the Rockchip
RK3576 SoC.

Add basic device tree support for this board. Currently, only eMMC
and UART are enabled, allowing the board to boot into a basic Linux
system via the serial console.

Signed-off-by: Gray Huang <gray.huang@wesion.com>
---
 arch/arm64/boot/dts/rockchip/Makefile         |  1 +
 .../dts/rockchip/rk3576-khadas-edge-2l.dts    | 34 +++++++++++++++++++
 2 files changed, 35 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3576-khadas-edge-2l.dts

diff --git a/arch/arm64/boot/dts/rockchip/Makefile b/arch/arm64/boot/dts/rockchip/Makefile
index 4d384f153c13..127403666332 100644
--- a/arch/arm64/boot/dts/rockchip/Makefile
+++ b/arch/arm64/boot/dts/rockchip/Makefile
@@ -164,6 +164,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-armsom-sige5.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-armsom-sige5-v1.2-wifibt.dtbo
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-evb1-v10.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-evb1-v10-pcie1.dtbo
+dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-khadas-edge-2l.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-luckfox-omni3576.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-nanopi-m5.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-nanopi-r76s.dtb
diff --git a/arch/arm64/boot/dts/rockchip/rk3576-khadas-edge-2l.dts b/arch/arm64/boot/dts/rockchip/rk3576-khadas-edge-2l.dts
new file mode 100644
index 000000000000..68630379af63
--- /dev/null
+++ b/arch/arm64/boot/dts/rockchip/rk3576-khadas-edge-2l.dts
@@ -0,0 +1,34 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+
+/dts-v1/;
+
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/pinctrl/rockchip.h>
+#include "rk3576.dtsi"
+
+/ {
+	model = "Khadas Edge-2L";
+	compatible = "khadas,edge-2l", "rockchip,rk3576";
+
+	aliases {
+		mmc0 = &sdhci;
+	};
+
+	chosen {
+		stdout-path = "serial0:1500000n8";
+	};
+};
+
+&sdhci {
+	bus-width = <8>;
+	no-sdio;
+	no-sd;
+	non-removable;
+	mmc-hs400-1_8v;
+	mmc-hs400-enhanced-strobe;
+	status = "okay";
+};
+
+&uart0 {
+	status = "okay";
+};
-- 
2.34.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2 1/2] dt-bindings: arm: rockchip: Add Khadas Edge 2L board
  2026-03-17  9:07 ` [PATCH v2 1/2] dt-bindings: arm: rockchip: Add Khadas Edge 2L board Gray Huang
@ 2026-03-18  7:56   ` Krzysztof Kozlowski
  2026-03-18  8:49     ` Gray Huang
  0 siblings, 1 reply; 6+ messages in thread
From: Krzysztof Kozlowski @ 2026-03-18  7:56 UTC (permalink / raw)
  To: Gray Huang
  Cc: heiko, robh, krzk+dt, conor+dt, linux-rockchip, devicetree,
	linux-arm-kernel, linux-kernel, naoki, jonas, chaoyi.chen, i,
	michael.opdenacker, inindev, quentin.schulz, andrew, alchark,
	pbrobinson, nick

On Tue, Mar 17, 2026 at 05:07:30PM +0800, Gray Huang wrote:
> The Khadas Edge 2L is a single board computer based on the
> Rockchip RK3576 SoC.

<form letter>
This is a friendly reminder during the review process.

It looks like you received a tag and forgot to add it.

If you do not know the process, here is a short explanation:
Please add Acked-by/Reviewed-by/Tested-by tags when posting new
versions of patchset, under or above your Signed-off-by tag, unless
patch changed significantly (e.g. new properties added to the DT
bindings). Tag is "received", when provided in a message replied to you
on the mailing list. Tools like b4 can help here. However, there's no
need to repost patches *only* to add the tags. The upstream maintainer
will do that for tags received on the version they apply.

Please read:
https://elixir.bootlin.com/linux/v6.12-rc3/source/Documentation/process/submitting-patches.rst#L577

If a tag was not added on purpose, please state why and what changed.
</form letter>

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2 1/2] dt-bindings: arm: rockchip: Add Khadas Edge 2L board
  2026-03-18  7:56   ` Krzysztof Kozlowski
@ 2026-03-18  8:49     ` Gray Huang
  0 siblings, 0 replies; 6+ messages in thread
From: Gray Huang @ 2026-03-18  8:49 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: heiko, robh, krzk+dt, conor+dt, linux-rockchip, devicetree,
	linux-arm-kernel, linux-kernel, naoki, jonas, chaoyi.chen, i,
	michael.opdenacker, inindev, quentin.schulz, andrew, alchark,
	pbrobinson, nick


On 3/18/26 15:56, Krzysztof Kozlowski wrote:
> On Tue, Mar 17, 2026 at 05:07:30PM +0800, Gray Huang wrote:
>> The Khadas Edge 2L is a single board computer based on the
>> Rockchip RK3576 SoC.
> <form letter>
> This is a friendly reminder during the review process.
>
> It looks like you received a tag and forgot to add it.
>
> If you do not know the process, here is a short explanation:
> Please add Acked-by/Reviewed-by/Tested-by tags when posting new
> versions of patchset, under or above your Signed-off-by tag, unless
> patch changed significantly (e.g. new properties added to the DT
> bindings). Tag is "received", when provided in a message replied to you
> on the mailing list. Tools like b4 can help here. However, there's no
> need to repost patches *only* to add the tags. The upstream maintainer
> will do that for tags received on the version they apply.

My apologies for missing the Acked-by tag in this v2 submission. I will 
keep this in mind for future patches.

  As you suggested, I will not send a v3 just to add this tag.

>
> Please read:
> https://elixir.bootlin.com/linux/v6.12-rc3/source/Documentation/process/submitting-patches.rst#L577
>
> If a tag was not added on purpose, please state why and what changed.
> </form letter>
>
> Best regards,
> Krzysztof
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2 0/2] arm64: dts: rockchip: Add initial support for Khadas Edge 2L
  2026-03-17  9:07 [PATCH v2 0/2] arm64: dts: rockchip: Add initial support for Khadas Edge 2L Gray Huang
  2026-03-17  9:07 ` [PATCH v2 1/2] dt-bindings: arm: rockchip: Add Khadas Edge 2L board Gray Huang
  2026-03-17  9:07 ` [PATCH v2 2/2] arm64: dts: " Gray Huang
@ 2026-03-24 19:53 ` Heiko Stuebner
  2 siblings, 0 replies; 6+ messages in thread
From: Heiko Stuebner @ 2026-03-24 19:53 UTC (permalink / raw)
  To: robh, krzk+dt, conor+dt, Gray Huang
  Cc: Heiko Stuebner, linux-rockchip, devicetree, linux-arm-kernel,
	linux-kernel, naoki, jonas, chaoyi.chen, i, michael.opdenacker,
	inindev, quentin.schulz, andrew, alchark, pbrobinson, nick


On Tue, 17 Mar 2026 17:07:29 +0800, Gray Huang wrote:
> This patch series adds initial basic support for the Khadas Edge 2L board,
> which is based on the Rockchip RK3576 SoC.
> 
> To keep the initial review process simple and easy, this series only
> enables the bare minimum peripherals required to boot the board to a shell:
> - UART (for serial console)
> - eMMC (for root filesystem)
> 
> [...]

Applied, thanks!

[1/2] dt-bindings: arm: rockchip: Add Khadas Edge 2L board
      commit: b1a9b33cff4f58f2507e930d2c5805877928c6f7
[2/2] arm64: dts: rockchip: Add Khadas Edge 2L board
      commit: 254c6ae9c5014497e840a6fb8520f70caef31097

Best regards,
-- 
Heiko Stuebner <heiko@sntech.de>

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-03-24 19:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-17  9:07 [PATCH v2 0/2] arm64: dts: rockchip: Add initial support for Khadas Edge 2L Gray Huang
2026-03-17  9:07 ` [PATCH v2 1/2] dt-bindings: arm: rockchip: Add Khadas Edge 2L board Gray Huang
2026-03-18  7:56   ` Krzysztof Kozlowski
2026-03-18  8:49     ` Gray Huang
2026-03-17  9:07 ` [PATCH v2 2/2] arm64: dts: " Gray Huang
2026-03-24 19:53 ` [PATCH v2 0/2] arm64: dts: rockchip: Add initial support for Khadas Edge 2L Heiko Stuebner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®