Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1338456 > unrolled thread

[PATCH] ARM: dts: TS-4800: Add gpio driver

Started byJulien Grossholtz <julien.grossholtz@savoirfairelinux.com>
First post2016-02-19 22:00 +0100
Last post2016-02-19 22:00 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] ARM: dts: TS-4800: Add gpio driver Julien Grossholtz <julien.grossholtz@savoirfairelinux.com> - 2016-02-19 22:00 +0100

#1338456 — [PATCH] ARM: dts: TS-4800: Add gpio driver

FromJulien Grossholtz <julien.grossholtz@savoirfairelinux.com>
Date2016-02-19 22:00 +0100
Subject[PATCH] ARM: dts: TS-4800: Add gpio driver
Message-ID<r40jE-2yF-7@gated-at.bofh.it>
Add dts nodes for TS-4800 FPGA gpio chips.

Signed-off-by: Julien Grossholtz <julien.grossholtz@savoirfairelinux.com>
---
 arch/arm/boot/dts/imx51-ts4800.dts | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/arch/arm/boot/dts/imx51-ts4800.dts b/arch/arm/boot/dts/imx51-ts4800.dts
index 0ff76a1..c72c944 100644
--- a/arch/arm/boot/dts/imx51-ts4800.dts
+++ b/arch/arm/boot/dts/imx51-ts4800.dts
@@ -165,6 +165,35 @@
 			reg = <0x12000 0x1000>;
 			syscon = <&syscon 0x10 6>;
 		};
+
+		fpga_gpio0: fpga_gpio0@b0010020 {
+			compatible = "technologic,ts4800-gpio";
+			reg = <0x10020 0x6>;
+			gpio-controller;
+			#gpio-cells = <2>;
+		};
+
+		fpga_gpio1: fpga_gpio1@b0010028 {
+			compatible = "technologic,ts4800-gpio";
+			reg = <0x10028 0x6>;
+			gpio-controller;
+			#gpio-cells = <2>;
+		};
+
+		fpga_gpio2: fpga_gpio2@b0010030 {
+			compatible = "technologic,ts4800-gpio";
+			reg = <0x10030 0x6>;
+			gpio-controller;
+			#gpio-cells = <2>;
+		};
+
+		fpga_gpio3: fpga_gpio3@b0010038 {
+			compatible = "technologic,ts4800-gpio";
+			reg = <0x10038 0x6>;
+			gpio-controller;
+			ngpios = <8>;
+			#gpio-cells = <2>;
+		};
 	};
 };
 
-- 
2.5.0

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web