2 * Device Tree file for Buffalo Linkstation LS-QVL
4 * Copyright (C) 2016, Mario Lange <mario_lange@gmx.net>
6 * Based on kirkwood-linkstation-lswvl.dts,
7 * Copyright (C) 2015, 2016
8 * Roger Shimizu <rogershimizu@gmail.com>
10 * This file is dual-licensed: you can use it either under the terms
11 * of the GPL or the X11 license, at your option. Note that this dual
12 * licensing only applies to this file, and not this project as a
15 * a) This file is free software; you can redistribute it and/or
16 * modify it under the terms of the GNU General Public License as
17 * published by the Free Software Foundation; either version 2 of the
18 * License, or (at your option) any later version.
20 * This file is distributed in the hope that it will be useful,
21 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 * GNU General Public License for more details.
27 * b) Permission is hereby granted, free of charge, to any person
28 * obtaining a copy of this software and associated documentation
29 * files (the "Software"), to deal in the Software without
30 * restriction, including without limitation the rights to use,
31 * copy, modify, merge, publish, distribute, sublicense, and/or
32 * sell copies of the Software, and to permit persons to whom the
33 * Software is furnished to do so, subject to the following
36 * The above copyright notice and this permission notice shall be
37 * included in all copies or substantial portions of the Software.
39 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
40 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
41 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
42 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
43 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
44 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
45 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
46 * OTHER DEALINGS IN THE SOFTWARE.
50 #include "kirkwood-linkstation-6282.dtsi"
53 model = "Buffalo Linkstation LS-QVL";
54 compatible = "buffalo,lsqvl", "marvell,kirkwood-88f6282", "marvell,kirkwood";
57 device_type = "memory";
58 reg = <0x00000000 0x10000000>;
62 pinctrl: pin-controller@10000 {
63 pmx_power_hdd1: pmx-power-hdd1 {
64 marvell,pins = "mpp9";
65 marvell,function = "gpio";
67 pmx_led_hdderr0: pmx-led-hdderr0 {
68 marvell,pins = "mpp34";
69 marvell,function = "gpio";
71 pmx_led_hdderr1: pmx-led-hdderr1 {
72 marvell,pins = "mpp35";
73 marvell,function = "gpio";
75 pmx_led_hdderr2: pmx-led-hdderr2 {
76 marvell,pins = "mpp24";
77 marvell,function = "gpio";
79 pmx_led_hdderr3: pmx-led-hdderr3 {
80 marvell,pins = "mpp25";
81 marvell,function = "gpio";
91 pinctrl-0 = <&pmx_led_function_red &pmx_led_alarm
92 &pmx_led_info &pmx_led_power
93 &pmx_led_function_blue
100 label = "linkstation:red:hdderr0";
101 gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
105 label = "linkstation:red:hdderr1";
106 gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
110 label = "linkstation:red:hdderr2";
111 gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
115 label = "linkstation:red:hdderr3";
116 gpios = <&gpio0 25 GPIO_ACTIVE_LOW>;
121 pinctrl-0 = <&pmx_power_hdd0 &pmx_power_hdd1 &pmx_usb_vbus>;
123 hdd_power1: regulator@3 {
124 compatible = "regulator-fixed";
126 regulator-name = "HDD1 Power";
127 regulator-min-microvolt = <5000000>;
128 regulator-max-microvolt = <5000000>;
132 gpio = <&gpio0 9 GPIO_ACTIVE_HIGH>;