blob: 96ff59d68f445f45a5182a12d6d42a3883ede881 [file] [log] [blame]
Andrew Lunnf81a8632014-05-11 21:30:39 +02001/*
2 * Marvell OpenRD Client Board Description
3 *
4 * Andrew Lunn <andrew@lunn.ch>
5 *
6 * This file is licensed under the terms of the GNU General Public
7 * License version 2. This program is licensed "as is" without any
8 * warranty of any kind, whether express or implied.
9 *
10 * This file contains the definitions that are specific to OpenRD
11 * client variant of the Marvell Kirkwood Development Board.
12 */
13
14/dts-v1/;
15
16#include "kirkwood-openrd.dtsi"
17
18/ {
19 model = "OpenRD Client";
20 compatible = "marvell,openrd-client", "marvell,openrd", "marvell,kirkwood-88f6281", "marvell,kirkwood";
21
22 ocp@f1000000 {
Aaro Koskinen34cabc22016-01-24 00:36:39 +020023 audio-controller@a0000 {
24 status = "okay";
25 };
Andrew Lunnf81a8632014-05-11 21:30:39 +020026 i2c@11000 {
27 status = "okay";
28 clock-frequency = <400000>;
29
30 cs42l51: cs42l51@4a {
31 compatible = "cirrus,cs42l51";
32 reg = <0x4a>;
Aaro Koskinen34cabc22016-01-24 00:36:39 +020033 #sound-dai-cells = <0>;
Andrew Lunnf81a8632014-05-11 21:30:39 +020034 };
35 };
36 };
37
38 sound {
39 compatible = "simple-audio-card";
40 simple-audio-card,format = "i2s";
41 simple-audio-card,mclk-fs = <256>;
42
43 simple-audio-card,cpu {
Aaro Koskinen34cabc22016-01-24 00:36:39 +020044 sound-dai = <&audio0 0>;
Andrew Lunnf81a8632014-05-11 21:30:39 +020045 };
46
47 simple-audio-card,codec {
48 sound-dai = <&cs42l51>;
49 };
50 };
51};
52
53&mdio {
54 status = "okay";
55
56 ethphy0: ethernet-phy@8 {
57 reg = <8>;
58 };
59 ethphy1: ethernet-phy@24 {
60 reg = <24>;
61 };
62};
63
64&eth0 {
65 status = "okay";
66 ethernet0-port@0 {
67 phy-handle = <&ethphy0>;
68 };
69};
70
71&eth1 {
72 status = "okay";
73 ethernet1-port@0 {
74 phy-handle = <&ethphy1>;
75 };
76};
77