summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDonghyun Ko2025-11-23 10:01:21 +0000
committerHauke Mehrtens2025-11-29 00:17:45 +0000
commit9f8c60c2c8589dd6b7ec51c9b1931e69da0ed8bb (patch)
tree77a1b79e4ae3951bf5b8e19eb646b19e3b5b8beb
parentea96f50747de0a788822e1b8ad8621975cf17dbc (diff)
downloadopenwrt-9f8c60c2c8589dd6b7ec51c9b1931e69da0ed8bb.tar.gz
mediatek: use dt-bindings drive strength macros for ipTIME AX7800M-6E
Replace hardcoded numbers with the dt-bindings drive strength macros defined in "dt-bindings/pinctrl/mt65xx.h". Signed-off-by: Donghyun Ko <nyankosoftware@gmail.com> Link: https://github.com/openwrt/openwrt/pull/20894 (cherry picked from commit 2c667f2df4dac12386c7081f68cf02d7f95a9faa) Signed-off-by: Donghyun Ko <nyankosoftware@gmail.com> Link: https://github.com/openwrt/openwrt/pull/20773 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--target/linux/mediatek/dts/mt7986a-iptime-ax7800m-6e.dts4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/mediatek/dts/mt7986a-iptime-ax7800m-6e.dts b/target/linux/mediatek/dts/mt7986a-iptime-ax7800m-6e.dts
index 72b96caca3..59ac770cfc 100644
--- a/target/linux/mediatek/dts/mt7986a-iptime-ax7800m-6e.dts
+++ b/target/linux/mediatek/dts/mt7986a-iptime-ax7800m-6e.dts
@@ -149,7 +149,7 @@
"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>;
};
};
@@ -166,7 +166,7 @@
"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>;
};
};
};