Linux Audio

Check our new training course

Loading...
Note: File does not exist in v6.8.
 1/*
 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 {
23		audio-controller@a0000 {
24			status = "okay";
25		};
26		i2c@11000 {
27			status = "okay";
28			clock-frequency = <400000>;
29
30			cs42l51: cs42l51@4a {
31				compatible = "cirrus,cs42l51";
32				reg = <0x4a>;
33				#sound-dai-cells = <0>;
34			};
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 {
44			sound-dai = <&audio0 0>;
45		};
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