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

ARM: dts: sun4i: Enable onboard codec used on the pov protab2-ips9 tablet

The pov protab2-ips9 tablet uses the A10'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 a692e00a
...@@ -72,6 +72,13 @@ chosen { ...@@ -72,6 +72,13 @@ chosen {
}; };
}; };
&codec {
pinctrl-names = "default";
pinctrl-0 = <&codec_pa_pin>;
allwinner,pa-gpios = <&pio 7 15 GPIO_ACTIVE_HIGH>; /* PH15 */
status = "okay";
};
&cpu0 { &cpu0 {
cpu-supply = <&reg_dcdc2>; cpu-supply = <&reg_dcdc2>;
}; };
...@@ -163,6 +170,13 @@ bl_en_pin_protab: bl_en_pin@0 { ...@@ -163,6 +170,13 @@ bl_en_pin_protab: bl_en_pin@0 {
allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; 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>;
};
touchscreen_pins: touchscreen_pins@0 { touchscreen_pins: touchscreen_pins@0 {
allwinner,pins = "PA5", "PB13"; allwinner,pins = "PA5", "PB13";
allwinner,function = "gpio_out"; allwinner,function = "gpio_out";
......
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