kirkwood-net2big.dts 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. /*
  2. * Device Tree file for LaCie 2Big 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 2Big Network v2";
  21. compatible = "lacie,net2big_v2", "lacie,netxbig", "marvell,kirkwood-88f6281", "marvell,kirkwood";
  22. memory {
  23. device_type = "memory";
  24. reg = <0x00000000 0x10000000>;
  25. };
  26. fan {
  27. compatible = "gpio-fan";
  28. alarm-gpios = <&gpio0 25 GPIO_ACTIVE_LOW>;
  29. };
  30. };
  31. &regulators {
  32. regulator@2 {
  33. compatible = "regulator-fixed";
  34. reg = <2>;
  35. regulator-name = "hdd1power";
  36. regulator-min-microvolt = <5000000>;
  37. regulator-max-microvolt = <5000000>;
  38. enable-active-high;
  39. regulator-always-on;
  40. regulator-boot-on;
  41. gpio = <&gpio0 17 GPIO_ACTIVE_HIGH>;
  42. };
  43. clocks {
  44. g762_clk: g762-oscillator {
  45. compatible = "fixed-clock";
  46. #clock-cells = <0>;
  47. clock-frequency = <32768>;
  48. };
  49. };
  50. };
  51. &i2c0 {
  52. g762@3e {
  53. compatible = "gmt,g762";
  54. reg = <0x3e>;
  55. clocks = <&g762_clk>;
  56. };
  57. };