[U-Boot] [RFC PATCH v4 11/11] dm: sandbox: dts: Add a GPIO bank

Simon Glass sjg at chromium.org
Fri Jul 11 07:00:48 CEST 2014


Add a bank of GPIOs for sandbox which can be used for testing this
functionality.

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

Changes in v4:
- Add patches for exynos GPIO support

Changes in v3: None
Changes in v2: None

 arch/sandbox/dts/sandbox.dts | 9 +++++++++
 1 file changed, 9 insertions(+)

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



More information about the U-Boot mailing list