2 * Device Tree file for Buffalo Linkstation LS-GL
3 * (also known as Buffalo Linkstation Pro/Live)
6 * Roger Shimizu <rogershimizu@gmail.com>
8 * Based on the board file arch/arm/mach-orion5x/kurobox_pro-setup.c
9 * Copyright (C) Ronen Shitrit <rshitrit@marvell.com>
11 * This file is dual-licensed: you can use it either under the terms
12 * of the GPL or the X11 license, at your option. Note that this dual
13 * licensing only applies to this file, and not this project as a
16 * a) This file is free software; you can redistribute it and/or
17 * modify it under the terms of the GNU General Public License as
18 * published by the Free Software Foundation; either version 2 of the
19 * License, or (at your option) any later version.
21 * This file is distributed in the hope that it will be useful,
22 * but WITHOUT ANY WARRANTY; without even the implied warranty of
23 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 * GNU General Public License for more details.
28 * b) Permission is hereby granted, free of charge, to any person
29 * obtaining a copy of this software and associated documentation
30 * files (the "Software"), to deal in the Software without
31 * restriction, including without limitation the rights to use,
32 * copy, modify, merge, publish, distribute, sublicense, and/or
33 * sell copies of the Software, and to permit persons to whom the
34 * Software is furnished to do so, subject to the following
37 * The above copyright notice and this permission notice shall be
38 * included in all copies or substantial portions of the Software.
40 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
41 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
42 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
43 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
44 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
45 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
46 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
47 * OTHER DEALINGS IN THE SOFTWARE.
52 #include "orion5x-linkstation.dtsi"
53 #include <dt-bindings/gpio/gpio.h>
56 model = "Buffalo Linkstation Pro/Live";
57 compatible = "buffalo,lsgl", "marvell,orion5x-88f5182", "marvell,orion5x";
60 device_type = "memory";
61 reg = <0x00000000 0x8000000>;
66 pmx_power_hdd: pmx-power-hdd {
67 marvell,pins = "mpp1";
68 marvell,function = "gpio";
71 pmx_power_usb: pmx-power-usb {
72 marvell,pins = "mpp9";
73 marvell,function = "gpio";
78 gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
82 gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;