mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-28 23:24:50 +00:00
dt-bindings: gpio: gpio-xilinx: Add clk support to xilinx soft gpio IP
Specify clock property in binding. Signed-off-by: Srinivas Neeli <srinivas.neeli@xilinx.com> Acked-by: Michal Simek <michal.simek@xilinx.com> Link: https://lore.kernel.org/r/1605201148-4508-3-git-send-email-srinivas.neeli@xilinx.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
8c669fe69a
commit
700a2b53bd
1 changed files with 2 additions and 0 deletions
|
@ -13,6 +13,7 @@ Required properties:
|
|||
- gpio-controller : Marks the device node as a GPIO controller.
|
||||
|
||||
Optional properties:
|
||||
- clocks : Input clock specifier. Refer to common clock bindings.
|
||||
- interrupts : Interrupt mapping for GPIO IRQ.
|
||||
- xlnx,all-inputs : if n-th bit is setup, GPIO-n is input
|
||||
- xlnx,dout-default : if n-th bit is 1, GPIO-n default value is 1
|
||||
|
@ -29,6 +30,7 @@ Example:
|
|||
gpio: gpio@40000000 {
|
||||
#gpio-cells = <2>;
|
||||
compatible = "xlnx,xps-gpio-1.00.a";
|
||||
clocks = <&clkc25>;
|
||||
gpio-controller ;
|
||||
interrupt-parent = <µblaze_0_intc>;
|
||||
interrupts = < 6 2 >;
|
||||
|
|
Loading…
Reference in a new issue