[PATCH linux dev-4.7 v2 3/3] ARM: dts: aspeed-g5: Give pinctrl phandles for gfx and lhc
Andrew Jeffery
andrew at aj.id.au
Tue Feb 14 11:51:04 AEDT 2017
The g5's pinctrl reported:
[ 0.750000] aspeed-g5-pinctrl 1e6e2000.syscon:pinctrl at 1e6e2000: No GFX phandle found, some mux configurations may fail
[ 0.750000] aspeed-g5-pinctrl 1e6e2000.syscon:pinctrl at 1e6e2000: No LHC phandle found, some mux configurations may fail
as the aspeed,external-nodes property was missing from the pinctrl
node. Fix the mux capability by adding the required phandles in the
AST2500-based board files, as the AST2520 from the g5 family doesn't
have a GFX IP block.
Signed-off-by: Andrew Jeffery <andrew at aj.id.au>
---
The commit is *very* loosely based on b590c8d2eed5748dfe52c4fc13df6cadb1b56d58
in the ARM next/dt tree.
Since v1:
* Push assignment of phandles to the aspeed,external-nodes property out to the
board dts. I expect eventually we'll want to do this in an ast2500.dtsi
arch/arm/boot/dts/aspeed-ast2500-evb.dts | 4 ++++
arch/arm/boot/dts/aspeed-bmc-facebook-cmm.dts | 4 ++++
arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts | 4 ++++
arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts | 4 ++++
arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts | 4 ++++
5 files changed, 20 insertions(+)
diff --git a/arch/arm/boot/dts/aspeed-ast2500-evb.dts b/arch/arm/boot/dts/aspeed-ast2500-evb.dts
index 1999a06eec80..40f2184f9fe7 100644
--- a/arch/arm/boot/dts/aspeed-ast2500-evb.dts
+++ b/arch/arm/boot/dts/aspeed-ast2500-evb.dts
@@ -83,3 +83,7 @@
&gfx {
status = "okay";
};
+
+&pinctrl {
+ aspeed,external-nodes = <&gfx &lhc>;
+};
diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-cmm.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-cmm.dts
index 9e48c4a1313c..8df116ea8594 100644
--- a/arch/arm/boot/dts/aspeed-bmc-facebook-cmm.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-facebook-cmm.dts
@@ -202,3 +202,7 @@
&gfx {
status = "okay";
};
+
+&pinctrl {
+ aspeed,external-nodes = <&gfx &lhc>;
+};
diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts b/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
index 947cfeb02457..f4060551a874 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
@@ -159,3 +159,7 @@
&gfx {
status = "okay";
};
+
+&pinctrl {
+ aspeed,external-nodes = <&gfx &lhc>;
+};
diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
index 76b738dd0c6b..c067fb78d491 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
@@ -277,3 +277,7 @@
&gfx {
status = "okay";
};
+
+&pinctrl {
+ aspeed,external-nodes = <&gfx &lhc>;
+};
diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts b/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts
index e22701bfe5fc..d9f63d7752dd 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts
@@ -347,3 +347,7 @@
&gfx {
status = "okay";
};
+
+&pinctrl {
+ aspeed,external-nodes = <&gfx &lhc>;
+};
--
2.9.3
More information about the openbmc
mailing list