summaryrefslogtreecommitdiff
path: root/arch/sandbox
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-08-11 09:24:03 -0600
committerSimon Glass <sjg@chromium.org>2014-08-31 23:21:42 -0600
commit4bc9a19324ba27eb867316d2ea0d55bba95e8724 (patch)
treec8c96f06dfea0ab6a3891b5eb82bba8d6679c2e1 /arch/sandbox
parent9165e8428d02b42b7f2b87083035e4e2493df721 (diff)
downloadu-boot-imx-4bc9a19324ba27eb867316d2ea0d55bba95e8724.zip
u-boot-imx-4bc9a19324ba27eb867316d2ea0d55bba95e8724.tar.gz
u-boot-imx-4bc9a19324ba27eb867316d2ea0d55bba95e8724.tar.bz2
dm: sandbox: dts: Add a GPIO bank
Add a bank of GPIOs for sandbox which can be used for testing this functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox')
-rw-r--r--arch/sandbox/dts/sandbox.dts8
1 files changed, 8 insertions, 0 deletions
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>;
+ };
+
};