ARM: dts: Update for pinctrl-samsung driver for exynos4210-trats
authorTomasz Figa <t.figa@samsung.com>
Tue, 20 Nov 2012 07:26:17 +0000 (16:26 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Tue, 20 Nov 2012 07:26:17 +0000 (16:26 +0900)
This patch updates all parts of Trats dts related to pin configuration
to use new GPIO and pinctrl bindings, instead of (now unsupported on
Exynos4) legacy gpio-samsung bindings.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/boot/dts/exynos4210-trats.dts

index a21511c140712e24c4759293ac66248bbb8ae309..661854b03f8edd761f72c8d97efcbc4d15ef2011 100644 (file)
@@ -35,7 +35,7 @@
                regulator-name = "VMEM_VDD_2.8V";
                regulator-min-microvolt = <2800000>;
                regulator-max-microvolt = <2800000>;
-               gpio = <&gpk0 2 1 0 0>;
+               gpio = <&gpk0 2 0>;
                enable-active-high;
        };
 
                bus-width = <8>;
                non-removable;
                broken-voltage;
-               gpios = <&gpk0 0 2 0 3>,
-                       <&gpk0 1 2 0 3>,
-                       <&gpk0 3 2 2 3>,
-                       <&gpk0 4 2 2 3>,
-                       <&gpk0 5 2 2 3>,
-                       <&gpk0 6 2 2 3>,
-                       <&gpk1 3 3 3 3>,
-                       <&gpk1 4 3 3 3>,
-                       <&gpk1 5 3 3 3>,
-                       <&gpk1 6 3 3 3>;
+               pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus8>;
+               pinctrl-names = "default";
                vmmc-supply = <&vemmc_reg>;
                status = "okay";
        };
@@ -77,8 +69,8 @@
                samsung,i2c-sda-delay = <100>;
                samsung,i2c-slave-addr = <0x10>;
                samsung,i2c-max-bus-freq = <100000>;
-               gpios = <&gpb 6 3 3 0>,
-                       <&gpb 7 3 3 0>;
+               pinctrl-0 = <&i2c5_bus>;
+               pinctrl-names = "default";
                status = "okay";
 
                max8997_pmic@66 {
@@ -93,9 +85,9 @@
                        max8997,pmic-ignore-gpiodvs-side-effect;
                        max8997,pmic-buck125-default-dvs-idx = <0>;
 
-                       max8997,pmic-buck125-dvs-gpios = <&gpx0 5 1 0 0>,
-                                                        <&gpx0 6 1 0 0>,
-                                                        <&gpl0 0 1 0 0>;
+                       max8997,pmic-buck125-dvs-gpios = <&gpx0 5 0>,
+                                                        <&gpx0 6 0>,
+                                                        <&gpl0 0 0>;
 
                        max8997,pmic-buck1-dvs-voltage = <1350000>, <1300000>,
                                                         <1250000>, <1200000>,