ARM: dts: kirkwood: add kirkwood-km_fixedeth DTS file
authorValentin Longchamp <valentin.longchamp@keymile.com>
Fri, 16 May 2014 08:49:03 +0000 (10:49 +0200)
committerJason Cooper <jason@lakedaemon.net>
Fri, 16 May 2014 17:57:27 +0000 (17:57 +0000)
Besides our Kirkwood Reference design, there is another group of board
on which the eth interface is not connected to a phy but to a switch for
some board internal communication. For these designs, the memory also is
raised to 256MB.

The configuration of the switch is handled by an EEPROM or by the
bootloader, but on the kirkwood side, the port is always configured as
1000 Mbits, full duplex.

Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
Link: https://lkml.kernel.org/r/1400230143-15620-4-git-send-email-valentin.longchamp@keymile.com
Acked-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/boot/dts/kirkwood-km_fixedeth.dts [new file with mode: 0644]

diff --git a/arch/arm/boot/dts/kirkwood-km_fixedeth.dts b/arch/arm/boot/dts/kirkwood-km_fixedeth.dts
new file mode 100644 (file)
index 0000000..9895f2b
--- /dev/null
@@ -0,0 +1,23 @@
+/dts-v1/;
+
+#include "kirkwood.dtsi"
+#include "kirkwood-98dx4122.dtsi"
+#include "kirkwood-km_common.dtsi"
+
+/ {
+       model = "Keymile Kirkwood Fixed Eth";
+       compatible = "keymile,km_fixedeth", "marvell,kirkwood-98DX4122", "marvell,kirkwood";
+
+       memory {
+               device_type = "memory";
+               reg = <0x00000000 0x10000000>;
+       };
+};
+
+&eth0 {
+       status = "okay";
+       ethernet0-port@0 {
+               speed = <1000>;  /* <SPEED_1000> */
+               duplex = <1>; /* <DUPLEX_FULL> */
+       };
+};
This page took 0.041867 seconds and 5 git commands to generate.