mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] arm64: dts: rockchip: Add initial support for Khadas Edge 2L
@ 2026-03-17  4:02 Gray Huang
  2026-03-17  4:02 ` [PATCH 1/2] dt-bindings: arm: rockchip: Add Khadas Edge 2L board Gray Huang
  2026-03-17  4:02 ` [PATCH 2/2] arm64: dts: " Gray Huang
  0 siblings, 2 replies; 7+ messages in thread
From: Gray Huang @ 2026-03-17  4:02 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.

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] 7+ messages in thread

* [PATCH 1/2] dt-bindings: arm: rockchip: Add Khadas Edge 2L board
  2026-03-17  4:02 [PATCH 0/2] arm64: dts: rockchip: Add initial support for Khadas Edge 2L Gray Huang
@ 2026-03-17  4:02 ` Gray Huang
  2026-03-17  7:57   ` Krzysztof Kozlowski
  2026-03-17  4:02 ` [PATCH 2/2] arm64: dts: " Gray Huang
  1 sibling, 1 reply; 7+ messages in thread
From: Gray Huang @ 2026-03-17  4:02 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

Edge 2L is an ultraslim, credit-card sized ARM PC designed by Khadas.
It has quite a few rich peripherals.

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] 7+ messages in thread

* [PATCH 2/2] arm64: dts: rockchip: Add Khadas Edge 2L board
  2026-03-17  4:02 [PATCH 0/2] arm64: dts: rockchip: Add initial support for Khadas Edge 2L Gray Huang
  2026-03-17  4:02 ` [PATCH 1/2] dt-bindings: arm: rockchip: Add Khadas Edge 2L board Gray Huang
@ 2026-03-17  4:02 ` Gray Huang
  2026-03-17  7:58   ` Krzysztof Kozlowski
  1 sibling, 1 reply; 7+ messages in thread
From: Gray Huang @ 2026-03-17  4:02 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

Edge 2L is an ultraslim, credit-card sized ARM PC designed by Khadas.

In this patch, we will add basic device tree support for this board,
Only eMMC, UART are enabled, so it's capable of booting into
a basic Linux system from eMMC via 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] 7+ messages in thread

* Re: [PATCH 1/2] dt-bindings: arm: rockchip: Add Khadas Edge 2L board
  2026-03-17  4:02 ` [PATCH 1/2] dt-bindings: arm: rockchip: Add Khadas Edge 2L board Gray Huang
@ 2026-03-17  7:57   ` Krzysztof Kozlowski
  2026-03-17  9:48     ` Gray Huang
  0 siblings, 1 reply; 7+ messages in thread
From: Krzysztof Kozlowski @ 2026-03-17  7:57 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 12:02:47PM +0800, Gray Huang wrote:
> Edge 2L is an ultraslim, credit-card sized ARM PC designed by Khadas.
> It has quite a few rich peripherals.

Drop marketing, please. Every board manufacturer claims they have rich
peripherals.

> 
> 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>

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>

Best regards,
Krzysztof


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

* Re: [PATCH 2/2] arm64: dts: rockchip: Add Khadas Edge 2L board
  2026-03-17  4:02 ` [PATCH 2/2] arm64: dts: " Gray Huang
@ 2026-03-17  7:58   ` Krzysztof Kozlowski
  2026-03-17 10:00     ` Gray Huang
  0 siblings, 1 reply; 7+ messages in thread
From: Krzysztof Kozlowski @ 2026-03-17  7:58 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 12:02:48PM +0800, Gray Huang wrote:
> Edge 2L is an ultraslim, credit-card sized ARM PC designed by Khadas.
> 
> In this patch, we will add basic device tree support for this board,

Please do not use "This commit/patch/change", but imperative mood. See
longer explanation here:
https://elixir.bootlin.com/linux/v6.16/source/Documentation/process/submitting-patches.rst#L94

> Only eMMC, UART are enabled, so it's capable of booting into
> a basic Linux system from eMMC via serial console.

Best regards,
Krzysztof


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

* Re: [PATCH 1/2] dt-bindings: arm: rockchip: Add Khadas Edge 2L board
  2026-03-17  7:57   ` Krzysztof Kozlowski
@ 2026-03-17  9:48     ` Gray Huang
  0 siblings, 0 replies; 7+ messages in thread
From: Gray Huang @ 2026-03-17  9:48 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 Xie

> On Tue, Mar 17, 2026 at 12:02:47PM +0800, Gray Huang wrote:
>> Edge 2L is an ultraslim, credit-card sized ARM PC designed by Khadas.
>> It has quite a few rich peripherals.
>
>Drop marketing, please. Every board manufacturer claims they have rich
>peripherals.
>
Hi Krzysztof,

Thanks for the review. I will remove the marketing descriptions in the v2 patch.
>>

Best regards,
Gray

On Tue, Mar 17, 2026 at 12:02:47PM +0800, Gray Huang wrote:
> Edge 2L is an ultraslim, credit-card sized ARM PC designed by Khadas.
> It has quite a few rich peripherals.

Drop marketing, please. Every board manufacturer claims they have rich
peripherals.

>
> 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>

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>

Best regards,
Krzysztof

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

* Re: [PATCH 2/2] arm64: dts: rockchip: Add Khadas Edge 2L board
  2026-03-17  7:58   ` Krzysztof Kozlowski
@ 2026-03-17 10:00     ` Gray Huang
  0 siblings, 0 replies; 7+ messages in thread
From: Gray Huang @ 2026-03-17 10:00 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 Xie

>On Tue, Mar 17, 2026 at 12:02:48PM +0800, Gray Huang wrote:
>> Edge 2L is an ultraslim, credit-card sized ARM PC designed by Khadas.
>>
>> In this patch, we will add basic device tree support for this board,
>
>Please do not use "This commit/patch/change", but imperative mood. See
>longer explanation here:
>https://elixir.bootlin.com/linux/v6.16/source/Documentation/process/submitting-patches.rst#L94

Thanks for the review and the pointer. 
I have rewritten the commit message using the imperative mood in the v2 patch series.

Best regards,
Gray

>
>> Only eMMC, UART are enabled, so it's capable of booting into
>> a basic Linux system from eMMC via serial console.
>
>Best regards,
>Krzysztof


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

end of thread, other threads:[~2026-03-17 10:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-17  4:02 [PATCH 0/2] arm64: dts: rockchip: Add initial support for Khadas Edge 2L Gray Huang
2026-03-17  4:02 ` [PATCH 1/2] dt-bindings: arm: rockchip: Add Khadas Edge 2L board Gray Huang
2026-03-17  7:57   ` Krzysztof Kozlowski
2026-03-17  9:48     ` Gray Huang
2026-03-17  4:02 ` [PATCH 2/2] arm64: dts: " Gray Huang
2026-03-17  7:58   ` Krzysztof Kozlowski
2026-03-17 10:00     ` Gray Huang

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®