Commit 4bc9a19324ba27eb867316d2ea0d55bba95e8724

Authored by Simon Glass
1 parent 9165e8428d

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>

Showing 1 changed file with 8 additions and 0 deletions Side-by-side Diff

arch/sandbox/dts/sandbox.dts
... ... @@ -113,5 +113,13 @@
113 113 0x070b0067 0x070c0069>;
114 114 };
115 115  
  116 + gpio_a: gpios {
  117 + gpio-controller;
  118 + compatible = "sandbox,gpio";
  119 + #gpio-cells = <1>;
  120 + gpio-bank-name = "a";
  121 + num-gpios = <20>;
  122 + };
  123 +
116 124 };