Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b27d5250 authored by Thierry Reding's avatar Thierry Reding
Browse files

arm64: tegra: Add GPIO expanders on P2771



The P2771 development board expands the number of GPIOs via two I2C
chips.

Acked-by: default avatarJon Hunter <jonathanh@nvidia.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent b693b3d7
Loading
Loading
Loading
Loading
+22 −0
Original line number Diff line number Diff line
@@ -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) */