Linux 5.6.13
[linux/fpc-iii.git] / arch / arm / boot / dts / kirkwood-linkstation-lswvl.dts
blobe0f62adc0d5dadcaa40a71b684da45861e636ca3
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2 /*
3  * Device Tree file for Buffalo Linkstation LS-WVL
4  *
5  * Copyright (C) 2015, 2016
6  * Roger Shimizu <rogershimizu@gmail.com>
7  */
9 /dts-v1/;
10 #include "kirkwood-linkstation-6282.dtsi"
12 / {
13         model = "Buffalo Linkstation LS-WVL";
14         compatible = "buffalo,lswvl","marvell,kirkwood-88f6282", "marvell,kirkwood";
16         memory { /* 256 MB */
17                 device_type = "memory";
18                 reg = <0x00000000 0x10000000>;
19         };
21         ocp@f1000000 {
22                 pinctrl: pin-controller@10000 {
23                         pmx_power_hdd1: pmx-power-hdd1 {
24                                 marvell,pins = "mpp9";
25                                 marvell,function = "gpio";
26                         };
27                         pmx_led_hdderr0: pmx-led-hdderr0 {
28                                 marvell,pins = "mpp34";
29                                 marvell,function = "gpio";
30                         };
31                         pmx_led_hdderr1: pmx-led-hdderr1 {
32                                 marvell,pins = "mpp35";
33                                 marvell,function = "gpio";
34                         };
35                 };
37                 sata@80000 {
38                         nr-ports = <2>;
39                 };
40         };
42         gpio_leds {
43                 pinctrl-0 = <&pmx_led_function_red &pmx_led_alarm
44                              &pmx_led_info &pmx_led_power
45                              &pmx_led_function_blue
46                              &pmx_led_hdderr0
47                              &pmx_led_hdderr1>;
49                 red-hdderr0-led {
50                         label = "linkstation:red:hdderr0";
51                         gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
52                 };
54                 red-hdderr1-led {
55                         label = "linkstation:red:hdderr1";
56                         gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
57                 };
58         };
60         regulators {
61                 pinctrl-0 = <&pmx_power_hdd0 &pmx_power_hdd1 &pmx_usb_vbus>;
63                 hdd_power1: regulator@3 {
64                         compatible = "regulator-fixed";
65                         reg = <3>;
66                         regulator-name = "HDD1 Power";
67                         regulator-min-microvolt = <5000000>;
68                         regulator-max-microvolt = <5000000>;
69                         enable-active-high;
70                         regulator-always-on;
71                         regulator-boot-on;
72                         gpio = <&gpio0 9 GPIO_ACTIVE_HIGH>;
73                 };
74         };