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";
45 pinctrl-0 = <&pmx_twsi0>;
46 pinctrl-names = "default";
50 compatible = "at,24c04";
56 pinctrl: pin-controller@10000 {
57 pmx_usb_power_enable: pmx-usb-power-enable {
58 marvell,pins = "mpp14";
59 marvell,function = "gpio";
65 compatible = "gpio-keys";
68 label = "Power push button";
69 linux,code = <KEY_POWER>;
70 gpios = <&gpio1 0 GPIO_ACTIVE_HIGH>;
75 compatible = "gpio-leds";
78 label = "laplug_v2:red:power";
79 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
82 label = "laplug_v2:blue:power";
83 gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>;
84 linux,default-trigger = "default-on";
89 compatible = "gpio-poweroff";
90 gpios = <&gpio0 31 GPIO_ACTIVE_HIGH>;
94 compatible = "simple-bus";
97 pinctrl-0 = <&pmx_usb_power_enable>;
98 pinctrl-names = "default";
100 usb_power_back1: regulator@1 {
101 compatible = "regulator-fixed";
103 regulator-name = "USB Power Back 1";
104 regulator-min-microvolt = <5000000>;
105 regulator-max-microvolt = <5000000>;
109 gpio = <&gpio0 15 GPIO_ACTIVE_HIGH>;
112 usb_power_back2: regulator@2 {
113 compatible = "regulator-fixed";
115 regulator-name = "USB Power Back 2";
116 regulator-min-microvolt = <5000000>;
117 regulator-max-microvolt = <5000000>;
121 gpio = <&gpio0 28 GPIO_ACTIVE_HIGH>;
124 usb_power_front: regulator@3 {
125 compatible = "regulator-fixed";
127 regulator-name = "USB Power Front";
128 regulator-min-microvolt = <5000000>;
129 regulator-max-microvolt = <5000000>;
133 gpio = <&gpio1 3 GPIO_ACTIVE_HIGH>;
139 /* Total size : 512MB */
141 pinctrl-0 = <&pmx_nand>;
145 reg = <0x0 0x100000>; /* 1MB */
151 reg = <0x100000 0x1000000>; /* 16MB */
156 reg = <0x1100000 0x1EF00000>; /* 495MB */
163 ethphy0: ethernet-phy@0 {
164 device_type = "ethernet-phy";
172 phy-handle = <ðphy0>;