aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/boot/dts/ste-href-ab8500.dtsi18
-rw-r--r--arch/arm/mach-ux500/board-mop500-pins.c8
2 files changed, 17 insertions, 9 deletions
diff --git a/arch/arm/boot/dts/ste-href-ab8500.dtsi b/arch/arm/boot/dts/ste-href-ab8500.dtsi
index beb59f99eff8..333b554c0bf7 100644
--- a/arch/arm/boot/dts/ste-href-ab8500.dtsi
+++ b/arch/arm/boot/dts/ste-href-ab8500.dtsi
@@ -37,7 +37,8 @@
37 <&adi1_default_mode>, 37 <&adi1_default_mode>,
38 <&usbuicc_default_mode>, 38 <&usbuicc_default_mode>,
39 <&dmic_default_mode>, 39 <&dmic_default_mode>,
40 <&extcpena_default_mode>; 40 <&extcpena_default_mode>,
41 <&modsclsda_default_mode>;
41 42
42 /* 43 /*
43 * Pins 2, 4, 10, 11, 12, 13, 16, 24, 25, 36, 37, 38, 39 and 42 44 * Pins 2, 4, 10, 11, 12, 13, 16, 24, 25, 36, 37, 38, 39 and 42
@@ -354,6 +355,21 @@
354 }; 355 };
355 }; 356 };
356 }; 357 };
358 /* Modem I2C setup (SCL and SDA pins) */
359 modsclsda {
360 modsclsda_default_mode: modsclsda_default {
361 default_mux {
362 ste,function = "modsclsda";
363 ste,pins = "modsclsda_d_1";
364 };
365 default_cfg {
366 ste,pins = "GPIO40_T19",
367 "GPIO41_U19";
368 input-enable;
369 bias-pull-down;
370 };
371 };
372 };
357 }; 373 };
358 }; 374 };
359 }; 375 };
diff --git a/arch/arm/mach-ux500/board-mop500-pins.c b/arch/arm/mach-ux500/board-mop500-pins.c
index bbd5bc56f7f0..cbe91714f57f 100644
--- a/arch/arm/mach-ux500/board-mop500-pins.c
+++ b/arch/arm/mach-ux500/board-mop500-pins.c
@@ -55,14 +55,6 @@ static struct pinctrl_map __initdata ab8500_pinmap[] = {
55 /* sysclkreq4 disable, mux in gpio configured in input pulldown */ 55 /* sysclkreq4 disable, mux in gpio configured in input pulldown */
56 AB8500_MUX_STATE("gpio3_a_1", "gpio", "regulator.36", PINCTRL_STATE_SLEEP), 56 AB8500_MUX_STATE("gpio3_a_1", "gpio", "regulator.36", PINCTRL_STATE_SLEEP),
57 AB8500_PIN_STATE("GPIO3_U9", in_pd, "regulator.36", PINCTRL_STATE_SLEEP), 57 AB8500_PIN_STATE("GPIO3_U9", in_pd, "regulator.36", PINCTRL_STATE_SLEEP),
58
59 /*
60 * pins 40 and 41 are muxed in MODCSLSDA
61 * configured INPUT PULL DOWN
62 */
63 AB8500_MUX_HOG("modsclsda_d_1", "modsclsda"),
64 AB8500_PIN_HOG("GPIO40_T19", in_pd),
65 AB8500_PIN_HOG("GPIO41_U19", in_pd),
66}; 58};
67 59
68static struct pinctrl_map __initdata ab8505_pinmap[] = { 60static struct pinctrl_map __initdata ab8505_pinmap[] = {