diff options
author | Harsh Sharma <harsh.sharma@multitech.com> | 2022-08-23 09:21:48 -0500 |
---|---|---|
committer | Harsh Sharma <harsh.sharma@multitech.com> | 2022-08-23 09:21:48 -0500 |
commit | ddc64ad625fd8696c202dd4b7deed90fcba50696 (patch) | |
tree | 5ea6f5236cfaff315ef8693c91f20d8db935110d /mtcpmhs/gpio-expander-0.1.dtso | |
parent | 9d1754d92ced9f771cd0fcf00a128ca58e388596 (diff) | |
parent | a75f4a12bdd234c442bdb78761d4fa64015e4405 (diff) | |
download | mt-dt-overlay-ddc64ad625fd8696c202dd4b7deed90fcba50696.tar.gz mt-dt-overlay-ddc64ad625fd8696c202dd4b7deed90fcba50696.tar.bz2 mt-dt-overlay-ddc64ad625fd8696c202dd4b7deed90fcba50696.zip |
Merge branch 'vp/fix_gpio_addr' into 'master'
1.2.9
MTX-4571 Fix I2C GPIO addr for MTCDT3 v 0.2. Remove 0x20 (0x18) GPIO.
See merge request !6
Diffstat (limited to 'mtcpmhs/gpio-expander-0.1.dtso')
-rw-r--r-- | mtcpmhs/gpio-expander-0.1.dtso | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/mtcpmhs/gpio-expander-0.1.dtso b/mtcpmhs/gpio-expander-0.1.dtso deleted file mode 100644 index ba79b0c..0000000 --- a/mtcpmhs/gpio-expander-0.1.dtso +++ /dev/null @@ -1,60 +0,0 @@ -/* - * DTS overlay for MTCDT3 0.1 hardware version. - */ - -/dts-v1/; -/plugin/; - -/* - * Location(s): - * Put: MTCDT3/0.1/gpio-expander.dtbo - */ - -#include "am4372.dtsi" -#include <dt-bindings/pinctrl/am43xx.h> -#include <dt-bindings/pwm/pwm.h> -#include <dt-bindings/gpio/gpio.h> - - -/ { - compatible = "ti,am437x-gp-evm", "ti,am4372", "ti,am43"; - fragment@0 { - target-path = "/ocp@44000000/interconnect@48000000/segment@0/target-module@2a000/i2c@0"; - __overlay__ { - gpiom1: gpio@20 { - 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>; - interrupt-parent = <&gpio1>; - interrupts = <7 IRQ_TYPE_LEVEL_LOW>; - interrupt-controller; - #interrupt-cells=<2>; - gpio-line-names = "", "", "modesel_0", "modesel_1", "termination_en", "RTS_override", "gpio_exp_led", ""; - }; /*gpio@20*/ - }; /*overlay*/ - }; /*fragment@0*/ - - fragement@1 { - target-path = "/"; - __overlay__ { - leds-exp { - compatible = "gpio-leds"; - led-gpio { - gpios = <&gpiom2 6 GPIO_ACTIVE_LOW>; - default-state = "off"; - }; /*led-gpio*/ - }; /*leds-exp*/ - }; /*overlay*/ - }; /*fragement@1*/ -}; |