]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: ixp4xx: use phandle-based GPIOs in mi424wr
authorMohamed Ayman <mohamedaymanworkspace@gmail.com>
Tue, 5 May 2026 09:36:07 +0000 (11:36 +0200)
committerArnd Bergmann <arnd@arndb.de>
Mon, 11 May 2026 07:57:43 +0000 (09:57 +0200)
Convert remaining legacy integer GPIO specifiers to phandle-based
descriptors in intel-ixp42x-actiontec-mi424wr.dtsi.

All other GPIOs in this file already use &gpio0/&gpio1. These are the
last remaining legacy users in the IXP4xx DTS files.

Signed-off-by: Mohamed Ayman <mohamedaymanworkspace@gmail.com>
Link: https://lore.kernel.org/20260428191029.809462-1-mohamedaymanworkspace@gmail.com
Signed-off-by: Linus Walleij <linusw@kernel.org>
Link: https://lore.kernel.org/r/20260505-ixp4xx-dts-v1-1-02f4a92a9697@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/boot/dts/intel/ixp/intel-ixp42x-actiontec-mi424wr.dtsi

index 9b54e3c01a3452da3e68aed92ab7b13d7a4804d9..3043ae7232dd00aba0bcfc2a54ebd790f166d77c 100644 (file)
 
                                pci-reset-hog {
                                        gpio-hog;
-                                       gpios = <7 GPIO_ACTIVE_HIGH>;
+                                       gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
                                        output-high;
                                        line-name = "PCI reset";
                                };
                                pstn-relay-hog-1 {
                                        gpio-hog;
-                                       gpios = <11 GPIO_ACTIVE_HIGH>;
+                                       gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
                                        output-low;
                                        line-name = "PSTN relay control 1";
                                };
                                pstn-relay-hog-2 {
                                        gpio-hog;
-                                       gpios = <12 GPIO_ACTIVE_HIGH>;
+                                       gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
                                        output-low;
                                        line-name = "PSTN relay control 2";
                                };