2 * Copyright (C) 2013 Maxime Hadjinlian <maxime.hadjinlian@gmail.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 "kirkwood.dtsi"
14 #include "kirkwood-6192.dtsi"
17 model = "LaCie LaPlug";
18 compatible = "lacie,laplug", "marvell,kirkwood-88f6192", "marvell,kirkwood";
21 device_type = "memory";
22 reg = <0x00000000 0x8000000>; /* 128 MB */
26 bootargs = "console=ttyS0,115200n8 earlyprintk";
39 compatible = "atmel,24c04";
45 pinctrl: pin-controller@10000 {
46 pmx_usb_power_enable: pmx-usb-power-enable {
47 marvell,pins = "mpp14";
48 marvell,function = "gpio";
54 compatible = "gpio-keys";
57 label = "Power push button";
58 linux,code = <KEY_POWER>;
59 gpios = <&gpio1 0 GPIO_ACTIVE_HIGH>;
64 compatible = "gpio-leds";
67 label = "laplug_v2:red:power";
68 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
71 label = "laplug_v2:blue:power";
72 gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>;
73 linux,default-trigger = "default-on";
78 compatible = "gpio-poweroff";
79 gpios = <&gpio0 31 GPIO_ACTIVE_HIGH>;
83 compatible = "simple-bus";
86 pinctrl-0 = <&pmx_usb_power_enable>;
87 pinctrl-names = "default";
89 usb_power_back1: regulator@1 {
90 compatible = "regulator-fixed";
92 regulator-name = "USB Power Back 1";
93 regulator-min-microvolt = <5000000>;
94 regulator-max-microvolt = <5000000>;
98 gpio = <&gpio0 15 GPIO_ACTIVE_HIGH>;
101 usb_power_back2: regulator@2 {
102 compatible = "regulator-fixed";
104 regulator-name = "USB Power Back 2";
105 regulator-min-microvolt = <5000000>;
106 regulator-max-microvolt = <5000000>;
110 gpio = <&gpio0 28 GPIO_ACTIVE_HIGH>;
113 usb_power_front: regulator@3 {
114 compatible = "regulator-fixed";
116 regulator-name = "USB Power Front";
117 regulator-min-microvolt = <5000000>;
118 regulator-max-microvolt = <5000000>;
122 gpio = <&gpio1 3 GPIO_ACTIVE_HIGH>;
128 /* Total size : 512MB */
133 reg = <0x0 0x100000>; /* 1MB */
139 reg = <0x100000 0x1000000>; /* 16MB */
144 reg = <0x1100000 0x1EF00000>; /* 495MB */
151 ethphy0: ethernet-phy@0 {
152 device_type = "ethernet-phy";
160 phy-handle = <ðphy0>;