blob: 4b42717800f777278802941f743c681c5c4c8465 [file] [log] [blame]
Jagan Teki001d6742019-05-17 15:59:40 +05301// 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>
Jagan Teki167efc22020-04-28 15:30:17 +05305 * Copyright (c) 2019 Katsuhiro Suzuki <katsuhiro@katsuster.net>
Jagan Teki001d6742019-05-17 15:59:40 +05306 */
7
8/dts-v1/;
Jagan Teki167efc22020-04-28 15:30:17 +05309#include "rk3399-rockpro64.dtsi"
Jagan Teki001d6742019-05-17 15:59:40 +053010
11/ {
Jagan Teki167efc22020-04-28 15:30:17 +053012 model = "Pine64 RockPro64 v2.1";
13 compatible = "pine64,rockpro64-v2.1", "pine64,rockpro64", "rockchip,rk3399";
Jagan Teki001d6742019-05-17 15:59:40 +053014};
15
16&i2c1 {
Jagan Teki167efc22020-04-28 15:30:17 +053017 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>;
Jagan Teki001d6742019-05-17 15:59:40 +053023
Jagan Teki167efc22020-04-28 15:30:17 +053024 port {
25 es8316_p0_0: endpoint {
26 remote-endpoint = <&i2s1_p0_0>;
27 };
Jagan Teki001d6742019-05-17 15:59:40 +053028 };
29 };
Jagan Teki001d6742019-05-17 15:59:40 +053030};