mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 13:22:23 +00:00
7b9c5162c1
In order to use the mctrl_gpio helpers, we change the DT bindings: ri-gpios renamed to rng-gpios. cd-gpios renamed to dcd-gpios. However, no in-tree dts/dtsi specifies these, so no worries. Signed-off-by: Niklas Cassel <nks@flawful.org> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Tested-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
24 lines
577 B
Plaintext
24 lines
577 B
Plaintext
ETRAX FS UART
|
|
|
|
Required properties:
|
|
- compatible : "axis,etraxfs-uart"
|
|
- reg: offset and length of the register set for the device.
|
|
- interrupts: device interrupt
|
|
|
|
Optional properties:
|
|
- {dtr,dsr,rng,dcd}-gpios: specify a GPIO for DTR/DSR/RI/DCD
|
|
line respectively.
|
|
|
|
Example:
|
|
|
|
serial@b00260000 {
|
|
compatible = "axis,etraxfs-uart";
|
|
reg = <0xb0026000 0x1000>;
|
|
interrupts = <68>;
|
|
status = "disabled";
|
|
dtr-gpios = <&sysgpio 0 GPIO_ACTIVE_LOW>;
|
|
dsr-gpios = <&sysgpio 1 GPIO_ACTIVE_LOW>;
|
|
rng-gpios = <&sysgpio 2 GPIO_ACTIVE_LOW>;
|
|
dcd-gpios = <&sysgpio 3 GPIO_ACTIVE_LOW>;
|
|
};
|