diff options
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/ath79/dts/ar9344_araknis_an-300-ap-i-n.dts | 30 | ||||
-rw-r--r-- | target/linux/mediatek/dts/mt7981a-ubnt-unifi-6-plus.dts | 7 |
2 files changed, 16 insertions, 21 deletions
diff --git a/target/linux/ath79/dts/ar9344_araknis_an-300-ap-i-n.dts b/target/linux/ath79/dts/ar9344_araknis_an-300-ap-i-n.dts index 86e990ffc7..8ad3efb5c4 100644 --- a/target/linux/ath79/dts/ar9344_araknis_an-300-ap-i-n.dts +++ b/target/linux/ath79/dts/ar9344_araknis_an-300-ap-i-n.dts @@ -38,28 +38,12 @@ default-state = "off"; }; - wifi5g { - label = "blue:wifi5g"; - gpios = <&gpio 12 GPIO_ACTIVE_LOW>; - linux,default-trigger = "phy0tpt"; - }; - wps { function = LED_FUNCTION_WPS; color = <LED_COLOR_ID_BLUE>; gpios = <&gpio 13 GPIO_ACTIVE_LOW>; }; }; - - ath9k-leds { - compatible = "gpio-leds"; - - wifi2g { - label = "blue:wifi2g"; - gpios = <&ath9k 0 GPIO_ACTIVE_LOW>; - linux,default-trigger = "phy1tpt"; - }; - }; }; &mdio0 { @@ -87,14 +71,17 @@ &pcie { status = "okay"; - ath9k: wifi@0,0 { + wifi@0,0 { compatible = "pci168c,0030"; reg = <0x0 0 0 0 0>; nvmem-cells = <&macaddr_art_0 1>, <&calibration_art_5000>; nvmem-cell-names = "mac-address", "calibration"; ieee80211-freq-limit = <2402000 2482000>; - #gpio-cells = <2>; - gpio-controller; + + led { + led-sources = <0>; + led-active-low; + }; }; }; @@ -105,6 +92,11 @@ nvmem-cells = <&macaddr_art_0 2>, <&calibration_art_1000>; nvmem-cell-names = "mac-address", "calibration"; + + led { + led-sources = <12>; + led-active-low; + }; }; &art { 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>; }; }; |