kirkwood-linkstation-lsqvl.dts 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2. /*
  3. * Device Tree file for Buffalo Linkstation LS-QVL
  4. *
  5. * Copyright (C) 2016, Mario Lange <[email protected]>
  6. *
  7. * Based on kirkwood-linkstation-lswvl.dts,
  8. * Copyright (C) 2015, 2016
  9. * Roger Shimizu <[email protected]>
  10. */
  11. /dts-v1/;
  12. #include "kirkwood-linkstation-6282.dtsi"
  13. / {
  14. model = "Buffalo Linkstation LS-QVL";
  15. compatible = "buffalo,lsqvl", "marvell,kirkwood-88f6282", "marvell,kirkwood";
  16. memory { /* 256 MB */
  17. device_type = "memory";
  18. reg = <0x00000000 0x10000000>;
  19. };
  20. ocp@f1000000 {
  21. pinctrl: pin-controller@10000 {
  22. pmx_power_hdd1: pmx-power-hdd1 {
  23. marvell,pins = "mpp9";
  24. marvell,function = "gpio";
  25. };
  26. pmx_led_hdderr0: pmx-led-hdderr0 {
  27. marvell,pins = "mpp34";
  28. marvell,function = "gpio";
  29. };
  30. pmx_led_hdderr1: pmx-led-hdderr1 {
  31. marvell,pins = "mpp35";
  32. marvell,function = "gpio";
  33. };
  34. pmx_led_hdderr2: pmx-led-hdderr2 {
  35. marvell,pins = "mpp24";
  36. marvell,function = "gpio";
  37. };
  38. pmx_led_hdderr3: pmx-led-hdderr3 {
  39. marvell,pins = "mpp25";
  40. marvell,function = "gpio";
  41. };
  42. };
  43. sata@80000 {
  44. nr-ports = <2>;
  45. };
  46. };
  47. gpio_leds {
  48. pinctrl-0 = <&pmx_led_function_red &pmx_led_alarm
  49. &pmx_led_info &pmx_led_power
  50. &pmx_led_function_blue
  51. &pmx_led_hdderr0
  52. &pmx_led_hdderr1
  53. &pmx_led_hdderr2
  54. &pmx_led_hdderr3>;
  55. red-hdderr0-led {
  56. label = "linkstation:red:hdderr0";
  57. gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
  58. };
  59. red-hdderr1-led {
  60. label = "linkstation:red:hdderr1";
  61. gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
  62. };
  63. red-hdderr2-led {
  64. label = "linkstation:red:hdderr2";
  65. gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
  66. };
  67. red-hdderr3-led {
  68. label = "linkstation:red:hdderr3";
  69. gpios = <&gpio0 25 GPIO_ACTIVE_LOW>;
  70. };
  71. };
  72. regulators {
  73. pinctrl-0 = <&pmx_power_hdd0 &pmx_power_hdd1 &pmx_usb_vbus>;
  74. hdd_power1: regulator@3 {
  75. compatible = "regulator-fixed";
  76. reg = <3>;
  77. regulator-name = "HDD1 Power";
  78. regulator-min-microvolt = <5000000>;
  79. regulator-max-microvolt = <5000000>;
  80. enable-active-high;
  81. regulator-always-on;
  82. regulator-boot-on;
  83. gpio = <&gpio0 9 GPIO_ACTIVE_HIGH>;
  84. };
  85. };
  86. };