diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2019-04-05 14:51:50 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-04-08 10:16:55 +0200 |
commit | 1dc748b3b202cadf9b799874d9af8d441ee556bc (patch) | |
tree | 58fd3c90a40e2d0128b0c7f36d63d7fc126bb20d /dts/Bindings/gpio/gateworks,pld-gpio.txt | |
parent | 9688b49cd3bc0b61a019e8e1311236c9975a0777 (diff) | |
download | barebox-1dc748b3b202cadf9b799874d9af8d441ee556bc.tar.gz barebox-1dc748b3b202cadf9b799874d9af8d441ee556bc.tar.xz |
dts: update to v5.1-rc1
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'dts/Bindings/gpio/gateworks,pld-gpio.txt')
-rw-r--r-- | dts/Bindings/gpio/gateworks,pld-gpio.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/dts/Bindings/gpio/gateworks,pld-gpio.txt b/dts/Bindings/gpio/gateworks,pld-gpio.txt new file mode 100644 index 0000000000..6e81f8b755 --- /dev/null +++ b/dts/Bindings/gpio/gateworks,pld-gpio.txt @@ -0,0 +1,20 @@ +Gateworks PLD GPIO controller bindings + +The GPIO controller should be a child node on an I2C bus, +see: i2c/i2c.txt for details. + +Required properties: +- compatible: Should be "gateworks,pld-gpio" +- reg: I2C slave address +- gpio-controller: Marks the device node as a GPIO controller. +- #gpio-cells: Should be <2>. The first cell is the gpio number and + the second cell is used to specify optional parameters. + +Example: + +pld@56 { + compatible = "gateworks,pld-gpio"; + reg = <0x56>; + gpio-controller; + #gpio-cells = <2>; +}; |