summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/sun7i-a20-wexler-tab7200.dts
diff options
context:
space:
mode:
authorAleksei Mamlin <mamlinav@gmail.com>2015-12-18 11:52:45 +0300
committerMaxime Ripard <maxime.ripard@free-electrons.com>2015-12-21 18:45:08 +0300
commit9f483c717d02d7f079b5285b1a0cdf8ff401c3a0 (patch)
treea098c32ec6004fff87ce8dde16150ae6111788bf /arch/arm/boot/dts/sun7i-a20-wexler-tab7200.dts
parent028997bb92a5bcc5d8ec936f7d522910c16c2579 (diff)
downloadlinux-9f483c717d02d7f079b5285b1a0cdf8ff401c3a0.tar.xz
ARM: dts: sun7i: Add PA gpio pin to Wexler TAB7200 tablet
Add PA gpio pin for controlling power of two external amplifiers (NS4890) which are used on the Wexler TAB7200 tablet Signed-off-by: Aleksei Mamlin <mamlinav@gmail.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun7i-a20-wexler-tab7200.dts')
-rw-r--r--arch/arm/boot/dts/sun7i-a20-wexler-tab7200.dts10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun7i-a20-wexler-tab7200.dts b/arch/arm/boot/dts/sun7i-a20-wexler-tab7200.dts
index f47e5f1ef78b..2f6b21adddd9 100644
--- a/arch/arm/boot/dts/sun7i-a20-wexler-tab7200.dts
+++ b/arch/arm/boot/dts/sun7i-a20-wexler-tab7200.dts
@@ -74,6 +74,9 @@
};
&codec {
+ pinctrl-names = "default";
+ pinctrl-0 = <&codec_pa_pin>;
+ allwinner,pa-gpios = <&pio 7 15 GPIO_ACTIVE_HIGH>; /* PH15 */
status = "okay";
};
@@ -176,6 +179,13 @@
allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
};
+ codec_pa_pin: codec_pa_pin@0 {
+ allwinner,pins = "PH15";
+ allwinner,function = "gpio_out";
+ allwinner,drive = <SUN4I_PINCTRL_10_MA>;
+ allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+ };
+
ts_reset_pin: ts_reset_pin@0 {
allwinner,pins = "PB13";
allwinner,function = "gpio_out";