aboutsummaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
authorWeijie Gao <weijie.gao@mediatek.com>2019-09-25 17:45:36 +0800
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2019-10-25 17:20:44 +0200
commitcff0b044d2ccdb2af84eaa02f9188cde63c052fa (patch)
tree94faacc8712de22203e42124b1b0f07f17f420de /arch/mips
parent877d03903c3683010e9d4307003c90e27917c313 (diff)
downloadu-boot-cff0b044d2ccdb2af84eaa02f9188cde63c052fa.zip
u-boot-cff0b044d2ccdb2af84eaa02f9188cde63c052fa.tar.gz
u-boot-cff0b044d2ccdb2af84eaa02f9188cde63c052fa.tar.bz2
dts: mtmips: enable eth port0 led and link poll functions for all boards
This patch adds default p0led status and phy0 link polling for all boards. Reviewed-by: Stefan Roese <sr@denx.de> Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/dts/gardena-smart-gateway-mt7688.dts13
-rw-r--r--arch/mips/dts/linkit-smart-7688.dts13
-rw-r--r--arch/mips/dts/mt7628a.dtsi2
3 files changed, 27 insertions, 1 deletions
diff --git a/arch/mips/dts/gardena-smart-gateway-mt7688.dts b/arch/mips/dts/gardena-smart-gateway-mt7688.dts
index 95675a3..fc1f5e9 100644
--- a/arch/mips/dts/gardena-smart-gateway-mt7688.dts
+++ b/arch/mips/dts/gardena-smart-gateway-mt7688.dts
@@ -85,6 +85,15 @@
};
};
+&pinctrl {
+ state_default: pin_state {
+ p0led {
+ groups = "p0led_a";
+ function = "led";
+ };
+ };
+};
+
&uart0 {
status = "okay";
};
@@ -109,3 +118,7 @@
reg = <1>;
};
};
+
+&eth {
+ mediatek,poll-link-phy = <0>;
+};
diff --git a/arch/mips/dts/linkit-smart-7688.dts b/arch/mips/dts/linkit-smart-7688.dts
index 9353157..740b73b 100644
--- a/arch/mips/dts/linkit-smart-7688.dts
+++ b/arch/mips/dts/linkit-smart-7688.dts
@@ -26,6 +26,15 @@
};
};
+&pinctrl {
+ state_default: pin_state {
+ p0led {
+ groups = "p0led_a";
+ function = "led";
+ };
+ };
+};
+
&uart2 {
status = "okay";
};
@@ -42,3 +51,7 @@
reg = <0>;
};
};
+
+&eth {
+ mediatek,poll-link-phy = <0>;
+};
diff --git a/arch/mips/dts/mt7628a.dtsi b/arch/mips/dts/mt7628a.dtsi
index b0e0ed7..5fd83c1 100644
--- a/arch/mips/dts/mt7628a.dtsi
+++ b/arch/mips/dts/mt7628a.dtsi
@@ -346,7 +346,7 @@
};
};
- eth@10110000 {
+ eth: eth@10110000 {
compatible = "mediatek,mt7628-eth";
reg = <0x10100000 0x10000
0x10110000 0x8000>;