[U-Boot] [PATCH 19/26] dts: mtmips: enable eth port0 led function for all boards
Weijie Gao
weijie.gao at mediatek.com
Wed Aug 28 06:38:04 UTC 2019
This patch adds default p0led status for all boards.
Signed-off-by: Weijie Gao <weijie.gao at mediatek.com>
---
arch/mips/dts/gardena-smart-gateway-mt7688.dts | 9 +++++++++
arch/mips/dts/linkit-smart-7688.dts | 9 +++++++++
2 files changed, 18 insertions(+)
diff --git a/arch/mips/dts/gardena-smart-gateway-mt7688.dts b/arch/mips/dts/gardena-smart-gateway-mt7688.dts
index 95675a3947..821e5bcdf8 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";
};
diff --git a/arch/mips/dts/linkit-smart-7688.dts b/arch/mips/dts/linkit-smart-7688.dts
index 935315743c..7dbd909d00 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";
};
--
2.17.1
More information about the U-Boot
mailing list