2012-11-16 15:39:46 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2012 Thomas Petazzoni <thomas.petazzoni@free-electrons.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/;
|
2014-04-22 21:26:15 +00:00
|
|
|
|
2014-04-22 21:26:16 +00:00
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
|
|
#include <dt-bindings/input/input.h>
|
2014-04-22 21:26:15 +00:00
|
|
|
#include "orion5x.dtsi"
|
2012-11-16 15:39:46 +00:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "LaCie Ethernet Disk mini V2";
|
2013-03-06 10:23:36 +00:00
|
|
|
compatible = "lacie,ethernet-disk-mini-v2", "marvell,orion5x-88f5182", "marvell,orion5x";
|
2012-11-16 15:39:46 +00:00
|
|
|
|
|
|
|
memory {
|
|
|
|
reg = <0x00000000 0x4000000>; /* 64 MB */
|
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
bootargs = "console=ttyS0,115200n8 earlyprintk";
|
|
|
|
};
|
|
|
|
|
|
|
|
ocp@f1000000 {
|
|
|
|
serial@12000 {
|
|
|
|
clock-frequency = <166666667>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
sata@80000 {
|
|
|
|
status = "okay";
|
|
|
|
nr-ports = <2>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
gpio_keys {
|
|
|
|
compatible = "gpio-keys";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
button@1 {
|
|
|
|
label = "Power-on Switch";
|
2014-04-22 21:26:16 +00:00
|
|
|
linux,code = <KEY_POWER>;
|
|
|
|
gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>;
|
2012-11-16 15:39:46 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
gpio_leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
|
|
|
|
led@1 {
|
|
|
|
label = "power:blue";
|
2014-04-22 21:26:16 +00:00
|
|
|
gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
|
2012-11-16 15:39:46 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2013-07-02 11:00:20 +00:00
|
|
|
|
|
|
|
&mdio {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
ethphy: ethernet-phy {
|
|
|
|
reg = <8>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
ð {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
ethernet-port@0 {
|
|
|
|
phy-handle = <ðphy>;
|
|
|
|
};
|
|
|
|
};
|