From 4bc9a19324ba27eb867316d2ea0d55bba95e8724 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Mon, 11 Aug 2014 09:24:03 -0600 Subject: [PATCH] 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 --- 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 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>; + }; + }; -- 2.39.5