@@ -30,8 +30,8 @@
i2c@12C60000 {
samsung,i2c-sda-delay = <100>;
samsung,i2c-max-bus-freq = <20000>;
- gpios = <&gpb3 0 2 3 0>,
- <&gpb3 1 2 3 0>;
+ pinctrl-0 = <&i2c0_bus>;
+ pinctrl-names = "default";
eeprom@50 {
compatible = "samsung,s524ad0xd1";
@@ -42,8 +42,8 @@
i2c@12C70000 {
samsung,i2c-sda-delay = <100>;
samsung,i2c-max-bus-freq = <20000>;
- gpios = <&gpb3 2 2 3 0>,
- <&gpb3 3 2 3 0>;
+ pinctrl-0 = <&i2c1_bus>;
+ pinctrl-names = "default";
eeprom@51 {
compatible = "samsung,s524ad0xd1";
@@ -69,8 +69,8 @@
i2c@12C80000 {
samsung,i2c-sda-delay = <100>;
samsung,i2c-max-bus-freq = <66000>;
- gpios = <&gpa0 6 3 3 0>,
- <&gpa0 7 3 3 0>;
+ pinctrl-0 = <&i2c2_bus>;
+ pinctrl-names = "default";
hdmiddc@50 {
compatible = "samsung,exynos5-hdmiddc";
@@ -80,22 +80,32 @@
i2c@12C90000 {
status = "disabled";
+ pinctrl-0 = <&i2c3_bus>;
+ pinctrl-names = "default";
};
i2c@12CA0000 {
status = "disabled";
+ pinctrl-0 = <&i2c4_bus>;
+ pinctrl-names = "default";
};
i2c@12CB0000 {
status = "disabled";
+ pinctrl-0 = <&i2c5_bus>;
+ pinctrl-names = "default";
};
i2c@12CC0000 {
status = "disabled";
+ pinctrl-0 = <&i2c6_bus>;
+ pinctrl-names = "default";
};
i2c@12CD0000 {
status = "disabled";
+ pinctrl-0 = <&i2c7_bus>;
+ pinctrl-names = "default";
};
i2c@12CE0000 {
This patch adds the default pinctrl functionality to the i2c device nodes on exynos5250-smdk5250.dts file Signed-off-by: Shaik Ameer Basha <shaik.ameer@samsung.com> --- arch/arm/boot/dts/exynos5250-smdk5250.dts | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-)