xref: /freebsd/sys/contrib/device-tree/src/arm64/mediatek/mt8183-kukui-audio-ts3a227e.dtsi (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
18cc087a1SEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0 OR MIT)
28cc087a1SEmmanuel Vadot/*
38cc087a1SEmmanuel Vadot * Google Kukui (and derivatives) audio fragment for ts3a227e.
48cc087a1SEmmanuel Vadot *
58cc087a1SEmmanuel Vadot * Copyright 2019 Google LLC.
68cc087a1SEmmanuel Vadot */
78cc087a1SEmmanuel Vadot
88cc087a1SEmmanuel Vadot&i2c5 {
98cc087a1SEmmanuel Vadot	ts3a227e: ts3a227e@3b {
108cc087a1SEmmanuel Vadot		pinctrl-names = "default";
118cc087a1SEmmanuel Vadot		pinctrl-0 = <&ts3a227e_pins>;
128cc087a1SEmmanuel Vadot		compatible = "ti,ts3a227e";
138cc087a1SEmmanuel Vadot		reg = <0x3b>;
14*8d13bc63SEmmanuel Vadot		interrupts-extended = <&pio 157 IRQ_TYPE_LEVEL_LOW>;
158cc087a1SEmmanuel Vadot		status = "okay";
168cc087a1SEmmanuel Vadot	};
178cc087a1SEmmanuel Vadot};
188cc087a1SEmmanuel Vadot
198cc087a1SEmmanuel Vadot&pio {
208cc087a1SEmmanuel Vadot	ts3a227e_pins: ts3a227e_pins {
218cc087a1SEmmanuel Vadot		pins1 {
228cc087a1SEmmanuel Vadot			pinmux = <PINMUX_GPIO157__FUNC_GPIO157>;
238cc087a1SEmmanuel Vadot			input-enable;
248cc087a1SEmmanuel Vadot			bias-pull-up;
258cc087a1SEmmanuel Vadot		};
268cc087a1SEmmanuel Vadot	};
278cc087a1SEmmanuel Vadot};
288cc087a1SEmmanuel Vadot
298cc087a1SEmmanuel Vadot&sound {
308cc087a1SEmmanuel Vadot	mediatek,headset-codec = <&ts3a227e>;
318cc087a1SEmmanuel Vadot};
32