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