aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRichard Genoud <richard.genoud@gmail.com>2013-03-12 12:54:45 -0400
committerNicolas Ferre <nicolas.ferre@atmel.com>2013-03-21 11:07:12 -0400
commite9a72ee81d587ea651d0bca61d192f24cb580350 (patch)
tree4f74e347410b709b0c674dfaa9d7a0916b01b672 /arch
parenta937536b868b8369b98967929045f1df54234323 (diff)
ARM: at91: dt: at91sam9x5: add i2c pinctrl
This adds the at19 i2c controller pin muxes for at91sam9x5 based boards. Signed-off-by: Richard Genoud <richard.genoud@gmail.com> Acked-by: Ludovic Desroches <ludovic.desroches@atmel.com> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/at91sam9x5.dtsi30
1 files changed, 30 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam9x5.dtsi
index aa98e641931f..8cbcff4fc093 100644
--- a/arch/arm/boot/dts/at91sam9x5.dtsi
+++ b/arch/arm/boot/dts/at91sam9x5.dtsi
@@ -319,6 +319,30 @@
319 }; 319 };
320 }; 320 };
321 321
322 i2c0 {
323 pinctrl_i2c0: i2c0-0 {
324 atmel,pins =
325 <0 30 0x1 0x0 /* PA30 periph A I2C0 data */
326 0 31 0x1 0x0>; /* PA31 periph A I2C0 clock */
327 };
328 };
329
330 i2c1 {
331 pinctrl_i2c1: i2c1-0 {
332 atmel,pins =
333 <2 0 0x3 0x0 /* PC0 periph C I2C1 data */
334 2 1 0x3 0x0>; /* PC1 periph C I2C1 clock */
335 };
336 };
337
338 i2c2 {
339 pinctrl_i2c2: i2c2-0 {
340 atmel,pins =
341 <1 4 0x2 0x0 /* PB4 periph B I2C2 data */
342 1 5 0x2 0x0>; /* PB5 periph B I2C2 clock */
343 };
344 };
345
322 pioA: gpio@fffff400 { 346 pioA: gpio@fffff400 {
323 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; 347 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
324 reg = <0xfffff400 0x200>; 348 reg = <0xfffff400 0x200>;
@@ -447,6 +471,8 @@
447 interrupts = <9 4 6>; 471 interrupts = <9 4 6>;
448 #address-cells = <1>; 472 #address-cells = <1>;
449 #size-cells = <0>; 473 #size-cells = <0>;
474 pinctrl-names = "default";
475 pinctrl-0 = <&pinctrl_i2c0>;
450 status = "disabled"; 476 status = "disabled";
451 }; 477 };
452 478
@@ -456,6 +482,8 @@
456 interrupts = <10 4 6>; 482 interrupts = <10 4 6>;
457 #address-cells = <1>; 483 #address-cells = <1>;
458 #size-cells = <0>; 484 #size-cells = <0>;
485 pinctrl-names = "default";
486 pinctrl-0 = <&pinctrl_i2c1>;
459 status = "disabled"; 487 status = "disabled";
460 }; 488 };
461 489
@@ -465,6 +493,8 @@
465 interrupts = <11 4 6>; 493 interrupts = <11 4 6>;
466 #address-cells = <1>; 494 #address-cells = <1>;
467 #size-cells = <0>; 495 #size-cells = <0>;
496 pinctrl-names = "default";
497 pinctrl-0 = <&pinctrl_i2c2>;
468 status = "disabled"; 498 status = "disabled";
469 }; 499 };
470 500