Commit a692e00a authored by Hans de Goede's avatar Hans de Goede Committed by Maxime Ripard

ARM: dts: sun5i: Enable onboard codec used on the UTOO P66 tablet

The UTOO P66 tablet uses the A13's integrated audio codec, enable it.
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent 2367cee5
......@@ -73,6 +73,13 @@ i2c_lcd: i2c@0 {
};
};
&codec {
pinctrl-names = "default";
pinctrl-0 = <&codec_pa_pin>;
allwinner,pa-gpios = <&pio 6 3 GPIO_ACTIVE_HIGH>; /* PG3 */
status = "okay";
};
&cpu0 {
cpu-supply = <&reg_dcdc2>;
};
......@@ -168,6 +175,13 @@ &otg_sram {
};
&pio {
codec_pa_pin: codec_pa_pin@0 {
allwinner,pins = "PG3";
allwinner,function = "gpio_out";
allwinner,drive = <SUN4I_PINCTRL_10_MA>;
allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
};
mmc0_cd_pin_p66: mmc0_cd_pin@0 {
allwinner,pins = "PG0";
allwinner,function = "gpio_in";
......
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