orion5x-linkstation-lsgl.dts 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. /*
  2. * Device Tree file for Buffalo Linkstation LS-GL
  3. * (also known as Buffalo Linkstation Pro/Live)
  4. *
  5. * Copyright (C) 2016
  6. * Roger Shimizu <[email protected]>
  7. *
  8. * Based on the board file arch/arm/mach-orion5x/kurobox_pro-setup.c
  9. * Copyright (C) Ronen Shitrit <[email protected]>
  10. *
  11. * This file is dual-licensed: you can use it either under the terms
  12. * of the GPL or the X11 license, at your option. Note that this dual
  13. * licensing only applies to this file, and not this project as a
  14. * whole.
  15. *
  16. * a) This file is free software; you can redistribute it and/or
  17. * modify it under the terms of the GNU General Public License as
  18. * published by the Free Software Foundation; either version 2 of the
  19. * License, or (at your option) any later version.
  20. *
  21. * This file is distributed in the hope that it will be useful,
  22. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  23. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  24. * GNU General Public License for more details.
  25. *
  26. * Or, alternatively,
  27. *
  28. * b) Permission is hereby granted, free of charge, to any person
  29. * obtaining a copy of this software and associated documentation
  30. * files (the "Software"), to deal in the Software without
  31. * restriction, including without limitation the rights to use,
  32. * copy, modify, merge, publish, distribute, sublicense, and/or
  33. * sell copies of the Software, and to permit persons to whom the
  34. * Software is furnished to do so, subject to the following
  35. * conditions:
  36. *
  37. * The above copyright notice and this permission notice shall be
  38. * included in all copies or substantial portions of the Software.
  39. *
  40. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  41. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
  42. * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  43. * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
  44. * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
  45. * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  46. * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  47. * OTHER DEALINGS IN THE SOFTWARE.
  48. */
  49. /dts-v1/;
  50. #include "orion5x-linkstation.dtsi"
  51. #include <dt-bindings/gpio/gpio.h>
  52. / {
  53. model = "Buffalo Linkstation Pro/Live";
  54. compatible = "buffalo,lsgl", "marvell,orion5x-88f5182", "marvell,orion5x";
  55. memory { /* 128 MB */
  56. device_type = "memory";
  57. reg = <0x00000000 0x8000000>;
  58. };
  59. };
  60. &pinctrl {
  61. pmx_power_hdd: pmx-power-hdd {
  62. marvell,pins = "mpp1";
  63. marvell,function = "gpio";
  64. };
  65. pmx_power_usb: pmx-power-usb {
  66. marvell,pins = "mpp9";
  67. marvell,function = "gpio";
  68. };
  69. };
  70. &hdd_power {
  71. gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
  72. };
  73. &usb_power {
  74. gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
  75. };
  76. &sata {
  77. nr-ports = <2>;
  78. };
  79. &ehci1 {
  80. status = "okay";
  81. };