From: Simon Glass Date: Mon, 11 Aug 2014 15:24:03 +0000 (-0600) Subject: dm: sandbox: dts: Add a GPIO bank X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=4bc9a19324ba27eb867316d2ea0d55bba95e8724;p=u-boot.git 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 --- diff --git a/arch/sandbox/dts/sandbox.dts b/arch/sandbox/dts/sandbox.dts index 62d803789c..efffacba1d 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>; + }; + };