summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Jeffery <andrew@aj.id.au>2017-11-14 08:23:43 +0300
committerJoel Stanley <joel@jms.id.au>2017-11-30 07:07:37 +0300
commitcb791288be9a3b4eebaee82807c3a3bf123fa9b6 (patch)
treefe7aae1c23cdd5b882847a90a048e10fc79becea
parente7ae4c9b5df12838e66a25df93df02e47bdb7d11 (diff)
downloadlinux-cb791288be9a3b4eebaee82807c3a3bf123fa9b6.tar.xz
ARM: dts: aspeed: Ensure platform mux RMII1 for MAC0
I noticed that Witherspoon was missing its pinctrl properties for the mac0 node. On auditing the rest of the DTS files, the MSN and Q71L platforms appeared to have the same issue. Add the pinctrl nodes to ensure MAC0 has RMII1 muxed. This provides mutual exclusion with the GPIO subsystem ensuring broken userspace can't interfere with networking. OpenBMC-Staging-Count: 1 Cc: Mykola Kostenok <c_mykolak@mellanox.com> Cc: Patrick Venture <venture@google.com> Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Acked-by: Mykola Kostenok <c_mykolak@mellanox.com> Signed-off-by: Joel Stanley <joel@jms.id.au>
-rw-r--r--arch/arm/boot/dts/aspeed-bmc-mellanox-msn.dts3
-rw-r--r--arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts3
-rw-r--r--arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts3
3 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/aspeed-bmc-mellanox-msn.dts b/arch/arm/boot/dts/aspeed-bmc-mellanox-msn.dts
index d1dc2ef1a162..1005d6becdba 100644
--- a/arch/arm/boot/dts/aspeed-bmc-mellanox-msn.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-mellanox-msn.dts
@@ -48,6 +48,9 @@
&mac0 {
status = "okay";
use-ncsi;
+
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_rmii1_default>;
};
&i2c5 {
diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
index 68058eca1559..cc1fd0dc6677 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
@@ -239,6 +239,9 @@
use-ncsi;
no-hw-checksum;
+
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_rmii1_default>;
};
&i2c0 {
diff --git a/arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts b/arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts
index 7ed3a773b2d5..41368734f07d 100644
--- a/arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts
@@ -139,6 +139,9 @@
use-ncsi;
no-hw-checksum;
+
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_rmii1_default>;
};
&mac1 {