linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: socfpga: Add FPGA manager GPIO binding
@ 2018-10-03 22:54 Marek Vasut
  0 siblings, 0 replies; only message in thread
From: Marek Vasut @ 2018-10-03 22:54 UTC (permalink / raw)
  To: linux-arm-kernel

Add gpio-syscon binding to export the GPIO pins accessible via the
FPGA manager GPIO block.

Signed-off-by: Marek Vasut <marex@denx.de>
---
 arch/arm/boot/dts/socfpga.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm/boot/dts/socfpga.dtsi b/arch/arm/boot/dts/socfpga.dtsi
index 1835a824c9b9..b77c96bc445c 100644
--- a/arch/arm/boot/dts/socfpga.dtsi
+++ b/arch/arm/boot/dts/socfpga.dtsi
@@ -557,6 +557,13 @@
 			interrupts = <0 175 4>;
 		};
 
+		fpgamgr_gpio: gpio at ff706010 {
+			compatible = "altr,fpga-mgr-gpio";
+			gpio-controller;
+			#gpio-cells = <2>;
+			gpio,syscon-dev = <&fpgamgr0 0x4>;
+		};
+
 		gmac0: ethernet at ff700000 {
 			compatible = "altr,socfpga-stmmac", "snps,dwmac-3.70a", "snps,dwmac";
 			altr,sysmgr-syscon = <&sysmgr 0x60 0>;
-- 
2.18.0

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-10-03 22:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-03 22:54 [PATCH] ARM: dts: socfpga: Add FPGA manager GPIO binding Marek Vasut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).