summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/at91sam9x5cm.dtsi
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2013-05-28 07:36:06 +0200
committerOlof Johansson <olof@lixom.net>2013-05-28 07:43:36 +0200
commitb891e30e55c4d47d6b3c4de1b4f89e7683104c93 (patch)
treeff32f9e6f7e5b687706d6c7906fd8649994c2727 /arch/arm/boot/dts/at91sam9x5cm.dtsi
parentLinux 3.10-rc3 (diff)
parentARM: at91: udpate defconfigs (diff)
downloadlinux-b891e30e55c4d47d6b3c4de1b4f89e7683104c93.tar.xz
linux-b891e30e55c4d47d6b3c4de1b4f89e7683104c93.zip
Merge tag 'at91-cleanup' of git://github.com/at91linux/linux-at91 into next/cleanup
From Nicolas Ferre: Big update converting pinctrl to use macros and header files. Increases readability and avoids typos. Update of AT91 defconfigs and merge of defconfigs for the similar SoCs sam9260/9g20 and sam9261/9g10. * tag 'at91-cleanup' of git://github.com/at91linux/linux-at91: ARM: at91: udpate defconfigs ARM: at91: dt: switch to standard IRQ flag defines ARM: at91: dt: switch to pinctrl to pre-processor ARM: at91: dt: add pinctrl pre-processor define ARM: at91: dt: switch to standard GPIO flag defines. ARM: at91: dt: use #include for all device trees Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/boot/dts/at91sam9x5cm.dtsi')
-rw-r--r--arch/arm/boot/dts/at91sam9x5cm.dtsi8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/at91sam9x5cm.dtsi b/arch/arm/boot/dts/at91sam9x5cm.dtsi
index 347a74a857f6..4a5ee5cc115a 100644
--- a/arch/arm/boot/dts/at91sam9x5cm.dtsi
+++ b/arch/arm/boot/dts/at91sam9x5cm.dtsi
@@ -28,7 +28,7 @@
pinctrl@fffff400 {
1wire_cm {
pinctrl_1wire_cm: 1wire_cm-0 {
- atmel,pins = <1 18 0x0 0x2>; /* PB18 multidrive, conflicts with led */
+ atmel,pins = <AT91_PIOB 18 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>; /* PB18 multidrive, conflicts with led */
};
};
};
@@ -75,19 +75,19 @@
pb18 {
label = "pb18";
- gpios = <&pioB 18 1>;
+ gpios = <&pioB 18 GPIO_ACTIVE_LOW>;
linux,default-trigger = "heartbeat";
};
pd21 {
label = "pd21";
- gpios = <&pioD 21 0>;
+ gpios = <&pioD 21 GPIO_ACTIVE_HIGH>;
};
};
1wire_cm {
compatible = "w1-gpio";
- gpios = <&pioB 18 0>;
+ gpios = <&pioB 18 GPIO_ACTIVE_HIGH>;
linux,open-drain;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_1wire_cm>;