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


Groups > linux.kernel > #1226206

[PATCH v2 4/7] ARM: at91/dt: sama5d2: add pio controller node

From Ludovic Desroches <ludovic.desroches@atmel.com>
Newsgroups linux.kernel
Subject [PATCH v2 4/7] ARM: at91/dt: sama5d2: add pio controller node
Date 2015-09-16 17:40 +0200
Message-ID <q9mYr-8y-29@gated-at.bofh.it> (permalink)
References <q9mYq-8y-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Add pio4 controller node to enable pinmux and gpio.

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
---
 arch/arm/boot/dts/sama5d2.dtsi | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi
index 034cd48..cc05cde 100644
--- a/arch/arm/boot/dts/sama5d2.dtsi
+++ b/arch/arm/boot/dts/sama5d2.dtsi
@@ -921,6 +921,20 @@
 				clocks = <&twi1_clk>;
 				status = "disabled";
 			};
+
+			pioA: pinctrl@fc038000 {
+				compatible = "atmel,sama5d2-pinctrl";
+				reg = <0xfc038000 0x600>;
+				interrupts = <18 IRQ_TYPE_LEVEL_HIGH 7>,
+					     <68 IRQ_TYPE_LEVEL_HIGH 7>,
+					     <69 IRQ_TYPE_LEVEL_HIGH 7>,
+					     <70 IRQ_TYPE_LEVEL_HIGH 7>;
+				interrupt-controller;
+				#interrupt-cells = <2>;
+				gpio-controller;
+				#gpio-cells = <2>;
+				clocks = <&pioA_clk>;
+			};
 		};
 	};
 };
-- 
2.5.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/7] New Atmel PIO4 pinctrl/gpio driver Ludovic Desroches <ludovic.desroches@atmel.com> - 2015-09-16 17:40 +0200
  [PATCH v2 4/7] ARM: at91/dt: sama5d2: add pio controller node Ludovic Desroches <ludovic.desroches@atmel.com> - 2015-09-16 17:40 +0200
    Re: [PATCH v2 4/7] ARM: at91/dt: sama5d2: add pio controller node Linus Walleij <linus.walleij@linaro.org> - 2015-09-21 20:30 +0200
  Re: [PATCH v2 6/7] ARM: at91/dt: add sama5d2 pinmux Linus Walleij <linus.walleij@linaro.org> - 2015-09-21 20:30 +0200
  Re: [PATCH v2 0/7] New Atmel PIO4 pinctrl/gpio driver Linus Walleij <linus.walleij@linaro.org> - 2015-09-21 21:00 +0200

csiph-web