drivers: gpio: Add driver for pcf8574
Adds a driver for pcf8574 via i2c. Signed-off-by: Josia Strack <josia.strack@ithinx.io>
This commit is contained in:
parent
c56f546670
commit
ba7eb1025a
6 changed files with 453 additions and 0 deletions
|
@ -58,6 +58,15 @@
|
|||
interrupt-gpios = <&test_gpio 0 0>;
|
||||
};
|
||||
|
||||
test_i2c_pcf8574: pcf8574@27 {
|
||||
compatible = "nxp,pcf8574";
|
||||
reg = <0x27>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
ngpios = <8>;
|
||||
int-gpios = <&test_gpio 0 0>;
|
||||
};
|
||||
|
||||
test_i2c_pca953x: pca953x@70 {
|
||||
compatible = "ti,tca9538";
|
||||
reg = <0x70>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue