2 * Device Tree common file for LaCie 2Big and 5Big Network v2
6 * Andrew Lunn <andrew@lunn.ch>
8 * Based on netxbig_v2-setup.c,
9 * Copyright (C) 2010 Simon Guinot <sguinot@lacie.com>
11 * This file is licensed under the terms of the GNU General Public
12 * License version 2. This program is licensed "as is" without any
13 * warranty of any kind, whether express or implied.
16 #include "kirkwood.dtsi"
17 #include "kirkwood-6281.dtsi"
21 bootargs = "console=ttyS0,115200n8";
36 compatible = "mxicy,mx25l4005a", "jedec,spi-nor";
38 spi-max-frequency = <20000000>;
56 compatible = "gpio-keys";
61 * button@1 and button@2 represent a three position rocker
62 * switch. Thus the conventional KEY_POWER does not fit
65 label = "Back power switch (on|auto)";
66 linux,code = <KEY_ESC>;
67 linux,input-type = <5>;
68 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
71 label = "Back power switch (auto|off)";
73 linux,input-type = <5>;
74 gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
77 label = "Function button";
78 linux,code = <KEY_OPTION>;
79 gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
85 compatible = "gpio-poweroff";
86 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
89 regulators: regulators {
91 compatible = "simple-bus";
94 pinctrl-names = "default";
97 compatible = "regulator-fixed";
99 regulator-name = "hdd0power";
100 regulator-min-microvolt = <5000000>;
101 regulator-max-microvolt = <5000000>;
105 gpio = <&gpio0 16 GPIO_ACTIVE_HIGH>;
113 ethphy0: ethernet-phy@0 {
117 ethphy1: ethernet-phy@1 {
125 phy-handle = <ðphy0>;
130 pinctrl-names = "default";
132 pmx_button_function: pmx-button-function {
133 marvell,pins = "mpp34";
134 marvell,function = "gpio";
136 pmx_button_power_off: pmx-button-power-off {
137 marvell,pins = "mpp15";
138 marvell,function = "gpio";
140 pmx_button_power_on: pmx-button-power-on {
141 marvell,pins = "mpp13";
142 marvell,function = "gpio";
150 compatible = "atmel,24c04";