0001 /*
0002 * Device Tree file for Buffalo Linkstation LS-GL
0003 * (also known as Buffalo Linkstation Pro/Live)
0004 *
0005 * Copyright (C) 2016
0006 * Roger Shimizu <rogershimizu@gmail.com>
0007 *
0008 * Based on the board file arch/arm/mach-orion5x/kurobox_pro-setup.c
0009 * Copyright (C) Ronen Shitrit <rshitrit@marvell.com>
0010 *
0011 * This file is dual-licensed: you can use it either under the terms
0012 * of the GPL or the X11 license, at your option. Note that this dual
0013 * licensing only applies to this file, and not this project as a
0014 * whole.
0015 *
0016 * a) This file is free software; you can redistribute it and/or
0017 * modify it under the terms of the GNU General Public License as
0018 * published by the Free Software Foundation; either version 2 of the
0019 * License, or (at your option) any later version.
0020 *
0021 * This file is distributed in the hope that it will be useful,
0022 * but WITHOUT ANY WARRANTY; without even the implied warranty of
0023 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
0024 * GNU General Public License for more details.
0025 *
0026 * Or, alternatively,
0027 *
0028 * b) Permission is hereby granted, free of charge, to any person
0029 * obtaining a copy of this software and associated documentation
0030 * files (the "Software"), to deal in the Software without
0031 * restriction, including without limitation the rights to use,
0032 * copy, modify, merge, publish, distribute, sublicense, and/or
0033 * sell copies of the Software, and to permit persons to whom the
0034 * Software is furnished to do so, subject to the following
0035 * conditions:
0036 *
0037 * The above copyright notice and this permission notice shall be
0038 * included in all copies or substantial portions of the Software.
0039 *
0040 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
0041 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
0042 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
0043 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
0044 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
0045 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
0046 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
0047 * OTHER DEALINGS IN THE SOFTWARE.
0048 */
0049
0050 /dts-v1/;
0051
0052 #include "orion5x-linkstation.dtsi"
0053 #include <dt-bindings/gpio/gpio.h>
0054
0055 / {
0056 model = "Buffalo Linkstation Pro/Live";
0057 compatible = "buffalo,lsgl", "marvell,orion5x-88f5182", "marvell,orion5x";
0058
0059 memory { /* 128 MB */
0060 device_type = "memory";
0061 reg = <0x00000000 0x8000000>;
0062 };
0063 };
0064
0065 &pinctrl {
0066 pmx_power_hdd: pmx-power-hdd {
0067 marvell,pins = "mpp1";
0068 marvell,function = "gpio";
0069 };
0070
0071 pmx_power_usb: pmx-power-usb {
0072 marvell,pins = "mpp9";
0073 marvell,function = "gpio";
0074 };
0075 };
0076
0077 &hdd_power {
0078 gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
0079 };
0080
0081 &usb_power {
0082 gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
0083 };
0084
0085 &sata {
0086 nr-ports = <2>;
0087 };
0088
0089 &ehci1 {
0090 status = "okay";
0091 };