diff options
author | Joachim Eastwood <manabian@gmail.com> | 2013-02-07 20:25:55 -0500 |
---|---|---|
committer | Nicolas Ferre <nicolas.ferre@atmel.com> | 2013-03-21 11:07:14 -0400 |
commit | 83960c820b0c31c603182350a6db74ee23fd053a (patch) | |
tree | 2d7ed1508b12ccd5efa1dd20cd22f5a8203a1c16 /arch/arm/boot/dts/at91rm9200.dtsi | |
parent | 2d25210ddd116e8fa4afc45529db6b5cb1f3538b (diff) |
ARM: at91: add pinctrl nodes to i2c-gpio on RM92000 DT
GPIO pins used by i2c-gpio must be set to multi drive
(open drain) to work properly.
Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm/boot/dts/at91rm9200.dtsi')
-rw-r--r-- | arch/arm/boot/dts/at91rm9200.dtsi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/at91rm9200.dtsi b/arch/arm/boot/dts/at91rm9200.dtsi index a7031c6b8603..5d3ed5aafc69 100644 --- a/arch/arm/boot/dts/at91rm9200.dtsi +++ b/arch/arm/boot/dts/at91rm9200.dtsi | |||
@@ -383,6 +383,12 @@ | |||
383 | <0 25 0x1 0x2 /* PA25 periph A with multi drive */ | 383 | <0 25 0x1 0x2 /* PA25 periph A with multi drive */ |
384 | 0 26 0x1 0x2>; /* PA26 periph A with multi drive */ | 384 | 0 26 0x1 0x2>; /* PA26 periph A with multi drive */ |
385 | }; | 385 | }; |
386 | |||
387 | pinctrl_twi_gpio: twi_gpio-0 { | ||
388 | atmel,pins = | ||
389 | <0 25 0x0 0x2 /* PA25 GPIO with multi drive */ | ||
390 | 0 26 0x0 0x2>; /* PA26 GPIO with multi drive */ | ||
391 | }; | ||
386 | }; | 392 | }; |
387 | 393 | ||
388 | pioA: gpio@fffff400 { | 394 | pioA: gpio@fffff400 { |
@@ -520,6 +526,8 @@ | |||
520 | i2c-gpio,sda-open-drain; | 526 | i2c-gpio,sda-open-drain; |
521 | i2c-gpio,scl-open-drain; | 527 | i2c-gpio,scl-open-drain; |
522 | i2c-gpio,delay-us = <2>; /* ~100 kHz */ | 528 | i2c-gpio,delay-us = <2>; /* ~100 kHz */ |
529 | pinctrl-names = "default"; | ||
530 | pinctrl-0 = <&pinctrl_twi_gpio>; | ||
523 | #address-cells = <1>; | 531 | #address-cells = <1>; |
524 | #size-cells = <0>; | 532 | #size-cells = <0>; |
525 | status = "disabled"; | 533 | status = "disabled"; |