1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 3 * Device Tree file for Buffalo Linkstation LS 4 * 5 * Copyright (C) 2015, 2016 6 * Roger Shimizu <rogershimizu@gmail.com> 7 */ 8 9 /dts-v1/; 10 #include "kirkwood-linkstation-duo-6281.dtsi" 11 12 / { 13 model = "Buffalo Linkstation LS-WXL"; 14 compatible = "buffalo,lswxl", "marvell 15 16 memory { /* 128 MB */ 17 device_type = "memory"; 18 reg = <0x00000000 0x8000000>; 19 }; 20 21 ocp@f1000000 { 22 pinctrl: pin-controller@10000 23 pmx_led_hdderr0: pmx-l 24 marvell,pins = 25 marvell,functi 26 }; 27 pmx_led_hdderr1: pmx-l 28 marvell,pins = 29 marvell,functi 30 }; 31 pmx_fan_lock: pmx-fan- 32 marvell,pins = 33 marvell,functi 34 }; 35 pmx_fan_high: pmx-fan- 36 marvell,pins = 37 marvell,functi 38 }; 39 pmx_fan_low: pmx-fan-l 40 marvell,pins = 41 marvell,functi 42 }; 43 }; 44 }; 45 46 gpio_leds { 47 pinctrl-0 = <&pmx_led_function 48 &pmx_led_info &pm 49 &pmx_led_function 50 &pmx_led_hdderr0 51 &pmx_led_hdderr1> 52 53 red-hdderr0-led { 54 label = "linkstation:r 55 gpios = <&gpio0 8 GPIO 56 }; 57 58 red-hdderr1-led { 59 label = "linkstation:r 60 gpios = <&gpio1 14 GPI 61 }; 62 }; 63 64 gpio_fan { 65 compatible = "gpio-fan"; 66 pinctrl-0 = <&pmx_fan_low &pmx 67 pinctrl-names = "default"; 68 69 gpios = <&gpio1 16 GPIO_ACTIVE 70 &gpio1 15 GPIO_ACTIVE 71 72 gpio-fan,speed-map = 73 < 0 3>, 74 <1500 2>, 75 <3250 1>, 76 <5000 0>; 77 78 alarm-gpios = <&gpio1 8 GPIO_A 79 }; 80 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.