Commit da04c425 authored by Rashmica Gupta's avatar Rashmica Gupta Committed by Linus Walleij

gpio: aspeed: Update documentation with ast2600 controllers

The ast2600 is a new generation of SoC from ASPEED. Similarly to the
ast2400 and ast2500, it has a GPIO controller for it's 3.3V GPIO pins.
Additionally, it has a GPIO controller for 36 1.8V GPIO pins.  We use
the ngpio property to differentiate between these controllers.
Signed-off-by: default avatarRashmica Gupta <rashmica.g@gmail.com>
Link: https://lore.kernel.org/r/20190906062547.13264-1-rashmica.g@gmail.comSigned-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 5fbe5b58
...@@ -2,7 +2,8 @@ Aspeed GPIO controller Device Tree Bindings ...@@ -2,7 +2,8 @@ Aspeed GPIO controller Device Tree Bindings
------------------------------------------- -------------------------------------------
Required properties: Required properties:
- compatible : Either "aspeed,ast2400-gpio" or "aspeed,ast2500-gpio" - compatible : Either "aspeed,ast2400-gpio", "aspeed,ast2500-gpio",
or "aspeed,ast2600-gpio".
- #gpio-cells : Should be two - #gpio-cells : Should be two
- First cell is the GPIO line number - First cell is the GPIO line number
...@@ -18,6 +19,8 @@ Required properties: ...@@ -18,6 +19,8 @@ Required properties:
Optional properties: Optional properties:
- clocks : A phandle to the clock to use for debounce timings - clocks : A phandle to the clock to use for debounce timings
- ngpios : Number of GPIOs controlled by this controller. Should be set
when there are multiple GPIO controllers on a SoC (ast2600).
The gpio and interrupt properties are further described in their respective The gpio and interrupt properties are further described in their respective
bindings documentation: bindings documentation:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment