projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9165e84
)
dm: sandbox: dts: Add a GPIO bank
author
Simon Glass
<sjg@chromium.org>
Mon, 11 Aug 2014 15:24:03 +0000
(09:24 -0600)
committer
Simon Glass
<sjg@chromium.org>
Mon, 1 Sep 2014 05:21:42 +0000
(23:21 -0600)
Add a bank of GPIOs for sandbox which can be used for testing this
functionality.
Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/dts/sandbox.dts
patch
|
blob
|
history
diff --git
a/arch/sandbox/dts/sandbox.dts
b/arch/sandbox/dts/sandbox.dts
index 62d803789cf5dab41923db2e503eca690135a6f5..efffacba1d37b86f88fab96c19fb0bfcd535c024 100644
(file)
--- 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>;
+ };
+
};