Commit 2008ee09 authored by Arnd Bergmann's avatar Arnd Bergmann

Merge tag 'samsung-dt-pinctrl-4.9' of...

Merge tag 'samsung-dt-pinctrl-4.9' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux into next/dt

Pull "Topic branch for Samsung DeviceTree cleanup for 4.9" from Krzysztof Kozłowski:

Replace in DT sources hard-coded values for pinctrl configuration like pull
up/down, drive strength and function. This makes the DTS easier to read,
especially that some drive strengths values are quite non-obvious.

* tag 'samsung-dt-pinctrl-4.9' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
  ARM: dts: s3c64xx: Use macros for pinctrl configuration
  ARM: dts: s3c2416: Use macros for pinctrl configuration
  ARM: dts: s5pv210: Use macros for pinctrl configuration
  ARM: dts: s3c64xx: Use common macros for pinctrl configuration
  ARM: dts: exynos: Fix mismatched values of SD drive strengh configuration on exynos4415
  ARM: dts: exynos: Fix mismatched value for SD4 pull up/down configuration on exynos4210
  ARM: dts: exynos: Use macros for pinctrl configuration on exynos542x/exynos5800
  ARM: dts: exynos: Use macros for pinctrl configuration on exynos5410
  ARM: dts: exynos: Use macros for pinctrl configuration on exynos5260
  ARM: dts: exynos: Use macros for pinctrl configuration on exynos5250
  ARM: dts: exynos: Use macros for pinctrl configuration on exynos4415
  ARM: dts: exynos: Use macros for pinctrl configuration on exynos4x12
  ARM: dts: exynos: Use macros for pinctrl configuration on exynos4210
  ARM: dts: exynos: Use macros for pinctrl configuration on exynos3250
  ARM: dts: exynos: Use common macros for pinctrl configuration
  pinctrl: dt-bindings: samsung: Update documentation with new macros
  pinctrl: dt-bindings: samsung: Add header with values used for configuration
parents b994738b d1379923
...@@ -229,6 +229,8 @@ Example: A pin-controller node with pin banks: ...@@ -229,6 +229,8 @@ Example: A pin-controller node with pin banks:
Example 1: A pin-controller node with pin groups. Example 1: A pin-controller node with pin groups.
#include <dt-bindings/pinctrl/samsung.h>
pinctrl_0: pinctrl@11400000 { pinctrl_0: pinctrl@11400000 {
compatible = "samsung,exynos4210-pinctrl"; compatible = "samsung,exynos4210-pinctrl";
reg = <0x11400000 0x1000>; reg = <0x11400000 0x1000>;
...@@ -238,53 +240,53 @@ Example 1: A pin-controller node with pin groups. ...@@ -238,53 +240,53 @@ Example 1: A pin-controller node with pin groups.
uart0_data: uart0-data { uart0_data: uart0-data {
samsung,pins = "gpa0-0", "gpa0-1"; samsung,pins = "gpa0-0", "gpa0-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
uart0_fctl: uart0-fctl { uart0_fctl: uart0-fctl {
samsung,pins = "gpa0-2", "gpa0-3"; samsung,pins = "gpa0-2", "gpa0-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
uart1_data: uart1-data { uart1_data: uart1-data {
samsung,pins = "gpa0-4", "gpa0-5"; samsung,pins = "gpa0-4", "gpa0-5";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
uart1_fctl: uart1-fctl { uart1_fctl: uart1-fctl {
samsung,pins = "gpa0-6", "gpa0-7"; samsung,pins = "gpa0-6", "gpa0-7";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2c2_bus: i2c2-bus { i2c2_bus: i2c2-bus {
samsung,pins = "gpa0-6", "gpa0-7"; samsung,pins = "gpa0-6", "gpa0-7";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
sd4_bus8: sd4-bus-width8 { sd4_bus8: sd4-bus-width8 {
part-1 { part-1 {
samsung,pins = "gpk0-3", "gpk0-4", samsung,pins = "gpk0-3", "gpk0-4",
"gpk0-5", "gpk0-6"; "gpk0-5", "gpk0-6";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
part-2 { part-2 {
samsung,pins = "gpk1-3", "gpk1-4", samsung,pins = "gpk1-3", "gpk1-4",
"gpk1-5", "gpk1-6"; "gpk1-5", "gpk1-6";
samsung,pin-function = <4>; samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
samsung,pin-pud = <4>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
}; };
}; };
......
...@@ -9252,6 +9252,8 @@ L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) ...@@ -9252,6 +9252,8 @@ L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
L: linux-samsung-soc@vger.kernel.org (moderated for non-subscribers) L: linux-samsung-soc@vger.kernel.org (moderated for non-subscribers)
S: Maintained S: Maintained
F: drivers/pinctrl/samsung/ F: drivers/pinctrl/samsung/
F: include/dt-bindings/pinctrl/samsung.h
F: Documentation/devicetree/bindings/pinctrl/samsung-pinctrl.txt
PIN CONTROLLER - SINGLE PIN CONTROLLER - SINGLE
M: Tony Lindgren <tony@atomide.com> M: Tony Lindgren <tony@atomide.com>
......
...@@ -12,58 +12,46 @@ ...@@ -12,58 +12,46 @@
* published by the Free Software Foundation. * published by the Free Software Foundation.
*/ */
#define PIN_PULL_NONE 0 #include <dt-bindings/pinctrl/samsung.h>
#define PIN_PULL_DOWN 1
#define PIN_PULL_UP 3 #define PIN_IN(_pin, _pull, _drv) \
_pin { \
#define PIN_DRV_LV1 0 samsung,pins = #_pin; \
#define PIN_DRV_LV2 2 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>; \
#define PIN_DRV_LV3 1 samsung,pin-pud = <EXYNOS_PIN_PULL_ ##_pull>; \
#define PIN_DRV_LV4 3 samsung,pin-drv = <EXYNOS4_PIN_DRV_ ##_drv>; \
#define PIN_PDN_OUT0 0
#define PIN_PDN_OUT1 1
#define PIN_PDN_INPUT 2
#define PIN_PDN_PREV 3
#define PIN_IN(_pin, _pull, _drv) \
_pin { \
samsung,pins = #_pin; \
samsung,pin-function = <0>; \
samsung,pin-pud = <PIN_PULL_ ##_pull>; \
samsung,pin-drv = <PIN_DRV_ ##_drv>; \
} }
#define PIN_OUT(_pin, _drv) \ #define PIN_OUT(_pin, _drv) \
_pin { \ _pin { \
samsung,pins = #_pin; \ samsung,pins = #_pin; \
samsung,pin-function = <1>; \ samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; \
samsung,pin-pud = <0>; \ samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; \
samsung,pin-drv = <PIN_DRV_ ##_drv>; \ samsung,pin-drv = <EXYNOS4_PIN_DRV_ ##_drv>; \
} }
#define PIN_OUT_SET(_pin, _val, _drv) \ #define PIN_OUT_SET(_pin, _val, _drv) \
_pin { \ _pin { \
samsung,pins = #_pin; \ samsung,pins = #_pin; \
samsung,pin-function = <1>; \ samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; \
samsung,pin-pud = <0>; \ samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; \
samsung,pin-drv = <PIN_DRV_ ##_drv>; \ samsung,pin-drv = <EXYNOS4_PIN_DRV_ ##_drv>; \
samsung,pin-val = <_val>; \ samsung,pin-val = <_val>; \
} }
#define PIN_CFG(_pin, _sel, _pull, _drv) \ #define PIN_CFG(_pin, _sel, _pull, _drv) \
_pin { \ _pin { \
samsung,pins = #_pin; \ samsung,pins = #_pin; \
samsung,pin-function = <_sel>; \ samsung,pin-function = <_sel>; \
samsung,pin-pud = <PIN_PULL_ ##_pull>; \ samsung,pin-pud = <EXYNOS_PIN_PULL_ ##_pull>; \
samsung,pin-drv = <PIN_DRV_ ##_drv>; \ samsung,pin-drv = <EXYNOS4_PIN_DRV_ ##_drv>; \
} }
#define PIN_SLP(_pin, _mode, _pull) \ #define PIN_SLP(_pin, _mode, _pull) \
_pin { \ _pin { \
samsung,pins = #_pin; \ samsung,pins = #_pin; \
samsung,pin-con-pdn = <PIN_PDN_ ##_mode>; \ samsung,pin-con-pdn = <EXYNOS_PIN_PDN_ ##_mode>; \
samsung,pin-pud-pdn = <PIN_PULL_ ##_pull>; \ samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_ ##_pull>; \
} }
&pinctrl_0 { &pinctrl_0 {
...@@ -125,158 +113,158 @@ gpd1: gpd1 { ...@@ -125,158 +113,158 @@ gpd1: gpd1 {
uart0_data: uart0-data { uart0_data: uart0-data {
samsung,pins = "gpa0-0", "gpa0-1"; samsung,pins = "gpa0-0", "gpa0-1";
samsung,pin-function = <0x2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
uart0_fctl: uart0-fctl { uart0_fctl: uart0-fctl {
samsung,pins = "gpa0-2", "gpa0-3"; samsung,pins = "gpa0-2", "gpa0-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
uart1_data: uart1-data { uart1_data: uart1-data {
samsung,pins = "gpa0-4", "gpa0-5"; samsung,pins = "gpa0-4", "gpa0-5";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
uart1_fctl: uart1-fctl { uart1_fctl: uart1-fctl {
samsung,pins = "gpa0-6", "gpa0-7"; samsung,pins = "gpa0-6", "gpa0-7";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2c2_bus: i2c2-bus { i2c2_bus: i2c2-bus {
samsung,pins = "gpa0-6", "gpa0-7"; samsung,pins = "gpa0-6", "gpa0-7";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
uart2_data: uart2-data { uart2_data: uart2-data {
samsung,pins = "gpa1-0", "gpa1-1"; samsung,pins = "gpa1-0", "gpa1-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2c3_bus: i2c3-bus { i2c3_bus: i2c3-bus {
samsung,pins = "gpa1-2", "gpa1-3"; samsung,pins = "gpa1-2", "gpa1-3";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
spi0_bus: spi0-bus { spi0_bus: spi0-bus {
samsung,pins = "gpb-0", "gpb-2", "gpb-3"; samsung,pins = "gpb-0", "gpb-2", "gpb-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2c4_bus: i2c4-bus { i2c4_bus: i2c4-bus {
samsung,pins = "gpb-0", "gpb-1"; samsung,pins = "gpb-0", "gpb-1";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
spi1_bus: spi1-bus { spi1_bus: spi1-bus {
samsung,pins = "gpb-4", "gpb-6", "gpb-7"; samsung,pins = "gpb-4", "gpb-6", "gpb-7";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2c5_bus: i2c5-bus { i2c5_bus: i2c5-bus {
samsung,pins = "gpb-2", "gpb-3"; samsung,pins = "gpb-2", "gpb-3";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2s2_bus: i2s2-bus { i2s2_bus: i2s2-bus {
samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3", samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3",
"gpc1-4"; "gpc1-4";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
pcm2_bus: pcm2-bus { pcm2_bus: pcm2-bus {
samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3", samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3",
"gpc1-4"; "gpc1-4";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2c6_bus: i2c6-bus { i2c6_bus: i2c6-bus {
samsung,pins = "gpc1-3", "gpc1-4"; samsung,pins = "gpc1-3", "gpc1-4";
samsung,pin-function = <4>; samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
pwm0_out: pwm0-out { pwm0_out: pwm0-out {
samsung,pins = "gpd0-0"; samsung,pins = "gpd0-0";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
pwm1_out: pwm1-out { pwm1_out: pwm1-out {
samsung,pins = "gpd0-1"; samsung,pins = "gpd0-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2c7_bus: i2c7-bus { i2c7_bus: i2c7-bus {
samsung,pins = "gpd0-2", "gpd0-3"; samsung,pins = "gpd0-2", "gpd0-3";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
pwm2_out: pwm2-out { pwm2_out: pwm2-out {
samsung,pins = "gpd0-2"; samsung,pins = "gpd0-2";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
pwm3_out: pwm3-out { pwm3_out: pwm3-out {
samsung,pins = "gpd0-3"; samsung,pins = "gpd0-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2c0_bus: i2c0-bus { i2c0_bus: i2c0-bus {
samsung,pins = "gpd1-0", "gpd1-1"; samsung,pins = "gpd1-0", "gpd1-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
mipi0_clk: mipi0-clk { mipi0_clk: mipi0-clk {
samsung,pins = "gpd1-0", "gpd1-1"; samsung,pins = "gpd1-0", "gpd1-1";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2c1_bus: i2c1-bus { i2c1_bus: i2c1-bus {
samsung,pins = "gpd1-2", "gpd1-3"; samsung,pins = "gpd1-2", "gpd1-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
}; };
...@@ -408,164 +396,164 @@ gpx3: gpx3 { ...@@ -408,164 +396,164 @@ gpx3: gpx3 {
sd0_clk: sd0-clk { sd0_clk: sd0-clk {
samsung,pins = "gpk0-0"; samsung,pins = "gpk0-0";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd0_cmd: sd0-cmd { sd0_cmd: sd0-cmd {
samsung,pins = "gpk0-1"; samsung,pins = "gpk0-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd0_cd: sd0-cd { sd0_cd: sd0-cd {
samsung,pins = "gpk0-2"; samsung,pins = "gpk0-2";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd0_rdqs: sd0-rdqs { sd0_rdqs: sd0-rdqs {
samsung,pins = "gpk0-7"; samsung,pins = "gpk0-7";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd0_bus1: sd0-bus-width1 { sd0_bus1: sd0-bus-width1 {
samsung,pins = "gpk0-3"; samsung,pins = "gpk0-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd0_bus4: sd0-bus-width4 { sd0_bus4: sd0-bus-width4 {
samsung,pins = "gpk0-4", "gpk0-5", "gpk0-6"; samsung,pins = "gpk0-4", "gpk0-5", "gpk0-6";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd0_bus8: sd0-bus-width8 { sd0_bus8: sd0-bus-width8 {
samsung,pins = "gpl0-0", "gpl0-1", "gpl0-2", "gpl0-3"; samsung,pins = "gpl0-0", "gpl0-1", "gpl0-2", "gpl0-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd1_clk: sd1-clk { sd1_clk: sd1-clk {
samsung,pins = "gpk1-0"; samsung,pins = "gpk1-0";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd1_cmd: sd1-cmd { sd1_cmd: sd1-cmd {
samsung,pins = "gpk1-1"; samsung,pins = "gpk1-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd1_cd: sd1-cd { sd1_cd: sd1-cd {
samsung,pins = "gpk1-2"; samsung,pins = "gpk1-2";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd1_bus1: sd1-bus-width1 { sd1_bus1: sd1-bus-width1 {
samsung,pins = "gpk1-3"; samsung,pins = "gpk1-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd1_bus4: sd1-bus-width4 { sd1_bus4: sd1-bus-width4 {
samsung,pins = "gpk1-4", "gpk1-5", "gpk1-6"; samsung,pins = "gpk1-4", "gpk1-5", "gpk1-6";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd2_clk: sd2-clk { sd2_clk: sd2-clk {
samsung,pins = "gpk2-0"; samsung,pins = "gpk2-0";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd2_cmd: sd2-cmd { sd2_cmd: sd2-cmd {
samsung,pins = "gpk2-1"; samsung,pins = "gpk2-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd2_cd: sd2-cd { sd2_cd: sd2-cd {
samsung,pins = "gpk2-2"; samsung,pins = "gpk2-2";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd2_bus1: sd2-bus-width1 { sd2_bus1: sd2-bus-width1 {
samsung,pins = "gpk2-3"; samsung,pins = "gpk2-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd2_bus4: sd2-bus-width4 { sd2_bus4: sd2-bus-width4 {
samsung,pins = "gpk2-4", "gpk2-5", "gpk2-6"; samsung,pins = "gpk2-4", "gpk2-5", "gpk2-6";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
cam_port_b_io: cam-port-b-io { cam_port_b_io: cam-port-b-io {
samsung,pins = "gpm0-0", "gpm0-1", "gpm0-2", "gpm0-3", samsung,pins = "gpm0-0", "gpm0-1", "gpm0-2", "gpm0-3",
"gpm0-4", "gpm0-5", "gpm0-6", "gpm0-7", "gpm0-4", "gpm0-5", "gpm0-6", "gpm0-7",
"gpm1-0", "gpm1-1", "gpm2-0", "gpm2-1"; "gpm1-0", "gpm1-1", "gpm2-0", "gpm2-1";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
cam_port_b_clk_active: cam-port-b-clk-active { cam_port_b_clk_active: cam-port-b-clk-active {
samsung,pins = "gpm2-2"; samsung,pins = "gpm2-2";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
cam_port_b_clk_idle: cam-port-b-clk-idle { cam_port_b_clk_idle: cam-port-b-clk-idle {
samsung,pins = "gpm2-2"; samsung,pins = "gpm2-2";
samsung,pin-function = <0>; samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
fimc_is_i2c0: fimc-is-i2c0 { fimc_is_i2c0: fimc-is-i2c0 {
samsung,pins = "gpm4-0", "gpm4-1"; samsung,pins = "gpm4-0", "gpm4-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
fimc_is_i2c1: fimc-is-i2c1 { fimc_is_i2c1: fimc-is-i2c1 {
samsung,pins = "gpm4-2", "gpm4-3"; samsung,pins = "gpm4-2", "gpm4-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
fimc_is_uart: fimc-is-uart { fimc_is_uart: fimc-is-uart {
samsung,pins = "gpm3-5", "gpm3-7"; samsung,pins = "gpm3-5", "gpm3-7";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
}; };
...@@ -14,6 +14,8 @@ ...@@ -14,6 +14,8 @@
* published by the Free Software Foundation. * published by the Free Software Foundation.
*/ */
#include <dt-bindings/pinctrl/samsung.h>
/ { / {
pinctrl@11400000 { pinctrl@11400000 {
gpa0: gpa0 { gpa0: gpa0 {
...@@ -146,245 +148,245 @@ gpf3: gpf3 { ...@@ -146,245 +148,245 @@ gpf3: gpf3 {
uart0_data: uart0-data { uart0_data: uart0-data {
samsung,pins = "gpa0-0", "gpa0-1"; samsung,pins = "gpa0-0", "gpa0-1";
samsung,pin-function = <0x2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
uart0_fctl: uart0-fctl { uart0_fctl: uart0-fctl {
samsung,pins = "gpa0-2", "gpa0-3"; samsung,pins = "gpa0-2", "gpa0-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
uart1_data: uart1-data { uart1_data: uart1-data {
samsung,pins = "gpa0-4", "gpa0-5"; samsung,pins = "gpa0-4", "gpa0-5";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
uart1_fctl: uart1-fctl { uart1_fctl: uart1-fctl {
samsung,pins = "gpa0-6", "gpa0-7"; samsung,pins = "gpa0-6", "gpa0-7";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2c2_bus: i2c2-bus { i2c2_bus: i2c2-bus {
samsung,pins = "gpa0-6", "gpa0-7"; samsung,pins = "gpa0-6", "gpa0-7";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
uart2_data: uart2-data { uart2_data: uart2-data {
samsung,pins = "gpa1-0", "gpa1-1"; samsung,pins = "gpa1-0", "gpa1-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
uart2_fctl: uart2-fctl { uart2_fctl: uart2-fctl {
samsung,pins = "gpa1-2", "gpa1-3"; samsung,pins = "gpa1-2", "gpa1-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
uart_audio_a: uart-audio-a { uart_audio_a: uart-audio-a {
samsung,pins = "gpa1-0", "gpa1-1"; samsung,pins = "gpa1-0", "gpa1-1";
samsung,pin-function = <4>; samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2c3_bus: i2c3-bus { i2c3_bus: i2c3-bus {
samsung,pins = "gpa1-2", "gpa1-3"; samsung,pins = "gpa1-2", "gpa1-3";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
uart3_data: uart3-data { uart3_data: uart3-data {
samsung,pins = "gpa1-4", "gpa1-5"; samsung,pins = "gpa1-4", "gpa1-5";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
uart_audio_b: uart-audio-b { uart_audio_b: uart-audio-b {
samsung,pins = "gpa1-4", "gpa1-5"; samsung,pins = "gpa1-4", "gpa1-5";
samsung,pin-function = <4>; samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
spi0_bus: spi0-bus { spi0_bus: spi0-bus {
samsung,pins = "gpb-0", "gpb-2", "gpb-3"; samsung,pins = "gpb-0", "gpb-2", "gpb-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2c4_bus: i2c4-bus { i2c4_bus: i2c4-bus {
samsung,pins = "gpb-2", "gpb-3"; samsung,pins = "gpb-2", "gpb-3";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
spi1_bus: spi1-bus { spi1_bus: spi1-bus {
samsung,pins = "gpb-4", "gpb-6", "gpb-7"; samsung,pins = "gpb-4", "gpb-6", "gpb-7";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2c5_bus: i2c5-bus { i2c5_bus: i2c5-bus {
samsung,pins = "gpb-6", "gpb-7"; samsung,pins = "gpb-6", "gpb-7";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2s1_bus: i2s1-bus { i2s1_bus: i2s1-bus {
samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3", samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3",
"gpc0-4"; "gpc0-4";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
pcm1_bus: pcm1-bus { pcm1_bus: pcm1-bus {
samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3", samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3",
"gpc0-4"; "gpc0-4";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
ac97_bus: ac97-bus { ac97_bus: ac97-bus {
samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3", samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3",
"gpc0-4"; "gpc0-4";
samsung,pin-function = <4>; samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2s2_bus: i2s2-bus { i2s2_bus: i2s2-bus {
samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3", samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3",
"gpc1-4"; "gpc1-4";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
pcm2_bus: pcm2-bus { pcm2_bus: pcm2-bus {
samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3", samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3",
"gpc1-4"; "gpc1-4";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
spdif_bus: spdif-bus { spdif_bus: spdif-bus {
samsung,pins = "gpc1-0", "gpc1-1"; samsung,pins = "gpc1-0", "gpc1-1";
samsung,pin-function = <4>; samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2c6_bus: i2c6-bus { i2c6_bus: i2c6-bus {
samsung,pins = "gpc1-3", "gpc1-4"; samsung,pins = "gpc1-3", "gpc1-4";
samsung,pin-function = <4>; samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
spi2_bus: spi2-bus { spi2_bus: spi2-bus {
samsung,pins = "gpc1-1", "gpc1-2", "gpc1-3", "gpc1-4"; samsung,pins = "gpc1-1", "gpc1-2", "gpc1-3", "gpc1-4";
samsung,pin-function = <5>; samsung,pin-function = <EXYNOS_PIN_FUNC_5>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2c7_bus: i2c7-bus { i2c7_bus: i2c7-bus {
samsung,pins = "gpd0-2", "gpd0-3"; samsung,pins = "gpd0-2", "gpd0-3";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2c0_bus: i2c0-bus { i2c0_bus: i2c0-bus {
samsung,pins = "gpd1-0", "gpd1-1"; samsung,pins = "gpd1-0", "gpd1-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2c1_bus: i2c1-bus { i2c1_bus: i2c1-bus {
samsung,pins = "gpd1-2", "gpd1-3"; samsung,pins = "gpd1-2", "gpd1-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
pwm0_out: pwm0-out { pwm0_out: pwm0-out {
samsung,pins = "gpd0-0"; samsung,pins = "gpd0-0";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
pwm1_out: pwm1-out { pwm1_out: pwm1-out {
samsung,pins = "gpd0-1"; samsung,pins = "gpd0-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
pwm2_out: pwm2-out { pwm2_out: pwm2-out {
samsung,pins = "gpd0-2"; samsung,pins = "gpd0-2";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
pwm3_out: pwm3-out { pwm3_out: pwm3-out {
samsung,pins = "gpd0-3"; samsung,pins = "gpd0-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
lcd_ctrl: lcd-ctrl { lcd_ctrl: lcd-ctrl {
samsung,pins = "gpd0-0", "gpd0-1"; samsung,pins = "gpd0-0", "gpd0-1";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
lcd_sync: lcd-sync { lcd_sync: lcd-sync {
samsung,pins = "gpf0-0", "gpf0-1"; samsung,pins = "gpf0-0", "gpf0-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
lcd_en: lcd-en { lcd_en: lcd-en {
samsung,pins = "gpe3-4"; samsung,pins = "gpe3-4";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
lcd_clk: lcd-clk { lcd_clk: lcd-clk {
samsung,pins = "gpf0-0", "gpf0-1", "gpf0-2", "gpf0-3"; samsung,pins = "gpf0-0", "gpf0-1", "gpf0-2", "gpf0-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
lcd_data16: lcd-data-width16 { lcd_data16: lcd-data-width16 {
...@@ -392,9 +394,9 @@ lcd_data16: lcd-data-width16 { ...@@ -392,9 +394,9 @@ lcd_data16: lcd-data-width16 {
"gpf1-3", "gpf1-6", "gpf1-7", "gpf2-0", "gpf1-3", "gpf1-6", "gpf1-7", "gpf2-0",
"gpf2-1", "gpf2-2", "gpf2-3", "gpf2-7", "gpf2-1", "gpf2-2", "gpf2-3", "gpf2-7",
"gpf3-0", "gpf3-1", "gpf3-2", "gpf3-3"; "gpf3-0", "gpf3-1", "gpf3-2", "gpf3-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
lcd_data18: lcd-data-width18 { lcd_data18: lcd-data-width18 {
...@@ -403,9 +405,9 @@ lcd_data18: lcd-data-width18 { ...@@ -403,9 +405,9 @@ lcd_data18: lcd-data-width18 {
"gpf2-0", "gpf2-1", "gpf2-2", "gpf2-3", "gpf2-0", "gpf2-1", "gpf2-2", "gpf2-3",
"gpf2-6", "gpf2-7", "gpf3-0", "gpf3-1", "gpf2-6", "gpf2-7", "gpf3-0", "gpf3-1",
"gpf3-2", "gpf3-3"; "gpf3-2", "gpf3-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
lcd_data24: lcd-data-width24 { lcd_data24: lcd-data-width24 {
...@@ -415,9 +417,9 @@ lcd_data24: lcd-data-width24 { ...@@ -415,9 +417,9 @@ lcd_data24: lcd-data-width24 {
"gpf2-0", "gpf2-1", "gpf2-2", "gpf2-3", "gpf2-0", "gpf2-1", "gpf2-2", "gpf2-3",
"gpf2-4", "gpf2-5", "gpf2-6", "gpf2-7", "gpf2-4", "gpf2-5", "gpf2-6", "gpf2-7",
"gpf3-0", "gpf3-1", "gpf3-2", "gpf3-3"; "gpf3-0", "gpf3-1", "gpf3-2", "gpf3-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
}; };
...@@ -569,263 +571,263 @@ gpx3: gpx3 { ...@@ -569,263 +571,263 @@ gpx3: gpx3 {
sd0_clk: sd0-clk { sd0_clk: sd0-clk {
samsung,pins = "gpk0-0"; samsung,pins = "gpk0-0";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd0_cmd: sd0-cmd { sd0_cmd: sd0-cmd {
samsung,pins = "gpk0-1"; samsung,pins = "gpk0-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd0_cd: sd0-cd { sd0_cd: sd0-cd {
samsung,pins = "gpk0-2"; samsung,pins = "gpk0-2";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd0_bus1: sd0-bus-width1 { sd0_bus1: sd0-bus-width1 {
samsung,pins = "gpk0-3"; samsung,pins = "gpk0-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd0_bus4: sd0-bus-width4 { sd0_bus4: sd0-bus-width4 {
samsung,pins = "gpk0-3", "gpk0-4", "gpk0-5", "gpk0-6"; samsung,pins = "gpk0-3", "gpk0-4", "gpk0-5", "gpk0-6";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd0_bus8: sd0-bus-width8 { sd0_bus8: sd0-bus-width8 {
samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6"; samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd4_clk: sd4-clk { sd4_clk: sd4-clk {
samsung,pins = "gpk0-0"; samsung,pins = "gpk0-0";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd4_cmd: sd4-cmd { sd4_cmd: sd4-cmd {
samsung,pins = "gpk0-1"; samsung,pins = "gpk0-1";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd4_cd: sd4-cd { sd4_cd: sd4-cd {
samsung,pins = "gpk0-2"; samsung,pins = "gpk0-2";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd4_bus1: sd4-bus-width1 { sd4_bus1: sd4-bus-width1 {
samsung,pins = "gpk0-3"; samsung,pins = "gpk0-3";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd4_bus4: sd4-bus-width4 { sd4_bus4: sd4-bus-width4 {
samsung,pins = "gpk0-3", "gpk0-4", "gpk0-5", "gpk0-6"; samsung,pins = "gpk0-3", "gpk0-4", "gpk0-5", "gpk0-6";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd4_bus8: sd4-bus-width8 { sd4_bus8: sd4-bus-width8 {
samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6"; samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <4>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd1_clk: sd1-clk { sd1_clk: sd1-clk {
samsung,pins = "gpk1-0"; samsung,pins = "gpk1-0";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd1_cmd: sd1-cmd { sd1_cmd: sd1-cmd {
samsung,pins = "gpk1-1"; samsung,pins = "gpk1-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd1_cd: sd1-cd { sd1_cd: sd1-cd {
samsung,pins = "gpk1-2"; samsung,pins = "gpk1-2";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd1_bus1: sd1-bus-width1 { sd1_bus1: sd1-bus-width1 {
samsung,pins = "gpk1-3"; samsung,pins = "gpk1-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd1_bus4: sd1-bus-width4 { sd1_bus4: sd1-bus-width4 {
samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6"; samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd2_clk: sd2-clk { sd2_clk: sd2-clk {
samsung,pins = "gpk2-0"; samsung,pins = "gpk2-0";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd2_cmd: sd2-cmd { sd2_cmd: sd2-cmd {
samsung,pins = "gpk2-1"; samsung,pins = "gpk2-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd2_cd: sd2-cd { sd2_cd: sd2-cd {
samsung,pins = "gpk2-2"; samsung,pins = "gpk2-2";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd2_bus1: sd2-bus-width1 { sd2_bus1: sd2-bus-width1 {
samsung,pins = "gpk2-3"; samsung,pins = "gpk2-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd2_bus4: sd2-bus-width4 { sd2_bus4: sd2-bus-width4 {
samsung,pins = "gpk2-3", "gpk2-4", "gpk2-5", "gpk2-6"; samsung,pins = "gpk2-3", "gpk2-4", "gpk2-5", "gpk2-6";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd2_bus8: sd2-bus-width8 { sd2_bus8: sd2-bus-width8 {
samsung,pins = "gpk3-3", "gpk3-4", "gpk3-5", "gpk3-6"; samsung,pins = "gpk3-3", "gpk3-4", "gpk3-5", "gpk3-6";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd3_clk: sd3-clk { sd3_clk: sd3-clk {
samsung,pins = "gpk3-0"; samsung,pins = "gpk3-0";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd3_cmd: sd3-cmd { sd3_cmd: sd3-cmd {
samsung,pins = "gpk3-1"; samsung,pins = "gpk3-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd3_cd: sd3-cd { sd3_cd: sd3-cd {
samsung,pins = "gpk3-2"; samsung,pins = "gpk3-2";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd3_bus1: sd3-bus-width1 { sd3_bus1: sd3-bus-width1 {
samsung,pins = "gpk3-3"; samsung,pins = "gpk3-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd3_bus4: sd3-bus-width4 { sd3_bus4: sd3-bus-width4 {
samsung,pins = "gpk3-3", "gpk3-4", "gpk3-5", "gpk3-6"; samsung,pins = "gpk3-3", "gpk3-4", "gpk3-5", "gpk3-6";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
eint0: ext-int0 { eint0: ext-int0 {
samsung,pins = "gpx0-0"; samsung,pins = "gpx0-0";
samsung,pin-function = <0xf>; samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
eint8: ext-int8 { eint8: ext-int8 {
samsung,pins = "gpx1-0"; samsung,pins = "gpx1-0";
samsung,pin-function = <0xf>; samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
eint15: ext-int15 { eint15: ext-int15 {
samsung,pins = "gpx1-7"; samsung,pins = "gpx1-7";
samsung,pin-function = <0xf>; samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
eint16: ext-int16 { eint16: ext-int16 {
samsung,pins = "gpx2-0"; samsung,pins = "gpx2-0";
samsung,pin-function = <0xf>; samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
eint31: ext-int31 { eint31: ext-int31 {
samsung,pins = "gpx3-7"; samsung,pins = "gpx3-7";
samsung,pin-function = <0xf>; samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
cam_port_a_io: cam-port-a-io { cam_port_a_io: cam-port-a-io {
samsung,pins = "gpj0-0", "gpj0-1", "gpj0-2", "gpj0-3", samsung,pins = "gpj0-0", "gpj0-1", "gpj0-2", "gpj0-3",
"gpj0-4", "gpj0-5", "gpj0-6", "gpj0-7", "gpj0-4", "gpj0-5", "gpj0-6", "gpj0-7",
"gpj1-0", "gpj1-1", "gpj1-2", "gpj1-4"; "gpj1-0", "gpj1-1", "gpj1-2", "gpj1-4";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
cam_port_a_clk_active: cam-port-a-clk-active { cam_port_a_clk_active: cam-port-a-clk-active {
samsung,pins = "gpj1-3"; samsung,pins = "gpj1-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
cam_port_a_clk_idle: cam-port-a-clk-idle { cam_port_a_clk_idle: cam-port-a-clk-idle {
samsung,pins = "gpj1-3"; samsung,pins = "gpj1-3";
samsung,pin-function = <0>; samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
samsung,pin-pud = <1>; samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
hdmi_cec: hdmi-cec { hdmi_cec: hdmi-cec {
samsung,pins = "gpx3-6"; samsung,pins = "gpx3-6";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
}; };
...@@ -838,17 +840,17 @@ gpz: gpz { ...@@ -838,17 +840,17 @@ gpz: gpz {
i2s0_bus: i2s0-bus { i2s0_bus: i2s0-bus {
samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3", samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3",
"gpz-4", "gpz-5", "gpz-6"; "gpz-4", "gpz-5", "gpz-6";
samsung,pin-function = <0x2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
pcm0_bus: pcm0-bus { pcm0_bus: pcm0-bus {
samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3", samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3",
"gpz-4"; "gpz-4";
samsung,pin-function = <0x3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
}; };
}; };
...@@ -137,17 +137,17 @@ key_e { ...@@ -137,17 +137,17 @@ key_e {
&pinctrl_1 { &pinctrl_1 {
keypad_rows: keypad-rows { keypad_rows: keypad-rows {
samsung,pins = "gpx2-0", "gpx2-1"; samsung,pins = "gpx2-0", "gpx2-1";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
keypad_cols: keypad-cols { keypad_cols: keypad-cols {
samsung,pins = "gpx1-0", "gpx1-1", "gpx1-2", "gpx1-3", samsung,pins = "gpx1-0", "gpx1-1", "gpx1-2", "gpx1-3",
"gpx1-4", "gpx1-5", "gpx1-6", "gpx1-7"; "gpx1-4", "gpx1-5", "gpx1-6", "gpx1-7";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
}; };
......
...@@ -522,16 +522,16 @@ port@0 { ...@@ -522,16 +522,16 @@ port@0 {
&pinctrl_1 { &pinctrl_1 {
hdmi_hpd: hdmi-hpd { hdmi_hpd: hdmi-hpd {
samsung,pins = "gpx3-7"; samsung,pins = "gpx3-7";
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
}; };
}; };
&pinctrl_0 { &pinctrl_0 {
i2c_ddc_bus: i2c-ddc-bus { i2c_ddc_bus: i2c-ddc-bus {
samsung,pins = "gpe4-2", "gpe4-3"; samsung,pins = "gpe4-2", "gpe4-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
}; };
......
...@@ -163,26 +163,26 @@ &cpu0 { ...@@ -163,26 +163,26 @@ &cpu0 {
/* RSTN signal for eMMC */ /* RSTN signal for eMMC */
&sd1_cd { &sd1_cd {
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
&pinctrl_1 { &pinctrl_1 {
gpio_power_key: power_key { gpio_power_key: power_key {
samsung,pins = "gpx1-3"; samsung,pins = "gpx1-3";
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
}; };
max77686_irq: max77686-irq { max77686_irq: max77686-irq {
samsung,pins = "gpx3-2"; samsung,pins = "gpx3-2";
samsung,pin-function = <0>; samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
hdmi_hpd: hdmi-hpd { hdmi_hpd: hdmi-hpd {
samsung,pins = "gpx3-7"; samsung,pins = "gpx3-7";
samsung,pin-pud = <1>; samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
}; };
}; };
......
...@@ -84,7 +84,7 @@ &mshc_0 { ...@@ -84,7 +84,7 @@ &mshc_0 {
&pinctrl_1 { &pinctrl_1 {
gpio_home_key: home_key { gpio_home_key: home_key {
samsung,pins = "gpx2-2"; samsung,pins = "gpx2-2";
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
}; };
}; };
......
...@@ -501,16 +501,16 @@ &mshc_0 { ...@@ -501,16 +501,16 @@ &mshc_0 {
&pinctrl_1 { &pinctrl_1 {
keypad_rows: keypad-rows { keypad_rows: keypad-rows {
samsung,pins = "gpx2-0", "gpx2-1", "gpx2-2"; samsung,pins = "gpx2-0", "gpx2-1", "gpx2-2";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
keypad_cols: keypad-cols { keypad_cols: keypad-cols {
samsung,pins = "gpx1-0", "gpx1-1"; samsung,pins = "gpx1-0", "gpx1-1";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
}; };
......
...@@ -116,17 +116,17 @@ key_E { ...@@ -116,17 +116,17 @@ key_E {
&pinctrl_1 { &pinctrl_1 {
keypad_rows: keypad-rows { keypad_rows: keypad-rows {
samsung,pins = "gpx2-0", "gpx2-1", "gpx2-2"; samsung,pins = "gpx2-0", "gpx2-1", "gpx2-2";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
keypad_cols: keypad-cols { keypad_cols: keypad-cols {
samsung,pins = "gpx1-0", "gpx1-1", "gpx1-2", "gpx1-3", samsung,pins = "gpx1-0", "gpx1-1", "gpx1-2", "gpx1-3",
"gpx1-4", "gpx1-5", "gpx1-6", "gpx1-7"; "gpx1-4", "gpx1-5", "gpx1-6", "gpx1-7";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
}; };
......
...@@ -11,6 +11,8 @@ ...@@ -11,6 +11,8 @@
* published by the Free Software Foundation. * published by the Free Software Foundation.
*/ */
#include <dt-bindings/pinctrl/samsung.h>
&pinctrl_0 { &pinctrl_0 {
gpa0: gpa0 { gpa0: gpa0 {
gpio-controller; gpio-controller;
...@@ -94,180 +96,180 @@ gpf2: gpf2 { ...@@ -94,180 +96,180 @@ gpf2: gpf2 {
uart0_data: uart0-data { uart0_data: uart0-data {
samsung,pins = "gpa0-0", "gpa0-1"; samsung,pins = "gpa0-0", "gpa0-1";
samsung,pin-function = <0x2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
uart0_fctl: uart0-fctl { uart0_fctl: uart0-fctl {
samsung,pins = "gpa0-2", "gpa0-3"; samsung,pins = "gpa0-2", "gpa0-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
uart1_data: uart1-data { uart1_data: uart1-data {
samsung,pins = "gpa0-4", "gpa0-5"; samsung,pins = "gpa0-4", "gpa0-5";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
uart1_fctl: uart1-fctl { uart1_fctl: uart1-fctl {
samsung,pins = "gpa0-6", "gpa0-7"; samsung,pins = "gpa0-6", "gpa0-7";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
uart2_data: uart2-data { uart2_data: uart2-data {
samsung,pins = "gpa1-0", "gpa1-1"; samsung,pins = "gpa1-0", "gpa1-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
uart2_fctl: uart2-fctl { uart2_fctl: uart2-fctl {
samsung,pins = "gpa1-2", "gpa1-3"; samsung,pins = "gpa1-2", "gpa1-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
uart3_data: uart3-data { uart3_data: uart3-data {
samsung,pins = "gpa1-4", "gpa1-5"; samsung,pins = "gpa1-4", "gpa1-5";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2c2_bus: i2c2-bus { i2c2_bus: i2c2-bus {
samsung,pins = "gpa0-6", "gpa0-7"; samsung,pins = "gpa0-6", "gpa0-7";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2c3_bus: i2c3-bus { i2c3_bus: i2c3-bus {
samsung,pins = "gpa1-2", "gpa1-3"; samsung,pins = "gpa1-2", "gpa1-3";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
spi0_bus: spi0-bus { spi0_bus: spi0-bus {
samsung,pins = "gpb-0", "gpb-2", "gpb-3"; samsung,pins = "gpb-0", "gpb-2", "gpb-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2c4_bus: i2c4-bus { i2c4_bus: i2c4-bus {
samsung,pins = "gpb-0", "gpb-1"; samsung,pins = "gpb-0", "gpb-1";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
spi1_bus: spi1-bus { spi1_bus: spi1-bus {
samsung,pins = "gpb-4", "gpb-6", "gpb-7"; samsung,pins = "gpb-4", "gpb-6", "gpb-7";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2c5_bus: i2c5-bus { i2c5_bus: i2c5-bus {
samsung,pins = "gpb-2", "gpb-3"; samsung,pins = "gpb-2", "gpb-3";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2s1_bus: i2s1-bus { i2s1_bus: i2s1-bus {
samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3", samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3",
"gpc0-4"; "gpc0-4";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2s2_bus: i2s2-bus { i2s2_bus: i2s2-bus {
samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3", samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3",
"gpc1-4"; "gpc1-4";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
pcm2_bus: pcm2-bus { pcm2_bus: pcm2-bus {
samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3", samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3",
"gpc1-4"; "gpc1-4";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2c6_bus: i2c6-bus { i2c6_bus: i2c6-bus {
samsung,pins = "gpc1-3", "gpc1-4"; samsung,pins = "gpc1-3", "gpc1-4";
samsung,pin-function = <4>; samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
spi2_bus: spi2-bus { spi2_bus: spi2-bus {
samsung,pins = "gpc1-1", "gpc1-3", "gpc1-4"; samsung,pins = "gpc1-1", "gpc1-3", "gpc1-4";
samsung,pin-function = <5>; samsung,pin-function = <EXYNOS_PIN_FUNC_5>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
pwm0_out: pwm0-out { pwm0_out: pwm0-out {
samsung,pins = "gpd0-0"; samsung,pins = "gpd0-0";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
pwm1_out: pwm1-out { pwm1_out: pwm1-out {
samsung,pins = "gpd0-1"; samsung,pins = "gpd0-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
pwm2_out: pwm2-out { pwm2_out: pwm2-out {
samsung,pins = "gpd0-2"; samsung,pins = "gpd0-2";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
pwm3_out: pwm3-out { pwm3_out: pwm3-out {
samsung,pins = "gpd0-3"; samsung,pins = "gpd0-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2c7_bus: i2c7-bus { i2c7_bus: i2c7-bus {
samsung,pins = "gpd0-2", "gpd0-3"; samsung,pins = "gpd0-2", "gpd0-3";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2c0_bus: i2c0-bus { i2c0_bus: i2c0-bus {
samsung,pins = "gpd1-0", "gpd1-1"; samsung,pins = "gpd1-0", "gpd1-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2c1_bus: i2c1-bus { i2c1_bus: i2c1-bus {
samsung,pins = "gpd1-2", "gpd1-3"; samsung,pins = "gpd1-2", "gpd1-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
}; };
...@@ -392,165 +394,165 @@ gpx3: gpx3 { ...@@ -392,165 +394,165 @@ gpx3: gpx3 {
sd0_clk: sd0-clk { sd0_clk: sd0-clk {
samsung,pins = "gpk0-0"; samsung,pins = "gpk0-0";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd0_cmd: sd0-cmd { sd0_cmd: sd0-cmd {
samsung,pins = "gpk0-1"; samsung,pins = "gpk0-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd0_cd: sd0-cd { sd0_cd: sd0-cd {
samsung,pins = "gpk0-2"; samsung,pins = "gpk0-2";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd0_rdqs: sd0-rdqs { sd0_rdqs: sd0-rdqs {
samsung,pins = "gpk0-7"; samsung,pins = "gpk0-7";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd0_bus1: sd0-bus-width1 { sd0_bus1: sd0-bus-width1 {
samsung,pins = "gpk0-3"; samsung,pins = "gpk0-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd0_bus4: sd0-bus-width4 { sd0_bus4: sd0-bus-width4 {
samsung,pins = "gpk0-4", "gpk0-5", "gpk0-6"; samsung,pins = "gpk0-4", "gpk0-5", "gpk0-6";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd0_bus8: sd0-bus-width8 { sd0_bus8: sd0-bus-width8 {
samsung,pins = "gpl0-0", "gpl0-1", "gpl0-2", "gpl0-3"; samsung,pins = "gpl0-0", "gpl0-1", "gpl0-2", "gpl0-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd1_clk: sd1-clk { sd1_clk: sd1-clk {
samsung,pins = "gpk1-0"; samsung,pins = "gpk1-0";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd1_cmd: sd1-cmd { sd1_cmd: sd1-cmd {
samsung,pins = "gpk1-1"; samsung,pins = "gpk1-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd1_cd: sd1-cd { sd1_cd: sd1-cd {
samsung,pins = "gpk1-2"; samsung,pins = "gpk1-2";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd1_bus1: sd1-bus-width1 { sd1_bus1: sd1-bus-width1 {
samsung,pins = "gpk1-3"; samsung,pins = "gpk1-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd1_bus4: sd1-bus-width4 { sd1_bus4: sd1-bus-width4 {
samsung,pins = "gpk1-4", "gpk1-5", "gpk1-6"; samsung,pins = "gpk1-4", "gpk1-5", "gpk1-6";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd2_clk: sd2-clk { sd2_clk: sd2-clk {
samsung,pins = "gpk2-0"; samsung,pins = "gpk2-0";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <4>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd2_cmd: sd2-cmd { sd2_cmd: sd2-cmd {
samsung,pins = "gpk2-1"; samsung,pins = "gpk2-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <4>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd2_cd: sd2-cd { sd2_cd: sd2-cd {
samsung,pins = "gpk2-2"; samsung,pins = "gpk2-2";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd2_bus1: sd2-bus-width1 { sd2_bus1: sd2-bus-width1 {
samsung,pins = "gpk2-3"; samsung,pins = "gpk2-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <4>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd2_bus4: sd2-bus-width4 { sd2_bus4: sd2-bus-width4 {
samsung,pins = "gpk2-4", "gpk2-5", "gpk2-6"; samsung,pins = "gpk2-4", "gpk2-5", "gpk2-6";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <4>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
cam_port_b_io: cam-port-b-io { cam_port_b_io: cam-port-b-io {
samsung,pins = "gpm0-0", "gpm0-1", "gpm0-2", "gpm0-3", samsung,pins = "gpm0-0", "gpm0-1", "gpm0-2", "gpm0-3",
"gpm0-4", "gpm0-5", "gpm0-6", "gpm0-7", "gpm0-4", "gpm0-5", "gpm0-6", "gpm0-7",
"gpm1-0", "gpm1-1", "gpm2-0", "gpm2-1"; "gpm1-0", "gpm1-1", "gpm2-0", "gpm2-1";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
cam_port_b_clk_active: cam-port-b-clk-active { cam_port_b_clk_active: cam-port-b-clk-active {
samsung,pins = "gpm2-2"; samsung,pins = "gpm2-2";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
cam_port_b_clk_idle: cam-port-b-clk-idle { cam_port_b_clk_idle: cam-port-b-clk-idle {
samsung,pins = "gpm2-2"; samsung,pins = "gpm2-2";
samsung,pin-function = <0>; samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
fimc_is_i2c0: fimc-is-i2c0 { fimc_is_i2c0: fimc-is-i2c0 {
samsung,pins = "gpm4-0", "gpm4-1"; samsung,pins = "gpm4-0", "gpm4-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
fimc_is_i2c1: fimc-is-i2c1 { fimc_is_i2c1: fimc-is-i2c1 {
samsung,pins = "gpm4-2", "gpm4-3"; samsung,pins = "gpm4-2", "gpm4-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
fimc_is_uart: fimc-is-uart { fimc_is_uart: fimc-is-uart {
samsung,pins = "gpm3-5", "gpm3-7"; samsung,pins = "gpm3-5", "gpm3-7";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
}; };
...@@ -566,8 +568,8 @@ gpz: gpz { ...@@ -566,8 +568,8 @@ gpz: gpz {
i2s0_bus: i2s0-bus { i2s0_bus: i2s0-bus {
samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3", samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3",
"gpz-4", "gpz-5", "gpz-6"; "gpz-4", "gpz-5", "gpz-6";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
}; };
...@@ -12,20 +12,13 @@ ...@@ -12,20 +12,13 @@
* published by the Free Software Foundation. * published by the Free Software Foundation.
*/ */
#define PIN_PULL_NONE 0 #include <dt-bindings/pinctrl/samsung.h>
#define PIN_PULL_DOWN 1
#define PIN_PULL_UP 3 #define PIN_SLP(_pin, _mode, _pull) \
_pin { \
#define PIN_PDN_OUT0 0 samsung,pins = #_pin; \
#define PIN_PDN_OUT1 1 samsung,pin-con-pdn = <EXYNOS_PIN_PDN_ ##_mode>; \
#define PIN_PDN_INPUT 2 samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_ ##_pull>; \
#define PIN_PDN_PREV 3
#define PIN_SLP(_pin, _mode, _pull) \
_pin { \
samsung,pins = #_pin; \
samsung,pin-con-pdn = <PIN_PDN_ ##_mode>; \
samsung,pin-pud-pdn = <PIN_PULL_ ##_pull>; \
} }
/ { / {
...@@ -136,245 +129,245 @@ gpj1: gpj1 { ...@@ -136,245 +129,245 @@ gpj1: gpj1 {
uart0_data: uart0-data { uart0_data: uart0-data {
samsung,pins = "gpa0-0", "gpa0-1"; samsung,pins = "gpa0-0", "gpa0-1";
samsung,pin-function = <0x2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
uart0_fctl: uart0-fctl { uart0_fctl: uart0-fctl {
samsung,pins = "gpa0-2", "gpa0-3"; samsung,pins = "gpa0-2", "gpa0-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
uart1_data: uart1-data { uart1_data: uart1-data {
samsung,pins = "gpa0-4", "gpa0-5"; samsung,pins = "gpa0-4", "gpa0-5";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
uart1_fctl: uart1-fctl { uart1_fctl: uart1-fctl {
samsung,pins = "gpa0-6", "gpa0-7"; samsung,pins = "gpa0-6", "gpa0-7";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2c2_bus: i2c2-bus { i2c2_bus: i2c2-bus {
samsung,pins = "gpa0-6", "gpa0-7"; samsung,pins = "gpa0-6", "gpa0-7";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
uart2_data: uart2-data { uart2_data: uart2-data {
samsung,pins = "gpa1-0", "gpa1-1"; samsung,pins = "gpa1-0", "gpa1-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
uart2_fctl: uart2-fctl { uart2_fctl: uart2-fctl {
samsung,pins = "gpa1-2", "gpa1-3"; samsung,pins = "gpa1-2", "gpa1-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
uart_audio_a: uart-audio-a { uart_audio_a: uart-audio-a {
samsung,pins = "gpa1-0", "gpa1-1"; samsung,pins = "gpa1-0", "gpa1-1";
samsung,pin-function = <4>; samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2c3_bus: i2c3-bus { i2c3_bus: i2c3-bus {
samsung,pins = "gpa1-2", "gpa1-3"; samsung,pins = "gpa1-2", "gpa1-3";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
uart3_data: uart3-data { uart3_data: uart3-data {
samsung,pins = "gpa1-4", "gpa1-5"; samsung,pins = "gpa1-4", "gpa1-5";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
uart_audio_b: uart-audio-b { uart_audio_b: uart-audio-b {
samsung,pins = "gpa1-4", "gpa1-5"; samsung,pins = "gpa1-4", "gpa1-5";
samsung,pin-function = <4>; samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
spi0_bus: spi0-bus { spi0_bus: spi0-bus {
samsung,pins = "gpb-0", "gpb-2", "gpb-3"; samsung,pins = "gpb-0", "gpb-2", "gpb-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2c4_bus: i2c4-bus { i2c4_bus: i2c4-bus {
samsung,pins = "gpb-0", "gpb-1"; samsung,pins = "gpb-0", "gpb-1";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
spi1_bus: spi1-bus { spi1_bus: spi1-bus {
samsung,pins = "gpb-4", "gpb-6", "gpb-7"; samsung,pins = "gpb-4", "gpb-6", "gpb-7";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2c5_bus: i2c5-bus { i2c5_bus: i2c5-bus {
samsung,pins = "gpb-2", "gpb-3"; samsung,pins = "gpb-2", "gpb-3";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2s1_bus: i2s1-bus { i2s1_bus: i2s1-bus {
samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3", samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3",
"gpc0-4"; "gpc0-4";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
pcm1_bus: pcm1-bus { pcm1_bus: pcm1-bus {
samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3", samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3",
"gpc0-4"; "gpc0-4";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
ac97_bus: ac97-bus { ac97_bus: ac97-bus {
samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3", samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3",
"gpc0-4"; "gpc0-4";
samsung,pin-function = <4>; samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2s2_bus: i2s2-bus { i2s2_bus: i2s2-bus {
samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3", samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3",
"gpc1-4"; "gpc1-4";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
pcm2_bus: pcm2-bus { pcm2_bus: pcm2-bus {
samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3", samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3",
"gpc1-4"; "gpc1-4";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
spdif_bus: spdif-bus { spdif_bus: spdif-bus {
samsung,pins = "gpc1-0", "gpc1-1"; samsung,pins = "gpc1-0", "gpc1-1";
samsung,pin-function = <4>; samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2c6_bus: i2c6-bus { i2c6_bus: i2c6-bus {
samsung,pins = "gpc1-3", "gpc1-4"; samsung,pins = "gpc1-3", "gpc1-4";
samsung,pin-function = <4>; samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
spi2_bus: spi2-bus { spi2_bus: spi2-bus {
samsung,pins = "gpc1-1", "gpc1-3", "gpc1-4"; samsung,pins = "gpc1-1", "gpc1-3", "gpc1-4";
samsung,pin-function = <5>; samsung,pin-function = <EXYNOS_PIN_FUNC_5>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
pwm0_out: pwm0-out { pwm0_out: pwm0-out {
samsung,pins = "gpd0-0"; samsung,pins = "gpd0-0";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
pwm1_out: pwm1-out { pwm1_out: pwm1-out {
samsung,pins = "gpd0-1"; samsung,pins = "gpd0-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
lcd_ctrl: lcd-ctrl { lcd_ctrl: lcd-ctrl {
samsung,pins = "gpd0-0", "gpd0-1"; samsung,pins = "gpd0-0", "gpd0-1";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2c7_bus: i2c7-bus { i2c7_bus: i2c7-bus {
samsung,pins = "gpd0-2", "gpd0-3"; samsung,pins = "gpd0-2", "gpd0-3";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
pwm2_out: pwm2-out { pwm2_out: pwm2-out {
samsung,pins = "gpd0-2"; samsung,pins = "gpd0-2";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
pwm3_out: pwm3-out { pwm3_out: pwm3-out {
samsung,pins = "gpd0-3"; samsung,pins = "gpd0-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2c0_bus: i2c0-bus { i2c0_bus: i2c0-bus {
samsung,pins = "gpd1-0", "gpd1-1"; samsung,pins = "gpd1-0", "gpd1-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
mipi0_clk: mipi0-clk { mipi0_clk: mipi0-clk {
samsung,pins = "gpd1-0", "gpd1-1"; samsung,pins = "gpd1-0", "gpd1-1";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2c1_bus: i2c1-bus { i2c1_bus: i2c1-bus {
samsung,pins = "gpd1-2", "gpd1-3"; samsung,pins = "gpd1-2", "gpd1-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
mipi1_clk: mipi1-clk { mipi1_clk: mipi1-clk {
samsung,pins = "gpd1-2", "gpd1-3"; samsung,pins = "gpd1-2", "gpd1-3";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
lcd_clk: lcd-clk { lcd_clk: lcd-clk {
samsung,pins = "gpf0-0", "gpf0-1", "gpf0-2", "gpf0-3"; samsung,pins = "gpf0-0", "gpf0-1", "gpf0-2", "gpf0-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
lcd_data16: lcd-data-width16 { lcd_data16: lcd-data-width16 {
...@@ -382,9 +375,9 @@ lcd_data16: lcd-data-width16 { ...@@ -382,9 +375,9 @@ lcd_data16: lcd-data-width16 {
"gpf1-3", "gpf1-6", "gpf1-7", "gpf2-0", "gpf1-3", "gpf1-6", "gpf1-7", "gpf2-0",
"gpf2-1", "gpf2-2", "gpf2-3", "gpf2-7", "gpf2-1", "gpf2-2", "gpf2-3", "gpf2-7",
"gpf3-0", "gpf3-1", "gpf3-2", "gpf3-3"; "gpf3-0", "gpf3-1", "gpf3-2", "gpf3-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
lcd_data18: lcd-data-width18 { lcd_data18: lcd-data-width18 {
...@@ -393,9 +386,9 @@ lcd_data18: lcd-data-width18 { ...@@ -393,9 +386,9 @@ lcd_data18: lcd-data-width18 {
"gpf2-0", "gpf2-1", "gpf2-2", "gpf2-3", "gpf2-0", "gpf2-1", "gpf2-2", "gpf2-3",
"gpf2-6", "gpf2-7", "gpf3-0", "gpf3-1", "gpf2-6", "gpf2-7", "gpf3-0", "gpf3-1",
"gpf3-2", "gpf3-3"; "gpf3-2", "gpf3-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
lcd_data24: lcd-data-width24 { lcd_data24: lcd-data-width24 {
...@@ -405,39 +398,39 @@ lcd_data24: lcd-data-width24 { ...@@ -405,39 +398,39 @@ lcd_data24: lcd-data-width24 {
"gpf2-0", "gpf2-1", "gpf2-2", "gpf2-3", "gpf2-0", "gpf2-1", "gpf2-2", "gpf2-3",
"gpf2-4", "gpf2-5", "gpf2-6", "gpf2-7", "gpf2-4", "gpf2-5", "gpf2-6", "gpf2-7",
"gpf3-0", "gpf3-1", "gpf3-2", "gpf3-3"; "gpf3-0", "gpf3-1", "gpf3-2", "gpf3-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
lcd_ldi: lcd-ldi { lcd_ldi: lcd-ldi {
samsung,pins = "gpf3-4"; samsung,pins = "gpf3-4";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
cam_port_a_io: cam-port-a-io { cam_port_a_io: cam-port-a-io {
samsung,pins = "gpj0-0", "gpj0-1", "gpj0-2", "gpj0-3", samsung,pins = "gpj0-0", "gpj0-1", "gpj0-2", "gpj0-3",
"gpj0-4", "gpj0-5", "gpj0-6", "gpj0-7", "gpj0-4", "gpj0-5", "gpj0-6", "gpj0-7",
"gpj1-0", "gpj1-1", "gpj1-2", "gpj1-4"; "gpj1-0", "gpj1-1", "gpj1-2", "gpj1-4";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
cam_port_a_clk_active: cam-port-a-clk-active { cam_port_a_clk_active: cam-port-a-clk-active {
samsung,pins = "gpj1-3"; samsung,pins = "gpj1-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
cam_port_a_clk_idle: cam-port-a-clk-idle { cam_port_a_clk_idle: cam-port-a-clk-idle {
samsung,pins = "gpj1-3"; samsung,pins = "gpj1-3";
samsung,pin-function = <0>; samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
samsung,pin-pud = <1>; samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
}; };
...@@ -613,284 +606,284 @@ gpx3: gpx3 { ...@@ -613,284 +606,284 @@ gpx3: gpx3 {
sd0_clk: sd0-clk { sd0_clk: sd0-clk {
samsung,pins = "gpk0-0"; samsung,pins = "gpk0-0";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd0_cmd: sd0-cmd { sd0_cmd: sd0-cmd {
samsung,pins = "gpk0-1"; samsung,pins = "gpk0-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd0_cd: sd0-cd { sd0_cd: sd0-cd {
samsung,pins = "gpk0-2"; samsung,pins = "gpk0-2";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd0_bus1: sd0-bus-width1 { sd0_bus1: sd0-bus-width1 {
samsung,pins = "gpk0-3"; samsung,pins = "gpk0-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd0_bus4: sd0-bus-width4 { sd0_bus4: sd0-bus-width4 {
samsung,pins = "gpk0-3", "gpk0-4", "gpk0-5", "gpk0-6"; samsung,pins = "gpk0-3", "gpk0-4", "gpk0-5", "gpk0-6";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd0_bus8: sd0-bus-width8 { sd0_bus8: sd0-bus-width8 {
samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6"; samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd4_clk: sd4-clk { sd4_clk: sd4-clk {
samsung,pins = "gpk0-0"; samsung,pins = "gpk0-0";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd4_cmd: sd4-cmd { sd4_cmd: sd4-cmd {
samsung,pins = "gpk0-1"; samsung,pins = "gpk0-1";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd4_cd: sd4-cd { sd4_cd: sd4-cd {
samsung,pins = "gpk0-2"; samsung,pins = "gpk0-2";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd4_bus1: sd4-bus-width1 { sd4_bus1: sd4-bus-width1 {
samsung,pins = "gpk0-3"; samsung,pins = "gpk0-3";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd4_bus4: sd4-bus-width4 { sd4_bus4: sd4-bus-width4 {
samsung,pins = "gpk0-3", "gpk0-4", "gpk0-5", "gpk0-6"; samsung,pins = "gpk0-3", "gpk0-4", "gpk0-5", "gpk0-6";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd4_bus8: sd4-bus-width8 { sd4_bus8: sd4-bus-width8 {
samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6"; samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6";
samsung,pin-function = <4>; samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd1_clk: sd1-clk { sd1_clk: sd1-clk {
samsung,pins = "gpk1-0"; samsung,pins = "gpk1-0";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd1_cmd: sd1-cmd { sd1_cmd: sd1-cmd {
samsung,pins = "gpk1-1"; samsung,pins = "gpk1-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd1_cd: sd1-cd { sd1_cd: sd1-cd {
samsung,pins = "gpk1-2"; samsung,pins = "gpk1-2";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd1_bus1: sd1-bus-width1 { sd1_bus1: sd1-bus-width1 {
samsung,pins = "gpk1-3"; samsung,pins = "gpk1-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd1_bus4: sd1-bus-width4 { sd1_bus4: sd1-bus-width4 {
samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6"; samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd2_clk: sd2-clk { sd2_clk: sd2-clk {
samsung,pins = "gpk2-0"; samsung,pins = "gpk2-0";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd2_cmd: sd2-cmd { sd2_cmd: sd2-cmd {
samsung,pins = "gpk2-1"; samsung,pins = "gpk2-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd2_cd: sd2-cd { sd2_cd: sd2-cd {
samsung,pins = "gpk2-2"; samsung,pins = "gpk2-2";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd2_bus1: sd2-bus-width1 { sd2_bus1: sd2-bus-width1 {
samsung,pins = "gpk2-3"; samsung,pins = "gpk2-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd2_bus4: sd2-bus-width4 { sd2_bus4: sd2-bus-width4 {
samsung,pins = "gpk2-3", "gpk2-4", "gpk2-5", "gpk2-6"; samsung,pins = "gpk2-3", "gpk2-4", "gpk2-5", "gpk2-6";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd2_bus8: sd2-bus-width8 { sd2_bus8: sd2-bus-width8 {
samsung,pins = "gpk3-3", "gpk3-4", "gpk3-5", "gpk3-6"; samsung,pins = "gpk3-3", "gpk3-4", "gpk3-5", "gpk3-6";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd3_clk: sd3-clk { sd3_clk: sd3-clk {
samsung,pins = "gpk3-0"; samsung,pins = "gpk3-0";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd3_cmd: sd3-cmd { sd3_cmd: sd3-cmd {
samsung,pins = "gpk3-1"; samsung,pins = "gpk3-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd3_cd: sd3-cd { sd3_cd: sd3-cd {
samsung,pins = "gpk3-2"; samsung,pins = "gpk3-2";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd3_bus1: sd3-bus-width1 { sd3_bus1: sd3-bus-width1 {
samsung,pins = "gpk3-3"; samsung,pins = "gpk3-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd3_bus4: sd3-bus-width4 { sd3_bus4: sd3-bus-width4 {
samsung,pins = "gpk3-3", "gpk3-4", "gpk3-5", "gpk3-6"; samsung,pins = "gpk3-3", "gpk3-4", "gpk3-5", "gpk3-6";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
cam_port_b_io: cam-port-b-io { cam_port_b_io: cam-port-b-io {
samsung,pins = "gpm0-0", "gpm0-1", "gpm0-2", "gpm0-3", samsung,pins = "gpm0-0", "gpm0-1", "gpm0-2", "gpm0-3",
"gpm0-4", "gpm0-5", "gpm0-6", "gpm0-7", "gpm0-4", "gpm0-5", "gpm0-6", "gpm0-7",
"gpm1-0", "gpm1-1", "gpm2-0", "gpm2-1"; "gpm1-0", "gpm1-1", "gpm2-0", "gpm2-1";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
cam_port_b_clk_active: cam-port-b-clk-active { cam_port_b_clk_active: cam-port-b-clk-active {
samsung,pins = "gpm2-2"; samsung,pins = "gpm2-2";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
cam_port_b_clk_idle: cam-port-b-clk-idle { cam_port_b_clk_idle: cam-port-b-clk-idle {
samsung,pins = "gpm2-2"; samsung,pins = "gpm2-2";
samsung,pin-function = <0>; samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
samsung,pin-pud = <1>; samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
eint0: ext-int0 { eint0: ext-int0 {
samsung,pins = "gpx0-0"; samsung,pins = "gpx0-0";
samsung,pin-function = <0xf>; samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
eint8: ext-int8 { eint8: ext-int8 {
samsung,pins = "gpx1-0"; samsung,pins = "gpx1-0";
samsung,pin-function = <0xf>; samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
eint15: ext-int15 { eint15: ext-int15 {
samsung,pins = "gpx1-7"; samsung,pins = "gpx1-7";
samsung,pin-function = <0xf>; samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
eint16: ext-int16 { eint16: ext-int16 {
samsung,pins = "gpx2-0"; samsung,pins = "gpx2-0";
samsung,pin-function = <0xf>; samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
eint31: ext-int31 { eint31: ext-int31 {
samsung,pins = "gpx3-7"; samsung,pins = "gpx3-7";
samsung,pin-function = <0xf>; samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
fimc_is_i2c0: fimc-is-i2c0 { fimc_is_i2c0: fimc-is-i2c0 {
samsung,pins = "gpm4-0", "gpm4-1"; samsung,pins = "gpm4-0", "gpm4-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
fimc_is_i2c1: fimc-is-i2c1 { fimc_is_i2c1: fimc-is-i2c1 {
samsung,pins = "gpm4-2", "gpm4-3"; samsung,pins = "gpm4-2", "gpm4-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
fimc_is_uart: fimc-is-uart { fimc_is_uart: fimc-is-uart {
samsung,pins = "gpm3-5", "gpm3-7"; samsung,pins = "gpm3-5", "gpm3-7";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
hdmi_cec: hdmi-cec { hdmi_cec: hdmi-cec {
samsung,pins = "gpx3-6"; samsung,pins = "gpx3-6";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
}; };
...@@ -906,17 +899,17 @@ gpz: gpz { ...@@ -906,17 +899,17 @@ gpz: gpz {
i2s0_bus: i2s0-bus { i2s0_bus: i2s0-bus {
samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3", samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3",
"gpz-4", "gpz-5", "gpz-6"; "gpz-4", "gpz-5", "gpz-6";
samsung,pin-function = <0x2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
pcm0_bus: pcm0-bus { pcm0_bus: pcm0-bus {
samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3", samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3",
"gpz-4"; "gpz-4";
samsung,pin-function = <0x3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
}; };
...@@ -971,9 +964,9 @@ c2c_bus: c2c-bus { ...@@ -971,9 +964,9 @@ c2c_bus: c2c-bus {
"gpv3-0", "gpv3-1", "gpv3-2", "gpv3-3", "gpv3-0", "gpv3-1", "gpv3-2", "gpv3-3",
"gpv3-4", "gpv3-5", "gpv3-6", "gpv3-7", "gpv3-4", "gpv3-5", "gpv3-6", "gpv3-7",
"gpv4-0", "gpv4-1"; "gpv4-0", "gpv4-1";
samsung,pin-function = <0x2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
}; };
}; };
...@@ -12,6 +12,8 @@ ...@@ -12,6 +12,8 @@
* published by the Free Software Foundation. * published by the Free Software Foundation.
*/ */
#include <dt-bindings/pinctrl/samsung.h>
&pinctrl_0 { &pinctrl_0 {
gpa0: gpa0 { gpa0: gpa0 {
gpio-controller; gpio-controller;
...@@ -200,392 +202,392 @@ gpx3: gpx3 { ...@@ -200,392 +202,392 @@ gpx3: gpx3 {
uart0_data: uart0-data { uart0_data: uart0-data {
samsung,pins = "gpa0-0", "gpa0-1"; samsung,pins = "gpa0-0", "gpa0-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
uart0_fctl: uart0-fctl { uart0_fctl: uart0-fctl {
samsung,pins = "gpa0-2", "gpa0-3"; samsung,pins = "gpa0-2", "gpa0-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2c2_bus: i2c2-bus { i2c2_bus: i2c2-bus {
samsung,pins = "gpa0-6", "gpa0-7"; samsung,pins = "gpa0-6", "gpa0-7";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2c2_hs_bus: i2c2-hs-bus { i2c2_hs_bus: i2c2-hs-bus {
samsung,pins = "gpa0-6", "gpa0-7"; samsung,pins = "gpa0-6", "gpa0-7";
samsung,pin-function = <4>; samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
uart2_data: uart2-data { uart2_data: uart2-data {
samsung,pins = "gpa1-0", "gpa1-1"; samsung,pins = "gpa1-0", "gpa1-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
uart2_fctl: uart2-fctl { uart2_fctl: uart2-fctl {
samsung,pins = "gpa1-2", "gpa1-3"; samsung,pins = "gpa1-2", "gpa1-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2c3_bus: i2c3-bus { i2c3_bus: i2c3-bus {
samsung,pins = "gpa1-2", "gpa1-3"; samsung,pins = "gpa1-2", "gpa1-3";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2c3_hs_bus: i2c3-hs-bus { i2c3_hs_bus: i2c3-hs-bus {
samsung,pins = "gpa1-2", "gpa1-3"; samsung,pins = "gpa1-2", "gpa1-3";
samsung,pin-function = <4>; samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
uart3_data: uart3-data { uart3_data: uart3-data {
samsung,pins = "gpa1-4", "gpa1-4"; samsung,pins = "gpa1-4", "gpa1-4";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
spi0_bus: spi0-bus { spi0_bus: spi0-bus {
samsung,pins = "gpa2-0", "gpa2-2", "gpa2-3"; samsung,pins = "gpa2-0", "gpa2-2", "gpa2-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2c4_bus: i2c4-bus { i2c4_bus: i2c4-bus {
samsung,pins = "gpa2-0", "gpa2-1"; samsung,pins = "gpa2-0", "gpa2-1";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2c5_bus: i2c5-bus { i2c5_bus: i2c5-bus {
samsung,pins = "gpa2-2", "gpa2-3"; samsung,pins = "gpa2-2", "gpa2-3";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
spi1_bus: spi1-bus { spi1_bus: spi1-bus {
samsung,pins = "gpa2-4", "gpa2-6", "gpa2-7"; samsung,pins = "gpa2-4", "gpa2-6", "gpa2-7";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2s1_bus: i2s1-bus { i2s1_bus: i2s1-bus {
samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3", samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3",
"gpb0-4"; "gpb0-4";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
pcm1_bus: pcm1-bus { pcm1_bus: pcm1-bus {
samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3", samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3",
"gpb0-4"; "gpb0-4";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
ac97_bus: ac97-bus { ac97_bus: ac97-bus {
samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3", samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3",
"gpb0-4"; "gpb0-4";
samsung,pin-function = <4>; samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2s2_bus: i2s2-bus { i2s2_bus: i2s2-bus {
samsung,pins = "gpb1-0", "gpb1-1", "gpb1-2", "gpb1-3", samsung,pins = "gpb1-0", "gpb1-1", "gpb1-2", "gpb1-3",
"gpb1-4"; "gpb1-4";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
pcm2_bus: pcm2-bus { pcm2_bus: pcm2-bus {
samsung,pins = "gpb1-0", "gpb1-1", "gpb1-2", "gpb1-3", samsung,pins = "gpb1-0", "gpb1-1", "gpb1-2", "gpb1-3",
"gpb1-4"; "gpb1-4";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
spdif_bus: spdif-bus { spdif_bus: spdif-bus {
samsung,pins = "gpb1-0", "gpb1-1"; samsung,pins = "gpb1-0", "gpb1-1";
samsung,pin-function = <4>; samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
spi2_bus: spi2-bus { spi2_bus: spi2-bus {
samsung,pins = "gpb1-1", "gpb1-3", "gpb1-4"; samsung,pins = "gpb1-1", "gpb1-3", "gpb1-4";
samsung,pin-function = <5>; samsung,pin-function = <EXYNOS_PIN_FUNC_5>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2c6_bus: i2c6-bus { i2c6_bus: i2c6-bus {
samsung,pins = "gpb1-3", "gpb1-4"; samsung,pins = "gpb1-3", "gpb1-4";
samsung,pin-function = <4>; samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
pwm0_out: pwm0-out { pwm0_out: pwm0-out {
samsung,pins = "gpb2-0"; samsung,pins = "gpb2-0";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
pwm1_out: pwm1-out { pwm1_out: pwm1-out {
samsung,pins = "gpb2-1"; samsung,pins = "gpb2-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
pwm2_out: pwm2-out { pwm2_out: pwm2-out {
samsung,pins = "gpb2-2"; samsung,pins = "gpb2-2";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
pwm3_out: pwm3-out { pwm3_out: pwm3-out {
samsung,pins = "gpb2-3"; samsung,pins = "gpb2-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2c7_bus: i2c7-bus { i2c7_bus: i2c7-bus {
samsung,pins = "gpb2-2", "gpb2-3"; samsung,pins = "gpb2-2", "gpb2-3";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2c0_bus: i2c0-bus { i2c0_bus: i2c0-bus {
samsung,pins = "gpb3-0", "gpb3-1"; samsung,pins = "gpb3-0", "gpb3-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2c1_bus: i2c1-bus { i2c1_bus: i2c1-bus {
samsung,pins = "gpb3-2", "gpb3-3"; samsung,pins = "gpb3-2", "gpb3-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2c0_hs_bus: i2c0-hs-bus { i2c0_hs_bus: i2c0-hs-bus {
samsung,pins = "gpb3-0", "gpb3-1"; samsung,pins = "gpb3-0", "gpb3-1";
samsung,pin-function = <4>; samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2c1_hs_bus: i2c1-hs-bus { i2c1_hs_bus: i2c1-hs-bus {
samsung,pins = "gpb3-2", "gpb3-3"; samsung,pins = "gpb3-2", "gpb3-3";
samsung,pin-function = <4>; samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
sd0_clk: sd0-clk { sd0_clk: sd0-clk {
samsung,pins = "gpc0-0"; samsung,pins = "gpc0-0";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd0_cmd: sd0-cmd { sd0_cmd: sd0-cmd {
samsung,pins = "gpc0-1"; samsung,pins = "gpc0-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd0_cd: sd0-cd { sd0_cd: sd0-cd {
samsung,pins = "gpc0-2"; samsung,pins = "gpc0-2";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd0_bus1: sd0-bus-width1 { sd0_bus1: sd0-bus-width1 {
samsung,pins = "gpc0-3"; samsung,pins = "gpc0-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd0_bus4: sd0-bus-width4 { sd0_bus4: sd0-bus-width4 {
samsung,pins = "gpc0-3", "gpc0-4", "gpc0-5", "gpc0-6"; samsung,pins = "gpc0-3", "gpc0-4", "gpc0-5", "gpc0-6";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd0_bus8: sd0-bus-width8 { sd0_bus8: sd0-bus-width8 {
samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3"; samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd1_clk: sd1-clk { sd1_clk: sd1-clk {
samsung,pins = "gpc2-0"; samsung,pins = "gpc2-0";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd1_cmd: sd1-cmd { sd1_cmd: sd1-cmd {
samsung,pins = "gpc2-1"; samsung,pins = "gpc2-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd1_cd: sd1-cd { sd1_cd: sd1-cd {
samsung,pins = "gpc2-2"; samsung,pins = "gpc2-2";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd1_bus1: sd1-bus-width1 { sd1_bus1: sd1-bus-width1 {
samsung,pins = "gpc2-3"; samsung,pins = "gpc2-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd1_bus4: sd1-bus-width4 { sd1_bus4: sd1-bus-width4 {
samsung,pins = "gpc2-3", "gpc2-4", "gpc2-5", "gpc2-6"; samsung,pins = "gpc2-3", "gpc2-4", "gpc2-5", "gpc2-6";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd2_clk: sd2-clk { sd2_clk: sd2-clk {
samsung,pins = "gpc3-0"; samsung,pins = "gpc3-0";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd2_cmd: sd2-cmd { sd2_cmd: sd2-cmd {
samsung,pins = "gpc3-1"; samsung,pins = "gpc3-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd2_cd: sd2-cd { sd2_cd: sd2-cd {
samsung,pins = "gpc3-2"; samsung,pins = "gpc3-2";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd2_bus1: sd2-bus-width1 { sd2_bus1: sd2-bus-width1 {
samsung,pins = "gpc3-3"; samsung,pins = "gpc3-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd2_bus4: sd2-bus-width4 { sd2_bus4: sd2-bus-width4 {
samsung,pins = "gpc3-3", "gpc3-4", "gpc3-5", "gpc3-6"; samsung,pins = "gpc3-3", "gpc3-4", "gpc3-5", "gpc3-6";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd2_bus8: sd2-bus-width8 { sd2_bus8: sd2-bus-width8 {
samsung,pins = "gpc4-3", "gpc4-4", "gpc4-5", "gpc4-6"; samsung,pins = "gpc4-3", "gpc4-4", "gpc4-5", "gpc4-6";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd3_clk: sd3-clk { sd3_clk: sd3-clk {
samsung,pins = "gpc4-0"; samsung,pins = "gpc4-0";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd3_cmd: sd3-cmd { sd3_cmd: sd3-cmd {
samsung,pins = "gpc4-1"; samsung,pins = "gpc4-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd3_cd: sd3-cd { sd3_cd: sd3-cd {
samsung,pins = "gpc4-2"; samsung,pins = "gpc4-2";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd3_bus1: sd3-bus-width1 { sd3_bus1: sd3-bus-width1 {
samsung,pins = "gpc4-3"; samsung,pins = "gpc4-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd3_bus4: sd3-bus-width4 { sd3_bus4: sd3-bus-width4 {
samsung,pins = "gpc4-3", "gpc4-4", "gpc4-5", "gpc4-6"; samsung,pins = "gpc4-3", "gpc4-4", "gpc4-5", "gpc4-6";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
uart1_data: uart1-data { uart1_data: uart1-data {
samsung,pins = "gpd0-0", "gpd0-1"; samsung,pins = "gpd0-0", "gpd0-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
uart1_fctl: uart1-fctl { uart1_fctl: uart1-fctl {
samsung,pins = "gpd0-2", "gpd0-3"; samsung,pins = "gpd0-2", "gpd0-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
dp_hpd: dp_hpd { dp_hpd: dp_hpd {
samsung,pins = "gpx0-7"; samsung,pins = "gpx0-7";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
}; };
...@@ -666,52 +668,52 @@ cam_gpio_a: cam-gpio-a { ...@@ -666,52 +668,52 @@ cam_gpio_a: cam-gpio-a {
samsung,pins = "gpe0-0", "gpe0-1", "gpe0-2", "gpe0-3", samsung,pins = "gpe0-0", "gpe0-1", "gpe0-2", "gpe0-3",
"gpe0-4", "gpe0-5", "gpe0-6", "gpe0-7", "gpe0-4", "gpe0-5", "gpe0-6", "gpe0-7",
"gpe1-0", "gpe1-1"; "gpe1-0", "gpe1-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
cam_gpio_b: cam-gpio-b { cam_gpio_b: cam-gpio-b {
samsung,pins = "gpf0-0", "gpf0-1", "gpf0-2", "gpf0-3", samsung,pins = "gpf0-0", "gpf0-1", "gpf0-2", "gpf0-3",
"gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3"; "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
cam_i2c2_bus: cam-i2c2-bus { cam_i2c2_bus: cam-i2c2-bus {
samsung,pins = "gpe0-6", "gpe1-0"; samsung,pins = "gpe0-6", "gpe1-0";
samsung,pin-function = <4>; samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
cam_spi1_bus: cam-spi1-bus { cam_spi1_bus: cam-spi1-bus {
samsung,pins = "gpe0-4", "gpe0-5", "gpf0-2", "gpf0-3"; samsung,pins = "gpe0-4", "gpe0-5", "gpf0-2", "gpf0-3";
samsung,pin-function = <4>; samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
cam_i2c1_bus: cam-i2c1-bus { cam_i2c1_bus: cam-i2c1-bus {
samsung,pins = "gpf0-2", "gpf0-3"; samsung,pins = "gpf0-2", "gpf0-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
cam_i2c0_bus: cam-i2c0-bus { cam_i2c0_bus: cam-i2c0-bus {
samsung,pins = "gpf0-0", "gpf0-1"; samsung,pins = "gpf0-0", "gpf0-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
cam_spi0_bus: cam-spi0-bus { cam_spi0_bus: cam-spi0-bus {
samsung,pins = "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3"; samsung,pins = "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
cam_bayrgb_bus: cam-bayrgb-bus { cam_bayrgb_bus: cam-bayrgb-bus {
...@@ -720,18 +722,18 @@ cam_bayrgb_bus: cam-bayrgb-bus { ...@@ -720,18 +722,18 @@ cam_bayrgb_bus: cam-bayrgb-bus {
"gpg1-0", "gpg1-1", "gpg1-2", "gpg1-3", "gpg1-0", "gpg1-1", "gpg1-2", "gpg1-3",
"gpg1-4", "gpg1-5", "gpg1-6", "gpg1-7", "gpg1-4", "gpg1-5", "gpg1-6", "gpg1-7",
"gpg2-0", "gpg2-1"; "gpg2-0", "gpg2-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
cam_port_a: cam-port-a { cam_port_a: cam-port-a {
samsung,pins = "gph0-0", "gph0-1", "gph0-2", "gph0-3", samsung,pins = "gph0-0", "gph0-1", "gph0-2", "gph0-3",
"gph1-0", "gph1-1", "gph1-2", "gph1-3", "gph1-0", "gph1-1", "gph1-2", "gph1-3",
"gph1-4", "gph1-5", "gph1-6", "gph1-7"; "gph1-4", "gph1-5", "gph1-6", "gph1-7";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
}; };
...@@ -781,9 +783,9 @@ c2c_rxd: c2c-rxd { ...@@ -781,9 +783,9 @@ c2c_rxd: c2c-rxd {
"gpv0-4", "gpv0-5", "gpv0-6", "gpv0-7", "gpv0-4", "gpv0-5", "gpv0-6", "gpv0-7",
"gpv1-0", "gpv1-1", "gpv1-2", "gpv1-3", "gpv1-0", "gpv1-1", "gpv1-2", "gpv1-3",
"gpv1-4", "gpv1-5", "gpv1-6", "gpv1-7"; "gpv1-4", "gpv1-5", "gpv1-6", "gpv1-7";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
c2c_txd: c2c-txd { c2c_txd: c2c-txd {
...@@ -791,9 +793,9 @@ c2c_txd: c2c-txd { ...@@ -791,9 +793,9 @@ c2c_txd: c2c-txd {
"gpv2-4", "gpv2-5", "gpv2-6", "gpv2-7", "gpv2-4", "gpv2-5", "gpv2-6", "gpv2-7",
"gpv3-0", "gpv3-1", "gpv3-2", "gpv3-3", "gpv3-0", "gpv3-1", "gpv3-2", "gpv3-3",
"gpv3-4", "gpv3-5", "gpv3-6", "gpv3-7"; "gpv3-4", "gpv3-5", "gpv3-6", "gpv3-7";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
}; };
...@@ -809,8 +811,8 @@ gpz: gpz { ...@@ -809,8 +811,8 @@ gpz: gpz {
i2s0_bus: i2s0-bus { i2s0_bus: i2s0-bus {
samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3", samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3",
"gpz-4", "gpz-5", "gpz-6"; "gpz-4", "gpz-5", "gpz-6";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
}; };
...@@ -417,8 +417,8 @@ partition@40000 { ...@@ -417,8 +417,8 @@ partition@40000 {
&pinctrl_0 { &pinctrl_0 {
max77686_irq: max77686-irq { max77686_irq: max77686-irq {
samsung,pins = "gpx3-2"; samsung,pins = "gpx3-2";
samsung,pin-function = <0xf>; samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
}; };
...@@ -441,7 +441,7 @@ trackpad@67 { ...@@ -441,7 +441,7 @@ trackpad@67 {
* double-pulling gets us out of spec in some cases. * double-pulling gets us out of spec in some cases.
*/ */
&i2c2_bus { &i2c2_bus {
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
}; };
&i2c_2 { &i2c_2 {
...@@ -573,81 +573,81 @@ &mmc_3 { ...@@ -573,81 +573,81 @@ &mmc_3 {
&pinctrl_0 { &pinctrl_0 {
wifi_en: wifi-en { wifi_en: wifi-en {
samsung,pins = "gpx0-1"; samsung,pins = "gpx0-1";
samsung,pin-function = <1>; samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
wifi_rst: wifi-rst { wifi_rst: wifi-rst {
samsung,pins = "gpx0-2"; samsung,pins = "gpx0-2";
samsung,pin-function = <1>; samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
power_key_irq: power-key-irq { power_key_irq: power-key-irq {
samsung,pins = "gpx1-3"; samsung,pins = "gpx1-3";
samsung,pin-function = <0xf>; samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
ec_irq: ec-irq { ec_irq: ec-irq {
samsung,pins = "gpx1-6"; samsung,pins = "gpx1-6";
samsung,pin-function = <0>; samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
tps65090_irq: tps65090-irq { tps65090_irq: tps65090-irq {
samsung,pins = "gpx2-6"; samsung,pins = "gpx2-6";
samsung,pin-function = <0>; samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
usb3_vbus_en: usb3-vbus-en { usb3_vbus_en: usb3-vbus-en {
samsung,pins = "gpx2-7"; samsung,pins = "gpx2-7";
samsung,pin-function = <1>; samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
max77686_irq: max77686-irq { max77686_irq: max77686-irq {
samsung,pins = "gpx3-2"; samsung,pins = "gpx3-2";
samsung,pin-function = <0>; samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
lid_irq: lid-irq { lid_irq: lid-irq {
samsung,pins = "gpx3-5"; samsung,pins = "gpx3-5";
samsung,pin-function = <0xf>; samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
hdmi_hpd_irq: hdmi-hpd-irq { hdmi_hpd_irq: hdmi-hpd-irq {
samsung,pins = "gpx3-7"; samsung,pins = "gpx3-7";
samsung,pin-function = <0>; samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
samsung,pin-pud = <1>; samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
}; };
&pinctrl_1 { &pinctrl_1 {
arb_their_claim: arb-their-claim { arb_their_claim: arb-their-claim {
samsung,pins = "gpe0-4"; samsung,pins = "gpe0-4";
samsung,pin-function = <0>; samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
arb_our_claim: arb-our-claim { arb_our_claim: arb-our-claim {
samsung,pins = "gpf0-3"; samsung,pins = "gpf0-3";
samsung,pin-function = <1>; samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
}; };
...@@ -658,16 +658,16 @@ &rtc { ...@@ -658,16 +658,16 @@ &rtc {
}; };
&sd3_bus4 { &sd3_bus4 {
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
&sd3_clk { &sd3_clk {
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
&sd3_cmd { &sd3_cmd {
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
&spi_1 { &spi_1 {
......
...@@ -40,8 +40,8 @@ max98090: codec@10 { ...@@ -40,8 +40,8 @@ max98090: codec@10 {
&pinctrl_0 { &pinctrl_0 {
max98090_irq: max98090-irq { max98090_irq: max98090-irq {
samsung,pins = "gpx0-4"; samsung,pins = "gpx0-4";
samsung,pin-function = <0>; samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
}; };
...@@ -36,8 +36,8 @@ max98095: codec@11 { ...@@ -36,8 +36,8 @@ max98095: codec@11 {
&pinctrl_0 { &pinctrl_0 {
max98095_en: max98095-en { max98095_en: max98095-en {
samsung,pins = "gpx1-7"; samsung,pins = "gpx1-7";
samsung,pin-function = <0>; samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
}; };
...@@ -358,7 +358,7 @@ KEY_RESERVED ...@@ -358,7 +358,7 @@ KEY_RESERVED
* double-pulling gets us out of spec in some cases. * double-pulling gets us out of spec in some cases.
*/ */
&i2c2_bus { &i2c2_bus {
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
}; };
&i2c_2 { &i2c_2 {
...@@ -461,92 +461,92 @@ &mmc_1 { ...@@ -461,92 +461,92 @@ &mmc_1 {
&pinctrl_0 { &pinctrl_0 {
s5m8767_dvs: s5m8767-dvs { s5m8767_dvs: s5m8767-dvs {
samsung,pins = "gpd1-0", "gpd1-1", "gpd1-2"; samsung,pins = "gpd1-0", "gpd1-1", "gpd1-2";
samsung,pin-function = <0>; samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
samsung,pin-pud = <1>; samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
dp_hpd_gpio: dp-hpd-gpio { dp_hpd_gpio: dp-hpd-gpio {
samsung,pins = "gpc3-0"; samsung,pins = "gpc3-0";
samsung,pin-function = <0>; samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
trackpad_irq: trackpad-irq { trackpad_irq: trackpad-irq {
samsung,pins = "gpx1-2"; samsung,pins = "gpx1-2";
samsung,pin-function = <0xf>; samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
power_key_irq: power-key-irq { power_key_irq: power-key-irq {
samsung,pins = "gpx1-3"; samsung,pins = "gpx1-3";
samsung,pin-function = <0xf>; samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
ec_irq: ec-irq { ec_irq: ec-irq {
samsung,pins = "gpx1-6"; samsung,pins = "gpx1-6";
samsung,pin-function = <0>; samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
s5m8767_ds: s5m8767-ds { s5m8767_ds: s5m8767-ds {
samsung,pins = "gpx2-3", "gpx2-4", "gpx2-5"; samsung,pins = "gpx2-3", "gpx2-4", "gpx2-5";
samsung,pin-function = <0>; samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
samsung,pin-pud = <1>; samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
s5m8767_irq: s5m8767-irq { s5m8767_irq: s5m8767-irq {
samsung,pins = "gpx3-2"; samsung,pins = "gpx3-2";
samsung,pin-function = <0>; samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
lid_irq: lid-irq { lid_irq: lid-irq {
samsung,pins = "gpx3-5"; samsung,pins = "gpx3-5";
samsung,pin-function = <0xf>; samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
hdmi_hpd_irq: hdmi-hpd-irq { hdmi_hpd_irq: hdmi-hpd-irq {
samsung,pins = "gpx3-7"; samsung,pins = "gpx3-7";
samsung,pin-function = <0>; samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
samsung,pin-pud = <1>; samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
}; };
&pinctrl_1 { &pinctrl_1 {
hsic_reset: hsic-reset { hsic_reset: hsic-reset {
samsung,pins = "gpe1-0"; samsung,pins = "gpe1-0";
samsung,pin-function = <1>; samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
}; };
&sd1_bus4 { &sd1_bus4 {
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
&sd1_cd { &sd1_cd {
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
&sd1_clk { &sd1_clk {
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
&sd1_cmd { &sd1_cmd {
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
&spi_1 { &spi_1 {
......
...@@ -12,9 +12,7 @@ ...@@ -12,9 +12,7 @@
* published by the Free Software Foundation. * published by the Free Software Foundation.
*/ */
#define PIN_PULL_NONE 0 #include <dt-bindings/pinctrl/samsung.h>
#define PIN_PULL_DOWN 1
#define PIN_PULL_UP 3
&pinctrl_0 { &pinctrl_0 {
gpa0: gpa0 { gpa0: gpa0 {
...@@ -187,217 +185,217 @@ gpx3: gpx3 { ...@@ -187,217 +185,217 @@ gpx3: gpx3 {
uart0_data: uart0-data { uart0_data: uart0-data {
samsung,pins = "gpa0-0", "gpa0-1"; samsung,pins = "gpa0-0", "gpa0-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
}; };
uart0_fctl: uart0-fctl { uart0_fctl: uart0-fctl {
samsung,pins = "gpa0-2", "gpa0-3"; samsung,pins = "gpa0-2", "gpa0-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
}; };
uart1_data: uart1-data { uart1_data: uart1-data {
samsung,pins = "gpa1-0", "gpa1-1"; samsung,pins = "gpa1-0", "gpa1-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
}; };
uart1_fctl: uart1-fctl { uart1_fctl: uart1-fctl {
samsung,pins = "gpa1-2", "gpa1-3"; samsung,pins = "gpa1-2", "gpa1-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
}; };
uart2_data: uart2-data { uart2_data: uart2-data {
samsung,pins = "gpa1-4", "gpa1-5"; samsung,pins = "gpa1-4", "gpa1-5";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
}; };
spi0_bus: spi0-bus { spi0_bus: spi0-bus {
samsung,pins = "gpa2-0", "gpa2-2", "gpa2-3"; samsung,pins = "gpa2-0", "gpa2-2", "gpa2-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_UP>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
}; };
spi1_bus: spi1-bus { spi1_bus: spi1-bus {
samsung,pins = "gpa2-4", "gpa2-6", "gpa2-7"; samsung,pins = "gpa2-4", "gpa2-6", "gpa2-7";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_UP>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
}; };
usb3_vbus0_en: usb3-vbus0-en { usb3_vbus0_en: usb3-vbus0-en {
samsung,pins = "gpa2-4"; samsung,pins = "gpa2-4";
samsung,pin-function = <1>; samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
}; };
i2s1_bus: i2s1-bus { i2s1_bus: i2s1-bus {
samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3", samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3",
"gpb0-4"; "gpb0-4";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
}; };
pcm1_bus: pcm1-bus { pcm1_bus: pcm1-bus {
samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3", samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3",
"gpb0-4"; "gpb0-4";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
}; };
spdif1_bus: spdif1-bus { spdif1_bus: spdif1-bus {
samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2"; samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2";
samsung,pin-function = <4>; samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
}; };
spi2_bus: spi2-bus { spi2_bus: spi2-bus {
samsung,pins = "gpb1-0", "gpb1-2", "gpb1-3"; samsung,pins = "gpb1-0", "gpb1-2", "gpb1-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_UP>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
}; };
i2c0_hs_bus: i2c0-hs-bus { i2c0_hs_bus: i2c0-hs-bus {
samsung,pins = "gpb3-0", "gpb3-1"; samsung,pins = "gpb3-0", "gpb3-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_UP>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
}; };
i2c1_hs_bus: i2c1-hs-bus { i2c1_hs_bus: i2c1-hs-bus {
samsung,pins = "gpb3-2", "gpb3-3"; samsung,pins = "gpb3-2", "gpb3-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_UP>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
}; };
i2c2_hs_bus: i2c2-hs-bus { i2c2_hs_bus: i2c2-hs-bus {
samsung,pins = "gpb3-4", "gpb3-5"; samsung,pins = "gpb3-4", "gpb3-5";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_UP>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
}; };
i2c3_hs_bus: i2c3-hs-bus { i2c3_hs_bus: i2c3-hs-bus {
samsung,pins = "gpb3-6", "gpb3-7"; samsung,pins = "gpb3-6", "gpb3-7";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_UP>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
}; };
i2c4_bus: i2c4-bus { i2c4_bus: i2c4-bus {
samsung,pins = "gpb4-0", "gpb4-1"; samsung,pins = "gpb4-0", "gpb4-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_UP>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
}; };
i2c5_bus: i2c5-bus { i2c5_bus: i2c5-bus {
samsung,pins = "gpb4-2", "gpb4-3"; samsung,pins = "gpb4-2", "gpb4-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_UP>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
}; };
i2c6_bus: i2c6-bus { i2c6_bus: i2c6-bus {
samsung,pins = "gpb4-4", "gpb4-5"; samsung,pins = "gpb4-4", "gpb4-5";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_UP>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
}; };
i2c7_bus: i2c7-bus { i2c7_bus: i2c7-bus {
samsung,pins = "gpb4-6", "gpb4-7"; samsung,pins = "gpb4-6", "gpb4-7";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_UP>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
}; };
i2c8_bus: i2c8-bus { i2c8_bus: i2c8-bus {
samsung,pins = "gpb5-0", "gpb5-1"; samsung,pins = "gpb5-0", "gpb5-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_UP>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
}; };
i2c9_bus: i2c9-bus { i2c9_bus: i2c9-bus {
samsung,pins = "gpb5-2", "gpb5-3"; samsung,pins = "gpb5-2", "gpb5-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_UP>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
}; };
i2c10_bus: i2c10-bus { i2c10_bus: i2c10-bus {
samsung,pins = "gpb5-4", "gpb5-5"; samsung,pins = "gpb5-4", "gpb5-5";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_UP>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
}; };
i2c11_bus: i2c11-bus { i2c11_bus: i2c11-bus {
samsung,pins = "gpb5-6", "gpb5-7"; samsung,pins = "gpb5-6", "gpb5-7";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_UP>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
}; };
cam_gpio_a: cam-gpio-a { cam_gpio_a: cam-gpio-a {
samsung,pins = "gpe0-0", "gpe0-1", "gpe0-2", "gpe0-3", samsung,pins = "gpe0-0", "gpe0-1", "gpe0-2", "gpe0-3",
"gpe0-4", "gpe0-5", "gpe0-6", "gpe0-7", "gpe0-4", "gpe0-5", "gpe0-6", "gpe0-7",
"gpe1-0", "gpe1-1"; "gpe1-0", "gpe1-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
}; };
cam_gpio_b: cam-gpio-b { cam_gpio_b: cam-gpio-b {
samsung,pins = "gpf0-0", "gpf0-1", "gpf0-2", "gpf0-3", samsung,pins = "gpf0-0", "gpf0-1", "gpf0-2", "gpf0-3",
"gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3"; "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
}; };
cam_i2c1_bus: cam-i2c1-bus { cam_i2c1_bus: cam-i2c1-bus {
samsung,pins = "gpf0-2", "gpf0-3"; samsung,pins = "gpf0-2", "gpf0-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_UP>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
}; };
cam_i2c0_bus: cam-i2c0-bus { cam_i2c0_bus: cam-i2c0-bus {
samsung,pins = "gpf0-0", "gpf0-1"; samsung,pins = "gpf0-0", "gpf0-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_UP>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
}; };
cam_spi0_bus: cam-spi0-bus { cam_spi0_bus: cam-spi0-bus {
samsung,pins = "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3"; samsung,pins = "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
}; };
cam_spi1_bus: cam-spi1-bus { cam_spi1_bus: cam-spi1-bus {
samsung,pins = "gpf1-4", "gpf1-5", "gpf1-6", "gpf1-7"; samsung,pins = "gpf1-4", "gpf1-5", "gpf1-6", "gpf1-7";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
}; };
}; };
...@@ -444,114 +442,114 @@ gpc4: gpc4 { ...@@ -444,114 +442,114 @@ gpc4: gpc4 {
sd0_clk: sd0-clk { sd0_clk: sd0-clk {
samsung,pins = "gpc0-0"; samsung,pins = "gpc0-0";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
}; };
sd0_cmd: sd0-cmd { sd0_cmd: sd0-cmd {
samsung,pins = "gpc0-1"; samsung,pins = "gpc0-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
}; };
sd0_bus1: sd0-bus-width1 { sd0_bus1: sd0-bus-width1 {
samsung,pins = "gpc0-2"; samsung,pins = "gpc0-2";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_UP>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
}; };
sd0_bus4: sd0-bus-width4 { sd0_bus4: sd0-bus-width4 {
samsung,pins = "gpc0-3", "gpc0-4", "gpc0-5"; samsung,pins = "gpc0-3", "gpc0-4", "gpc0-5";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_UP>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
}; };
sd0_bus8: sd0-bus-width8 { sd0_bus8: sd0-bus-width8 {
samsung,pins = "gpc3-0", "gpc3-1", "gpc3-2", "gpc3-3"; samsung,pins = "gpc3-0", "gpc3-1", "gpc3-2", "gpc3-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_UP>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
}; };
sd0_rdqs: sd0-rdqs { sd0_rdqs: sd0-rdqs {
samsung,pins = "gpc0-6"; samsung,pins = "gpc0-6";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_UP>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
}; };
sd1_clk: sd1-clk { sd1_clk: sd1-clk {
samsung,pins = "gpc1-0"; samsung,pins = "gpc1-0";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
}; };
sd1_cmd: sd1-cmd { sd1_cmd: sd1-cmd {
samsung,pins = "gpc1-1"; samsung,pins = "gpc1-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
}; };
sd1_bus1: sd1-bus-width1 { sd1_bus1: sd1-bus-width1 {
samsung,pins = "gpc1-2"; samsung,pins = "gpc1-2";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_UP>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
}; };
sd1_bus4: sd1-bus-width4 { sd1_bus4: sd1-bus-width4 {
samsung,pins = "gpc1-3", "gpc1-4", "gpc1-5"; samsung,pins = "gpc1-3", "gpc1-4", "gpc1-5";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_UP>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
}; };
sd1_bus8: sd1-bus-width8 { sd1_bus8: sd1-bus-width8 {
samsung,pins = "gpc4-0", "gpc4-1", "gpc4-2", "gpc4-3"; samsung,pins = "gpc4-0", "gpc4-1", "gpc4-2", "gpc4-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_UP>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
}; };
sd2_clk: sd2-clk { sd2_clk: sd2-clk {
samsung,pins = "gpc2-0"; samsung,pins = "gpc2-0";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
}; };
sd2_cmd: sd2-cmd { sd2_cmd: sd2-cmd {
samsung,pins = "gpc2-1"; samsung,pins = "gpc2-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
}; };
sd2_cd: sd2-cd { sd2_cd: sd2-cd {
samsung,pins = "gpc2-2"; samsung,pins = "gpc2-2";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_UP>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
}; };
sd2_bus1: sd2-bus-width1 { sd2_bus1: sd2-bus-width1 {
samsung,pins = "gpc2-3"; samsung,pins = "gpc2-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_UP>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
}; };
sd2_bus4: sd2-bus-width4 { sd2_bus4: sd2-bus-width4 {
samsung,pins = "gpc2-4", "gpc2-5", "gpc2-6"; samsung,pins = "gpc2-4", "gpc2-5", "gpc2-6";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_UP>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
}; };
}; };
......
...@@ -43,9 +43,9 @@ xrtcxti: xrtcxti { ...@@ -43,9 +43,9 @@ xrtcxti: xrtcxti {
&pinctrl_0 { &pinctrl_0 {
hdmi_hpd_irq: hdmi-hpd-irq { hdmi_hpd_irq: hdmi-hpd-irq {
samsung,pins = "gpx3-7"; samsung,pins = "gpx3-7";
samsung,pin-function = <0>; samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
samsung,pin-pud = <1>; samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
}; };
}; };
......
...@@ -477,38 +477,38 @@ &mmc_2 { ...@@ -477,38 +477,38 @@ &mmc_2 {
&pinctrl_0 { &pinctrl_0 {
emmc_nrst_pin: emmc-nrst { emmc_nrst_pin: emmc-nrst {
samsung,pins = "gpd1-0"; samsung,pins = "gpd1-0";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
pmic_dvs_3: pmic-dvs-3 { pmic_dvs_3: pmic-dvs-3 {
samsung,pins = "gpx0-0"; samsung,pins = "gpx0-0";
samsung,pin-function = <1>; samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
pmic_dvs_2: pmic-dvs-2 { pmic_dvs_2: pmic-dvs-2 {
samsung,pins = "gpx0-1"; samsung,pins = "gpx0-1";
samsung,pin-function = <1>; samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
pmic_dvs_1: pmic-dvs-1 { pmic_dvs_1: pmic-dvs-1 {
samsung,pins = "gpx0-2"; samsung,pins = "gpx0-2";
samsung,pin-function = <1>; samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
samsung,pin-val = <1>; samsung,pin-val = <1>;
}; };
max77802_irq: max77802-irq { max77802_irq: max77802-irq {
samsung,pins = "gpx0-4"; samsung,pins = "gpx0-4";
samsung,pin-function = <0xf>; samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
}; };
......
...@@ -9,6 +9,8 @@ ...@@ -9,6 +9,8 @@
* published by the Free Software Foundation. * published by the Free Software Foundation.
*/ */
#include <dt-bindings/pinctrl/samsung.h>
&pinctrl_0 { &pinctrl_0 {
gpa0: gpa0 { gpa0: gpa0 {
gpio-controller; gpio-controller;
...@@ -280,212 +282,212 @@ gpx3: gpx3 { ...@@ -280,212 +282,212 @@ gpx3: gpx3 {
uart0_data: uart0-data { uart0_data: uart0-data {
samsung,pins = "gpa0-0", "gpa0-1"; samsung,pins = "gpa0-0", "gpa0-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
uart0_fctl: uart0-fctl { uart0_fctl: uart0-fctl {
samsung,pins = "gpa0-2", "gpa0-3"; samsung,pins = "gpa0-2", "gpa0-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
uart1_data: uart1-data { uart1_data: uart1-data {
samsung,pins = "gpa0-4", "gpa0-5"; samsung,pins = "gpa0-4", "gpa0-5";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
uart1_fctl: uart1-fctl { uart1_fctl: uart1-fctl {
samsung,pins = "gpa0-6", "gpa0-7"; samsung,pins = "gpa0-6", "gpa0-7";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
i2c2_bus: i2c2-bus { i2c2_bus: i2c2-bus {
samsung,pins = "gpa0-6", "gpa0-7"; samsung,pins = "gpa0-6", "gpa0-7";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
uart2_data: uart2-data { uart2_data: uart2-data {
samsung,pins = "gpa1-0", "gpa1-1"; samsung,pins = "gpa1-0", "gpa1-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
uart2_fctl: uart2-fctl { uart2_fctl: uart2-fctl {
samsung,pins = "gpa1-2", "gpa1-3"; samsung,pins = "gpa1-2", "gpa1-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
i2c3_bus: i2c3-bus { i2c3_bus: i2c3-bus {
samsung,pins = "gpa1-2", "gpa1-3"; samsung,pins = "gpa1-2", "gpa1-3";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
uart3_data: uart3-data { uart3_data: uart3-data {
samsung,pins = "gpa1-4", "gpa1-5"; samsung,pins = "gpa1-4", "gpa1-5";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
i2c4_hs_bus: i2c4-hs-bus { i2c4_hs_bus: i2c4-hs-bus {
samsung,pins = "gpa2-0", "gpa2-1"; samsung,pins = "gpa2-0", "gpa2-1";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
i2c5_hs_bus: i2c5-hs-bus { i2c5_hs_bus: i2c5-hs-bus {
samsung,pins = "gpa2-2", "gpa2-3"; samsung,pins = "gpa2-2", "gpa2-3";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
i2c6_hs_bus: i2c6-hs-bus { i2c6_hs_bus: i2c6-hs-bus {
samsung,pins = "gpb1-3", "gpb1-4"; samsung,pins = "gpb1-3", "gpb1-4";
samsung,pin-function = <4>; samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
pwm0_out: pwm0-out { pwm0_out: pwm0-out {
samsung,pins = "gpb2-0"; samsung,pins = "gpb2-0";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
pwm1_out: pwm1-out { pwm1_out: pwm1-out {
samsung,pins = "gpb2-1"; samsung,pins = "gpb2-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
pwm2_out: pwm2-out { pwm2_out: pwm2-out {
samsung,pins = "gpb2-2"; samsung,pins = "gpb2-2";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
pwm3_out: pwm3-out { pwm3_out: pwm3-out {
samsung,pins = "gpb2-3"; samsung,pins = "gpb2-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
i2c7_hs_bus: i2c7-hs-bus { i2c7_hs_bus: i2c7-hs-bus {
samsung,pins = "gpb2-2", "gpb2-3"; samsung,pins = "gpb2-2", "gpb2-3";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
i2c0_bus: i2c0-bus { i2c0_bus: i2c0-bus {
samsung,pins = "gpb3-0", "gpb3-1"; samsung,pins = "gpb3-0", "gpb3-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
i2c1_bus: i2c1-bus { i2c1_bus: i2c1-bus {
samsung,pins = "gpb3-2", "gpb3-3"; samsung,pins = "gpb3-2", "gpb3-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
sd0_clk: sd0-clk { sd0_clk: sd0-clk {
samsung,pins = "gpc0-0"; samsung,pins = "gpc0-0";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
}; };
sd0_cmd: sd0-cmd { sd0_cmd: sd0-cmd {
samsung,pins = "gpc0-1"; samsung,pins = "gpc0-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
}; };
sd0_cd: sd0-cd { sd0_cd: sd0-cd {
samsung,pins = "gpc0-2"; samsung,pins = "gpc0-2";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
}; };
sd0_bus1: sd0-bus-width1 { sd0_bus1: sd0-bus-width1 {
samsung,pins = "gpc0-3"; samsung,pins = "gpc0-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
}; };
sd0_bus4: sd0-bus-width4 { sd0_bus4: sd0-bus-width4 {
samsung,pins = "gpc0-4", "gpc0-5", "gpc0-6"; samsung,pins = "gpc0-4", "gpc0-5", "gpc0-6";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
}; };
sd2_clk: sd2-clk { sd2_clk: sd2-clk {
samsung,pins = "gpc2-0"; samsung,pins = "gpc2-0";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
}; };
sd2_cmd: sd2-cmd { sd2_cmd: sd2-cmd {
samsung,pins = "gpc2-1"; samsung,pins = "gpc2-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
}; };
sd2_cd: sd2-cd { sd2_cd: sd2-cd {
samsung,pins = "gpc2-2"; samsung,pins = "gpc2-2";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
}; };
sd2_bus1: sd2-bus-width1 { sd2_bus1: sd2-bus-width1 {
samsung,pins = "gpc2-3"; samsung,pins = "gpc2-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
}; };
sd2_bus4: sd2-bus-width4 { sd2_bus4: sd2-bus-width4 {
samsung,pins = "gpc2-4", "gpc2-5", "gpc2-6"; samsung,pins = "gpc2-4", "gpc2-5", "gpc2-6";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
}; };
sd0_bus8: sd0-bus-width8 { sd0_bus8: sd0-bus-width8 {
samsung,pins = "gpc3-0", "gpc3-1", "gpc3-2", "gpc3-3"; samsung,pins = "gpc3-0", "gpc3-1", "gpc3-2", "gpc3-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
}; };
}; };
......
...@@ -67,8 +67,8 @@ &pinctrl_0 { ...@@ -67,8 +67,8 @@ &pinctrl_0 {
srom_ctl: srom-ctl { srom_ctl: srom-ctl {
samsung,pins = "gpy0-3", "gpy0-4", "gpy0-5", samsung,pins = "gpy0-3", "gpy0-4", "gpy0-5",
"gpy1-0", "gpy1-1", "gpy1-2", "gpy1-3"; "gpy1-0", "gpy1-1", "gpy1-2", "gpy1-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
srom_ebi: srom-ebi { srom_ebi: srom-ebi {
...@@ -78,9 +78,9 @@ srom_ebi: srom-ebi { ...@@ -78,9 +78,9 @@ srom_ebi: srom-ebi {
"gpy5-4", "gpy5-5", "gpy5-6", "gpy5-7", "gpy5-4", "gpy5-5", "gpy5-6", "gpy5-7",
"gpy6-0", "gpy6-1", "gpy6-2", "gpy6-3", "gpy6-0", "gpy6-1", "gpy6-2", "gpy6-3",
"gpy6-4", "gpy6-5", "gpy6-6", "gpy6-7"; "gpy6-4", "gpy6-5", "gpy6-6", "gpy6-7";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
}; };
......
...@@ -392,9 +392,9 @@ &mmc_2 { ...@@ -392,9 +392,9 @@ &mmc_2 {
&pinctrl_0 { &pinctrl_0 {
s2mps11_irq: s2mps11-irq { s2mps11_irq: s2mps11-irq {
samsung,pins = "gpx3-2"; samsung,pins = "gpx3-2";
samsung,pin-function = <0xf>; samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
}; };
......
...@@ -754,171 +754,171 @@ &pinctrl_0 { ...@@ -754,171 +754,171 @@ &pinctrl_0 {
wifi_en: wifi-en { wifi_en: wifi-en {
samsung,pins = "gpx0-0"; samsung,pins = "gpx0-0";
samsung,pin-function = <1>; samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
max98090_irq: max98090-irq { max98090_irq: max98090-irq {
samsung,pins = "gpx0-2"; samsung,pins = "gpx0-2";
samsung,pin-function = <0>; samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
/* We need GPX0_6 to be low at sleep time; just keep it low always */ /* We need GPX0_6 to be low at sleep time; just keep it low always */
mask_tpm_reset: mask-tpm-reset { mask_tpm_reset: mask-tpm-reset {
samsung,pins = "gpx0-6"; samsung,pins = "gpx0-6";
samsung,pin-function = <1>; samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
samsung,pin-val = <0>; samsung,pin-val = <0>;
}; };
tpm_irq: tpm-irq { tpm_irq: tpm-irq {
samsung,pins = "gpx1-0"; samsung,pins = "gpx1-0";
samsung,pin-function = <0>; samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
trackpad_irq: trackpad-irq { trackpad_irq: trackpad-irq {
samsung,pins = "gpx1-1"; samsung,pins = "gpx1-1";
samsung,pin-function = <0xf>; samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
power_key_irq: power-key-irq { power_key_irq: power-key-irq {
samsung,pins = "gpx1-2"; samsung,pins = "gpx1-2";
samsung,pin-function = <0>; samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
ec_irq: ec-irq { ec_irq: ec-irq {
samsung,pins = "gpx1-5"; samsung,pins = "gpx1-5";
samsung,pin-function = <0>; samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
tps65090_irq: tps65090-irq { tps65090_irq: tps65090-irq {
samsung,pins = "gpx2-5"; samsung,pins = "gpx2-5";
samsung,pin-function = <0>; samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
dp_hpd_gpio: dp_hpd_gpio { dp_hpd_gpio: dp_hpd_gpio {
samsung,pins = "gpx2-6"; samsung,pins = "gpx2-6";
samsung,pin-function = <0>; samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
max77802_irq: max77802-irq { max77802_irq: max77802-irq {
samsung,pins = "gpx3-1"; samsung,pins = "gpx3-1";
samsung,pin-function = <0>; samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
lid_irq: lid-irq { lid_irq: lid-irq {
samsung,pins = "gpx3-4"; samsung,pins = "gpx3-4";
samsung,pin-function = <0xf>; samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
hdmi_hpd_irq: hdmi-hpd-irq { hdmi_hpd_irq: hdmi-hpd-irq {
samsung,pins = "gpx3-7"; samsung,pins = "gpx3-7";
samsung,pin-function = <0>; samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
samsung,pin-pud = <1>; samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
pmic_dvs_1: pmic-dvs-1 { pmic_dvs_1: pmic-dvs-1 {
samsung,pins = "gpy7-6"; samsung,pins = "gpy7-6";
samsung,pin-function = <1>; samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
}; };
&pinctrl_1 { &pinctrl_1 {
/* Adjust WiFi drive strengths lower for EMI */ /* Adjust WiFi drive strengths lower for EMI */
sd1_clk: sd1-clk { sd1_clk: sd1-clk {
samsung,pin-drv = <2>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
}; };
sd1_cmd: sd1-cmd { sd1_cmd: sd1-cmd {
samsung,pin-drv = <2>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
}; };
sd1_bus1: sd1-bus-width1 { sd1_bus1: sd1-bus-width1 {
samsung,pin-drv = <2>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
}; };
sd1_bus4: sd1-bus-width4 { sd1_bus4: sd1-bus-width4 {
samsung,pin-drv = <2>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
}; };
sd1_bus8: sd1-bus-width8 { sd1_bus8: sd1-bus-width8 {
samsung,pin-drv = <2>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
}; };
}; };
&pinctrl_2 { &pinctrl_2 {
pmic_dvs_2: pmic-dvs-2 { pmic_dvs_2: pmic-dvs-2 {
samsung,pins = "gpj4-2"; samsung,pins = "gpj4-2";
samsung,pin-function = <1>; samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
pmic_dvs_3: pmic-dvs-3 { pmic_dvs_3: pmic-dvs-3 {
samsung,pins = "gpj4-3"; samsung,pins = "gpj4-3";
samsung,pin-function = <1>; samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
}; };
&pinctrl_3 { &pinctrl_3 {
/* Drive SPI lines at x2 for better integrity */ /* Drive SPI lines at x2 for better integrity */
spi2-bus { spi2-bus {
samsung,pin-drv = <2>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
}; };
/* Drive SPI chip select at x2 for better integrity */ /* Drive SPI chip select at x2 for better integrity */
ec_spi_cs: ec-spi-cs { ec_spi_cs: ec-spi-cs {
samsung,pins = "gpb1-2"; samsung,pins = "gpb1-2";
samsung,pin-function = <1>; samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <2>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
}; };
usb300_vbus_en: usb300-vbus-en { usb300_vbus_en: usb300-vbus-en {
samsung,pins = "gph0-0"; samsung,pins = "gph0-0";
samsung,pin-function = <1>; samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
usb301_vbus_en: usb301-vbus-en { usb301_vbus_en: usb301-vbus-en {
samsung,pins = "gph0-1"; samsung,pins = "gph0-1";
samsung,pin-function = <1>; samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
pmic_selb: pmic-selb { pmic_selb: pmic-selb {
samsung,pins = "gph0-2", "gph0-3", "gph0-4", "gph0-5", samsung,pins = "gph0-2", "gph0-3", "gph0-4", "gph0-5",
"gph0-6"; "gph0-6";
samsung,pin-function = <1>; samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
}; };
......
...@@ -12,6 +12,8 @@ ...@@ -12,6 +12,8 @@
* published by the Free Software Foundation. * published by the Free Software Foundation.
*/ */
#include <dt-bindings/pinctrl/samsung.h>
&pinctrl_0 { &pinctrl_0 {
gpy7: gpy7 { gpy7: gpy7 {
gpio-controller; gpio-controller;
...@@ -61,9 +63,9 @@ gpx3: gpx3 { ...@@ -61,9 +63,9 @@ gpx3: gpx3 {
dp_hpd: dp_hpd { dp_hpd: dp_hpd {
samsung,pins = "gpx0-7"; samsung,pins = "gpx0-7";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
}; };
...@@ -153,135 +155,135 @@ gpy6: gpy6 { ...@@ -153,135 +155,135 @@ gpy6: gpy6 {
sd0_clk: sd0-clk { sd0_clk: sd0-clk {
samsung,pins = "gpc0-0"; samsung,pins = "gpc0-0";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
}; };
sd0_cmd: sd0-cmd { sd0_cmd: sd0-cmd {
samsung,pins = "gpc0-1"; samsung,pins = "gpc0-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
}; };
sd0_cd: sd0-cd { sd0_cd: sd0-cd {
samsung,pins = "gpc0-2"; samsung,pins = "gpc0-2";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
}; };
sd0_bus1: sd0-bus-width1 { sd0_bus1: sd0-bus-width1 {
samsung,pins = "gpc0-3"; samsung,pins = "gpc0-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
}; };
sd0_bus4: sd0-bus-width4 { sd0_bus4: sd0-bus-width4 {
samsung,pins = "gpc0-4", "gpc0-5", "gpc0-6"; samsung,pins = "gpc0-4", "gpc0-5", "gpc0-6";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
}; };
sd0_bus8: sd0-bus-width8 { sd0_bus8: sd0-bus-width8 {
samsung,pins = "gpc3-0", "gpc3-1", "gpc3-2", "gpc3-3"; samsung,pins = "gpc3-0", "gpc3-1", "gpc3-2", "gpc3-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
}; };
sd0_rclk: sd0-rclk { sd0_rclk: sd0-rclk {
samsung,pins = "gpc0-7"; samsung,pins = "gpc0-7";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <1>; samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
}; };
sd1_clk: sd1-clk { sd1_clk: sd1-clk {
samsung,pins = "gpc1-0"; samsung,pins = "gpc1-0";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
}; };
sd1_cmd: sd1-cmd { sd1_cmd: sd1-cmd {
samsung,pins = "gpc1-1"; samsung,pins = "gpc1-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
}; };
sd1_cd: sd1-cd { sd1_cd: sd1-cd {
samsung,pins = "gpc1-2"; samsung,pins = "gpc1-2";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
}; };
sd1_int: sd1-int { sd1_int: sd1-int {
samsung,pins = "gpd1-1"; samsung,pins = "gpd1-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
sd1_bus1: sd1-bus-width1 { sd1_bus1: sd1-bus-width1 {
samsung,pins = "gpc1-3"; samsung,pins = "gpc1-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
}; };
sd1_bus4: sd1-bus-width4 { sd1_bus4: sd1-bus-width4 {
samsung,pins = "gpc1-4", "gpc1-5", "gpc1-6"; samsung,pins = "gpc1-4", "gpc1-5", "gpc1-6";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
}; };
sd1_bus8: sd1-bus-width8 { sd1_bus8: sd1-bus-width8 {
samsung,pins = "gpd1-4", "gpd1-5", "gpd1-6", "gpd1-7"; samsung,pins = "gpd1-4", "gpd1-5", "gpd1-6", "gpd1-7";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
}; };
sd2_clk: sd2-clk { sd2_clk: sd2-clk {
samsung,pins = "gpc2-0"; samsung,pins = "gpc2-0";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
}; };
sd2_cmd: sd2-cmd { sd2_cmd: sd2-cmd {
samsung,pins = "gpc2-1"; samsung,pins = "gpc2-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
}; };
sd2_cd: sd2-cd { sd2_cd: sd2-cd {
samsung,pins = "gpc2-2"; samsung,pins = "gpc2-2";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
}; };
sd2_bus1: sd2-bus-width1 { sd2_bus1: sd2-bus-width1 {
samsung,pins = "gpc2-3"; samsung,pins = "gpc2-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
}; };
sd2_bus4: sd2-bus-width4 { sd2_bus4: sd2-bus-width4 {
samsung,pins = "gpc2-4", "gpc2-5", "gpc2-6"; samsung,pins = "gpc2-4", "gpc2-5", "gpc2-6";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
}; };
}; };
...@@ -354,52 +356,52 @@ cam_gpio_a: cam-gpio-a { ...@@ -354,52 +356,52 @@ cam_gpio_a: cam-gpio-a {
samsung,pins = "gpe0-0", "gpe0-1", "gpe0-2", "gpe0-3", samsung,pins = "gpe0-0", "gpe0-1", "gpe0-2", "gpe0-3",
"gpe0-4", "gpe0-5", "gpe0-6", "gpe0-7", "gpe0-4", "gpe0-5", "gpe0-6", "gpe0-7",
"gpe1-0", "gpe1-1"; "gpe1-0", "gpe1-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
cam_gpio_b: cam-gpio-b { cam_gpio_b: cam-gpio-b {
samsung,pins = "gpf0-0", "gpf0-1", "gpf0-2", "gpf0-3", samsung,pins = "gpf0-0", "gpf0-1", "gpf0-2", "gpf0-3",
"gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3"; "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
cam_i2c2_bus: cam-i2c2-bus { cam_i2c2_bus: cam-i2c2-bus {
samsung,pins = "gpf0-4", "gpf0-5"; samsung,pins = "gpf0-4", "gpf0-5";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
cam_spi1_bus: cam-spi1-bus { cam_spi1_bus: cam-spi1-bus {
samsung,pins = "gpe0-4", "gpe0-5", "gpf0-2", "gpf0-3"; samsung,pins = "gpe0-4", "gpe0-5", "gpf0-2", "gpf0-3";
samsung,pin-function = <4>; samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
cam_i2c1_bus: cam-i2c1-bus { cam_i2c1_bus: cam-i2c1-bus {
samsung,pins = "gpf0-2", "gpf0-3"; samsung,pins = "gpf0-2", "gpf0-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
cam_i2c0_bus: cam-i2c0-bus { cam_i2c0_bus: cam-i2c0-bus {
samsung,pins = "gpf0-0", "gpf0-1"; samsung,pins = "gpf0-0", "gpf0-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
cam_spi0_bus: cam-spi0-bus { cam_spi0_bus: cam-spi0-bus {
samsung,pins = "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3"; samsung,pins = "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
cam_bayrgb_bus: cam-bayrgb-bus { cam_bayrgb_bus: cam-bayrgb-bus {
...@@ -408,9 +410,9 @@ cam_bayrgb_bus: cam-bayrgb-bus { ...@@ -408,9 +410,9 @@ cam_bayrgb_bus: cam-bayrgb-bus {
"gpg1-0", "gpg1-1", "gpg1-2", "gpg1-3", "gpg1-0", "gpg1-1", "gpg1-2", "gpg1-3",
"gpg1-4", "gpg1-5", "gpg1-6", "gpg1-7", "gpg1-4", "gpg1-5", "gpg1-6", "gpg1-7",
"gpg2-0"; "gpg2-0";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
}; };
...@@ -489,216 +491,216 @@ gph0: gph0 { ...@@ -489,216 +491,216 @@ gph0: gph0 {
uart0_data: uart0-data { uart0_data: uart0-data {
samsung,pins = "gpa0-0", "gpa0-1"; samsung,pins = "gpa0-0", "gpa0-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
uart0_fctl: uart0-fctl { uart0_fctl: uart0-fctl {
samsung,pins = "gpa0-2", "gpa0-3"; samsung,pins = "gpa0-2", "gpa0-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
uart1_data: uart1-data { uart1_data: uart1-data {
samsung,pins = "gpa0-4", "gpa0-5"; samsung,pins = "gpa0-4", "gpa0-5";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
uart1_fctl: uart1-fctl { uart1_fctl: uart1-fctl {
samsung,pins = "gpa0-6", "gpa0-7"; samsung,pins = "gpa0-6", "gpa0-7";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
i2c2_bus: i2c2-bus { i2c2_bus: i2c2-bus {
samsung,pins = "gpa0-6", "gpa0-7"; samsung,pins = "gpa0-6", "gpa0-7";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
uart2_data: uart2-data { uart2_data: uart2-data {
samsung,pins = "gpa1-0", "gpa1-1"; samsung,pins = "gpa1-0", "gpa1-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
uart2_fctl: uart2-fctl { uart2_fctl: uart2-fctl {
samsung,pins = "gpa1-2", "gpa1-3"; samsung,pins = "gpa1-2", "gpa1-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
i2c3_bus: i2c3-bus { i2c3_bus: i2c3-bus {
samsung,pins = "gpa1-2", "gpa1-3"; samsung,pins = "gpa1-2", "gpa1-3";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
uart3_data: uart3-data { uart3_data: uart3-data {
samsung,pins = "gpa1-4", "gpa1-5"; samsung,pins = "gpa1-4", "gpa1-5";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
spi0_bus: spi0-bus { spi0_bus: spi0-bus {
samsung,pins = "gpa2-0", "gpa2-1", "gpa2-2", "gpa2-3"; samsung,pins = "gpa2-0", "gpa2-1", "gpa2-2", "gpa2-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
spi1_bus: spi1-bus { spi1_bus: spi1-bus {
samsung,pins = "gpa2-4", "gpa2-6", "gpa2-7"; samsung,pins = "gpa2-4", "gpa2-6", "gpa2-7";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
i2c4_hs_bus: i2c4-hs-bus { i2c4_hs_bus: i2c4-hs-bus {
samsung,pins = "gpa2-0", "gpa2-1"; samsung,pins = "gpa2-0", "gpa2-1";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
i2c5_hs_bus: i2c5-hs-bus { i2c5_hs_bus: i2c5-hs-bus {
samsung,pins = "gpa2-2", "gpa2-3"; samsung,pins = "gpa2-2", "gpa2-3";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
i2s1_bus: i2s1-bus { i2s1_bus: i2s1-bus {
samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3", samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3",
"gpb0-4"; "gpb0-4";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
pcm1_bus: pcm1-bus { pcm1_bus: pcm1-bus {
samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3", samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3",
"gpb0-4"; "gpb0-4";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
i2s2_bus: i2s2-bus { i2s2_bus: i2s2-bus {
samsung,pins = "gpb1-0", "gpb1-1", "gpb1-2", "gpb1-3", samsung,pins = "gpb1-0", "gpb1-1", "gpb1-2", "gpb1-3",
"gpb1-4"; "gpb1-4";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
pcm2_bus: pcm2-bus { pcm2_bus: pcm2-bus {
samsung,pins = "gpb1-0", "gpb1-1", "gpb1-2", "gpb1-3", samsung,pins = "gpb1-0", "gpb1-1", "gpb1-2", "gpb1-3",
"gpb1-4"; "gpb1-4";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
spdif_bus: spdif-bus { spdif_bus: spdif-bus {
samsung,pins = "gpb1-0", "gpb1-1"; samsung,pins = "gpb1-0", "gpb1-1";
samsung,pin-function = <4>; samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
spi2_bus: spi2-bus { spi2_bus: spi2-bus {
samsung,pins = "gpb1-1", "gpb1-3", "gpb1-4"; samsung,pins = "gpb1-1", "gpb1-3", "gpb1-4";
samsung,pin-function = <5>; samsung,pin-function = <EXYNOS_PIN_FUNC_5>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
i2c6_hs_bus: i2c6-hs-bus { i2c6_hs_bus: i2c6-hs-bus {
samsung,pins = "gpb1-3", "gpb1-4"; samsung,pins = "gpb1-3", "gpb1-4";
samsung,pin-function = <4>; samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
pwm0_out: pwm0-out { pwm0_out: pwm0-out {
samsung,pins = "gpb2-0"; samsung,pins = "gpb2-0";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
pwm1_out: pwm1-out { pwm1_out: pwm1-out {
samsung,pins = "gpb2-1"; samsung,pins = "gpb2-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
pwm2_out: pwm2-out { pwm2_out: pwm2-out {
samsung,pins = "gpb2-2"; samsung,pins = "gpb2-2";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
pwm3_out: pwm3-out { pwm3_out: pwm3-out {
samsung,pins = "gpb2-3"; samsung,pins = "gpb2-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
i2c7_hs_bus: i2c7-hs-bus { i2c7_hs_bus: i2c7-hs-bus {
samsung,pins = "gpb2-2", "gpb2-3"; samsung,pins = "gpb2-2", "gpb2-3";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
i2c0_bus: i2c0-bus { i2c0_bus: i2c0-bus {
samsung,pins = "gpb3-0", "gpb3-1"; samsung,pins = "gpb3-0", "gpb3-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
i2c1_bus: i2c1-bus { i2c1_bus: i2c1-bus {
samsung,pins = "gpb3-2", "gpb3-3"; samsung,pins = "gpb3-2", "gpb3-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
i2c8_hs_bus: i2c8-hs-bus { i2c8_hs_bus: i2c8-hs-bus {
samsung,pins = "gpb3-4", "gpb3-5"; samsung,pins = "gpb3-4", "gpb3-5";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
i2c9_hs_bus: i2c9-hs-bus { i2c9_hs_bus: i2c9-hs-bus {
samsung,pins = "gpb3-6", "gpb3-7"; samsung,pins = "gpb3-6", "gpb3-7";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
i2c10_hs_bus: i2c10-hs-bus { i2c10_hs_bus: i2c10-hs-bus {
samsung,pins = "gpb4-0", "gpb4-1"; samsung,pins = "gpb4-0", "gpb4-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
}; };
...@@ -714,8 +716,8 @@ gpz: gpz { ...@@ -714,8 +716,8 @@ gpz: gpz {
i2s0_bus: i2s0-bus { i2s0_bus: i2s0-bus {
samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3", samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3",
"gpz-4", "gpz-5", "gpz-6"; "gpz-4", "gpz-5", "gpz-6";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
}; };
...@@ -387,25 +387,25 @@ &mmc_2 { ...@@ -387,25 +387,25 @@ &mmc_2 {
&pinctrl_0 { &pinctrl_0 {
hdmi_hpd_irq: hdmi-hpd-irq { hdmi_hpd_irq: hdmi-hpd-irq {
samsung,pins = "gpx3-7"; samsung,pins = "gpx3-7";
samsung,pin-function = <0>; samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
samsung,pin-pud = <1>; samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
}; };
&pinctrl_2 { &pinctrl_2 {
usb300_vbus_en: usb300-vbus-en { usb300_vbus_en: usb300-vbus-en {
samsung,pins = "gpg0-5"; samsung,pins = "gpg0-5";
samsung,pin-function = <1>; samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
usb301_vbus_en: usb301-vbus-en { usb301_vbus_en: usb301-vbus-en {
samsung,pins = "gpg1-4"; samsung,pins = "gpg1-4";
samsung,pin-function = <1>; samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
}; };
......
...@@ -549,25 +549,25 @@ &nocp_mem1_1 { ...@@ -549,25 +549,25 @@ &nocp_mem1_1 {
&pinctrl_0 { &pinctrl_0 {
hdmi_hpd_irq: hdmi-hpd-irq { hdmi_hpd_irq: hdmi-hpd-irq {
samsung,pins = "gpx3-7"; samsung,pins = "gpx3-7";
samsung,pin-function = <0>; samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
samsung,pin-pud = <1>; samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
s2mps11_irq: s2mps11-irq { s2mps11_irq: s2mps11-irq {
samsung,pins = "gpx0-4"; samsung,pins = "gpx0-4";
samsung,pin-function = <0xf>; samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
}; };
&pinctrl_1 { &pinctrl_1 {
emmc_nrst_pin: emmc-nrst { emmc_nrst_pin: emmc-nrst {
samsung,pins = "gpd1-0"; samsung,pins = "gpd1-0";
samsung,pin-function = <0>; samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
}; };
......
...@@ -723,171 +723,171 @@ &pinctrl_0 { ...@@ -723,171 +723,171 @@ &pinctrl_0 {
wifi_en: wifi-en { wifi_en: wifi-en {
samsung,pins = "gpx0-0"; samsung,pins = "gpx0-0";
samsung,pin-function = <1>; samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
max98091_irq: max98091-irq { max98091_irq: max98091-irq {
samsung,pins = "gpx0-2"; samsung,pins = "gpx0-2";
samsung,pin-function = <0>; samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
/* We need GPX0_6 to be low at sleep time; just keep it low always */ /* We need GPX0_6 to be low at sleep time; just keep it low always */
mask_tpm_reset: mask-tpm-reset { mask_tpm_reset: mask-tpm-reset {
samsung,pins = "gpx0-6"; samsung,pins = "gpx0-6";
samsung,pin-function = <1>; samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
samsung,pin-val = <0>; samsung,pin-val = <0>;
}; };
tpm_irq: tpm-irq { tpm_irq: tpm-irq {
samsung,pins = "gpx1-0"; samsung,pins = "gpx1-0";
samsung,pin-function = <0>; samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
trackpad_irq: trackpad-irq { trackpad_irq: trackpad-irq {
samsung,pins = "gpx1-1"; samsung,pins = "gpx1-1";
samsung,pin-function = <0xf>; samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
power_key_irq: power-key-irq { power_key_irq: power-key-irq {
samsung,pins = "gpx1-2"; samsung,pins = "gpx1-2";
samsung,pin-function = <0>; samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
ec_irq: ec-irq { ec_irq: ec-irq {
samsung,pins = "gpx1-5"; samsung,pins = "gpx1-5";
samsung,pin-function = <0>; samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
tps65090_irq: tps65090-irq { tps65090_irq: tps65090-irq {
samsung,pins = "gpx2-5"; samsung,pins = "gpx2-5";
samsung,pin-function = <0>; samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
dp_hpd_gpio: dp_hpd_gpio { dp_hpd_gpio: dp_hpd_gpio {
samsung,pins = "gpx2-6"; samsung,pins = "gpx2-6";
samsung,pin-function = <0>; samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
samsung,pin-pud = <3>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
max77802_irq: max77802-irq { max77802_irq: max77802-irq {
samsung,pins = "gpx3-1"; samsung,pins = "gpx3-1";
samsung,pin-function = <0>; samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
lid_irq: lid-irq { lid_irq: lid-irq {
samsung,pins = "gpx3-4"; samsung,pins = "gpx3-4";
samsung,pin-function = <0xf>; samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
hdmi_hpd_irq: hdmi-hpd-irq { hdmi_hpd_irq: hdmi-hpd-irq {
samsung,pins = "gpx3-7"; samsung,pins = "gpx3-7";
samsung,pin-function = <0>; samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
samsung,pin-pud = <1>; samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
pmic_dvs_1: pmic-dvs-1 { pmic_dvs_1: pmic-dvs-1 {
samsung,pins = "gpy7-6"; samsung,pins = "gpy7-6";
samsung,pin-function = <1>; samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
}; };
&pinctrl_1 { &pinctrl_1 {
/* Adjust WiFi drive strengths lower for EMI */ /* Adjust WiFi drive strengths lower for EMI */
sd1_clk: sd1-clk { sd1_clk: sd1-clk {
samsung,pin-drv = <2>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
}; };
sd1_cmd: sd1-cmd { sd1_cmd: sd1-cmd {
samsung,pin-drv = <2>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
}; };
sd1_bus1: sd1-bus-width1 { sd1_bus1: sd1-bus-width1 {
samsung,pin-drv = <2>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
}; };
sd1_bus4: sd1-bus-width4 { sd1_bus4: sd1-bus-width4 {
samsung,pin-drv = <2>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
}; };
sd1_bus8: sd1-bus-width8 { sd1_bus8: sd1-bus-width8 {
samsung,pin-drv = <2>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
}; };
}; };
&pinctrl_2 { &pinctrl_2 {
pmic_dvs_2: pmic-dvs-2 { pmic_dvs_2: pmic-dvs-2 {
samsung,pins = "gpj4-2"; samsung,pins = "gpj4-2";
samsung,pin-function = <1>; samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
pmic_dvs_3: pmic-dvs-3 { pmic_dvs_3: pmic-dvs-3 {
samsung,pins = "gpj4-3"; samsung,pins = "gpj4-3";
samsung,pin-function = <1>; samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
}; };
&pinctrl_3 { &pinctrl_3 {
/* Drive SPI lines at x2 for better integrity */ /* Drive SPI lines at x2 for better integrity */
spi2-bus { spi2-bus {
samsung,pin-drv = <2>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
}; };
/* Drive SPI chip select at x2 for better integrity */ /* Drive SPI chip select at x2 for better integrity */
ec_spi_cs: ec-spi-cs { ec_spi_cs: ec-spi-cs {
samsung,pins = "gpb1-2"; samsung,pins = "gpb1-2";
samsung,pin-function = <1>; samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <2>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
}; };
usb300_vbus_en: usb300-vbus-en { usb300_vbus_en: usb300-vbus-en {
samsung,pins = "gph0-0"; samsung,pins = "gph0-0";
samsung,pin-function = <1>; samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
usb301_vbus_en: usb301-vbus-en { usb301_vbus_en: usb301-vbus-en {
samsung,pins = "gph0-1"; samsung,pins = "gph0-1";
samsung,pin-function = <1>; samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
pmic_selb: pmic-selb { pmic_selb: pmic-selb {
samsung,pins = "gph0-2", "gph0-3", "gph0-4", "gph0-5", samsung,pins = "gph0-2", "gph0-3", "gph0-4", "gph0-5",
"gph0-6"; "gph0-6";
samsung,pin-function = <1>; samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
samsung,pin-pud = <0>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
}; };
}; };
......
...@@ -8,6 +8,8 @@ ...@@ -8,6 +8,8 @@
* published by the Free Software Foundation. * published by the Free Software Foundation.
*/ */
#include <dt-bindings/pinctrl/samsung.h>
&pinctrl_0 { &pinctrl_0 {
/* /*
* Pin banks * Pin banks
...@@ -83,91 +85,91 @@ gpm: gpm { ...@@ -83,91 +85,91 @@ gpm: gpm {
uart0_data: uart0-data { uart0_data: uart0-data {
samsung,pins = "gph-0", "gph-1"; samsung,pins = "gph-0", "gph-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
}; };
uart0_fctl: uart0-fctl { uart0_fctl: uart0-fctl {
samsung,pins = "gph-8", "gph-9"; samsung,pins = "gph-8", "gph-9";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
}; };
uart1_data: uart1-data { uart1_data: uart1-data {
samsung,pins = "gph-2", "gph-3"; samsung,pins = "gph-2", "gph-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
}; };
uart1_fctl: uart1-fctl { uart1_fctl: uart1-fctl {
samsung,pins = "gph-10", "gph-11"; samsung,pins = "gph-10", "gph-11";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
}; };
uart2_data: uart2-data { uart2_data: uart2-data {
samsung,pins = "gph-4", "gph-5"; samsung,pins = "gph-4", "gph-5";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
}; };
uart2_fctl: uart2-fctl { uart2_fctl: uart2-fctl {
samsung,pins = "gph-6", "gph-7"; samsung,pins = "gph-6", "gph-7";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
}; };
uart3_data: uart3-data { uart3_data: uart3-data {
samsung,pins = "gph-6", "gph-7"; samsung,pins = "gph-6", "gph-7";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
}; };
extuart_clk: extuart-clk { extuart_clk: extuart-clk {
samsung,pins = "gph-12"; samsung,pins = "gph-12";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
}; };
i2c0_bus: i2c0-bus { i2c0_bus: i2c0-bus {
samsung,pins = "gpe-14", "gpe-15"; samsung,pins = "gpe-14", "gpe-15";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
}; };
spi0_bus: spi0-bus { spi0_bus: spi0-bus {
samsung,pins = "gpe-11", "gpe-12", "gpe-13"; samsung,pins = "gpe-11", "gpe-12", "gpe-13";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
}; };
sd0_clk: sd0-clk { sd0_clk: sd0-clk {
samsung,pins = "gpe-5"; samsung,pins = "gpe-5";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
}; };
sd0_cmd: sd0-cmd { sd0_cmd: sd0-cmd {
samsung,pins = "gpe-6"; samsung,pins = "gpe-6";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
}; };
sd0_bus1: sd0-bus1 { sd0_bus1: sd0-bus1 {
samsung,pins = "gpe-7"; samsung,pins = "gpe-7";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
}; };
sd0_bus4: sd0-bus4 { sd0_bus4: sd0-bus4 {
samsung,pins = "gpe-8", "gpe-9", "gpe-10"; samsung,pins = "gpe-8", "gpe-9", "gpe-10";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
}; };
sd1_cmd: sd1-cmd { sd1_cmd: sd1-cmd {
samsung,pins = "gpl-8"; samsung,pins = "gpl-8";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
}; };
sd1_clk: sd1-clk { sd1_clk: sd1-clk {
samsung,pins = "gpl-9"; samsung,pins = "gpl-9";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
}; };
sd1_bus1: sd1-bus1 { sd1_bus1: sd1-bus1 {
samsung,pins = "gpl-0"; samsung,pins = "gpl-0";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
}; };
sd1_bus4: sd1-bus4 { sd1_bus4: sd1-bus4 {
samsung,pins = "gpl-1", "gpl-2", "gpl-3"; samsung,pins = "gpl-1", "gpl-2", "gpl-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
}; };
}; };
...@@ -201,13 +201,13 @@ &uart3 { ...@@ -201,13 +201,13 @@ &uart3 {
&pinctrl0 { &pinctrl0 {
gpio_leds: gpio-leds { gpio_leds: gpio-leds {
samsung,pins = "gpk-4", "gpk-5", "gpk-6", "gpk-7"; 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 { gpio_keys: gpio-keys {
samsung,pins = "gpn-0", "gpn-1", "gpn-2", "gpn-3", samsung,pins = "gpn-0", "gpn-1", "gpn-2", "gpn-3",
"gpn-4", "gpn-5", "gpl-11", "gpl-12"; "gpn-4", "gpn-5", "gpl-11", "gpl-12";
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
}; };
......
...@@ -12,9 +12,7 @@ ...@@ -12,9 +12,7 @@
* published by the Free Software Foundation. * published by the Free Software Foundation.
*/ */
#define PIN_PULL_NONE 0 #include <dt-bindings/pinctrl/samsung.h>
#define PIN_PULL_DOWN 1
#define PIN_PULL_UP 2
&pinctrl0 { &pinctrl0 {
/* /*
...@@ -138,514 +136,514 @@ gpq: gpq { ...@@ -138,514 +136,514 @@ gpq: gpq {
uart0_data: uart0-data { uart0_data: uart0-data {
samsung,pins = "gpa-0", "gpa-1"; samsung,pins = "gpa-0", "gpa-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
uart0_fctl: uart0-fctl { uart0_fctl: uart0-fctl {
samsung,pins = "gpa-2", "gpa-3"; samsung,pins = "gpa-2", "gpa-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
uart1_data: uart1-data { uart1_data: uart1-data {
samsung,pins = "gpa-4", "gpa-5"; samsung,pins = "gpa-4", "gpa-5";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
uart1_fctl: uart1-fctl { uart1_fctl: uart1-fctl {
samsung,pins = "gpa-6", "gpa-7"; samsung,pins = "gpa-6", "gpa-7";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
uart2_data: uart2-data { uart2_data: uart2-data {
samsung,pins = "gpb-0", "gpb-1"; samsung,pins = "gpb-0", "gpb-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
uart3_data: uart3-data { uart3_data: uart3-data {
samsung,pins = "gpb-2", "gpb-3"; samsung,pins = "gpb-2", "gpb-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
ext_dma_0: ext-dma-0 { ext_dma_0: ext-dma-0 {
samsung,pins = "gpb-0", "gpb-1"; samsung,pins = "gpb-0", "gpb-1";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
ext_dma_1: ext-dma-1 { ext_dma_1: ext-dma-1 {
samsung,pins = "gpb-2", "gpb-3"; samsung,pins = "gpb-2", "gpb-3";
samsung,pin-function = <4>; samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
irda_data_0: irda-data-0 { irda_data_0: irda-data-0 {
samsung,pins = "gpb-0", "gpb-1"; samsung,pins = "gpb-0", "gpb-1";
samsung,pin-function = <4>; samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
irda_data_1: irda-data-1 { irda_data_1: irda-data-1 {
samsung,pins = "gpb-2", "gpb-3"; samsung,pins = "gpb-2", "gpb-3";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
irda_sdbw: irda-sdbw { irda_sdbw: irda-sdbw {
samsung,pins = "gpb-4"; samsung,pins = "gpb-4";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
i2c0_bus: i2c0-bus { i2c0_bus: i2c0-bus {
samsung,pins = "gpb-5", "gpb-6"; samsung,pins = "gpb-5", "gpb-6";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_UP>; samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
}; };
i2c1_bus: i2c1-bus { i2c1_bus: i2c1-bus {
/* S3C6410-only */ /* S3C6410-only */
samsung,pins = "gpb-2", "gpb-3"; samsung,pins = "gpb-2", "gpb-3";
samsung,pin-function = <6>; samsung,pin-function = <EXYNOS_PIN_FUNC_6>;
samsung,pin-pud = <PIN_PULL_UP>; samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
}; };
spi0_bus: spi0-bus { spi0_bus: spi0-bus {
samsung,pins = "gpc-0", "gpc-1", "gpc-2"; samsung,pins = "gpc-0", "gpc-1", "gpc-2";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_UP>; samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
}; };
spi0_cs: spi0-cs { spi0_cs: spi0-cs {
samsung,pins = "gpc-3"; samsung,pins = "gpc-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
spi1_bus: spi1-bus { spi1_bus: spi1-bus {
samsung,pins = "gpc-4", "gpc-5", "gpc-6"; samsung,pins = "gpc-4", "gpc-5", "gpc-6";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_UP>; samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
}; };
spi1_cs: spi1-cs { spi1_cs: spi1-cs {
samsung,pins = "gpc-7"; samsung,pins = "gpc-7";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
sd0_cmd: sd0-cmd { sd0_cmd: sd0-cmd {
samsung,pins = "gpg-1"; samsung,pins = "gpg-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
sd0_clk: sd0-clk { sd0_clk: sd0-clk {
samsung,pins = "gpg-0"; samsung,pins = "gpg-0";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
sd0_bus1: sd0-bus1 { sd0_bus1: sd0-bus1 {
samsung,pins = "gpg-2"; samsung,pins = "gpg-2";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
sd0_bus4: sd0-bus4 { sd0_bus4: sd0-bus4 {
samsung,pins = "gpg-2", "gpg-3", "gpg-4", "gpg-5"; samsung,pins = "gpg-2", "gpg-3", "gpg-4", "gpg-5";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
sd0_cd: sd0-cd { sd0_cd: sd0-cd {
samsung,pins = "gpg-6"; samsung,pins = "gpg-6";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_UP>; samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
}; };
sd1_cmd: sd1-cmd { sd1_cmd: sd1-cmd {
samsung,pins = "gph-1"; samsung,pins = "gph-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
sd1_clk: sd1-clk { sd1_clk: sd1-clk {
samsung,pins = "gph-0"; samsung,pins = "gph-0";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
sd1_bus1: sd1-bus1 { sd1_bus1: sd1-bus1 {
samsung,pins = "gph-2"; samsung,pins = "gph-2";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
sd1_bus4: sd1-bus4 { sd1_bus4: sd1-bus4 {
samsung,pins = "gph-2", "gph-3", "gph-4", "gph-5"; samsung,pins = "gph-2", "gph-3", "gph-4", "gph-5";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
sd1_bus8: sd1-bus8 { sd1_bus8: sd1-bus8 {
samsung,pins = "gph-2", "gph-3", "gph-4", "gph-5", samsung,pins = "gph-2", "gph-3", "gph-4", "gph-5",
"gph-6", "gph-7", "gph-8", "gph-9"; "gph-6", "gph-7", "gph-8", "gph-9";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
sd1_cd: sd1-cd { sd1_cd: sd1-cd {
samsung,pins = "gpg-6"; samsung,pins = "gpg-6";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <PIN_PULL_UP>; samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
}; };
sd2_cmd: sd2-cmd { sd2_cmd: sd2-cmd {
samsung,pins = "gpc-4"; samsung,pins = "gpc-4";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
sd2_clk: sd2-clk { sd2_clk: sd2-clk {
samsung,pins = "gpc-5"; samsung,pins = "gpc-5";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
sd2_bus1: sd2-bus1 { sd2_bus1: sd2-bus1 {
samsung,pins = "gph-6"; samsung,pins = "gph-6";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
sd2_bus4: sd2-bus4 { sd2_bus4: sd2-bus4 {
samsung,pins = "gph-6", "gph-7", "gph-8", "gph-9"; samsung,pins = "gph-6", "gph-7", "gph-8", "gph-9";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
i2s0_bus: i2s0-bus { i2s0_bus: i2s0-bus {
samsung,pins = "gpd-0", "gpd-2", "gpd-3", "gpd-4"; samsung,pins = "gpd-0", "gpd-2", "gpd-3", "gpd-4";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
i2s0_cdclk: i2s0-cdclk { i2s0_cdclk: i2s0-cdclk {
samsung,pins = "gpd-1"; samsung,pins = "gpd-1";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
i2s1_bus: i2s1-bus { i2s1_bus: i2s1-bus {
samsung,pins = "gpe-0", "gpe-2", "gpe-3", "gpe-4"; samsung,pins = "gpe-0", "gpe-2", "gpe-3", "gpe-4";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
i2s1_cdclk: i2s1-cdclk { i2s1_cdclk: i2s1-cdclk {
samsung,pins = "gpe-1"; samsung,pins = "gpe-1";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
i2s2_bus: i2s2-bus { i2s2_bus: i2s2-bus {
/* S3C6410-only */ /* S3C6410-only */
samsung,pins = "gpc-4", "gpc-5", "gpc-6", "gph-6", samsung,pins = "gpc-4", "gpc-5", "gpc-6", "gph-6",
"gph-8", "gph-9"; "gph-8", "gph-9";
samsung,pin-function = <5>; samsung,pin-function = <EXYNOS_PIN_FUNC_5>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
i2s2_cdclk: i2s2-cdclk { i2s2_cdclk: i2s2-cdclk {
/* S3C6410-only */ /* S3C6410-only */
samsung,pins = "gph-7"; samsung,pins = "gph-7";
samsung,pin-function = <5>; samsung,pin-function = <EXYNOS_PIN_FUNC_5>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
pcm0_bus: pcm0-bus { pcm0_bus: pcm0-bus {
samsung,pins = "gpd-0", "gpd-2", "gpd-3", "gpd-4"; samsung,pins = "gpd-0", "gpd-2", "gpd-3", "gpd-4";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
pcm0_extclk: pcm0-extclk { pcm0_extclk: pcm0-extclk {
samsung,pins = "gpd-1"; samsung,pins = "gpd-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
pcm1_bus: pcm1-bus { pcm1_bus: pcm1-bus {
samsung,pins = "gpe-0", "gpe-2", "gpe-3", "gpe-4"; samsung,pins = "gpe-0", "gpe-2", "gpe-3", "gpe-4";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
pcm1_extclk: pcm1-extclk { pcm1_extclk: pcm1-extclk {
samsung,pins = "gpe-1"; samsung,pins = "gpe-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
ac97_bus_0: ac97-bus-0 { ac97_bus_0: ac97-bus-0 {
samsung,pins = "gpd-0", "gpd-1", "gpd-2", "gpd-3", "gpd-4"; samsung,pins = "gpd-0", "gpd-1", "gpd-2", "gpd-3", "gpd-4";
samsung,pin-function = <4>; samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
ac97_bus_1: ac97-bus-1 { ac97_bus_1: ac97-bus-1 {
samsung,pins = "gpe-0", "gpe-1", "gpe-2", "gpe-3", "gpe-4"; samsung,pins = "gpe-0", "gpe-1", "gpe-2", "gpe-3", "gpe-4";
samsung,pin-function = <4>; samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
cam_port: cam-port { cam_port: cam-port {
samsung,pins = "gpf-0", "gpf-1", "gpf-2", "gpf-4", samsung,pins = "gpf-0", "gpf-1", "gpf-2", "gpf-4",
"gpf-5", "gpf-6", "gpf-7", "gpf-8", "gpf-5", "gpf-6", "gpf-7", "gpf-8",
"gpf-9", "gpf-10", "gpf-11", "gpf-12"; "gpf-9", "gpf-10", "gpf-11", "gpf-12";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
cam_rst: cam-rst { cam_rst: cam-rst {
samsung,pins = "gpf-3"; samsung,pins = "gpf-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
cam_field: cam-field { cam_field: cam-field {
/* S3C6410-only */ /* S3C6410-only */
samsung,pins = "gpb-4"; samsung,pins = "gpb-4";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
pwm_extclk: pwm-extclk { pwm_extclk: pwm-extclk {
samsung,pins = "gpf-13"; samsung,pins = "gpf-13";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
pwm0_out: pwm0-out { pwm0_out: pwm0-out {
samsung,pins = "gpf-14"; samsung,pins = "gpf-14";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
pwm1_out: pwm1-out { pwm1_out: pwm1-out {
samsung,pins = "gpf-15"; samsung,pins = "gpf-15";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
clkout0: clkout-0 { clkout0: clkout-0 {
samsung,pins = "gpf-14"; samsung,pins = "gpf-14";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
keypad_col0_0: keypad-col0-0 { keypad_col0_0: keypad-col0-0 {
samsung,pins = "gph-0"; samsung,pins = "gph-0";
samsung,pin-function = <4>; samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
keypad_col1_0: keypad-col1-0 { keypad_col1_0: keypad-col1-0 {
samsung,pins = "gph-1"; samsung,pins = "gph-1";
samsung,pin-function = <4>; samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
keypad_col2_0: keypad-col2-0 { keypad_col2_0: keypad-col2-0 {
samsung,pins = "gph-2"; samsung,pins = "gph-2";
samsung,pin-function = <4>; samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
keypad_col3_0: keypad-col3-0 { keypad_col3_0: keypad-col3-0 {
samsung,pins = "gph-3"; samsung,pins = "gph-3";
samsung,pin-function = <4>; samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
keypad_col4_0: keypad-col4-0 { keypad_col4_0: keypad-col4-0 {
samsung,pins = "gph-4"; samsung,pins = "gph-4";
samsung,pin-function = <4>; samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
keypad_col5_0: keypad-col5-0 { keypad_col5_0: keypad-col5-0 {
samsung,pins = "gph-5"; samsung,pins = "gph-5";
samsung,pin-function = <4>; samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
keypad_col6_0: keypad-col6-0 { keypad_col6_0: keypad-col6-0 {
samsung,pins = "gph-6"; samsung,pins = "gph-6";
samsung,pin-function = <4>; samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
keypad_col7_0: keypad-col7-0 { keypad_col7_0: keypad-col7-0 {
samsung,pins = "gph-7"; samsung,pins = "gph-7";
samsung,pin-function = <4>; samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
keypad_col0_1: keypad-col0-1 { keypad_col0_1: keypad-col0-1 {
samsung,pins = "gpl-0"; samsung,pins = "gpl-0";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
keypad_col1_1: keypad-col1-1 { keypad_col1_1: keypad-col1-1 {
samsung,pins = "gpl-1"; samsung,pins = "gpl-1";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
keypad_col2_1: keypad-col2-1 { keypad_col2_1: keypad-col2-1 {
samsung,pins = "gpl-2"; samsung,pins = "gpl-2";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
keypad_col3_1: keypad-col3-1 { keypad_col3_1: keypad-col3-1 {
samsung,pins = "gpl-3"; samsung,pins = "gpl-3";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
keypad_col4_1: keypad-col4-1 { keypad_col4_1: keypad-col4-1 {
samsung,pins = "gpl-4"; samsung,pins = "gpl-4";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
keypad_col5_1: keypad-col5-1 { keypad_col5_1: keypad-col5-1 {
samsung,pins = "gpl-5"; samsung,pins = "gpl-5";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
keypad_col6_1: keypad-col6-1 { keypad_col6_1: keypad-col6-1 {
samsung,pins = "gpl-6"; samsung,pins = "gpl-6";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
keypad_col7_1: keypad-col7-1 { keypad_col7_1: keypad-col7-1 {
samsung,pins = "gpl-7"; samsung,pins = "gpl-7";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
keypad_row0_0: keypad-row0-0 { keypad_row0_0: keypad-row0-0 {
samsung,pins = "gpk-8"; samsung,pins = "gpk-8";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
keypad_row1_0: keypad-row1-0 { keypad_row1_0: keypad-row1-0 {
samsung,pins = "gpk-9"; samsung,pins = "gpk-9";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
keypad_row2_0: keypad-row2-0 { keypad_row2_0: keypad-row2-0 {
samsung,pins = "gpk-10"; samsung,pins = "gpk-10";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
keypad_row3_0: keypad-row3-0 { keypad_row3_0: keypad-row3-0 {
samsung,pins = "gpk-11"; samsung,pins = "gpk-11";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
keypad_row4_0: keypad-row4-0 { keypad_row4_0: keypad-row4-0 {
samsung,pins = "gpk-12"; samsung,pins = "gpk-12";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
keypad_row5_0: keypad-row5-0 { keypad_row5_0: keypad-row5-0 {
samsung,pins = "gpk-13"; samsung,pins = "gpk-13";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
keypad_row6_0: keypad-row6-0 { keypad_row6_0: keypad-row6-0 {
samsung,pins = "gpk-14"; samsung,pins = "gpk-14";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
keypad_row7_0: keypad-row7-0 { keypad_row7_0: keypad-row7-0 {
samsung,pins = "gpk-15"; samsung,pins = "gpk-15";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
keypad_row0_1: keypad-row0-1 { keypad_row0_1: keypad-row0-1 {
samsung,pins = "gpn-0"; samsung,pins = "gpn-0";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
keypad_row1_1: keypad-row1-1 { keypad_row1_1: keypad-row1-1 {
samsung,pins = "gpn-1"; samsung,pins = "gpn-1";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
keypad_row2_1: keypad-row2-1 { keypad_row2_1: keypad-row2-1 {
samsung,pins = "gpn-2"; samsung,pins = "gpn-2";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
keypad_row3_1: keypad-row3-1 { keypad_row3_1: keypad-row3-1 {
samsung,pins = "gpn-3"; samsung,pins = "gpn-3";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
keypad_row4_1: keypad-row4-1 { keypad_row4_1: keypad-row4-1 {
samsung,pins = "gpn-4"; samsung,pins = "gpn-4";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
keypad_row5_1: keypad-row5-1 { keypad_row5_1: keypad-row5-1 {
samsung,pins = "gpn-5"; samsung,pins = "gpn-5";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
keypad_row6_1: keypad-row6-1 { keypad_row6_1: keypad-row6-1 {
samsung,pins = "gpn-6"; samsung,pins = "gpn-6";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
keypad_row7_1: keypad-row7-1 { keypad_row7_1: keypad-row7-1 {
samsung,pins = "gpn-7"; samsung,pins = "gpn-7";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
lcd_ctrl: lcd-ctrl { lcd_ctrl: lcd-ctrl {
samsung,pins = "gpj-8", "gpj-9", "gpj-10", "gpj-11"; samsung,pins = "gpj-8", "gpj-9", "gpj-10", "gpj-11";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
lcd_data16: lcd-data-width16 { lcd_data16: lcd-data-width16 {
...@@ -653,8 +651,8 @@ lcd_data16: lcd-data-width16 { ...@@ -653,8 +651,8 @@ lcd_data16: lcd-data-width16 {
"gpi-7", "gpi-10", "gpi-11", "gpi-12", "gpi-7", "gpi-10", "gpi-11", "gpi-12",
"gpi-13", "gpi-14", "gpi-15", "gpj-3", "gpi-13", "gpi-14", "gpi-15", "gpj-3",
"gpj-4", "gpj-5", "gpj-6", "gpj-7"; "gpj-4", "gpj-5", "gpj-6", "gpj-7";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
lcd_data18: lcd-data-width18 { lcd_data18: lcd-data-width18 {
...@@ -663,8 +661,8 @@ lcd_data18: lcd-data-width18 { ...@@ -663,8 +661,8 @@ lcd_data18: lcd-data-width18 {
"gpi-12", "gpi-13", "gpi-14", "gpi-15", "gpi-12", "gpi-13", "gpi-14", "gpi-15",
"gpj-2", "gpj-3", "gpj-4", "gpj-5", "gpj-2", "gpj-3", "gpj-4", "gpj-5",
"gpj-6", "gpj-7"; "gpj-6", "gpj-7";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
lcd_data24: lcd-data-width24 { lcd_data24: lcd-data-width24 {
...@@ -674,14 +672,14 @@ lcd_data24: lcd-data-width24 { ...@@ -674,14 +672,14 @@ lcd_data24: lcd-data-width24 {
"gpi-12", "gpi-13", "gpi-14", "gpi-15", "gpi-12", "gpi-13", "gpi-14", "gpi-15",
"gpj-0", "gpj-1", "gpj-2", "gpj-3", "gpj-0", "gpj-1", "gpj-2", "gpj-3",
"gpj-4", "gpj-5", "gpj-6", "gpj-7"; "gpj-4", "gpj-5", "gpj-6", "gpj-7";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
hsi_bus: hsi-bus { hsi_bus: hsi-bus {
samsung,pins = "gpk-0", "gpk-1", "gpk-2", "gpk-3", samsung,pins = "gpk-0", "gpk-1", "gpk-2", "gpk-3",
"gpk-4", "gpk-5", "gpk-6", "gpk-7"; "gpk-4", "gpk-5", "gpk-6", "gpk-7";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
}; };
...@@ -387,7 +387,7 @@ timing0: timing { ...@@ -387,7 +387,7 @@ timing0: timing {
&pinctrl0 { &pinctrl0 {
t_flash_detect: t-flash-detect { t_flash_detect: t-flash-detect {
samsung,pins = "gph3-4"; samsung,pins = "gph3-4";
samsung,pin-function = <0>; samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
}; };
...@@ -19,6 +19,8 @@ ...@@ -19,6 +19,8 @@
* published by the Free Software Foundation. * published by the Free Software Foundation.
*/ */
#include <dt-bindings/pinctrl/samsung.h>
&pinctrl0 { &pinctrl0 {
gpa0: gpa0 { gpa0: gpa0 {
gpio-controller; gpio-controller;
...@@ -270,559 +272,559 @@ gph3: gph3 { ...@@ -270,559 +272,559 @@ gph3: gph3 {
uart0_data: uart0-data { uart0_data: uart0-data {
samsung,pins = "gpa0-0", "gpa0-1"; samsung,pins = "gpa0-0", "gpa0-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
uart0_fctl: uart0-fctl { uart0_fctl: uart0-fctl {
samsung,pins = "gpa0-2", "gpa0-3"; samsung,pins = "gpa0-2", "gpa0-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
uart1_data: uart1-data { uart1_data: uart1-data {
samsung,pins = "gpa0-4", "gpa0-5"; samsung,pins = "gpa0-4", "gpa0-5";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
uart1_fctl: uart1-fctl { uart1_fctl: uart1-fctl {
samsung,pins = "gpa0-6", "gpa0-7"; samsung,pins = "gpa0-6", "gpa0-7";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
uart2_data: uart2-data { uart2_data: uart2-data {
samsung,pins = "gpa1-0", "gpa1-1"; samsung,pins = "gpa1-0", "gpa1-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
uart2_fctl: uart2-fctl { uart2_fctl: uart2-fctl {
samsung,pins = "gpa1-2", "gpa1-3"; samsung,pins = "gpa1-2", "gpa1-3";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
uart3_data: uart3-data { uart3_data: uart3-data {
samsung,pins = "gpa1-2", "gpa1-3"; samsung,pins = "gpa1-2", "gpa1-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
uart_audio: uart-audio { uart_audio: uart-audio {
samsung,pins = "gpa1-2", "gpa1-3"; samsung,pins = "gpa1-2", "gpa1-3";
samsung,pin-function = <4>; samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
spi0_bus: spi0-bus { spi0_bus: spi0-bus {
samsung,pins = "gpb-0", "gpb-2", "gpb-3"; samsung,pins = "gpb-0", "gpb-2", "gpb-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <2>; samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
spi1_bus: spi1-bus { spi1_bus: spi1-bus {
samsung,pins = "gpb-4", "gpb-6", "gpb-7"; samsung,pins = "gpb-4", "gpb-6", "gpb-7";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <2>; samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2s0_bus: i2s0-bus { i2s0_bus: i2s0-bus {
samsung,pins = "gpi-0", "gpi-1", "gpi-2", "gpi-3", samsung,pins = "gpi-0", "gpi-1", "gpi-2", "gpi-3",
"gpi-4", "gpi-5", "gpi-6"; "gpi-4", "gpi-5", "gpi-6";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2s1_bus: i2s1-bus { i2s1_bus: i2s1-bus {
samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3", samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3",
"gpc0-4"; "gpc0-4";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2s2_bus: i2s2-bus { i2s2_bus: i2s2-bus {
samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3", samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3",
"gpc1-4"; "gpc1-4";
samsung,pin-function = <4>; samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
pcm1_bus: pcm1-bus { pcm1_bus: pcm1-bus {
samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3", samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3",
"gpc0-4"; "gpc0-4";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
ac97_bus: ac97-bus { ac97_bus: ac97-bus {
samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3", samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3",
"gpc0-4"; "gpc0-4";
samsung,pin-function = <4>; samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2s2_bus: i2s2-bus { i2s2_bus: i2s2-bus {
samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3", samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3",
"gpc1-4"; "gpc1-4";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
pcm2_bus: pcm2-bus { pcm2_bus: pcm2-bus {
samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3", samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3",
"gpc1-4"; "gpc1-4";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
spdif_bus: spdif-bus { spdif_bus: spdif-bus {
samsung,pins = "gpc1-0", "gpc1-1"; samsung,pins = "gpc1-0", "gpc1-1";
samsung,pin-function = <4>; samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
spi2_bus: spi2-bus { spi2_bus: spi2-bus {
samsung,pins = "gpc1-1", "gpc1-2", "gpc1-3", "gpc1-4"; samsung,pins = "gpc1-1", "gpc1-2", "gpc1-3", "gpc1-4";
samsung,pin-function = <5>; samsung,pin-function = <EXYNOS_PIN_FUNC_5>;
samsung,pin-pud = <2>; samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2c0_bus: i2c0-bus { i2c0_bus: i2c0-bus {
samsung,pins = "gpd1-0", "gpd1-1"; samsung,pins = "gpd1-0", "gpd1-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <2>; samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2c1_bus: i2c1-bus { i2c1_bus: i2c1-bus {
samsung,pins = "gpd1-2", "gpd1-3"; samsung,pins = "gpd1-2", "gpd1-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <2>; samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
i2c2_bus: i2c2-bus { i2c2_bus: i2c2-bus {
samsung,pins = "gpd1-4", "gpd1-5"; samsung,pins = "gpd1-4", "gpd1-5";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <2>; samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
pwm0_out: pwm0-out { pwm0_out: pwm0-out {
samsung,pins = "gpd0-0"; samsung,pins = "gpd0-0";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
pwm1_out: pwm1-out { pwm1_out: pwm1-out {
samsung,pins = "gpd0-1"; samsung,pins = "gpd0-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
pwm2_out: pwm2-out { pwm2_out: pwm2-out {
samsung,pins = "gpd0-2"; samsung,pins = "gpd0-2";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
pwm3_out: pwm3-out { pwm3_out: pwm3-out {
samsung,pins = "gpd0-3"; samsung,pins = "gpd0-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
keypad_row0: keypad-row-0 { keypad_row0: keypad-row-0 {
samsung,pins = "gph3-0"; samsung,pins = "gph3-0";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
keypad_row1: keypad-row-1 { keypad_row1: keypad-row-1 {
samsung,pins = "gph3-1"; samsung,pins = "gph3-1";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
keypad_row2: keypad-row-2 { keypad_row2: keypad-row-2 {
samsung,pins = "gph3-2"; samsung,pins = "gph3-2";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
keypad_row3: keypad-row-3 { keypad_row3: keypad-row-3 {
samsung,pins = "gph3-3"; samsung,pins = "gph3-3";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
keypad_row4: keypad-row-4 { keypad_row4: keypad-row-4 {
samsung,pins = "gph3-4"; samsung,pins = "gph3-4";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
keypad_row5: keypad-row-5 { keypad_row5: keypad-row-5 {
samsung,pins = "gph3-5"; samsung,pins = "gph3-5";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
keypad_row6: keypad-row-6 { keypad_row6: keypad-row-6 {
samsung,pins = "gph3-6"; samsung,pins = "gph3-6";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
keypad_row7: keypad-row-7 { keypad_row7: keypad-row-7 {
samsung,pins = "gph3-7"; samsung,pins = "gph3-7";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
keypad_col0: keypad-col-0 { keypad_col0: keypad-col-0 {
samsung,pins = "gph2-0"; samsung,pins = "gph2-0";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
keypad_col1: keypad-col-1 { keypad_col1: keypad-col-1 {
samsung,pins = "gph2-1"; samsung,pins = "gph2-1";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
keypad_col2: keypad-col-2 { keypad_col2: keypad-col-2 {
samsung,pins = "gph2-2"; samsung,pins = "gph2-2";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
keypad_col3: keypad-col-3 { keypad_col3: keypad-col-3 {
samsung,pins = "gph2-3"; samsung,pins = "gph2-3";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
keypad_col4: keypad-col-4 { keypad_col4: keypad-col-4 {
samsung,pins = "gph2-4"; samsung,pins = "gph2-4";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
keypad_col5: keypad-col-5 { keypad_col5: keypad-col-5 {
samsung,pins = "gph2-5"; samsung,pins = "gph2-5";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
keypad_col6: keypad-col-6 { keypad_col6: keypad-col-6 {
samsung,pins = "gph2-6"; samsung,pins = "gph2-6";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
keypad_col7: keypad-col-7 { keypad_col7: keypad-col-7 {
samsung,pins = "gph2-7"; samsung,pins = "gph2-7";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
sd0_clk: sd0-clk { sd0_clk: sd0-clk {
samsung,pins = "gpg0-0"; samsung,pins = "gpg0-0";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd0_cmd: sd0-cmd { sd0_cmd: sd0-cmd {
samsung,pins = "gpg0-1"; samsung,pins = "gpg0-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd0_cd: sd0-cd { sd0_cd: sd0-cd {
samsung,pins = "gpg0-2"; samsung,pins = "gpg0-2";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <2>; samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd0_bus1: sd0-bus-width1 { sd0_bus1: sd0-bus-width1 {
samsung,pins = "gpg0-3"; samsung,pins = "gpg0-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <2>; samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd0_bus4: sd0-bus-width4 { sd0_bus4: sd0-bus-width4 {
samsung,pins = "gpg0-3", "gpg0-4", "gpg0-5", "gpg0-6"; samsung,pins = "gpg0-3", "gpg0-4", "gpg0-5", "gpg0-6";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <2>; samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd0_bus8: sd0-bus-width8 { sd0_bus8: sd0-bus-width8 {
samsung,pins = "gpg1-3", "gpg1-4", "gpg1-5", "gpg1-6"; samsung,pins = "gpg1-3", "gpg1-4", "gpg1-5", "gpg1-6";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <2>; samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd1_clk: sd1-clk { sd1_clk: sd1-clk {
samsung,pins = "gpg1-0"; samsung,pins = "gpg1-0";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd1_cmd: sd1-cmd { sd1_cmd: sd1-cmd {
samsung,pins = "gpg1-1"; samsung,pins = "gpg1-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd1_cd: sd1-cd { sd1_cd: sd1-cd {
samsung,pins = "gpg1-2"; samsung,pins = "gpg1-2";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <2>; samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd1_bus1: sd1-bus-width1 { sd1_bus1: sd1-bus-width1 {
samsung,pins = "gpg1-3"; samsung,pins = "gpg1-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <2>; samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd1_bus4: sd1-bus-width4 { sd1_bus4: sd1-bus-width4 {
samsung,pins = "gpg1-3", "gpg1-4", "gpg1-5", "gpg1-6"; samsung,pins = "gpg1-3", "gpg1-4", "gpg1-5", "gpg1-6";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <2>; samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd2_clk: sd2-clk { sd2_clk: sd2-clk {
samsung,pins = "gpg2-0"; samsung,pins = "gpg2-0";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd2_cmd: sd2-cmd { sd2_cmd: sd2-cmd {
samsung,pins = "gpg2-1"; samsung,pins = "gpg2-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd2_cd: sd2-cd { sd2_cd: sd2-cd {
samsung,pins = "gpg2-2"; samsung,pins = "gpg2-2";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <2>; samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd2_bus1: sd2-bus-width1 { sd2_bus1: sd2-bus-width1 {
samsung,pins = "gpg2-3"; samsung,pins = "gpg2-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <2>; samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd2_bus4: sd2-bus-width4 { sd2_bus4: sd2-bus-width4 {
samsung,pins = "gpg2-3", "gpg2-4", "gpg2-5", "gpg2-6"; samsung,pins = "gpg2-3", "gpg2-4", "gpg2-5", "gpg2-6";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <2>; samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd2_bus8: sd2-bus-width8 { sd2_bus8: sd2-bus-width8 {
samsung,pins = "gpg3-3", "gpg3-4", "gpg3-5", "gpg3-6"; samsung,pins = "gpg3-3", "gpg3-4", "gpg3-5", "gpg3-6";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <2>; samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd3_clk: sd3-clk { sd3_clk: sd3-clk {
samsung,pins = "gpg3-0"; samsung,pins = "gpg3-0";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd3_cmd: sd3-cmd { sd3_cmd: sd3-cmd {
samsung,pins = "gpg3-1"; samsung,pins = "gpg3-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd3_cd: sd3-cd { sd3_cd: sd3-cd {
samsung,pins = "gpg3-2"; samsung,pins = "gpg3-2";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <2>; samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd3_bus1: sd3-bus-width1 { sd3_bus1: sd3-bus-width1 {
samsung,pins = "gpg3-3"; samsung,pins = "gpg3-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <2>; samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd3_bus4: sd3-bus-width4 { sd3_bus4: sd3-bus-width4 {
samsung,pins = "gpg3-3", "gpg3-4", "gpg3-5", "gpg3-6"; samsung,pins = "gpg3-3", "gpg3-4", "gpg3-5", "gpg3-6";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <2>; samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
eint0: ext-int0 { eint0: ext-int0 {
samsung,pins = "gph0-0"; samsung,pins = "gph0-0";
samsung,pin-function = <0xf>; samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
eint8: ext-int8 { eint8: ext-int8 {
samsung,pins = "gph1-0"; samsung,pins = "gph1-0";
samsung,pin-function = <0xf>; samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
eint15: ext-int15 { eint15: ext-int15 {
samsung,pins = "gph1-7"; samsung,pins = "gph1-7";
samsung,pin-function = <0xf>; samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
eint16: ext-int16 { eint16: ext-int16 {
samsung,pins = "gph2-0"; samsung,pins = "gph2-0";
samsung,pin-function = <0xf>; samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
eint31: ext-int31 { eint31: ext-int31 {
samsung,pins = "gph3-7"; samsung,pins = "gph3-7";
samsung,pin-function = <0xf>; samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
cam_port_a_io: cam-port-a-io { cam_port_a_io: cam-port-a-io {
samsung,pins = "gpe0-0", "gpe0-1", "gpe0-2", "gpe0-3", samsung,pins = "gpe0-0", "gpe0-1", "gpe0-2", "gpe0-3",
"gpe0-4", "gpe0-5", "gpe0-6", "gpe0-7", "gpe0-4", "gpe0-5", "gpe0-6", "gpe0-7",
"gpe1-0", "gpe1-1", "gpe1-2", "gpe1-4"; "gpe1-0", "gpe1-1", "gpe1-2", "gpe1-4";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
cam_port_a_clk_active: cam-port-a-clk-active { cam_port_a_clk_active: cam-port-a-clk-active {
samsung,pins = "gpe1-3"; samsung,pins = "gpe1-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
cam_port_a_clk_idle: cam-port-a-clk-idle { cam_port_a_clk_idle: cam-port-a-clk-idle {
samsung,pins = "gpe1-3"; samsung,pins = "gpe1-3";
samsung,pin-function = <0>; samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
samsung,pin-pud = <1>; samsung,pin-pud = <S3C64XX_PIN_PULL_DOWN>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
cam_port_b_io: cam-port-b-io { cam_port_b_io: cam-port-b-io {
samsung,pins = "gpj0-0", "gpj0-1", "gpj0-2", "gpj0-3", samsung,pins = "gpj0-0", "gpj0-1", "gpj0-2", "gpj0-3",
"gpj0-4", "gpj0-5", "gpj0-6", "gpj0-7", "gpj0-4", "gpj0-5", "gpj0-6", "gpj0-7",
"gpj1-0", "gpj1-1", "gpj1-2", "gpj1-4"; "gpj1-0", "gpj1-1", "gpj1-2", "gpj1-4";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
cam_port_b_clk_active: cam-port-b-clk-active { cam_port_b_clk_active: cam-port-b-clk-active {
samsung,pins = "gpj1-3"; samsung,pins = "gpj1-3";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <3>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
cam_port_b_clk_idle: cam-port-b-clk-idle { cam_port_b_clk_idle: cam-port-b-clk-idle {
samsung,pins = "gpj1-3"; samsung,pins = "gpj1-3";
samsung,pin-function = <0>; samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
samsung,pin-pud = <1>; samsung,pin-pud = <S3C64XX_PIN_PULL_DOWN>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
lcd_ctrl: lcd-ctrl { lcd_ctrl: lcd-ctrl {
samsung,pins = "gpd0-0", "gpd0-1"; samsung,pins = "gpd0-0", "gpd0-1";
samsung,pin-function = <3>; samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
lcd_sync: lcd-sync { lcd_sync: lcd-sync {
samsung,pins = "gpf0-0", "gpf0-1"; samsung,pins = "gpf0-0", "gpf0-1";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
lcd_clk: lcd-clk { lcd_clk: lcd-clk {
samsung,pins = "gpf0-0", "gpf0-1", "gpf0-2", "gpf0-3"; samsung,pins = "gpf0-0", "gpf0-1", "gpf0-2", "gpf0-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
lcd_data24: lcd-data-width24 { lcd_data24: lcd-data-width24 {
...@@ -832,8 +834,8 @@ lcd_data24: lcd-data-width24 { ...@@ -832,8 +834,8 @@ lcd_data24: lcd-data-width24 {
"gpf2-0", "gpf2-1", "gpf2-2", "gpf2-3", "gpf2-0", "gpf2-1", "gpf2-2", "gpf2-3",
"gpf2-4", "gpf2-5", "gpf2-6", "gpf2-7", "gpf2-4", "gpf2-5", "gpf2-6", "gpf2-7",
"gpf3-0", "gpf3-1", "gpf3-2", "gpf3-3"; "gpf3-0", "gpf3-1", "gpf3-2", "gpf3-3";
samsung,pin-function = <2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <0>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <0>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
}; };
/*
* Samsung's Exynos pinctrl bindings
*
* Copyright (c) 2016 Samsung Electronics Co., Ltd.
* http://www.samsung.com
* Author: Krzysztof Kozlowski <krzk@kernel.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#ifndef __DT_BINDINGS_PINCTRL_SAMSUNG_H__
#define __DT_BINDINGS_PINCTRL_SAMSUNG_H__
#define EXYNOS_PIN_PULL_NONE 0
#define EXYNOS_PIN_PULL_DOWN 1
#define EXYNOS_PIN_PULL_UP 3
#define S3C64XX_PIN_PULL_NONE 0
#define S3C64XX_PIN_PULL_DOWN 1
#define S3C64XX_PIN_PULL_UP 2
/* Pin function in power down mode */
#define EXYNOS_PIN_PDN_OUT0 0
#define EXYNOS_PIN_PDN_OUT1 1
#define EXYNOS_PIN_PDN_INPUT 2
#define EXYNOS_PIN_PDN_PREV 3
/* Drive strengths for Exynos3250, Exynos4 (all) and Exynos5250 */
#define EXYNOS4_PIN_DRV_LV1 0
#define EXYNOS4_PIN_DRV_LV2 2
#define EXYNOS4_PIN_DRV_LV3 1
#define EXYNOS4_PIN_DRV_LV4 3
/* Drive strengths for Exynos5260 */
#define EXYNOS5260_PIN_DRV_LV1 0
#define EXYNOS5260_PIN_DRV_LV2 1
#define EXYNOS5260_PIN_DRV_LV4 2
#define EXYNOS5260_PIN_DRV_LV6 3
/* Drive strengths for Exynos5410, Exynos542x and Exynos5800 */
#define EXYNOS5420_PIN_DRV_LV1 0
#define EXYNOS5420_PIN_DRV_LV2 1
#define EXYNOS5420_PIN_DRV_LV3 2
#define EXYNOS5420_PIN_DRV_LV4 3
#define EXYNOS_PIN_FUNC_INPUT 0
#define EXYNOS_PIN_FUNC_OUTPUT 1
#define EXYNOS_PIN_FUNC_2 2
#define EXYNOS_PIN_FUNC_3 3
#define EXYNOS_PIN_FUNC_4 4
#define EXYNOS_PIN_FUNC_5 5
#define EXYNOS_PIN_FUNC_6 6
#define EXYNOS_PIN_FUNC_F 0xf
#endif /* __DT_BINDINGS_PINCTRL_SAMSUNG_H__ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment