Skip to contentSkip to conversation

ARM: dts: microchip: rng node name and label tweaks

PATCH Applied Alexander Dahl 2 participants 4 messages Sep 17, 2024 – Oct 20, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

v2 cover ARM: dts: microchip: rng node name and label tweaks

Hello everyone,

this started out as a single trivial patch adding labels to device tree nodes, so I could reference those in board files.

Greets
Alex

(series based on v6.11)

v2:
- Add second patch to unify node names

v1:
- Link: https://lore.kernel.org/linux-devicetree/[email protected]/T/#u

Alexander Dahl (2):
ARM: dts: microchip: Add trng labels for all at91 SoCs
ARM: dts: microchip: Unify rng node names

 arch/arm/boot/dts/microchip/at91sam9g45.dtsi | 2 +-
 arch/arm/boot/dts/microchip/sam9x60.dtsi     | 2 +-
 arch/arm/boot/dts/microchip/sama5d2.dtsi     | 2 +-
 arch/arm/boot/dts/microchip/sama5d3.dtsi     | 2 +-
 arch/arm/boot/dts/microchip/sama5d4.dtsi     | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

base-commit: 98f7e32f20d28ec452afb208f9cffc08448a2652

Signature · 1 line
2.39.5
#1 lore raw

PATCH v2 1/2 ARM: dts: microchip: Add trng labels for all at91 SoCs

SAM9X60 and SAMA7G5 already have those labels. Add it for the other SoC families so it can be referenced in board files.

---
 arch/arm/boot/dts/microchip/at91sam9g45.dtsi | 2 +-
 arch/arm/boot/dts/microchip/sama5d2.dtsi     | 2 +-
 arch/arm/boot/dts/microchip/sama5d3.dtsi     | 2 +-
 arch/arm/boot/dts/microchip/sama5d4.dtsi     | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
arch/arm/boot/dts/microchip/at91sam9g45.dtsi +1 -1
index 325c63a53118..02bd5a1833e8 100644
@@ -753,7 +753,7 @@ macb0: ethernet@fffbc000 {
 				status = "disabled";
 			};
 
-			trng@fffcc000 {
+			trng: trng@fffcc000 {
 				compatible = "atmel,at91sam9g45-trng";
 				reg = <0xfffcc000 0x100>;
 				interrupts = <6 IRQ_TYPE_LEVEL_HIGH 0>;
arch/arm/boot/dts/microchip/sama5d2.dtsi +1 -1
index 5f8e297e19ed..2fefe3efa769 100644
@@ -1019,7 +1019,7 @@ AT91_XDMAC_DT_PER_IF(1) |
 				};
 			};
 
-			trng@fc01c000 {
+			trng: trng@fc01c000 {
 				compatible = "atmel,at91sam9g45-trng";
 				reg = <0xfc01c000 0x100>;
 				interrupts = <47 IRQ_TYPE_LEVEL_HIGH 0>;
arch/arm/boot/dts/microchip/sama5d3.dtsi +1 -1
index d4fc0c1dfc10..8335e0c8066f 100644
@@ -419,7 +419,7 @@ tdes: crypto@f803c000 {
 				clock-names = "tdes_clk";
 			};
 
-			trng@f8040000 {
+			trng: trng@f8040000 {
 				compatible = "atmel,at91sam9g45-trng";
 				reg = <0xf8040000 0x100>;
 				interrupts = <45 IRQ_TYPE_LEVEL_HIGH 0>;
arch/arm/boot/dts/microchip/sama5d4.dtsi +1 -1
index 58ceed997889..20b8a9b123e1 100644
@@ -658,7 +658,7 @@ macb1: ethernet@fc028000 {
 				status = "disabled";
 			};
 
-			trng@fc030000 {
+			trng: trng@fc030000 {
 				compatible = "atmel,at91sam9g45-trng";
 				reg = <0xfc030000 0x100>;
 				interrupts = <53 IRQ_TYPE_LEVEL_HIGH 0>;
Signature · 1 line
2.39.5
#2 lore raw

PATCH v2 2/2 ARM: dts: microchip: Unify rng node names

In reply to Alexander Dahl

Using a generic name common over different platforms and matching the recent atmel rng binding now.

---
 arch/arm/boot/dts/microchip/at91sam9g45.dtsi | 2 +-
 arch/arm/boot/dts/microchip/sam9x60.dtsi     | 2 +-
 arch/arm/boot/dts/microchip/sama5d2.dtsi     | 2 +-
 arch/arm/boot/dts/microchip/sama5d3.dtsi     | 2 +-
 arch/arm/boot/dts/microchip/sama5d4.dtsi     | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)
arch/arm/boot/dts/microchip/at91sam9g45.dtsi +1 -1
index 02bd5a1833e8..072576dd6f7b 100644
@@ -753,7 +753,7 @@ macb0: ethernet@fffbc000 {
 				status = "disabled";
 			};
 
-			trng: trng@fffcc000 {
+			trng: rng@fffcc000 {
 				compatible = "atmel,at91sam9g45-trng";
 				reg = <0xfffcc000 0x100>;
 				interrupts = <6 IRQ_TYPE_LEVEL_HIGH 0>;
arch/arm/boot/dts/microchip/sam9x60.dtsi +1 -1
index 291540e5d81e..b1a4b68e4b0c 100644
@@ -478,7 +478,7 @@ sha: crypto@f002c000 {
 				clock-names = "sha_clk";
 			};
 
-			trng: trng@f0030000 {
+			trng: rng@f0030000 {
 				compatible = "microchip,sam9x60-trng";
 				reg = <0xf0030000 0x100>;
 				interrupts = <38 IRQ_TYPE_LEVEL_HIGH 0>;
arch/arm/boot/dts/microchip/sama5d2.dtsi +1 -1
index 2fefe3efa769..3f99451aef83 100644
@@ -1019,7 +1019,7 @@ AT91_XDMAC_DT_PER_IF(1) |
 				};
 			};
 
-			trng: trng@fc01c000 {
+			trng: rng@fc01c000 {
 				compatible = "atmel,at91sam9g45-trng";
 				reg = <0xfc01c000 0x100>;
 				interrupts = <47 IRQ_TYPE_LEVEL_HIGH 0>;
arch/arm/boot/dts/microchip/sama5d3.dtsi +1 -1
index 8335e0c8066f..4816e87c9777 100644
@@ -419,7 +419,7 @@ tdes: crypto@f803c000 {
 				clock-names = "tdes_clk";
 			};
 
-			trng: trng@f8040000 {
+			trng: rng@f8040000 {
 				compatible = "atmel,at91sam9g45-trng";
 				reg = <0xf8040000 0x100>;
 				interrupts = <45 IRQ_TYPE_LEVEL_HIGH 0>;
arch/arm/boot/dts/microchip/sama5d4.dtsi +1 -1
index 20b8a9b123e1..a577b6ee1747 100644
@@ -658,7 +658,7 @@ macb1: ethernet@fc028000 {
 				status = "disabled";
 			};
 
-			trng: trng@fc030000 {
+			trng: rng@fc030000 {
 				compatible = "atmel,at91sam9g45-trng";
 				reg = <0xfc030000 0x100>;
 				interrupts = <53 IRQ_TYPE_LEVEL_HIGH 0>;
Signature · 1 line
2.39.5
maintainer Applied
#3 lore raw
In reply to Alexander Dahl
Quoted 3 lines · Alexander Dahl

Alexander Dahl (2):
ARM: dts: microchip: Add trng labels for all at91 SoCs
ARM: dts: microchip: Unify rng node names

Applied to at91-dt, thanks!