From: Jean-Christophe PLAGNIOL-VILLARD Date: Sun, 26 May 2013 08:55:59 +0000 (+0800) Subject: ARM: at91: dt: sam9260: add i2c gpio pinctrl X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9cfceacb4983272c1f0a6926aec2b127143df692;p=karo-tx-linux.git ARM: at91: dt: sam9260: add i2c gpio pinctrl commit f89ae61bd74ae195c464bdd97a134e30908884d5 upstream. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: Nicolas Ferre Cc: Boris BREZILLON Signed-off-by: Greg Kroah-Hartman --- diff --git a/arch/arm/boot/dts/at91sam9260.dtsi b/arch/arm/boot/dts/at91sam9260.dtsi index 84c4bef2d726..43a18f74cddb 100644 --- a/arch/arm/boot/dts/at91sam9260.dtsi +++ b/arch/arm/boot/dts/at91sam9260.dtsi @@ -340,6 +340,14 @@ }; }; + i2c_gpio0 { + pinctrl_i2c_gpio0: i2c_gpio0-0 { + atmel,pins = + <0 23 0x0 0x3 /* PA23 gpio I2C_SDA pin */ + 0 24 0x0 0x3>; /* PA24 gpio I2C_SCL pin */ + }; + }; + pioA: gpio@fffff400 { compatible = "atmel,at91rm9200-gpio"; reg = <0xfffff400 0x200>; @@ -592,6 +600,8 @@ i2c-gpio,delay-us = <2>; /* ~100 kHz */ #address-cells = <1>; #size-cells = <0>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c_gpio0>; status = "disabled"; }; };