mediatek: use dt-bindings drive strength macros for ipTIME AX7800M-6E
authorDonghyun Ko <[email protected]>
Sun, 23 Nov 2025 10:01:21 +0000 (19:01 +0900)
committerHauke Mehrtens <[email protected]>
Sun, 23 Nov 2025 21:32:48 +0000 (22:32 +0100)
Replace hardcoded numbers with the dt-bindings drive strength macros
defined in "dt-bindings/pinctrl/mt65xx.h".

Signed-off-by: Donghyun Ko <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20894
Signed-off-by: Hauke Mehrtens <[email protected]>
target/linux/mediatek/dts/mt7986a-iptime-ax7800m-6e.dts

index 72b96caca3142b1c09160a17e24e70a662a093b3..59ac770cfce90d873543e2012dabdbbad03bfb89 100644 (file)
                                   "WF1_HB2", "WF1_HB3", "WF1_HB4", "WF1_HB0",
                                   "WF1_HB5", "WF1_HB6", "WF1_HB7", "WF1_HB8",
                                   "WF1_TOP_CLK", "WF1_TOP_DATA";
-                       drive-strength = <4>;
+                       drive-strength = <MTK_DRIVE_4mA>;
                };
        };
 
                                   "WF1_HB2", "WF1_HB3", "WF1_HB4", "WF1_HB0",
                                   "WF1_HB5", "WF1_HB6", "WF1_HB7", "WF1_HB8",
                                   "WF1_TOP_CLK", "WF1_TOP_DATA";
-                       drive-strength = <4>;
+                       drive-strength = <MTK_DRIVE_4mA>;
                };
        };
 };