Message ID | 1448433590-1399-16-git-send-email-lifshitz@compulab.co.il (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 11/25/2015 12:39 AM, Dmitry Lifshitz wrote: > Add PCA9555 GPIO extender support (over I2C5 bus). I think you meant to say "GPIO expander" in commit message and $subject perhaps? > > Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il> > Acked-by: Igor Grinberg <grinberg@compulab.co.il> > --- > arch/arm/boot/dts/am57xx-sbc-am57x.dts | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/arch/arm/boot/dts/am57xx-sbc-am57x.dts b/arch/arm/boot/dts/am57xx-sbc-am57x.dts > index 7b65efb..8b7c0b5 100644 > --- a/arch/arm/boot/dts/am57xx-sbc-am57x.dts > +++ b/arch/arm/boot/dts/am57xx-sbc-am57x.dts > @@ -90,4 +90,11 @@ > reg = <0x50>; > pagesize = <16>; > }; > + > + pca9555: pca9555@20 { > + compatible = "nxp,pca9555"; > + reg = <0x20>; > + gpio-controller; > + #gpio-cells = <2>; > + }; > }; >
diff --git a/arch/arm/boot/dts/am57xx-sbc-am57x.dts b/arch/arm/boot/dts/am57xx-sbc-am57x.dts index 7b65efb..8b7c0b5 100644 --- a/arch/arm/boot/dts/am57xx-sbc-am57x.dts +++ b/arch/arm/boot/dts/am57xx-sbc-am57x.dts @@ -90,4 +90,11 @@ reg = <0x50>; pagesize = <16>; }; + + pca9555: pca9555@20 { + compatible = "nxp,pca9555"; + reg = <0x20>; + gpio-controller; + #gpio-cells = <2>; + }; };