ARM: dts: at91: Use the generic "crypto" node name for the crypto IPs
authorTudor Ambarus <tudor.ambarus@microchip.com>
Tue, 8 Feb 2022 11:12:25 +0000 (13:12 +0200)
committerNicolas Ferre <nicolas.ferre@microchip.com>
Thu, 24 Feb 2022 18:30:41 +0000 (19:30 +0100)
The DT specification recommeds that:
"The name of a node should be somewhat generic, reflecting the function of
the device and not its precise programming model. If appropriate, the name
should be one of the following choices:"
"crypto" being the recommendation for the crypto nodes. Follow the DT
recommendation and use the generic "crypto" node name for the at91 crypto
IPs. While at this, add labels to the crypto nodes where they missed, for
easier reference purposes.

Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20220208111225.234685-1-tudor.ambarus@microchip.com
arch/arm/boot/dts/sam9x60.dtsi
arch/arm/boot/dts/sama5d2.dtsi
arch/arm/boot/dts/sama5d3.dtsi
arch/arm/boot/dts/sama5d4.dtsi

index e3afa1dae2079844c0f0b6d04f01b411d946b5dc..998629a3c34f203fb530a9372009bba70d55e219 100644 (file)
                                clock-names = "pclk", "gclk";
                        };
 
-                       sha: sha@f002c000 {
+                       sha: crypto@f002c000 {
                                compatible = "atmel,at91sam9g46-sha";
                                reg = <0xf002c000 0x100>;
                                interrupts = <41 IRQ_TYPE_LEVEL_HIGH 0>;
                                clocks = <&pmc PMC_TYPE_PERIPHERAL 38>;
                        };
 
-                       aes: aes@f0034000 {
+                       aes: crypto@f0034000 {
                                compatible = "atmel,at91sam9g46-aes";
                                reg = <0xf0034000 0x100>;
                                interrupts = <39 IRQ_TYPE_LEVEL_HIGH 0>;
                                clock-names = "aes_clk";
                        };
 
-                       tdes: tdes@f0038000 {
+                       tdes: crypto@f0038000 {
                                compatible = "atmel,at91sam9g46-tdes";
                                reg = <0xf0038000 0x100>;
                                interrupts = <40 IRQ_TYPE_LEVEL_HIGH 0>;
index 1b070376d67aa3ac6f5bd98d4316f2ffbee7f026..89c71d419f82ab78d532577352a2345277f4e0f5 100644 (file)
                                status = "disabled";
                        };
 
-                       sha@f0028000 {
+                       sha: crypto@f0028000 {
                                compatible = "atmel,at91sam9g46-sha";
                                reg = <0xf0028000 0x100>;
                                interrupts = <12 IRQ_TYPE_LEVEL_HIGH 0>;
                                clock-names = "sha_clk";
                        };
 
-                       aes@f002c000 {
+                       aes: crypto@f002c000 {
                                compatible = "atmel,at91sam9g46-aes";
                                reg = <0xf002c000 0x100>;
                                interrupts = <9 IRQ_TYPE_LEVEL_HIGH 0>;
                                #gpio-cells = <2>;
                        };
 
-                       tdes@fc044000 {
+                       tdes: crypto@fc044000 {
                                compatible = "atmel,at91sam9g46-tdes";
                                reg = <0xfc044000 0x100>;
                                interrupts = <11 IRQ_TYPE_LEVEL_HIGH 0>;
index d1841bffe3c576a495fbaf9df6399b5a946129af..8fa423c52592d246df438faad08af525558fe5fd 100644 (file)
                                status = "disabled";
                        };
 
-                       sha@f8034000 {
+                       sha: crypto@f8034000 {
                                compatible = "atmel,at91sam9g46-sha";
                                reg = <0xf8034000 0x100>;
                                interrupts = <42 IRQ_TYPE_LEVEL_HIGH 0>;
                                clock-names = "sha_clk";
                        };
 
-                       aes@f8038000 {
+                       aes: crypto@f8038000 {
                                compatible = "atmel,at91sam9g46-aes";
                                reg = <0xf8038000 0x100>;
                                interrupts = <43 IRQ_TYPE_LEVEL_HIGH 0>;
                                clock-names = "aes_clk";
                        };
 
-                       tdes@f803c000 {
+                       tdes: crypto@f803c000 {
                                compatible = "atmel,at91sam9g46-tdes";
                                reg = <0xf803c000 0x100>;
                                interrupts = <44 IRQ_TYPE_LEVEL_HIGH 0>;
index 4de164905e03c2e63d14207d8229d78991243986..7b9242664875c05170091c838c7bd28598d9eab2 100644 (file)
                                status = "disabled";
                        };
 
-                       aes@fc044000 {
+                       aes: crypto@fc044000 {
                                compatible = "atmel,at91sam9g46-aes";
                                reg = <0xfc044000 0x100>;
                                interrupts = <12 IRQ_TYPE_LEVEL_HIGH 0>;
                                clock-names = "aes_clk";
                        };
 
-                       tdes@fc04c000 {
+                       tdes: crpyto@fc04c000 {
                                compatible = "atmel,at91sam9g46-tdes";
                                reg = <0xfc04c000 0x100>;
                                interrupts = <14 IRQ_TYPE_LEVEL_HIGH 0>;
                                clock-names = "tdes_clk";
                        };
 
-                       sha@fc050000 {
+                       sha: crypto@fc050000 {
                                compatible = "atmel,at91sam9g46-sha";
                                reg = <0xfc050000 0x100>;
                                interrupts = <15 IRQ_TYPE_LEVEL_HIGH 0>;