On 23/02/17 17:30, Thierry Reding wrote: > From: Thierry Reding <treding@xxxxxxxxxx> > > The P2771 development board expands the number of GPIOs via two I2C > chips. > > Signed-off-by: Thierry Reding <treding@xxxxxxxxxx> > --- > arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts | 22 ++++++++++++++++++++++ > 1 file changed, 22 insertions(+) > > diff --git a/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts b/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts > index 9485841e3351..eac75764bf3c 100644 > --- a/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts > +++ b/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts > @@ -18,6 +18,28 @@ > compatible = "ti,ina3221"; > reg = <0x43>; > }; > + > + exp1: gpio@74 { > + compatible = "ti,tca9539"; > + reg = <0x74>; > + > + interrupt-parent = <&gpio>; > + interrupts = <TEGRA_MAIN_GPIO(Y, 0) GPIO_ACTIVE_LOW>; > + > + #gpio-cells = <2>; > + gpio-controller; > + }; > + > + exp2: gpio@77 { > + compatible = "ti,tca9539"; > + reg = <0x77>; > + > + interrupt-parent = <&gpio>; > + interrupts = <TEGRA_MAIN_GPIO(Y, 6) GPIO_ACTIVE_LOW>; > + > + #gpio-cells = <2>; > + gpio-controller; > + }; > }; > > gpio-keys { > Acked-by: Jon Hunter <jonathanh@xxxxxxxxxx> Cheers Jon -- nvpublic -- To unsubscribe from this list: send the line "unsubscribe linux-tegra" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html