* [PATCH 0/2] arm64: dts: agilex5: add support for debug daughter card
@ 2026-05-08 10:57 Adrian Ng Ho Yin
2026-05-08 10:57 ` [PATCH 1/2] dt-bindings: altera: add compatible for agilex5 socdk " Adrian Ng Ho Yin
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Adrian Ng Ho Yin @ 2026-05-08 10:57 UTC (permalink / raw)
To: Dinh Nguyen, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
devicetree, linux-kernel
Cc: Adrian Ng Ho Yin
The Agilex5 SoCDK supports an optional debug daughter card that requires
a dedicated device tree variant due to differences in peripheral
connectivity compared to the standard SoCDK configuration.
When the debug daughter card is fitted:
- gpio0 and gmac2 are disabled
- gmac0 is enabled with RGMII PHY connectivity
- spi0 is enabled with a <device> peripheral at chip select 0
- The HPS LED is rewired from gpio0/porta to gpio1/portb
The new DTS inherits from socfpga_agilex5_socdk.dts and overrides only
the nodes that differ, keeping the delta minimal.
Adrian Ng Ho Yin (2):
dt-bindings: altera: add compatible for agilex5 socdk debug daughter
card
arm64: dts: agilex5: add support for debug daughter card
.../devicetree/bindings/arm/altera.yaml | 1 +
arch/arm64/boot/dts/intel/Makefile | 1 +
.../dts/intel/socfpga_agilex5_socdk_debug.dts | 50 +++++++++++++++++++
3 files changed, 52 insertions(+)
create mode 100644 arch/arm64/boot/dts/intel/socfpga_agilex5_socdk_debug.dts
--
2.49.GIT
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/2] dt-bindings: altera: add compatible for agilex5 socdk debug daughter card
2026-05-08 10:57 [PATCH 0/2] arm64: dts: agilex5: add support for debug daughter card Adrian Ng Ho Yin
@ 2026-05-08 10:57 ` Adrian Ng Ho Yin
2026-05-08 15:01 ` Conor Dooley
2026-05-08 10:57 ` [PATCH 2/2] arm64: dts: agilex5: add support for " Adrian Ng Ho Yin
2026-05-09 12:05 ` [PATCH 0/2] " Dinh Nguyen
2 siblings, 1 reply; 5+ messages in thread
From: Adrian Ng Ho Yin @ 2026-05-08 10:57 UTC (permalink / raw)
To: Dinh Nguyen, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
devicetree, linux-kernel
Cc: Adrian Ng Ho Yin
Agilex5 devkit supports a debug daughter card that inherits the
configurations from socdk but disables gpio0 and gmac2 and enables gmac0
and spi0.
Signed-off-by: Adrian Ng Ho Yin <adrian.ho.yin.ng@altera.com>
---
Documentation/devicetree/bindings/arm/altera.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/arm/altera.yaml b/Documentation/devicetree/bindings/arm/altera.yaml
index 06513895a159..c17e3bf2b077 100644
--- a/Documentation/devicetree/bindings/arm/altera.yaml
+++ b/Documentation/devicetree/bindings/arm/altera.yaml
@@ -111,6 +111,7 @@ properties:
- enum:
- intel,socfpga-agilex5-socdk
- intel,socfpga-agilex5-socdk-013b
+ - intel,socfpga-agilex5-socdk-debug
- intel,socfpga-agilex5-socdk-modular
- intel,socfpga-agilex5-socdk-nand
- const: intel,socfpga-agilex5
--
2.49.GIT
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/2] arm64: dts: agilex5: add support for debug daughter card
2026-05-08 10:57 [PATCH 0/2] arm64: dts: agilex5: add support for debug daughter card Adrian Ng Ho Yin
2026-05-08 10:57 ` [PATCH 1/2] dt-bindings: altera: add compatible for agilex5 socdk " Adrian Ng Ho Yin
@ 2026-05-08 10:57 ` Adrian Ng Ho Yin
2026-05-09 12:05 ` [PATCH 0/2] " Dinh Nguyen
2 siblings, 0 replies; 5+ messages in thread
From: Adrian Ng Ho Yin @ 2026-05-08 10:57 UTC (permalink / raw)
To: Dinh Nguyen, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
devicetree, linux-kernel
Cc: Adrian Ng Ho Yin, Niravkumar L Rabara
Add a new dts for the Agilex 5 SoCDK when fitted with the debug daughter
card where several peripherals such as gpio0 and gmac2 are disabled while
gmac0 and spi0 are enabled hence requiring a separate device tree.
Signed-off-by: Niravkumar L Rabara <nirav.rabara@altera.com>
Signed-off-by: Adrian Ng Ho Yin <adrian.ho.yin.ng@altera.com>
---
arch/arm64/boot/dts/intel/Makefile | 1 +
.../dts/intel/socfpga_agilex5_socdk_debug.dts | 50 +++++++++++++++++++
2 files changed, 51 insertions(+)
create mode 100644 arch/arm64/boot/dts/intel/socfpga_agilex5_socdk_debug.dts
diff --git a/arch/arm64/boot/dts/intel/Makefile b/arch/arm64/boot/dts/intel/Makefile
index 088a03b89c99..84982bf13ee5 100644
--- a/arch/arm64/boot/dts/intel/Makefile
+++ b/arch/arm64/boot/dts/intel/Makefile
@@ -6,6 +6,7 @@ dtb-$(CONFIG_ARCH_INTEL_SOCFPGA) += socfpga_agilex_n6000.dtb \
socfpga_agilex3_socdk.dtb \
socfpga_agilex5_socdk.dtb \
socfpga_agilex5_socdk_013b.dtb \
+ socfpga_agilex5_socdk_debug.dtb \
socfpga_agilex5_socdk_modular.dtb \
socfpga_agilex5_socdk_nand.dtb \
socfpga_agilex7m_socdk.dtb \
diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex5_socdk_debug.dts b/arch/arm64/boot/dts/intel/socfpga_agilex5_socdk_debug.dts
new file mode 100644
index 000000000000..3981a9e876b0
--- /dev/null
+++ b/arch/arm64/boot/dts/intel/socfpga_agilex5_socdk_debug.dts
@@ -0,0 +1,50 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Copyright (C) 2026, Altera Corporation
+ */
+#include "socfpga_agilex5_socdk.dts"
+
+/ {
+ model = "SoCFPGA Agilex5 SoCDK - debug daughter card";
+ compatible = "intel,socfpga-agilex5-socdk-debug", "intel,socfpga-agilex5";
+
+ leds {
+ led-0 {
+ gpios = <&portb 12 GPIO_ACTIVE_HIGH>;
+ };
+ };
+};
+
+&gmac0 {
+ status = "okay";
+ phy-mode = "rgmii"; /* TX/RX clock delays provided by Agilex5 I/O hardware */
+ phy-handle = <&emac0_phy0>;
+
+ max-frame-size = <9000>;
+
+ mdio0 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ compatible = "snps,dwmac-mdio";
+ emac0_phy0: ethernet-phy@0 {
+ reg = <0>;
+ };
+ };
+};
+
+&gmac2 {
+ status = "disabled";
+};
+
+&gpio0 {
+ status = "disabled";
+};
+
+&spi0 {
+ status = "okay";
+ spidev@0 {
+ compatible = "rohm,dh2228fv";
+ reg = <0>;
+ spi-max-frequency = <10000000>;
+ };
+};
--
2.49.GIT
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] dt-bindings: altera: add compatible for agilex5 socdk debug daughter card
2026-05-08 10:57 ` [PATCH 1/2] dt-bindings: altera: add compatible for agilex5 socdk " Adrian Ng Ho Yin
@ 2026-05-08 15:01 ` Conor Dooley
0 siblings, 0 replies; 5+ messages in thread
From: Conor Dooley @ 2026-05-08 15:01 UTC (permalink / raw)
To: Adrian Ng Ho Yin
Cc: Dinh Nguyen, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
devicetree, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 75 bytes --]
Acked-by: Conor Dooley <conor.dooley@microchip.com>
pw-bot: not-applicable
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 0/2] arm64: dts: agilex5: add support for debug daughter card
2026-05-08 10:57 [PATCH 0/2] arm64: dts: agilex5: add support for debug daughter card Adrian Ng Ho Yin
2026-05-08 10:57 ` [PATCH 1/2] dt-bindings: altera: add compatible for agilex5 socdk " Adrian Ng Ho Yin
2026-05-08 10:57 ` [PATCH 2/2] arm64: dts: agilex5: add support for " Adrian Ng Ho Yin
@ 2026-05-09 12:05 ` Dinh Nguyen
2 siblings, 0 replies; 5+ messages in thread
From: Dinh Nguyen @ 2026-05-09 12:05 UTC (permalink / raw)
To: Adrian Ng Ho Yin, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
devicetree, linux-kernel
On 5/8/26 05:57, Adrian Ng Ho Yin wrote:
> The Agilex5 SoCDK supports an optional debug daughter card that requires
> a dedicated device tree variant due to differences in peripheral
> connectivity compared to the standard SoCDK configuration.
>
> When the debug daughter card is fitted:
> - gpio0 and gmac2 are disabled
> - gmac0 is enabled with RGMII PHY connectivity
> - spi0 is enabled with a <device> peripheral at chip select 0
> - The HPS LED is rewired from gpio0/porta to gpio1/portb
>
> The new DTS inherits from socfpga_agilex5_socdk.dts and overrides only
> the nodes that differ, keeping the delta minimal.
>
> Adrian Ng Ho Yin (2):
> dt-bindings: altera: add compatible for agilex5 socdk debug daughter
> card
> arm64: dts: agilex5: add support for debug daughter card
>
Applied!
Thanks,
Dinh
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-05-09 12:05 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-08 10:57 [PATCH 0/2] arm64: dts: agilex5: add support for debug daughter card Adrian Ng Ho Yin
2026-05-08 10:57 ` [PATCH 1/2] dt-bindings: altera: add compatible for agilex5 socdk " Adrian Ng Ho Yin
2026-05-08 15:01 ` Conor Dooley
2026-05-08 10:57 ` [PATCH 2/2] arm64: dts: agilex5: add support for " Adrian Ng Ho Yin
2026-05-09 12:05 ` [PATCH 0/2] " Dinh Nguyen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox