mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-13 14:24:11 +08:00
gpio: dt-bindings: add more loongson gpio chip support
This patch was to add loongson 2k0500, 2k2000 and 3a5000 gpio chip dt-bindings support in yaml file. Signed-off-by: Yinbo Zhu <zhuyinbo@loongson.cn> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
This commit is contained in:
parent
ff2cbd758d
commit
1b83a90bd1
@ -11,9 +11,22 @@ maintainers:
|
||||
|
||||
properties:
|
||||
compatible:
|
||||
enum:
|
||||
- loongson,ls2k-gpio
|
||||
- loongson,ls7a-gpio
|
||||
oneOf:
|
||||
- enum:
|
||||
- loongson,ls2k-gpio
|
||||
- loongson,ls2k0500-gpio0
|
||||
- loongson,ls2k0500-gpio1
|
||||
- loongson,ls2k2000-gpio0
|
||||
- loongson,ls2k2000-gpio1
|
||||
- loongson,ls2k2000-gpio2
|
||||
- loongson,ls3a5000-gpio
|
||||
- loongson,ls7a-gpio
|
||||
- items:
|
||||
- const: loongson,ls2k1000-gpio
|
||||
- const: loongson,ls2k-gpio
|
||||
- items:
|
||||
- const: loongson,ls7a1000-gpio
|
||||
- const: loongson,ls7a-gpio
|
||||
|
||||
reg:
|
||||
maxItems: 1
|
||||
@ -49,7 +62,7 @@ examples:
|
||||
#include <dt-bindings/interrupt-controller/irq.h>
|
||||
|
||||
gpio0: gpio@1fe00500 {
|
||||
compatible = "loongson,ls2k-gpio";
|
||||
compatible = "loongson,ls2k1000-gpio", "loongson,ls2k-gpio";
|
||||
reg = <0x1fe00500 0x38>;
|
||||
ngpios = <64>;
|
||||
#gpio-cells = <2>;
|
||||
|
Loading…
Reference in New Issue
Block a user