[linux,dev-4.10] ARM: dts: aspeed: romulus: hog GPIOS7

Message ID 1514450286-580-1-git-send-email-mine260309@gmail.com
State Accepted, archived
Headers show
Series
  • [linux,dev-4.10] ARM: dts: aspeed: romulus: hog GPIOS7
Related show

Commit Message

Lei YU Dec. 28, 2017, 8:38 a.m.
GPIOS7 shall be pulled low for CPLD to continue the power up sequence.
With this hogged as pull-low, the CPLD workaround can be removed in
OpenBMC.

Signed-off-by: Lei YU <mine260309@gmail.com>
---
 arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Joel Stanley Jan. 16, 2018, 5:41 p.m. | #1
On Thu, Dec 28, 2017 at 2:38 AM, Lei YU <mine260309@gmail.com> wrote:
> GPIOS7 shall be pulled low for CPLD to continue the power up sequence.
> With this hogged as pull-low, the CPLD workaround can be removed in
> OpenBMC.
>
> Signed-off-by: Lei YU <mine260309@gmail.com>

Merged into dev-4.10.

Cheers,

Joel

Patch

diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts b/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
index d9596d9..1ca2457 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
@@ -279,6 +279,12 @@ 
 		output-low;
 		line-name = "nic_func_mode1";
     };
+    seq_cont {
+		gpio-hog;
+		gpios = <ASPEED_GPIO(S, 7) GPIO_ACTIVE_HIGH>;
+		output-low;
+		line-name = "seq_cont";
+    };
 };
 
 &vuart {