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";
41 pinctrl-0 = <&pmx_uart0>;
42 pinctrl-names = "default";
47 pinctrl-0 = <&pmx_twsi0>;
48 pinctrl-names = "default";
52 compatible = "at,24c04";
58 pinctrl: pinctrl@10000 {
59 pmx_usb_power_enable: pmx-usb-power-enable {
60 marvell,pins = "mpp14";
61 marvell,function = "gpio";
67 compatible = "gpio-keys";
70 label = "Power push button";
71 linux,code = <KEY_POWER>;
72 gpios = <&gpio1 0 GPIO_ACTIVE_HIGH>;
77 compatible = "gpio-leds";
80 label = "laplug_v2:red:power";
81 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
84 label = "laplug_v2:blue:power";
85 gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>;
86 linux,default-trigger = "default-on";
91 compatible = "gpio-poweroff";
92 gpios = <&gpio0 31 GPIO_ACTIVE_HIGH>;
96 compatible = "simple-bus";
99 pinctrl-0 = <&pmx_usb_power_enable>;
100 pinctrl-names = "default";
102 usb_power_back1: regulator@1 {
103 compatible = "regulator-fixed";
105 regulator-name = "USB Power Back 1";
106 regulator-min-microvolt = <5000000>;
107 regulator-max-microvolt = <5000000>;
111 gpio = <&gpio0 15 GPIO_ACTIVE_HIGH>;
114 usb_power_back2: regulator@2 {
115 compatible = "regulator-fixed";
117 regulator-name = "USB Power Back 2";
118 regulator-min-microvolt = <5000000>;
119 regulator-max-microvolt = <5000000>;
123 gpio = <&gpio0 28 GPIO_ACTIVE_HIGH>;
126 usb_power_front: regulator@3 {
127 compatible = "regulator-fixed";
129 regulator-name = "USB Power Front";
130 regulator-min-microvolt = <5000000>;
131 regulator-max-microvolt = <5000000>;
135 gpio = <&gpio1 3 GPIO_ACTIVE_HIGH>;
141 /* Total size : 512MB */
143 pinctrl-0 = <&pmx_nand>;
147 reg = <0x0 0x100000>; /* 1MB */
153 reg = <0x100000 0x1000000>; /* 16MB */
158 reg = <0x1100000 0x1EF00000>; /* 495MB */
165 ethphy0: ethernet-phy@0 {
166 device_type = "ethernet-phy";
174 phy-handle = <ðphy0>;