summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/ste-href-ab8500.dtsi
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2014-02-03 22:51:58 +0100
committerLinus Walleij <linus.walleij@linaro.org>2014-02-04 20:50:39 +0100
commit1f04159e9e23901ff09514cfc9d7962a38b25c06 (patch)
tree9644ab0dd723e36b5fe9a4d734a1266bc08b4b09 /arch/arm/boot/dts/ste-href-ab8500.dtsi
parentARM: ux500: move AB8500 USB UICC settings to DT (diff)
downloadlinux-1f04159e9e23901ff09514cfc9d7962a38b25c06.tar.xz
linux-1f04159e9e23901ff09514cfc9d7962a38b25c06.zip
ARM: ux500: move AB8500 DMIC settings to DT
This move the AB8500 DMIC (microphone) pin setup from the board file to the device tree. Cc: Patrice Chotard <patrice.chotard@st.com> Cc: Lee Jones <lee.jones@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/ste-href-ab8500.dtsi')
-rw-r--r--arch/arm/boot/dts/ste-href-ab8500.dtsi25
1 files changed, 24 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/ste-href-ab8500.dtsi b/arch/arm/boot/dts/ste-href-ab8500.dtsi
index 9cf12d5d0923..6222b8e951c2 100644
--- a/arch/arm/boot/dts/ste-href-ab8500.dtsi
+++ b/arch/arm/boot/dts/ste-href-ab8500.dtsi
@@ -35,7 +35,8 @@
<&ycbcr_default_mode>,
<&pwm_default_mode>,
<&adi1_default_mode>,
- <&usbuicc_default_mode>;
+ <&usbuicc_default_mode>,
+ <&dmic_default_mode>;
/*
* Pins 2, 4, 10, 11, 12, 13, 16, 24, 25, 36, 37, 38, 39 and 42
@@ -318,6 +319,28 @@
};
};
};
+ /* This sets up the microphone pins */
+ dmic {
+ dmic_default_mode: dmic_default {
+ default_mux {
+ ste,function = "dmic";
+ ste,pins = "dmic12_d_1",
+ "dmic34_d_1",
+ "dmic56_d_1";
+ };
+ default_cfg {
+ ste,pins = "GPIO27_J6",
+ "GPIO28_K6",
+ "GPIO29_G6",
+ "GPIO30_H6",
+ "GPIO31_F5",
+ "GPIO32_G5";
+ input-enable;
+ bias-pull-down;
+ };
+ };
+ };
+
};
};
};