2 * Copyright (C) 2012 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
4 * This file is licensed under the terms of the GNU General Public
5 * License version 2. This program is licensed "as is" without any
6 * warranty of any kind, whether express or implied.
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
13 #include "orion5x-mv88f5182.dtsi"
16 model = "LaCie Ethernet Disk mini V2";
17 compatible = "lacie,ethernet-disk-mini-v2", "marvell,orion5x-88f5182", "marvell,orion5x";
20 reg = <0x00000000 0x4000000>; /* 64 MB */
24 bootargs = "console=ttyS0,115200n8 earlyprintk";
25 linux,stdout-path = &uart0;
29 ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000>,
30 <MBUS_ID(0x09, 0x00) 0 0xf2200000 0x800>;
34 compatible = "gpio-keys";
35 pinctrl-0 = <&pmx_power_button>;
36 pinctrl-names = "default";
40 label = "Power-on Switch";
41 linux,code = <KEY_POWER>;
42 gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>;
47 compatible = "gpio-leds";
48 pinctrl-0 = <&pmx_power_led>;
49 pinctrl-names = "default";
53 gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
62 phy-handle = <ðphy>;
69 ethphy: ethernet-phy {
75 pinctrl-0 = <&pmx_rtc &pmx_power_led_ctrl>;
76 pinctrl-names = "default";
78 pmx_power_button: pmx-power-button {
79 marvell,pins = "mpp18";
80 marvell,function = "gpio";
83 pmx_power_led: pmx-power-led {
84 marvell,pins = "mpp16";
85 marvell,function = "gpio";
88 pmx_power_led_ctrl: pmx-power-led-ctrl {
89 marvell,pins = "mpp17";
90 marvell,function = "gpio";
94 marvell,pins = "mpp3";
95 marvell,function = "gpio";
100 pinctrl-0 = <&pmx_sata0 &pmx_sata1>;
101 pinctrl-names = "default";