]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: mediatek: mt6797: Fix pinctrl node names
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Thu, 24 Jul 2025 08:38:53 +0000 (10:38 +0200)
committerMatthias Brugger <matthias.bgg@gmail.com>
Fri, 12 Sep 2025 12:15:47 +0000 (14:15 +0200)
Change the pinctrl node names to adhere to the binding: the main
nodes are now named like "uart0-pins" and the children "pins-bus".

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Fei Shao <fshao@chromium.org>
Link: https://lore.kernel.org/r/20250724083914.61351-18-angelogioacchino.delregno@collabora.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt6797.dtsi

index 0e9d11b4585be2c40d817569b3ac5f9e763ad7b8..be401617dfd8a82f6e16284bb5fbe205e1b3d24d 100644 (file)
                gpio-controller;
                #gpio-cells = <2>;
 
-               uart0_pins_a: uart0 {
-                       pins0 {
+               uart0_pins_a: uart0-pins {
+                       pins-bus {
                                pinmux = <MT6797_GPIO234__FUNC_UTXD0>,
                                         <MT6797_GPIO235__FUNC_URXD0>;
                        };
                };
 
-               uart1_pins_a: uart1 {
-                       pins1 {
+               uart1_pins_a: uart1-pins {
+                       pins-bus {
                                pinmux = <MT6797_GPIO232__FUNC_URXD1>,
                                         <MT6797_GPIO233__FUNC_UTXD1>;
                        };
                };
 
-               i2c0_pins_a: i2c0 {
-                       pins0 {
+               i2c0_pins_a: i2c0-pins {
+                       pins-bus {
                                pinmux = <MT6797_GPIO37__FUNC_SCL0_0>,
                                         <MT6797_GPIO38__FUNC_SDA0_0>;
                        };
                };
 
-               i2c1_pins_a: i2c1 {
-                       pins1 {
+               i2c1_pins_a: i2c1-pins {
+                       pins-bus {
                                pinmux = <MT6797_GPIO55__FUNC_SCL1_0>,
                                         <MT6797_GPIO56__FUNC_SDA1_0>;
                        };
                };
 
-               i2c2_pins_a: i2c2 {
-                       pins2 {
+               i2c2_pins_a: i2c2-pins {
+                       pins-bus {
                                pinmux = <MT6797_GPIO96__FUNC_SCL2_0>,
                                         <MT6797_GPIO95__FUNC_SDA2_0>;
                        };
                };
 
-               i2c3_pins_a: i2c3 {
-                       pins3 {
+               i2c3_pins_a: i2c3-pins {
+                       pins-bus {
                                pinmux = <MT6797_GPIO75__FUNC_SDA3_0>,
                                         <MT6797_GPIO74__FUNC_SCL3_0>;
                        };
                };
 
-               i2c4_pins_a: i2c4 {
-                       pins4 {
+               i2c4_pins_a: i2c4-pins {
+                       pins-bus {
                                pinmux = <MT6797_GPIO238__FUNC_SDA4_0>,
                                         <MT6797_GPIO239__FUNC_SCL4_0>;
                        };
                };
 
-               i2c5_pins_a: i2c5 {
-                       pins5 {
+               i2c5_pins_a: i2c5-pins {
+                       pins-bus {
                                pinmux = <MT6797_GPIO240__FUNC_SDA5_0>,
                                         <MT6797_GPIO241__FUNC_SCL5_0>;
                        };
                };
 
-               i2c6_pins_a: i2c6 {
-                       pins6 {
+               i2c6_pins_a: i2c6-pins {
+                       pins-bus {
                                pinmux = <MT6797_GPIO152__FUNC_SDA6_0>,
                                         <MT6797_GPIO151__FUNC_SCL6_0>;
                        };
                };
 
-               i2c7_pins_a: i2c7 {
-                       pins7 {
+               i2c7_pins_a: i2c7-pins {
+                       pins-bus {
                                pinmux = <MT6797_GPIO154__FUNC_SDA7_0>,
                                         <MT6797_GPIO153__FUNC_SCL7_0>;
                        };