summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/kirkwood-rd88f6281-a0.dts
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2014-02-15 13:59:53 +0100
committerJason Cooper <jason@lakedaemon.net>2014-02-17 03:01:25 +0000
commite2eaa339af441b3d51cdaa16870065c4154ce13c (patch)
tree3d0a0f5f774a099bd65a95fd71457ce9f8a194eb /arch/arm/boot/dts/kirkwood-rd88f6281-a0.dts
parentdd943170838e3cc097cb5fe5f2a4fd4c0986c220 (diff)
downloadop-kernel-dev-e2eaa339af441b3d51cdaa16870065c4154ce13c.zip
op-kernel-dev-e2eaa339af441b3d51cdaa16870065c4154ce13c.tar.gz
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.dts26
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 0000000..a803bbb
--- /dev/null
+++ b/arch/arm/boot/dts/kirkwood-rd88f6281-a0.dts
@@ -0,0 +1,26 @@
+/*
+ * Marvell RD88F6181 A0 Board descrition
+ *
+ * Andrew Lunn <andrew@lunn.ch>
+ *
+ * This file is licensed under the terms of the GNU General Public
+ * License version 2. This program is licensed "as is" without any
+ * warranty of any kind, whether express or implied.
+ *
+ * This file contains the definitions for the board with the A0 variant of
+ * the SoC. The ethernet switch does not have a "wan" port.
+ */
+
+/dts-v1/;
+#include "kirkwood-rd88f6281.dtsi"
+
+/ {
+ model = "Marvell RD88f6281 Reference design, with A0 SoC";
+ compatible = "marvell,rd88f6281-a0", "marvell,rd88f6281","marvell,kirkwood-88f6281", "marvell,kirkwood";
+
+ dsa@0 {
+ switch@0 {
+ reg = <10 0>; /* MDIO address 10, switch 0 in tree */
+ };
+ };
+}; \ No newline at end of file
OpenPOWER on IntegriCloud