]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dm: sandbox: dts: Add a GPIO bank
authorSimon Glass <sjg@chromium.org>
Mon, 11 Aug 2014 15:24:03 +0000 (09:24 -0600)
committerSimon 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

index 62d803789cf5dab41923db2e503eca690135a6f5..efffacba1d37b86f88fab96c19fb0bfcd535c024 100644 (file)
                        0x070b0067 0x070c0069>;
        };
 
+       gpio_a: gpios {
+               gpio-controller;
+               compatible = "sandbox,gpio";
+               #gpio-cells = <1>;
+               gpio-bank-name = "a";
+               num-gpios = <20>;
+       };
+
 };