diff options
Diffstat (limited to 'mtcpmhs/gpio-expander-0.0.dtso')
-rw-r--r-- | mtcpmhs/gpio-expander-0.0.dtso | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/mtcpmhs/gpio-expander-0.0.dtso b/mtcpmhs/gpio-expander-0.0.dtso index 388deba..b93a49b 100644 --- a/mtcpmhs/gpio-expander-0.0.dtso +++ b/mtcpmhs/gpio-expander-0.0.dtso @@ -8,6 +8,7 @@ /* * Location(s): * Put: MTCDT3/0.0/gpio-expander.dtbo + * Link: MTCDT3/0.1/gpio-expander.dtbo */ #include "am4372.dtsi" @@ -21,17 +22,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 +42,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*/ |