diff options
author | Vyacheslav Pedash <vyacheslav.pedash@globallogic.com> | 2022-08-17 18:19:07 +0300 |
---|---|---|
committer | Vyacheslav Pedash <vyacheslav.pedash@globallogic.com> | 2022-08-17 18:19:07 +0300 |
commit | b9d424fe24d8138846ad74ccd8f31bcc819e76a3 (patch) | |
tree | 069fb97ec40306eaf06bd04a1d142d015a310661 | |
parent | 9d1754d92ced9f771cd0fcf00a128ca58e388596 (diff) | |
download | mt-dt-overlay-b9d424fe24d8138846ad74ccd8f31bcc819e76a3.tar.gz mt-dt-overlay-b9d424fe24d8138846ad74ccd8f31bcc819e76a3.tar.bz2 mt-dt-overlay-b9d424fe24d8138846ad74ccd8f31bcc819e76a3.zip |
MTX-4571 Fix I2C GPIO addr for MTCDT3 v 0.1. Remove 0x20 (0x18) GPIO.
-rw-r--r-- | mtcpmhs/gpio-expander-0.0.dtso | 14 | ||||
-rw-r--r-- | mtcpmhs/gpio-expander-0.1.dtso | 16 |
2 files changed, 5 insertions, 25 deletions
diff --git a/mtcpmhs/gpio-expander-0.0.dtso b/mtcpmhs/gpio-expander-0.0.dtso index 388deba..48d2cd7 100644 --- a/mtcpmhs/gpio-expander-0.0.dtso +++ b/mtcpmhs/gpio-expander-0.0.dtso @@ -21,17 +21,7 @@ fragment@0 { target-path = "/ocp@44000000/interconnect@48000000/segment@0/target-module@2a000/i2c@0"; __overlay__ { - gpiom1: gpio@20 { - compatible = "microchip,mcp23008"; - 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 { + gpiom1: gpio@21 { compatible = "microchip,mcp23008"; gpio-controller; #gpio-cells = <2>; @@ -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*/ 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*/ |