summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
diff options
context:
space:
mode:
authorAndrew Jeffery <andrew@aj.id.au>2020-05-05 16:57:42 +0930
committerJoel Stanley <joel@jms.id.au>2020-07-20 14:28:19 +0930
commit1daa0147f113a61f2bde2d1dcb4c1d919483dbe5 (patch)
tree822c00590309be6c6d5a19b8fafdce3141c2a432 /arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
parent1b36c0d0eb566cf7a296a8684d8fb91158c7c3eb (diff)
ARM: dts: rainier: Configure ball Y23 as GPIOP7 for MCLR_VPP
GPIOP7 is used in the Rainier design to manage the state of a microcontroller elsewhere in the system but its ball, Y23, is the driver of the heartbeat LED on the ast2600-evb and the SoC defaults Y23 at power-on to the pulse-train behaviour used to drive the LED. This causes much confusion for the micro in the Rainier system, so hog the line as early as possible. Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts')
-rw-r--r--arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
index 2f57d8d431b4..ac7cc96a15d3 100644
--- a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
@@ -102,6 +102,13 @@
/*AA0-AA7*/ "","","","","","","","",
/*AB0-AB7*/ "","","","","","","","",
/*AC0-AC7*/ "","","","","","","","";
+
+ pin_mclr_vpp {
+ gpio-hog;
+ gpios = <ASPEED_GPIO(P, 7) GPIO_OPEN_DRAIN>;
+ output-high;
+ line-name = "mclr_vpp";
+ };
};
&emmc_controller {