1// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2/*
3 * Copyright (C) 2022 MediaTek Inc.
4 */
5
6#include <dt-bindings/gpio/gpio.h>
7#include <dt-bindings/pinctrl/mt8192-pinfunc.h>
8
9/ {
10	rt1015p: audio-codec {
11		compatible = "realtek,rt1015p";
12		pinctrl-names = "default";
13		pinctrl-0 = <&rt1015p_pins>;
14		sdb-gpios = <&pio 147 GPIO_ACTIVE_HIGH>;
15		#sound-dai-cells = <0>;
16	};
17};
18
19&pio {
20	rt1015p_pins: rt1015p-default-pins {
21		pins {
22			pinmux = <PINMUX_GPIO147__FUNC_GPIO147>;
23			output-low;
24		};
25	};
26};
27