[PATCH v2 1/2] ARM: dts: microchip: sama7g5: add sama7g5 compatible

Balakrishnan Sambath posted 2 patches 1 year, 11 months ago
[PATCH v2 1/2] ARM: dts: microchip: sama7g5: add sama7g5 compatible
Posted by Balakrishnan Sambath 1 year, 11 months ago
Add sama7g5 flexcom specific compatible in DT with fallbacks.

Signed-off-by: Balakrishnan Sambath <balakrishnan.s@microchip.com>
---
 arch/arm/boot/dts/microchip/sama7g5.dtsi | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/arch/arm/boot/dts/microchip/sama7g5.dtsi b/arch/arm/boot/dts/microchip/sama7g5.dtsi
index 269e0a3ca269..6496a4ca376f 100644
--- a/arch/arm/boot/dts/microchip/sama7g5.dtsi
+++ b/arch/arm/boot/dts/microchip/sama7g5.dtsi
@@ -698,7 +698,7 @@ sha: crypto@e1814000 {
 		};
 
 		flx0: flexcom@e1818000 {
-			compatible = "atmel,sama5d2-flexcom";
+			compatible = "microchip,sama7g5-flexcom", "atmel,sama5d2-flexcom";
 			reg = <0xe1818000 0x200>;
 			clocks = <&pmc PMC_TYPE_PERIPHERAL 38>;
 			#address-cells = <1>;
@@ -723,7 +723,7 @@ uart0: serial@200 {
 		};
 
 		flx1: flexcom@e181c000 {
-			compatible = "atmel,sama5d2-flexcom";
+			compatible = "microchip,sama7g5-flexcom", "atmel,sama5d2-flexcom";
 			reg = <0xe181c000 0x200>;
 			clocks = <&pmc PMC_TYPE_PERIPHERAL 39>;
 			#address-cells = <1>;
@@ -747,7 +747,7 @@ i2c1: i2c@600 {
 		};
 
 		flx3: flexcom@e1824000 {
-			compatible = "atmel,sama5d2-flexcom";
+			compatible = "microchip,sama7g5-flexcom", "atmel,sama5d2-flexcom";
 			reg = <0xe1824000 0x200>;
 			clocks = <&pmc PMC_TYPE_PERIPHERAL 41>;
 			#address-cells = <1>;
@@ -791,7 +791,7 @@ tdes: crypto@e2014000 {
 		};
 
 		flx4: flexcom@e2018000 {
-			compatible = "atmel,sama5d2-flexcom";
+			compatible = "microchip,sama7g5-flexcom", "atmel,sama5d2-flexcom";
 			reg = <0xe2018000 0x200>;
 			clocks = <&pmc PMC_TYPE_PERIPHERAL 42>;
 			#address-cells = <1>;
@@ -817,7 +817,7 @@ uart4: serial@200 {
 		};
 
 		flx7: flexcom@e2024000 {
-			compatible = "atmel,sama5d2-flexcom";
+			compatible = "microchip,sama7g5-flexcom", "atmel,sama5d2-flexcom";
 			reg = <0xe2024000 0x200>;
 			clocks = <&pmc PMC_TYPE_PERIPHERAL 45>;
 			#address-cells = <1>;
@@ -911,7 +911,7 @@ tcb0: timer@e2814000 {
 		};
 
 		flx8: flexcom@e2818000 {
-			compatible = "atmel,sama5d2-flexcom";
+			compatible = "microchip,sama7g5-flexcom", "atmel,sama5d2-flexcom";
 			reg = <0xe2818000 0x200>;
 			clocks = <&pmc PMC_TYPE_PERIPHERAL 46>;
 			#address-cells = <1>;
@@ -935,7 +935,7 @@ i2c8: i2c@600 {
 		};
 
 		flx9: flexcom@e281c000 {
-			compatible = "atmel,sama5d2-flexcom";
+			compatible = "microchip,sama7g5-flexcom", "atmel,sama5d2-flexcom";
 			reg = <0xe281c000 0x200>;
 			clocks = <&pmc PMC_TYPE_PERIPHERAL 47>;
 			#address-cells = <1>;
@@ -959,7 +959,7 @@ i2c9: i2c@600 {
 		};
 
 		flx11: flexcom@e2824000 {
-			compatible = "atmel,sama5d2-flexcom";
+			compatible = "microchip,sama7g5-flexcom", "atmel,sama5d2-flexcom";
 			reg = <0xe2824000 0x200>;
 			clocks = <&pmc PMC_TYPE_PERIPHERAL 49>;
 			#address-cells = <1>;

-- 
2.25.1
Re: [PATCH v2 1/2] ARM: dts: microchip: sama7g5: add sama7g5 compatible
Posted by claudiu beznea 1 year, 11 months ago

On 23.02.2024 11:16, Balakrishnan Sambath wrote:
> Add sama7g5 flexcom specific compatible in DT with fallbacks.
> 
> Signed-off-by: Balakrishnan Sambath <balakrishnan.s@microchip.com>

Applied to at91-dt, thanks!
Re: [PATCH v2 1/2] ARM: dts: microchip: sama7g5: add sama7g5 compatible
Posted by claudiu beznea 1 year, 11 months ago
Hi, Balakrishnan,

On 23.02.2024 11:16, Balakrishnan Sambath wrote:
> Add sama7g5 flexcom specific compatible in DT with fallbacks.

Can you also take care of lan966x and sam9x60?

Thank you,
Claudiu Beznea

> 
> Signed-off-by: Balakrishnan Sambath <balakrishnan.s@microchip.com>
> ---
>  arch/arm/boot/dts/microchip/sama7g5.dtsi | 16 ++++++++--------
>  1 file changed, 8 insertions(+), 8 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/microchip/sama7g5.dtsi b/arch/arm/boot/dts/microchip/sama7g5.dtsi
> index 269e0a3ca269..6496a4ca376f 100644
> --- a/arch/arm/boot/dts/microchip/sama7g5.dtsi
> +++ b/arch/arm/boot/dts/microchip/sama7g5.dtsi
> @@ -698,7 +698,7 @@ sha: crypto@e1814000 {
>  		};
>  
>  		flx0: flexcom@e1818000 {
> -			compatible = "atmel,sama5d2-flexcom";
> +			compatible = "microchip,sama7g5-flexcom", "atmel,sama5d2-flexcom";
>  			reg = <0xe1818000 0x200>;
>  			clocks = <&pmc PMC_TYPE_PERIPHERAL 38>;
>  			#address-cells = <1>;
> @@ -723,7 +723,7 @@ uart0: serial@200 {
>  		};
>  
>  		flx1: flexcom@e181c000 {
> -			compatible = "atmel,sama5d2-flexcom";
> +			compatible = "microchip,sama7g5-flexcom", "atmel,sama5d2-flexcom";
>  			reg = <0xe181c000 0x200>;
>  			clocks = <&pmc PMC_TYPE_PERIPHERAL 39>;
>  			#address-cells = <1>;
> @@ -747,7 +747,7 @@ i2c1: i2c@600 {
>  		};
>  
>  		flx3: flexcom@e1824000 {
> -			compatible = "atmel,sama5d2-flexcom";
> +			compatible = "microchip,sama7g5-flexcom", "atmel,sama5d2-flexcom";
>  			reg = <0xe1824000 0x200>;
>  			clocks = <&pmc PMC_TYPE_PERIPHERAL 41>;
>  			#address-cells = <1>;
> @@ -791,7 +791,7 @@ tdes: crypto@e2014000 {
>  		};
>  
>  		flx4: flexcom@e2018000 {
> -			compatible = "atmel,sama5d2-flexcom";
> +			compatible = "microchip,sama7g5-flexcom", "atmel,sama5d2-flexcom";
>  			reg = <0xe2018000 0x200>;
>  			clocks = <&pmc PMC_TYPE_PERIPHERAL 42>;
>  			#address-cells = <1>;
> @@ -817,7 +817,7 @@ uart4: serial@200 {
>  		};
>  
>  		flx7: flexcom@e2024000 {
> -			compatible = "atmel,sama5d2-flexcom";
> +			compatible = "microchip,sama7g5-flexcom", "atmel,sama5d2-flexcom";
>  			reg = <0xe2024000 0x200>;
>  			clocks = <&pmc PMC_TYPE_PERIPHERAL 45>;
>  			#address-cells = <1>;
> @@ -911,7 +911,7 @@ tcb0: timer@e2814000 {
>  		};
>  
>  		flx8: flexcom@e2818000 {
> -			compatible = "atmel,sama5d2-flexcom";
> +			compatible = "microchip,sama7g5-flexcom", "atmel,sama5d2-flexcom";
>  			reg = <0xe2818000 0x200>;
>  			clocks = <&pmc PMC_TYPE_PERIPHERAL 46>;
>  			#address-cells = <1>;
> @@ -935,7 +935,7 @@ i2c8: i2c@600 {
>  		};
>  
>  		flx9: flexcom@e281c000 {
> -			compatible = "atmel,sama5d2-flexcom";
> +			compatible = "microchip,sama7g5-flexcom", "atmel,sama5d2-flexcom";
>  			reg = <0xe281c000 0x200>;
>  			clocks = <&pmc PMC_TYPE_PERIPHERAL 47>;
>  			#address-cells = <1>;
> @@ -959,7 +959,7 @@ i2c9: i2c@600 {
>  		};
>  
>  		flx11: flexcom@e2824000 {
> -			compatible = "atmel,sama5d2-flexcom";
> +			compatible = "microchip,sama7g5-flexcom", "atmel,sama5d2-flexcom";
>  			reg = <0xe2824000 0x200>;
>  			clocks = <&pmc PMC_TYPE_PERIPHERAL 49>;
>  			#address-cells = <1>;
>