diff mbox

[U-Boot,v5,11/11] dm: sandbox: dts: Add a GPIO bank

Message ID 1406655962-27147-12-git-send-email-sjg@chromium.org
State Superseded
Delegated to: Simon Glass
Headers show

Commit Message

Simon Glass July 29, 2014, 5:46 p.m. UTC
Add a bank of GPIOs for sandbox which can be used for testing this
functionality.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

Changes in v5:
- Remove RFC label now that build errors are fixed
- Tidy up and update cover letter message

Changes in v4:
- Add patches for exynos GPIO support

Changes in v3: None
Changes in v2: None

 arch/sandbox/dts/sandbox.dts | 8 ++++++++
 1 file changed, 8 insertions(+)
diff mbox

Patch

diff --git a/arch/sandbox/dts/sandbox.dts b/arch/sandbox/dts/sandbox.dts
index 62d8037..efffacb 100644
--- a/arch/sandbox/dts/sandbox.dts
+++ b/arch/sandbox/dts/sandbox.dts
@@ -113,4 +113,12 @@ 
 			0x070b0067 0x070c0069>;
 	};
 
+	gpio_a: gpios {
+		gpio-controller;
+		compatible = "sandbox,gpio";
+		#gpio-cells = <1>;
+		gpio-bank-name = "a";
+		num-gpios = <20>;
+	};
+
 };