kirkwood-net5big.dts 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. /*
  2. * Device Tree file for LaCie 5Big Network v2
  3. *
  4. * Copyright (C) 2014
  5. *
  6. * Andrew Lunn <andrew@lunn.ch>
  7. *
  8. * Based on netxbig_v2-setup.c,
  9. * Copyright (C) 2010 Simon Guinot <sguinot@lacie.com>
  10. *
  11. * This file is licensed under the terms of the GNU General Public
  12. * License version 2. This program is licensed "as is" without any
  13. * warranty of any kind, whether express or implied.
  14. */
  15. /dts-v1/;
  16. #include "kirkwood.dtsi"
  17. #include "kirkwood-6281.dtsi"
  18. #include "kirkwood-netxbig.dtsi"
  19. / {
  20. model = "LaCie 5Big Network v2";
  21. compatible = "lacie,net5big_v2", "lacie,netxbig", "marvell,kirkwood-88f6281", "marvell,kirkwood";
  22. memory {
  23. device_type = "memory";
  24. reg = <0x00000000 0x20000000>;
  25. };
  26. };
  27. &regulators {
  28. regulator@2 {
  29. compatible = "regulator-fixed";
  30. reg = <2>;
  31. regulator-name = "hdd1power";
  32. regulator-min-microvolt = <5000000>;
  33. regulator-max-microvolt = <5000000>;
  34. enable-active-high;
  35. regulator-always-on;
  36. regulator-boot-on;
  37. gpio = <&gpio0 17 GPIO_ACTIVE_HIGH>;
  38. };
  39. regulator@3 {
  40. compatible = "regulator-fixed";
  41. reg = <3>;
  42. regulator-name = "hdd2power";
  43. regulator-min-microvolt = <5000000>;
  44. regulator-max-microvolt = <5000000>;
  45. enable-active-high;
  46. regulator-always-on;
  47. regulator-boot-on;
  48. gpio = <&gpio1 9 GPIO_ACTIVE_HIGH>;
  49. };
  50. regulator@4 {
  51. compatible = "regulator-fixed";
  52. reg = <4>;
  53. regulator-name = "hdd3power";
  54. regulator-min-microvolt = <5000000>;
  55. regulator-max-microvolt = <5000000>;
  56. enable-active-high;
  57. regulator-always-on;
  58. regulator-boot-on;
  59. gpio = <&gpio1 10 GPIO_ACTIVE_HIGH>;
  60. };
  61. regulator@5 {
  62. compatible = "regulator-fixed";
  63. reg = <5>;
  64. regulator-name = "hdd4power";
  65. regulator-min-microvolt = <5000000>;
  66. regulator-max-microvolt = <5000000>;
  67. enable-active-high;
  68. regulator-always-on;
  69. regulator-boot-on;
  70. gpio = <&gpio1 11 GPIO_ACTIVE_HIGH>;
  71. };
  72. clocks {
  73. g762_clk: g762-oscillator {
  74. compatible = "fixed-clock";
  75. #clock-cells = <0>;
  76. clock-frequency = <32768>;
  77. };
  78. };
  79. };
  80. &mdio {
  81. ethphy1: ethernet-phy@1 {
  82. reg = <0>;
  83. };
  84. };
  85. &eth1 {
  86. status = "okay";
  87. ethernet1-port@0 {
  88. phy-handle = <&ethphy1>;
  89. };
  90. };
  91. &i2c0 {
  92. g762@3e {
  93. compatible = "gmt,g762";
  94. reg = <0x3e>;
  95. clocks = <&g762_clk>;
  96. };
  97. };