1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Device Tree file for Buffalo Linkstation LS-WXL
5 * Copyright (C) 2015, 2016
6 * Roger Shimizu <rogershimizu@gmail.com>
10 #include "kirkwood-linkstation-duo-6281.dtsi"
13 model = "Buffalo Linkstation LS-WXL";
14 compatible = "buffalo,lswxl", "marvell,kirkwood-88f6281", "marvell,kirkwood";
17 device_type = "memory";
18 reg = <0x00000000 0x8000000>;
22 pinctrl: pin-controller@10000 {
23 pmx_led_hdderr0: pmx-led-hdderr0 {
24 marvell,pins = "mpp8";
25 marvell,function = "gpio";
27 pmx_led_hdderr1: pmx-led-hdderr1 {
28 marvell,pins = "mpp46";
29 marvell,function = "gpio";
31 pmx_fan_lock: pmx-fan-lock {
32 marvell,pins = "mpp40";
33 marvell,function = "gpio";
35 pmx_fan_high: pmx-fan-high {
36 marvell,pins = "mpp47";
37 marvell,function = "gpio";
39 pmx_fan_low: pmx-fan-low {
40 marvell,pins = "mpp48";
41 marvell,function = "gpio";
47 pinctrl-0 = <&pmx_led_function_red &pmx_led_alarm
48 &pmx_led_info &pmx_led_power
49 &pmx_led_function_blue
54 label = "linkstation:red:hdderr0";
55 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
59 label = "linkstation:red:hdderr1";
60 gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
65 compatible = "gpio-fan";
66 pinctrl-0 = <&pmx_fan_low &pmx_fan_high &pmx_fan_lock>;
67 pinctrl-names = "default";
69 gpios = <&gpio1 16 GPIO_ACTIVE_LOW
70 &gpio1 15 GPIO_ACTIVE_LOW>;
72 gpio-fan,speed-map = <0 3
77 alarm-gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;