1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Marvell OpenRD Client Board Description
4 *
5 * Andrew Lunn <andrew@lunn.ch>
6 *
7 * This file contains the definitions that are specific to OpenRD
8 * client variant of the Marvell Kirkwood Development Board.
9 */
10
11/dts-v1/;
12
13#include "kirkwood-openrd.dtsi"
14
15/ {
16	model = "OpenRD Client";
17	compatible = "marvell,openrd-client", "marvell,openrd", "marvell,kirkwood-88f6281", "marvell,kirkwood";
18
19	ocp@f1000000 {
20		audio-controller@a0000 {
21			status = "okay";
22		};
23		i2c@11000 {
24			status = "okay";
25			clock-frequency = <400000>;
26
27			cs42l51: cs42l51@4a {
28				compatible = "cirrus,cs42l51";
29				reg = <0x4a>;
30				#sound-dai-cells = <0>;
31			};
32		};
33	};
34
35	sound {
36		compatible = "simple-audio-card";
37		simple-audio-card,format = "i2s";
38		simple-audio-card,mclk-fs = <256>;
39
40		simple-audio-card,cpu {
41			sound-dai = <&audio0 0>;
42		};
43
44		simple-audio-card,codec {
45			sound-dai = <&cs42l51>;
46		};
47	};
48};
49
50&mdio {
51	status = "okay";
52
53	ethphy0: ethernet-phy@8 {
54		reg = <8>;
55	};
56	ethphy1: ethernet-phy@24 {
57		reg = <24>;
58	};
59};
60
61&eth0 {
62	status = "okay";
63	ethernet0-port@0 {
64		phy-handle = <&ethphy0>;
65	};
66};
67
68&eth1 {
69	status = "okay";
70	ethernet1-port@0 {
71		phy-handle = <&ethphy1>;
72	};
73};
74