Skip to contentSkip to conversation

dt-bindings: arm: at91: Add info on SAMA5D3-EDS

PATCH Superseded Jerry Ray 2 participants 4 messages Sep 8, 2022 – Sep 9, 2022

Subsystems (3)

v8 of 9 Superseded Latest is v9 →

lore
Share & tools
lore

Jerry Ray

author
#0 lore raw

PATCH v8 1/2 dt-bindings: arm: at91: Add info on SAMA5D3-EDS

Adding the SAMA5D3-EDS board from Microchip into the atmel AT91 board description yaml file.

---
v7->v8:
- correcting patch subject line.
v6->v7:
- Moved the placement of the Microchip SAMA5D3-EDS entry within the file.
v5->v6:
- No code change - patch prefix naming modified to match with others.
v4->v5:
- No change
v3->v4:
- No change
v2->v3:
- No change
v1->v2:
- Added Device Tree documentation for Microchip SAMA5D3-EDS board

---
 Documentation/devicetree/bindings/arm/atmel-at91.yaml | 7 +++++++
 1 file changed, 7 insertions(+)
Documentation/devicetree/bindings/arm/atmel-at91.yaml +7 -0
index 2b7848bb7769..9e2e66a7566d 100644
@@ -127,6 +127,13 @@ properties:
           - const: atmel,sama5d3
           - const: atmel,sama5
 
+      - description: Microchip SAMA5D3 Ethernet Development System Board
+        items:
+          - const: microchip,sama5d3-eds
+          - const: atmel,sama5d36
+          - const: atmel,sama5d3
+          - const: atmel,sama5
+
       - description: CalAmp LMU5000 board
         items:
           - const: calamp,lmu5000
Signature · 1 line
2.17.1
author
#1 lore raw

PATCH v8 2/2 dts: arm: at91: Add SAMA5D3-EDS Board

The SAMA5D3-EDS board is an Ethernet Development Platform allowing for evaluating many Microchip ethernet switch and PHY products. Various daughter cards can connect via an RGMII connector or an RMII connector.

The EDS board is not intended for stand-alone use and has no ethernet capabilities when no daughter board is connected. As such, this device tree is intended to be used with a DT overlay defining the add-on board. To better ensure consistency, some items are defined here as a form of documentation so that all add-on overlays will use the same terms.

---
v7->v8:
- correcting patch subject line.
v6->v7:
- Renamed regulators, making things more consistent.
- Made slow_xtal and main_xtal entries direct overrides.
v5->v6:
- Replaced underscores in names where I can, improving naming.
v4->v5:
- patch now applies to v6.0-rc2
v3->v4:
- Fixed regulators as necessary to get the board to boot from SD Card.
v2->v3:
- Alphabetized pinctrl entries.
- cleaned up a warning in the regulators section.
- License tweaked to 'OR MIT'
- Included Makefile change
v1->v2:
- Modified the compatible field in the device tree to reflect Microchip Ethernet Development System Board.

---
 arch/arm/boot/dts/Makefile             |   1 +
 arch/arm/boot/dts/at91-sama5d3_eds.dts | 307 +++++++++++++++++++++++++
 2 files changed, 308 insertions(+)
 create mode 100644 arch/arm/boot/dts/at91-sama5d3_eds.dts
arch/arm/boot/dts/Makefile +1 -0
index 05d8aef6e5d2..e92e639a2dc3 100644
@@ -61,6 +61,7 @@ dtb-$(CONFIG_SOC_SAM_V7) += \
 	at91-sama5d2_icp.dtb \
 	at91-sama5d2_ptc_ek.dtb \
 	at91-sama5d2_xplained.dtb \
+	at91-sama5d3_eds.dtb \
 	at91-sama5d3_ksz9477_evb.dtb \
 	at91-sama5d3_xplained.dtb \
 	at91-dvk_som60.dtb \
arch/arm/boot/dts/at91-sama5d3_eds.dts new file +307 -0

307 lines not on this page · raw message

Signature · 1 line
2.17.1
#2 lore raw

Re: [linux][PATCH v8 2/2] dts: arm: at91: Add SAMA5D3-EDS Board

Quoted 69 lines · Jerry Ray

The SAMA5D3-EDS board is an Ethernet Development Platform allowing for evaluating many Microchip ethernet switch and PHY products. Various daughter cards can connect via an RGMII connector or an RMII connector.

The EDS board is not intended for stand-alone use and has no ethernet capabilities when no daughter board is connected. As such, this device tree is intended to be used with a DT overlay defining the add-on board. To better ensure consistency, some items are defined here as a form of documentation so that all add-on overlays will use the same terms.

---
v7->v8:
- correcting patch subject line.
v6->v7:
- Renamed regulators, making things more consistent.
- Made slow_xtal and main_xtal entries direct overrides.
v5->v6:
- Replaced underscores in names where I can, improving naming.
v4->v5:
- patch now applies to v6.0-rc2
v3->v4:
- Fixed regulators as necessary to get the board to boot from SD Card.
v2->v3:
- Alphabetized pinctrl entries.
- cleaned up a warning in the regulators section.
- License tweaked to 'OR MIT'
- Included Makefile change
v1->v2:
- Modified the compatible field in the device tree to reflect Microchip Ethernet Development System Board.

---
 arch/arm/boot/dts/Makefile             |   1 +
 arch/arm/boot/dts/at91-sama5d3_eds.dts | 307 +++++++++++++++++++++++++
 2 files changed, 308 insertions(+)
 create mode 100644 arch/arm/boot/dts/at91-sama5d3_eds.dts
arch/arm/boot/dts/Makefile +1 -0
index 05d8aef6e5d2..e92e639a2dc3 100644
@@ -61,6 +61,7 @@ dtb-$(CONFIG_SOC_SAM_V7) += \
 	at91-sama5d2_icp.dtb \
 	at91-sama5d2_ptc_ek.dtb \
 	at91-sama5d2_xplained.dtb \
+	at91-sama5d3_eds.dtb \
 	at91-sama5d3_ksz9477_evb.dtb \
 	at91-sama5d3_xplained.dtb \
 	at91-dvk_som60.dtb \
arch/arm/boot/dts/at91-sama5d3_eds.dts new file +12 -0
new file mode 100644
index 000000000000..c7fbf7aa7826
@@ -0,0 +1,307 @@
+// SPDX-License-Identifier: GPL-2.0+ OR MIT
+/*
+ * at91-sama5d3_eds.dts - Device Tree file for the SAMA5D3 Ethernet
+ *    Development System board.
+ *
+ * Copyright (C) 2022 Microchip Technology Inc. and its subsidiaries
+ *
+ * Author: Jerry Ray <[email protected]>
+ */
+/dts-v1/;
+#include "sama5d36.dtsi"
+

arch/arm/boot/dts/at91-sama5d3_eds.dts line 22

Quoted 10 lines
arch/arm/boot/dts/at91-sama5d3_eds.dts new file +10 -0
+/ {
+	model = "SAMA5D3 Ethernet Development System";
+	compatible = "microchip,sama5d3-eds", "atmel,sama5d36",
+		     "atmel,sama5d3", "atmel,sama5";
+
+	chosen {
+		stdout-path = "serial0:115200n8";
+	};
+
+	gpio {

gpio is for GPIO controller. These are keys/buttons and usually it is 'gpio-keys' as node name.

Best regards,
Krzysztof