mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-25 17:45:11 +07:00
49111cd1c5
Playing audio works on omap5-uevm, but produces an "Unhandled fault: imprecise external abort (0x1406) at 0x00000000" error on igepv5. Looks like the twl6040 audpwron GPIO pin is different for these boards. Let's fix the issue by configuring the audpwron in the board specific dts file. Cc: Agustí Fontquerni <af@iseebcn.com> Cc: Eduard Gavin <egavin@iseebcn.com> Cc: Enric Balletbo i Serra <eballetbo@gmail.com> Acked-by: Peter Ujfalusi <peter.ujflausi@ti com> Signed-off-by: Tony Lindgren <tony@atomide.com>
64 lines
1.3 KiB
Plaintext
64 lines
1.3 KiB
Plaintext
/*
|
|
* Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
/dts-v1/;
|
|
|
|
#include "omap5-board-common.dtsi"
|
|
|
|
/ {
|
|
model = "TI OMAP5 uEVM board";
|
|
compatible = "ti,omap5-uevm", "ti,omap5";
|
|
|
|
memory {
|
|
device_type = "memory";
|
|
reg = <0x80000000 0x7F000000>; /* 2032 MB */
|
|
};
|
|
};
|
|
|
|
&hdmi {
|
|
vdda-supply = <&ldo4_reg>;
|
|
};
|
|
|
|
&i2c5 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&i2c5_pins>;
|
|
|
|
clock-frequency = <400000>;
|
|
|
|
gpio9: gpio@22 {
|
|
compatible = "ti,tca6424";
|
|
reg = <0x22>;
|
|
gpio-controller;
|
|
#gpio-cells = <2>;
|
|
};
|
|
};
|
|
|
|
&omap5_pmx_core {
|
|
i2c5_pins: pinmux_i2c5_pins {
|
|
pinctrl-single,pins = <
|
|
OMAP5_IOPAD(0x1c6, PIN_INPUT | MUX_MODE0) /* i2c5_scl */
|
|
OMAP5_IOPAD(0x1c8, PIN_INPUT | MUX_MODE0) /* i2c5_sda */
|
|
>;
|
|
};
|
|
};
|
|
|
|
&tpd12s015 {
|
|
gpios = <&gpio9 0 GPIO_ACTIVE_HIGH>, /* TCA6424A P01, CT CP HPD */
|
|
<&gpio9 1 GPIO_ACTIVE_HIGH>, /* TCA6424A P00, LS OE */
|
|
<&gpio7 1 GPIO_ACTIVE_HIGH>; /* GPIO 193, HPD */
|
|
};
|
|
|
|
&twl6040 {
|
|
ti,audpwron-gpio = <&gpio5 13 GPIO_ACTIVE_HIGH>; /* gpio line 141 */
|
|
};
|
|
|
|
&twl6040_pins {
|
|
pinctrl-single,pins = <
|
|
OMAP5_IOPAD(0x1be, PIN_OUTPUT | MUX_MODE6) /* mcspi1_somi.gpio5_141 */
|
|
>;
|
|
};
|