summaryrefslogtreecommitdiff
path: root/mtcpmhs/gpio-expander-0.1.dtso
diff options
context:
space:
mode:
Diffstat (limited to 'mtcpmhs/gpio-expander-0.1.dtso')
-rw-r--r--mtcpmhs/gpio-expander-0.1.dtso16
1 files changed, 3 insertions, 13 deletions
diff --git a/mtcpmhs/gpio-expander-0.1.dtso b/mtcpmhs/gpio-expander-0.1.dtso
index ba79b0c..e3126db 100644
--- a/mtcpmhs/gpio-expander-0.1.dtso
+++ b/mtcpmhs/gpio-expander-0.1.dtso
@@ -21,21 +21,11 @@
fragment@0 {
target-path = "/ocp@44000000/interconnect@48000000/segment@0/target-module@2a000/i2c@0";
__overlay__ {
- gpiom1: gpio@20 {
+ gpiom1: gpio@19 {
compatible = "nxp,pca9557";
gpio-controller;
#gpio-cells = <2>;
- reg = <0x20>;
- interrupt-parent = <&gpio1>;
- interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
- interrupt-controller;
- #interrupt-cells=<2>;
- }; /*gpio@20*/
- gpiom2: gpio@21 {
- compatible = "nxp,pca9557";
- gpio-controller;
- #gpio-cells = <2>;
- reg = <0x21>;
+ reg = <0x19>;
interrupt-parent = <&gpio1>;
interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
interrupt-controller;
@@ -51,7 +41,7 @@
leds-exp {
compatible = "gpio-leds";
led-gpio {
- gpios = <&gpiom2 6 GPIO_ACTIVE_LOW>;
+ gpios = <&gpiom1 6 GPIO_ACTIVE_LOW>;
default-state = "off";
}; /*led-gpio*/
}; /*leds-exp*/