55 lines
1.4 KiB
Plaintext
55 lines
1.4 KiB
Plaintext
/*
|
|
* Device Tree file for the NetModule HW29 (NG1850) base variant
|
|
*
|
|
* Copyright (C) 2016 NetModule
|
|
*
|
|
* Stefan Eichenberger <stefan.eichenberger@netmodule.com>
|
|
*
|
|
* 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.
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include "armada-385-hw29-common.dtsi"
|
|
|
|
/ {
|
|
model = "NetModule Router HW29 with Armada A385 (NG1850)";
|
|
|
|
soc {
|
|
gpiofpga: gpio@fd0000000 {
|
|
fpga-cinit = <&gpio0 13 0>; /* FPGA cinit */
|
|
fpga-cdone = <&gpio0 21 0>; /* FPGA cdone */
|
|
};
|
|
};
|
|
};
|
|
|
|
// LAN1 or SWITCH
|
|
// In U-Boot we only support the configuration with two separate eth phys
|
|
// without eth switch. This ensures that U-Boot initializes both eth phys
|
|
// properly by calling drivers/net/phy/marvel.c:m88e1518_config(..) which
|
|
// executes some quirks to work around some MV88E1512 phy erratas. Because
|
|
// the linux kernel does not apply those quirks, the phys would otherwise
|
|
// not work later in Linux, if they were not initialized by U-Boot.
|
|
// (To use the ethernet switch in U-Boot, eth0/LAN1 would have to be
|
|
// configured as fixed link like eth1. Then the switch would work in U-Boot,
|
|
// but the phy for eth0/LAN1 would not be initialized.)
|
|
ð0 {
|
|
status = "okay";
|
|
};
|
|
|
|
// SFP-Port
|
|
ð1 {
|
|
status = "disabled";
|
|
fixed-link {
|
|
speed = <1000>;
|
|
full-duplex;
|
|
};
|
|
};
|
|
|
|
// LAN0
|
|
ð2 {
|
|
status = "okay";
|
|
};
|
|
|