Commit 2c102c38 authored by Priit Laes's avatar Priit Laes Committed by Maxime Ripard

ARM: dts: sun4i: gemei-g9: Enable PA GPIO pin configuration

PA GPIO pin (PH15) controls power to external amplifier (FT2012Q).
Signed-off-by: default avatarPriit Laes <plaes@plaes.org>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent 53aa9346
...@@ -65,13 +65,16 @@ chosen { ...@@ -65,13 +65,16 @@ chosen {
/* /*
* TODO: * TODO:
* 2x cameras via CSI * 2x cameras via CSI
* audio input
* AXP battery management * AXP battery management
* NAND * NAND
* OTG * OTG
* Touchscreen - gt801_2plus1 @ i2c adapter 2 @ 0x48 * Touchscreen - gt801_2plus1 @ i2c adapter 2 @ 0x48
*/ */
&codec { &codec {
/* PH15 controls power to external amplifier (ft2012q) */
pinctrl-names = "default";
pinctrl-0 = <&codec_pa_pin>;
allwinner,pa-gpios = <&pio 7 15 GPIO_ACTIVE_HIGH>;
status = "okay"; status = "okay";
}; };
...@@ -151,6 +154,15 @@ &mmc0 { ...@@ -151,6 +154,15 @@ &mmc0 {
status = "okay"; status = "okay";
}; };
&pio {
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>;
};
};
&reg_dcdc2 { &reg_dcdc2 {
regulator-always-on; regulator-always-on;
regulator-min-microvolt = <1000000>; regulator-min-microvolt = <1000000>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment