Add a bank of GPIOs for sandbox which can be used for testing this functionality.
Signed-off-by: Simon Glass <s...@chromium.org> --- Changes in v5: - Remove RFC label now that build errors are fixed - Tidy up and update cover letter message Changes in v4: - Add patches for exynos GPIO support Changes in v3: None Changes in v2: None 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 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>; + }; + }; -- 2.0.0.526.g5318336 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot