summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/ste-href-ab8500.dtsi
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2014-02-03 18:43:22 +0400
committerLinus Walleij <linus.walleij@linaro.org>2014-02-04 23:50:32 +0400
commitb2985cf7f08325519405942770d203da8fd46fa8 (patch)
treebe7fcb12400c32092bdb386968a87ba2a9fe5ddc /arch/arm/boot/dts/ste-href-ab8500.dtsi
parente2377c8107e33ac4ace7ec7ee86101d7c70fbbf9 (diff)
downloadlinux-b2985cf7f08325519405942770d203da8fd46fa8.tar.xz
ARM: ux500: move AB8500 audio interface 1 settings to DT
This moves the pin muxing and configuration for audio interface one over to the device tree as a hog configuration. 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.dtsi20
1 files changed, 19 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/ste-href-ab8500.dtsi b/arch/arm/boot/dts/ste-href-ab8500.dtsi
index cdf2b3fd22dc..3aae4ec5bcc9 100644
--- a/arch/arm/boot/dts/ste-href-ab8500.dtsi
+++ b/arch/arm/boot/dts/ste-href-ab8500.dtsi
@@ -33,7 +33,8 @@
<&gpio26_default_mode>,
<&gpio35_default_mode>,
<&ycbcr_default_mode>,
- <&pwm_default_mode>;
+ <&pwm_default_mode>,
+ <&adi1_default_mode>;
/*
* Pins 2, 4, 10, 11, 12, 13, 16, 24, 25, 36, 37, 38, 39 and 42
@@ -283,6 +284,23 @@
};
};
};
+ /* This sets up audio interface 1 */
+ adi1 {
+ adi1_default_mode: adi1_default {
+ default_mux {
+ ste,function = "adi1";
+ ste,pins = "adi1_d_1";
+ };
+ default_cfg {
+ ste,pins = "GPIO17_P5",
+ "GPIO18_R5",
+ "GPIO19_U5",
+ "GPIO20_T5";
+ input-enable;
+ bias-pull-down;
+ };
+ };
+ };
};
};
};