aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/at91sam9n12.dtsi
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2013-04-23 20:34:25 -0400
committerNicolas Ferre <nicolas.ferre@atmel.com>2013-05-17 05:27:49 -0400
commit92f8629b60cace02e3e294f92672c790695d0cca (patch)
tree039e52293baa9a1842467425ea1a0f887334333d /arch/arm/boot/dts/at91sam9n12.dtsi
parent6db64d2978665c9bd70d1054923e00b59a823cc9 (diff)
ARM: at91: dt: switch to standard GPIO flag defines.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm/boot/dts/at91sam9n12.dtsi')
-rw-r--r--arch/arm/boot/dts/at91sam9n12.dtsi9
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/at91sam9n12.dtsi b/arch/arm/boot/dts/at91sam9n12.dtsi
index e8488700c4b4..5205403ca1e3 100644
--- a/arch/arm/boot/dts/at91sam9n12.dtsi
+++ b/arch/arm/boot/dts/at91sam9n12.dtsi
@@ -8,6 +8,7 @@
8 */ 8 */
9 9
10#include "skeleton.dtsi" 10#include "skeleton.dtsi"
11#include <dt-bindings/gpio/gpio.h>
11 12
12/ { 13/ {
13 model = "Atmel AT91SAM9N12 SoC"; 14 model = "Atmel AT91SAM9N12 SoC";
@@ -438,8 +439,8 @@
438 atmel,nand-cmd-offset = <22>; 439 atmel,nand-cmd-offset = <22>;
439 pinctrl-names = "default"; 440 pinctrl-names = "default";
440 pinctrl-0 = <&pinctrl_nand>; 441 pinctrl-0 = <&pinctrl_nand>;
441 gpios = <&pioD 5 0 442 gpios = <&pioD 5 GPIO_ACTIVE_HIGH
442 &pioD 4 0 443 &pioD 4 GPIO_ACTIVE_HIGH
443 0 444 0
444 >; 445 >;
445 status = "disabled"; 446 status = "disabled";
@@ -455,8 +456,8 @@
455 456
456 i2c@0 { 457 i2c@0 {
457 compatible = "i2c-gpio"; 458 compatible = "i2c-gpio";
458 gpios = <&pioA 30 0 /* sda */ 459 gpios = <&pioA 30 GPIO_ACTIVE_HIGH /* sda */
459 &pioA 31 0 /* scl */ 460 &pioA 31 GPIO_ACTIVE_HIGH /* scl */
460 >; 461 >;
461 i2c-gpio,sda-open-drain; 462 i2c-gpio,sda-open-drain;
462 i2c-gpio,scl-open-drain; 463 i2c-gpio,scl-open-drain;