提交 1d4a2166 编写于 作者: A Alan Tull 提交者: Linus Walleij

gpio: gpio-dwapb size-cells should be two

Fix size-cells to show use of OF_GPIO_ACTIVE_LOW flag.
Signed-off-by: NAlan Tull <atull@altera.com>
Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
上级 473ed7be
......@@ -12,7 +12,10 @@ represented as child nodes with the following properties:
Required properties:
- compatible : "snps,dw-apb-gpio-port"
- gpio-controller : Marks the device node as a gpio controller.
- #gpio-cells : Should be 1. It is the pin number.
- #gpio-cells : Should be two. The first cell is the pin number and
the second cell is used to specify the gpio polarity:
0 = active high
1 = active low
- reg : The integer port index of the port, a single cell.
Optional properties:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册