diff options
author | Andrew Lunn <andrew@lunn.ch> | 2014-02-15 07:59:53 -0500 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2014-02-16 22:01:25 -0500 |
commit | e2eaa339af441b3d51cdaa16870065c4154ce13c (patch) | |
tree | 3d0a0f5f774a099bd65a95fd71457ce9f8a194eb /arch/arm/boot/dts/kirkwood-rd88f6281-a0.dts | |
parent | dd943170838e3cc097cb5fe5f2a4fd4c0986c220 (diff) |
ARM: Kirkwood: convert rd88f6281-setup.c to DT.
Perform a mechanical translation of rd88f6281-setup.c into DT. Since
the hardware differs between the A0 and A1 stepping, two dts files are
used, and a .dtsi file for the common parts. The A0 part does not have
a "wan" port on the switch and uses PHY address 10 to address the
switch. The A1 part does have the "wan" port and uses address 0.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/boot/dts/kirkwood-rd88f6281-a0.dts')
-rw-r--r-- | arch/arm/boot/dts/kirkwood-rd88f6281-a0.dts | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/kirkwood-rd88f6281-a0.dts b/arch/arm/boot/dts/kirkwood-rd88f6281-a0.dts new file mode 100644 index 000000000000..a803bbb70bc8 --- /dev/null +++ b/arch/arm/boot/dts/kirkwood-rd88f6281-a0.dts | |||
@@ -0,0 +1,26 @@ | |||
1 | /* | ||
2 | * Marvell RD88F6181 A0 Board descrition | ||
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 for the board with the A0 variant of | ||
11 | * the SoC. The ethernet switch does not have a "wan" port. | ||
12 | */ | ||
13 | |||
14 | /dts-v1/; | ||
15 | #include "kirkwood-rd88f6281.dtsi" | ||
16 | |||
17 | / { | ||
18 | model = "Marvell RD88f6281 Reference design, with A0 SoC"; | ||
19 | compatible = "marvell,rd88f6281-a0", "marvell,rd88f6281","marvell,kirkwood-88f6281", "marvell,kirkwood"; | ||
20 | |||
21 | dsa@0 { | ||
22 | switch@0 { | ||
23 | reg = <10 0>; /* MDIO address 10, switch 0 in tree */ | ||
24 | }; | ||
25 | }; | ||
26 | }; \ No newline at end of file | ||