]> www.infradead.org Git - linux.git/commitdiff
ARM: dts: microchip: sam9x60: Remove additional compatible string from GPIO node
authorManikandan Muralidharan <manikandan.m@microchip.com>
Wed, 14 Aug 2024 06:13:14 +0000 (11:43 +0530)
committerClaudiu Beznea <claudiu.beznea@tuxon.dev>
Sat, 24 Aug 2024 14:21:30 +0000 (17:21 +0300)
The driver data specific to each pinctrl GPIO bank compatible nodes are not
the same and declaring additional compatible string as fallback has no
specific purpose, hence, removing the "atmel,at91sam9x5-gpio" compatible from
sam9x60 SoC DT.

Note: The at91 pinctrl driver uses "atmel,at91rm9200-gpio" compatible string
to find the number of active GPIO banks and identify the pinmux nodes.It
should used as a constant across all DT for GPIO node banks that uses PIO3
based pinctrl driver

Signed-off-by: Manikandan Muralidharan <manikandan.m@microchip.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20240814061315.112564-4-manikandan.m@microchip.com
Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
arch/arm/boot/dts/microchip/sam9x60.dtsi

index afd3086c98fce3529054cac4bf7776f2bcfaf9fb..76d467cc2892ce15720cd6200fdf3bf6b184c89e 100644 (file)
                                                 >;
 
                                pioA: gpio@fffff400 {
-                                       compatible = "microchip,sam9x60-gpio", "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
+                                       compatible = "microchip,sam9x60-gpio", "atmel,at91rm9200-gpio";
                                        reg = <0xfffff400 0x200>;
                                        interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
                                        #gpio-cells = <2>;
                                };
 
                                pioB: gpio@fffff600 {
-                                       compatible = "microchip,sam9x60-gpio", "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
+                                       compatible = "microchip,sam9x60-gpio", "atmel,at91rm9200-gpio";
                                        reg = <0xfffff600 0x200>;
                                        interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
                                        #gpio-cells = <2>;
                                };
 
                                pioC: gpio@fffff800 {
-                                       compatible = "microchip,sam9x60-gpio", "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
+                                       compatible = "microchip,sam9x60-gpio", "atmel,at91rm9200-gpio";
                                        reg = <0xfffff800 0x200>;
                                        interrupts = <4 IRQ_TYPE_LEVEL_HIGH 1>;
                                        #gpio-cells = <2>;
                                };
 
                                pioD: gpio@fffffa00 {
-                                       compatible = "microchip,sam9x60-gpio", "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
+                                       compatible = "microchip,sam9x60-gpio", "atmel,at91rm9200-gpio";
                                        reg = <0xfffffa00 0x200>;
                                        interrupts = <44 IRQ_TYPE_LEVEL_HIGH 1>;
                                        #gpio-cells = <2>;