1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright (c) 2017 Fuzhou Rockchip Electronics Co., Ltd.
4 * Copyright (c) 2018 Akash Gajjar <Akash_Gajjar@mentor.com>
5 * Copyright (c) 2019 Katsuhiro Suzuki <katsuhiro@katsuster.net>
6 */
7
8/dts-v1/;
9#include "rk3399-rockpro64.dtsi"
10
11/ {
12	model = "Pine64 RockPro64 v2.1";
13	compatible = "pine64,rockpro64-v2.1", "pine64,rockpro64", "rockchip,rk3399";
14};
15
16&i2c1 {
17	es8316: codec@11 {
18		compatible = "everest,es8316";
19		reg = <0x11>;
20		clocks = <&cru SCLK_I2S_8CH_OUT>;
21		clock-names = "mclk";
22		#sound-dai-cells = <0>;
23
24		port {
25			es8316_p0_0: endpoint {
26				remote-endpoint = <&i2s1_p0_0>;
27			};
28		};
29	};
30};
31