summaryrefslogtreecommitdiff
path: root/src/arm/s5pv210-pinctrl.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'src/arm/s5pv210-pinctrl.dtsi')
-rw-r--r--src/arm/s5pv210-pinctrl.dtsi9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/arm/s5pv210-pinctrl.dtsi b/src/arm/s5pv210-pinctrl.dtsi
index 7f0c9d447871..5e8b66281f01 100644
--- a/src/arm/s5pv210-pinctrl.dtsi
+++ b/src/arm/s5pv210-pinctrl.dtsi
@@ -18,6 +18,13 @@
#include <dt-bindings/pinctrl/samsung.h>
+#define PIN_SLP(_pin, _mode, _pull) \
+ _pin { \
+ samsung,pins = #_pin; \
+ samsung,pin-con-pdn = <EXYNOS_PIN_PDN_ ##_mode>; \
+ samsung,pin-pud-pdn = <S3C64XX_PIN_PULL_ ##_pull>; \
+ }
+
&pinctrl0 {
gpa0: gpa0 {
gpio-controller;
@@ -195,7 +202,7 @@
#interrupt-cells = <2>;
};
- gpgi: gpgi {
+ gpi: gpi {
gpio-controller;
#gpio-cells = <2>;
};