Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003  * Marvell OpenRD Client Board Description
0004  *
0005  * Andrew Lunn <andrew@lunn.ch>
0006  *
0007  * This file contains the definitions that are specific to OpenRD
0008  * client variant of the Marvell Kirkwood Development Board.
0009  */
0010 
0011 /dts-v1/;
0012 
0013 #include "kirkwood-openrd.dtsi"
0014 
0015 / {
0016         model = "OpenRD Client";
0017         compatible = "marvell,openrd-client", "marvell,openrd", "marvell,kirkwood-88f6281", "marvell,kirkwood";
0018 
0019         ocp@f1000000 {
0020                 audio-controller@a0000 {
0021                         status = "okay";
0022                 };
0023                 i2c@11000 {
0024                         status = "okay";
0025                         clock-frequency = <400000>;
0026 
0027                         cs42l51: cs42l51@4a {
0028                                 compatible = "cirrus,cs42l51";
0029                                 reg = <0x4a>;
0030                                 #sound-dai-cells = <0>;
0031                         };
0032                 };
0033         };
0034 
0035         sound {
0036                 compatible = "simple-audio-card";
0037                 simple-audio-card,format = "i2s";
0038                 simple-audio-card,mclk-fs = <256>;
0039 
0040                 simple-audio-card,cpu {
0041                         sound-dai = <&audio0 0>;
0042                 };
0043 
0044                 simple-audio-card,codec {
0045                         sound-dai = <&cs42l51>;
0046                 };
0047         };
0048 };
0049 
0050 &mdio {
0051         status = "okay";
0052 
0053         ethphy0: ethernet-phy@8 {
0054                 reg = <8>;
0055         };
0056         ethphy1: ethernet-phy@24 {
0057                 reg = <24>;
0058         };
0059 };
0060 
0061 &eth0 {
0062         status = "okay";
0063         ethernet0-port@0 {
0064                 phy-handle = <&ethphy0>;
0065         };
0066 };
0067 
0068 &eth1 {
0069         status = "okay";
0070         ethernet1-port@0 {
0071                 phy-handle = <&ethphy1>;
0072         };
0073 };
0074