~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/marvell/kirkwood-linkstation-lswxl.dts

Version: ~ [ linux-6.11-rc3 ] ~ [ linux-6.10.4 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.45 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.104 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.164 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.223 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.281 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.319 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2 /*
  3  * Device Tree file for Buffalo Linkstation LS-WXL
  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,kirkwood-88f6281", "marvell,kirkwood";
 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-led-hdderr0 {
 24                                 marvell,pins = "mpp8";
 25                                 marvell,function = "gpio";
 26                         };
 27                         pmx_led_hdderr1: pmx-led-hdderr1 {
 28                                 marvell,pins = "mpp46";
 29                                 marvell,function = "gpio";
 30                         };
 31                         pmx_fan_lock: pmx-fan-lock {
 32                                 marvell,pins = "mpp40";
 33                                 marvell,function = "gpio";
 34                         };
 35                         pmx_fan_high: pmx-fan-high {
 36                                 marvell,pins = "mpp47";
 37                                 marvell,function = "gpio";
 38                         };
 39                         pmx_fan_low: pmx-fan-low {
 40                                 marvell,pins = "mpp48";
 41                                 marvell,function = "gpio";
 42                         };
 43                 };
 44         };
 45 
 46         gpio_leds {
 47                 pinctrl-0 = <&pmx_led_function_red &pmx_led_alarm
 48                              &pmx_led_info &pmx_led_power
 49                              &pmx_led_function_blue
 50                              &pmx_led_hdderr0
 51                              &pmx_led_hdderr1>;
 52 
 53                 red-hdderr0-led {
 54                         label = "linkstation:red:hdderr0";
 55                         gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
 56                 };
 57 
 58                 red-hdderr1-led {
 59                         label = "linkstation:red:hdderr1";
 60                         gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
 61                 };
 62         };
 63 
 64         gpio_fan {
 65                 compatible = "gpio-fan";
 66                 pinctrl-0 = <&pmx_fan_low &pmx_fan_high &pmx_fan_lock>;
 67                 pinctrl-names = "default";
 68 
 69                 gpios = <&gpio1 16 GPIO_ACTIVE_LOW
 70                          &gpio1 15 GPIO_ACTIVE_LOW>;
 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_ACTIVE_HIGH>;
 79         };
 80 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php