kirkwood-linkstation-lswvl.dts 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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 <[email protected]>
  7. */
  8. /dts-v1/;
  9. #include "kirkwood-linkstation-6282.dtsi"
  10. / {
  11. model = "Buffalo Linkstation LS-WVL";
  12. compatible = "buffalo,lswvl","marvell,kirkwood-88f6282", "marvell,kirkwood";
  13. memory { /* 256 MB */
  14. device_type = "memory";
  15. reg = <0x00000000 0x10000000>;
  16. };
  17. ocp@f1000000 {
  18. pinctrl: pin-controller@10000 {
  19. pmx_power_hdd1: pmx-power-hdd1 {
  20. marvell,pins = "mpp9";
  21. marvell,function = "gpio";
  22. };
  23. pmx_led_hdderr0: pmx-led-hdderr0 {
  24. marvell,pins = "mpp34";
  25. marvell,function = "gpio";
  26. };
  27. pmx_led_hdderr1: pmx-led-hdderr1 {
  28. marvell,pins = "mpp35";
  29. marvell,function = "gpio";
  30. };
  31. };
  32. sata@80000 {
  33. nr-ports = <2>;
  34. };
  35. };
  36. gpio_leds {
  37. pinctrl-0 = <&pmx_led_function_red &pmx_led_alarm
  38. &pmx_led_info &pmx_led_power
  39. &pmx_led_function_blue
  40. &pmx_led_hdderr0
  41. &pmx_led_hdderr1>;
  42. red-hdderr0-led {
  43. label = "linkstation:red:hdderr0";
  44. gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
  45. };
  46. red-hdderr1-led {
  47. label = "linkstation:red:hdderr1";
  48. gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
  49. };
  50. };
  51. regulators {
  52. pinctrl-0 = <&pmx_power_hdd0 &pmx_power_hdd1 &pmx_usb_vbus>;
  53. hdd_power1: regulator@3 {
  54. compatible = "regulator-fixed";
  55. reg = <3>;
  56. regulator-name = "HDD1 Power";
  57. regulator-min-microvolt = <5000000>;
  58. regulator-max-microvolt = <5000000>;
  59. enable-active-high;
  60. regulator-always-on;
  61. regulator-boot-on;
  62. gpio = <&gpio0 9 GPIO_ACTIVE_HIGH>;
  63. };
  64. };
  65. };