aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorJoe Mullally <jwmullally@gmail.com>2022-03-08 19:33:37 +0000
committerSungbo Eo <mans0n@gorani.run>2022-03-13 12:39:58 +0900
commit8d255512437ec47cc7d87d7e11480c0a287417c6 (patch)
treeb23a2d4da21a3b998a6bf274e9c0ef9dbde074be /target
parent591a2b95254116f8286f369078c520ff84106079 (diff)
downloadupstream-8d255512437ec47cc7d87d7e11480c0a287417c6.tar.gz
upstream-8d255512437ec47cc7d87d7e11480c0a287417c6.tar.bz2
upstream-8d255512437ec47cc7d87d7e11480c0a287417c6.zip
ramips: Apply pinctrl DTS changes to TL-WPA8631P
Applies changes from 7774b86019 to new device committed later. Fix some whitespace in the DTS. Use standard model name format in DTS. Fixes: 6c743c3006f9 ("ramips: Add support for TP-Link TL-WPA8631P v3") Signed-off-by: Joe Mullally <jwmullally@gmail.com> Reported-by: Arınç ÜNAL <arinc.unal@arinc9.com>
Diffstat (limited to 'target')
-rw-r--r--target/linux/ramips/dts/mt7621_tplink_tl-wpa8631p-v3.dts22
1 files changed, 13 insertions, 9 deletions
diff --git a/target/linux/ramips/dts/mt7621_tplink_tl-wpa8631p-v3.dts b/target/linux/ramips/dts/mt7621_tplink_tl-wpa8631p-v3.dts
index 7012c315c1..0d466f1e66 100644
--- a/target/linux/ramips/dts/mt7621_tplink_tl-wpa8631p-v3.dts
+++ b/target/linux/ramips/dts/mt7621_tplink_tl-wpa8631p-v3.dts
@@ -7,7 +7,7 @@
/ {
compatible = "tplink,tl-wpa8631p-v3", "mediatek,mt7621-soc";
- model = "TP-Link WPA8631P v3";
+ model = "TP-Link TL-WPA8631P v3";
aliases {
label-mac-device = &gmac0;
@@ -75,15 +75,15 @@
};
};
- gpio-export {
- compatible = "gpio-export";
+ gpio-export {
+ compatible = "gpio-export";
- led_control {
- gpio-export,name = "tp-link:led:control";
- gpio-export,output = <0>;
- gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
- };
- };
+ led_control {
+ gpio-export,name = "tp-link:led:control";
+ gpio-export,output = <0>;
+ gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
+ };
+ };
};
&spi0 {
@@ -160,6 +160,10 @@
};
};
+&ethernet {
+ pinctrl-0 = <&mdio_pins>, <&rgmii1_pins>;
+};
+
&gmac0 {
nvmem-cells = <&macaddr_config_2008>;
nvmem-cell-names = "mac-address";