diff options
author | Thierry Reding <treding@nvidia.com> | 2017-02-23 18:30:53 +0100 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2017-03-10 17:37:40 +0100 |
commit | b27d5250062ef7438f86d8ab6d0549dc912f4267 (patch) | |
tree | 036e28bfabdbe84e08423790d46d022f69bac32f /arch/arm64/boot/dts/nvidia | |
parent | b693b3d709c855a4f4a4dc5d2ac75ca794e0fa5e (diff) | |
download | linux-b27d5250062ef7438f86d8ab6d0549dc912f4267.tar.bz2 |
arm64: tegra: Add GPIO expanders on P2771
The P2771 development board expands the number of GPIOs via two I2C
chips.
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'arch/arm64/boot/dts/nvidia')
-rw-r--r-- | arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts | 22 |
1 files changed, 22 insertions, 0 deletions
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 = <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; + }; }; /* SDMMC1 (SD/MMC) */ |