diff options
| author | Shiji Yang | 2025-08-25 13:17:39 +0000 |
|---|---|---|
| committer | Robert Marko | 2025-08-25 17:52:43 +0000 |
| commit | 43ae8e17e1bcc9730cbc0c9fd06568348a308ae8 (patch) | |
| tree | 1548ac0434eb789a89fdf048690dcf6a61f5bd06 | |
| parent | c33df09169a34c7f6eb1804d6b50a1823f2e6bf4 (diff) | |
| download | openwrt-43ae8e17e1bcc9730cbc0c9fd06568348a308ae8.tar.gz | |
mediatek: dts: use dt-bindings documented bias type for UniFi 6 Plus
Use macro defined bias types instead of some magic numbers. This can
help reviewers better understand bias types.
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/19855
Signed-off-by: Robert Marko <robimarko@gmail.com>
| -rw-r--r-- | target/linux/mediatek/dts/mt7981a-ubnt-unifi-6-plus.dts | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/target/linux/mediatek/dts/mt7981a-ubnt-unifi-6-plus.dts b/target/linux/mediatek/dts/mt7981a-ubnt-unifi-6-plus.dts index fa0679402c..51b8c42021 100644 --- a/target/linux/mediatek/dts/mt7981a-ubnt-unifi-6-plus.dts +++ b/target/linux/mediatek/dts/mt7981a-ubnt-unifi-6-plus.dts @@ -1,6 +1,9 @@ // SPDX-License-Identifier: GPL-2.0-or-later OR MIT /dts-v1/; + +#include <dt-bindings/pinctrl/mt65xx.h> + #include "mt7981b.dtsi" / { @@ -65,13 +68,13 @@ conf-pu { pins = "SPI2_CS", "SPI2_HOLD", "SPI2_WP"; drive-strength = <MTK_DRIVE_8mA>; - bias-pull-up = <103>; + bias-pull-up = <MTK_PUPD_SET_R1R0_11>; }; conf-pd { pins = "SPI2_CLK", "SPI2_MOSI", "SPI2_MISO"; drive-strength = <MTK_DRIVE_8mA>; - bias-pull-down = <103>; + bias-pull-down = <MTK_PUPD_SET_R1R0_11>; }; }; |