]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
ARM: dts: microchip: use recent scl/sda gpio bindings
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 19 May 2025 11:21:05 +0000 (13:21 +0200)
committerClaudiu Beznea <claudiu.beznea@tuxon.dev>
Sun, 22 Jun 2025 13:41:56 +0000 (16:41 +0300)
We have dedictaded bindings for scl/sda nowadays. Switch away from the
deprecated plain 'gpios' property.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
Link: https://lore.kernel.org/r/20250519112107.2980-4-wsa+renesas@sang-engineering.com
Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
arch/arm/boot/dts/microchip/at91rm9200.dtsi
arch/arm/boot/dts/microchip/at91sam9260.dtsi
arch/arm/boot/dts/microchip/at91sam9261.dtsi
arch/arm/boot/dts/microchip/at91sam9263.dtsi
arch/arm/boot/dts/microchip/at91sam9g45.dtsi
arch/arm/boot/dts/microchip/at91sam9n12.dtsi
arch/arm/boot/dts/microchip/at91sam9rl.dtsi
arch/arm/boot/dts/microchip/at91sam9x5.dtsi

index 2a4c83d887331fcc5e75e50a39d0c85e4d506f31..e105ad855ce8bef21989ec78dc6ae79e5d7da5a4 100644 (file)
 
        i2c-gpio-0 {
                compatible = "i2c-gpio";
-               gpios = <&pioA 25 GPIO_ACTIVE_HIGH /* sda */
-                        &pioA 26 GPIO_ACTIVE_HIGH /* scl */
-                       >;
+               sda-gpios = <&pioA 25 GPIO_ACTIVE_HIGH>;
+               scl-gpios = <&pioA 26 GPIO_ACTIVE_HIGH>;
                i2c-gpio,sda-open-drain;
                i2c-gpio,scl-open-drain;
                i2c-gpio,delay-us = <2>;        /* ~100 kHz */
index ec973f07a9619b2a8fd78937dbb5f04f4103a3f0..fc0b6a73204f878b4cd2ec5481f969dcd6315c55 100644 (file)
 
        i2c_gpio0: i2c-gpio-0 {
                compatible = "i2c-gpio";
-               gpios = <&pioA 23 GPIO_ACTIVE_HIGH /* sda */
-                        &pioA 24 GPIO_ACTIVE_HIGH /* scl */
-                       >;
+               sda-gpios = <&pioA 23 GPIO_ACTIVE_HIGH>;
+               scl-gpios = <&pioA 24 GPIO_ACTIVE_HIGH>;
                i2c-gpio,sda-open-drain;
                i2c-gpio,scl-open-drain;
                i2c-gpio,delay-us = <2>;        /* ~100 kHz */
index 0b556c234557a21e12d64bbf18a1bc67f2b98cf1..d1d678b77e84b25345ad79a45c84da1ea9d959ce 100644 (file)
                compatible = "i2c-gpio";
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_i2c_bitbang>;
-               gpios = <&pioA 7 GPIO_ACTIVE_HIGH>, /* sda */
-                       <&pioA 8 GPIO_ACTIVE_HIGH>; /* scl */
+               sda-gpios = <&pioA 7 GPIO_ACTIVE_HIGH>;
+               scl-gpios = <&pioA 8 GPIO_ACTIVE_HIGH>;
                i2c-gpio,sda-open-drain;
                i2c-gpio,scl-open-drain;
                i2c-gpio,delay-us = <2>;        /* ~100 kHz */
index 3e9e5ce7c6c884954023f2dce7722c1ecc1743dc..a4b5d1f228f9c25abac46e83a92797b7cf98cd87 100644 (file)
 
        i2c-gpio-0 {
                compatible = "i2c-gpio";
-               gpios = <&pioB 4 GPIO_ACTIVE_HIGH /* sda */
-                        &pioB 5 GPIO_ACTIVE_HIGH /* scl */
-                       >;
+               sda-gpios = <&pioB 4 GPIO_ACTIVE_HIGH>;
+               scl-gpios = <&pioB 5 GPIO_ACTIVE_HIGH>;
                i2c-gpio,sda-open-drain;
                i2c-gpio,scl-open-drain;
                i2c-gpio,delay-us = <2>;        /* ~100 kHz */
index 535e26e05e998e202efbca07d29cc177a1d526f9..4e00ed2d3ecdf01d830a05bb4e4ecc3e214c8b81 100644 (file)
 
        i2c-gpio-0 {
                compatible = "i2c-gpio";
-               gpios = <&pioA 20 GPIO_ACTIVE_HIGH /* sda */
-                        &pioA 21 GPIO_ACTIVE_HIGH /* scl */
-                       >;
+               sda-gpios = <&pioA 20 GPIO_ACTIVE_HIGH>;
+               scl-gpios = <&pioA 21 GPIO_ACTIVE_HIGH>;
                i2c-gpio,sda-open-drain;
                i2c-gpio,scl-open-drain;
                i2c-gpio,delay-us = <5>;        /* ~100 kHz */
index 2f930c39ce4d7945eb769a995a0d81a2cd6e11c1..af41c3dbb4bfbbf5e3e858b9e687816af6fb7dc6 100644 (file)
 
        i2c-gpio-0 {
                compatible = "i2c-gpio";
-               gpios = <&pioA 30 GPIO_ACTIVE_HIGH /* sda */
-                        &pioA 31 GPIO_ACTIVE_HIGH /* scl */
-                       >;
+               sda-gpios = <&pioA 30 GPIO_ACTIVE_HIGH>;
+               scl-gpios = <&pioA 31 GPIO_ACTIVE_HIGH>;
                i2c-gpio,sda-open-drain;
                i2c-gpio,scl-open-drain;
                i2c-gpio,delay-us = <2>;        /* ~100 kHz */
index 1fec9fcc7cd184475693ca43da2d9e1bd794a3fd..de74cf2980a043ee70ffb9ea0dfc82efaf9fd585 100644 (file)
 
        i2c-gpio-0 {
                compatible = "i2c-gpio";
-               gpios = <&pioA 23 GPIO_ACTIVE_HIGH>, /* sda */
-                       <&pioA 24 GPIO_ACTIVE_HIGH>; /* scl */
+               sda-gpios = <&pioA 23 GPIO_ACTIVE_HIGH>;
+               scl-gpios = <&pioA 24 GPIO_ACTIVE_HIGH>;
                i2c-gpio,sda-open-drain;
                i2c-gpio,scl-open-drain;
                i2c-gpio,delay-us = <2>;        /* ~100 kHz */
 
        i2c-gpio-1 {
                compatible = "i2c-gpio";
-               gpios = <&pioD 10 GPIO_ACTIVE_HIGH>, /* sda */
-                       <&pioD 11 GPIO_ACTIVE_HIGH>; /* scl */
+               sda-gpios = <&pioD 10 GPIO_ACTIVE_HIGH>;
+               scl-gpios = <&pioD 11 GPIO_ACTIVE_HIGH>;
                i2c-gpio,sda-open-drain;
                i2c-gpio,scl-open-drain;
                i2c-gpio,delay-us = <2>;        /* ~100 kHz */
index 17bdf1e4db012a01aefe70a8be0cce911de36ed1..9070fd06995a0ac16f75311864f3dd735f2bf52b 100644 (file)
 
        i2c-gpio-0 {
                compatible = "i2c-gpio";
-               gpios = <&pioA 30 GPIO_ACTIVE_HIGH /* sda */
-                        &pioA 31 GPIO_ACTIVE_HIGH /* scl */
-                       >;
+               sda-gpios = <&pioA 30 GPIO_ACTIVE_HIGH>;
+               scl-gpios = <&pioA 31 GPIO_ACTIVE_HIGH>;
                i2c-gpio,sda-open-drain;
                i2c-gpio,scl-open-drain;
                i2c-gpio,delay-us = <2>;        /* ~100 kHz */
 
        i2c-gpio-1 {
                compatible = "i2c-gpio";
-               gpios = <&pioC 0 GPIO_ACTIVE_HIGH /* sda */
-                        &pioC 1 GPIO_ACTIVE_HIGH /* scl */
-                       >;
+               sda-gpios = <&pioC 0 GPIO_ACTIVE_HIGH>;
+               scl-gpios = <&pioC 1 GPIO_ACTIVE_HIGH>;
                i2c-gpio,sda-open-drain;
                i2c-gpio,scl-open-drain;
                i2c-gpio,delay-us = <2>;        /* ~100 kHz */
 
        i2c-gpio-2 {
                compatible = "i2c-gpio";
-               gpios = <&pioB 4 GPIO_ACTIVE_HIGH /* sda */
-                        &pioB 5 GPIO_ACTIVE_HIGH /* scl */
-                       >;
+               sda-gpios = <&pioB 4 GPIO_ACTIVE_HIGH>;
+               scl-gpios = <&pioB 5 GPIO_ACTIVE_HIGH>;
                i2c-gpio,sda-open-drain;
                i2c-gpio,scl-open-drain;
                i2c-gpio,delay-us = <2>;        /* ~100 kHz */