Andrew Lunn | f81a863 | 2014-05-11 21:30:39 +0200 | [diff] [blame] | 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 { |
Aaro Koskinen | 34cabc2 | 2016-01-24 00:36:39 +0200 | [diff] [blame] | 23 | audio-controller@a0000 { |
| 24 | status = "okay"; |
| 25 | }; |
Andrew Lunn | f81a863 | 2014-05-11 21:30:39 +0200 | [diff] [blame] | 26 | i2c@11000 { |
| 27 | status = "okay"; |
| 28 | clock-frequency = <400000>; |
| 29 | |
| 30 | cs42l51: cs42l51@4a { |
| 31 | compatible = "cirrus,cs42l51"; |
| 32 | reg = <0x4a>; |
Aaro Koskinen | 34cabc2 | 2016-01-24 00:36:39 +0200 | [diff] [blame] | 33 | #sound-dai-cells = <0>; |
Andrew Lunn | f81a863 | 2014-05-11 21:30:39 +0200 | [diff] [blame] | 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 { |
Aaro Koskinen | 34cabc2 | 2016-01-24 00:36:39 +0200 | [diff] [blame] | 44 | sound-dai = <&audio0 0>; |
Andrew Lunn | f81a863 | 2014-05-11 21:30:39 +0200 | [diff] [blame] | 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 | ð0 { |
| 65 | status = "okay"; |
| 66 | ethernet0-port@0 { |
| 67 | phy-handle = <ðphy0>; |
| 68 | }; |
| 69 | }; |
| 70 | |
| 71 | ð1 { |
| 72 | status = "okay"; |
| 73 | ethernet1-port@0 { |
| 74 | phy-handle = <ðphy1>; |
| 75 | }; |
| 76 | }; |
| 77 | |