From: Thierry Reding Date: Thu, 23 Feb 2017 17:30:53 +0000 (+0100) Subject: arm64: tegra: Add GPIO expanders on P2771 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b27d5250062ef7438f86d8ab6d0549dc912f4267;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git arm64: tegra: Add GPIO expanders on P2771 The P2771 development board expands the number of GPIOs via two I2C chips. Acked-by: Jon Hunter Signed-off-by: Thierry Reding --- diff --git a/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts b/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts index 78442ea81260..8daadadec63a 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 = ; + + #gpio-cells = <2>; + gpio-controller; + }; + + exp2: gpio@77 { + compatible = "ti,tca9539"; + reg = <0x77>; + + interrupt-parent = <&gpio>; + interrupts = ; + + #gpio-cells = <2>; + gpio-controller; + }; }; /* SDMMC1 (SD/MMC) */