[U-Boot] [PATCH v5 11/11] dm: sandbox: dts: Add a GPIO bank
Simon Glass
sjg at chromium.org
Tue Jul 29 19:46:01 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 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 --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>;
+ };
+
};
--
2.0.0.526.g5318336
More information about the U-Boot
mailing list