kirkwood-nas2big.dts 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Device Tree file for LaCie 2Big NAS
  4. *
  5. * Copyright (C) 2015 Seagate
  6. *
  7. * Author: Simon Guinot <[email protected]>
  8. *
  9. */
  10. /dts-v1/;
  11. #include "kirkwood-netxbig.dtsi"
  12. / {
  13. model = "LaCie 2Big NAS";
  14. compatible = "lacie,nas2big", "lacie,netxbig", "marvell,kirkwood-88f6282", "marvell,kirkwood";
  15. memory {
  16. device_type = "memory";
  17. reg = <0x00000000 0x10000000>;
  18. };
  19. chosen {
  20. bootargs = "console=ttyS0,115200n8";
  21. stdout-path = &uart0;
  22. };
  23. ocp@f1000000 {
  24. rtc@10300 {
  25. /* The on-chip RTC is not powered (no supercap). */
  26. status = "disabled";
  27. };
  28. spi@10600 {
  29. /*
  30. * A NAND flash is used instead of an SPI flash for
  31. * the other netxbig-compatible boards.
  32. */
  33. status = "disabled";
  34. };
  35. };
  36. fan {
  37. /*
  38. * An I2C fan controller (GMT G762) is used but alarm is
  39. * wired to a separate GPIO.
  40. */
  41. compatible = "gpio-fan";
  42. alarm-gpios = <&gpio0 25 GPIO_ACTIVE_LOW>;
  43. };
  44. regulators: regulators {
  45. status = "okay";
  46. compatible = "simple-bus";
  47. #address-cells = <1>;
  48. #size-cells = <0>;
  49. pinctrl-names = "default";
  50. regulator@2 {
  51. compatible = "regulator-fixed";
  52. reg = <2>;
  53. regulator-name = "hdd1power";
  54. regulator-min-microvolt = <5000000>;
  55. regulator-max-microvolt = <5000000>;
  56. enable-active-high;
  57. regulator-always-on;
  58. regulator-boot-on;
  59. gpio = <&gpio0 17 GPIO_ACTIVE_HIGH>;
  60. };
  61. clocks {
  62. g762_clk: g762-oscillator {
  63. compatible = "fixed-clock";
  64. #clock-cells = <0>;
  65. clock-frequency = <32768>;
  66. };
  67. };
  68. };
  69. };
  70. &mdio {
  71. status = "okay";
  72. ethphy0: ethernet-phy@0 {
  73. reg = <0>;
  74. };
  75. };
  76. &i2c0 {
  77. status = "okay";
  78. /*
  79. * An external I2C RTC (Dallas DS1337S+) is used. This allows
  80. * to power-up the board on an RTC alarm. The external RTC can
  81. * be kept powered, even when the SoC is off.
  82. */
  83. rtc@68 {
  84. compatible = "dallas,ds1307";
  85. reg = <0x68>;
  86. interrupts = <43>;
  87. };
  88. g762@3e {
  89. compatible = "gmt,g762";
  90. reg = <0x3e>;
  91. clocks = <&g762_clk>;
  92. };
  93. };
  94. &nand {
  95. chip-delay = <50>;
  96. status = "okay";
  97. partition@0 {
  98. label = "U-Boot";
  99. reg = <0x0 0x100000>;
  100. };
  101. partition@100000 {
  102. label = "uImage";
  103. reg = <0x100000 0x1000000>;
  104. };
  105. partition@1100000 {
  106. label = "root";
  107. reg = <0x1100000 0x8000000>;
  108. };
  109. partition@9100000 {
  110. label = "unused";
  111. reg = <0x9100000 0x6f00000>;
  112. };
  113. };
  114. &pciec {
  115. status = "okay";
  116. };
  117. &pcie0 {
  118. status = "okay";
  119. };