Skip to content

Commit

Permalink
ARM: dts: sun5i: Enable onboard codec used on the UTOO P66 tablet
Browse files Browse the repository at this point in the history
The UTOO P66 tablet uses the A13's integrated audio codec, enable it.

Signed-off-by: Hans de Goede <[email protected]>
Signed-off-by: Maxime Ripard <[email protected]>
  • Loading branch information
jwrdegoede authored and mripard committed Dec 18, 2015
1 parent 2367cee commit a692e00
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions arch/arm/boot/dts/sun5i-a13-utoo-p66.dts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,13 @@
};
};

&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>;
};
Expand Down Expand Up @@ -168,6 +175,13 @@
};

&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";
Expand Down

0 comments on commit a692e00

Please sign in to comment.