summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/s3c6410-mini6410.dts
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2016-09-04 13:04:17 +0200
committerKrzysztof Kozlowski <k.kozlowski@samsung.com>2016-09-16 13:32:16 +0200
commit68175d5dd7c5476da66922c2513b29ea6c669741 (patch)
treee65e7592a6c34d8e59a685a6a9753e84659bd75b /arch/arm/boot/dts/s3c6410-mini6410.dts
parent5e49773f8703a0b376cdcfd6b26fadf18485f26b (diff)
ARM: dts: s3c64xx: Use common macros for pinctrl configuration
Replace duplicated macros in each DTSI file with a common macro coming from header. Include the header in each pinctrl DTSI so further changes could use it. Although PIN_FUNC_SPC_2 does not bring much information about the function itself, it still is more descriptive then hard-coded number <2>. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com> Acked-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/s3c6410-mini6410.dts')
-rw-r--r--arch/arm/boot/dts/s3c6410-mini6410.dts4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/s3c6410-mini6410.dts b/arch/arm/boot/dts/s3c6410-mini6410.dts
index a25debb50401..f4afda3594f8 100644
--- a/arch/arm/boot/dts/s3c6410-mini6410.dts
+++ b/arch/arm/boot/dts/s3c6410-mini6410.dts
@@ -201,13 +201,13 @@
&pinctrl0 {
gpio_leds: gpio-leds {
samsung,pins = "gpk-4", "gpk-5", "gpk-6", "gpk-7";
- samsung,pin-pud = <PIN_PULL_NONE>;
+ samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
};
gpio_keys: gpio-keys {
samsung,pins = "gpn-0", "gpn-1", "gpn-2", "gpn-3",
"gpn-4", "gpn-5", "gpl-11", "gpl-12";
- samsung,pin-pud = <PIN_PULL_NONE>;
+ samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
};
};