summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2013-05-26 16:55:59 +0800
committerNicolas Ferre <nicolas.ferre@atmel.com>2013-05-31 16:52:35 +0200
commitf89ae61bd74ae195c464bdd97a134e30908884d5 (patch)
treea76f5b4d1c5390e7a42038b27efea3ad3f28dc0b /arch/arm
parent004a3122cbff5bb214f18ee42d95961e6d9f44c3 (diff)
downloadblackbird-op-linux-f89ae61bd74ae195c464bdd97a134e30908884d5.tar.gz
blackbird-op-linux-f89ae61bd74ae195c464bdd97a134e30908884d5.zip
ARM: at91: dt: sam9260: add i2c gpio pinctrl
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/at91sam9260.dtsi10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/at91sam9260.dtsi b/arch/arm/boot/dts/at91sam9260.dtsi
index a776f50f1243..de571d9d9f5b 100644
--- a/arch/arm/boot/dts/at91sam9260.dtsi
+++ b/arch/arm/boot/dts/at91sam9260.dtsi
@@ -347,6 +347,14 @@
};
};
+ i2c_gpio0 {
+ pinctrl_i2c_gpio0: i2c_gpio0-0 {
+ atmel,pins =
+ <AT91_PIOA 23 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE
+ AT91_PIOA 24 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>;
+ };
+ };
+
pioA: gpio@fffff400 {
compatible = "atmel,at91rm9200-gpio";
reg = <0xfffff400 0x200>;
@@ -599,6 +607,8 @@
i2c-gpio,delay-us = <2>; /* ~100 kHz */
#address-cells = <1>;
#size-cells = <0>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_i2c_gpio0>;
status = "disabled";
};
};
OpenPOWER on IntegriCloud