kirkwood-net2big.dts 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Device Tree file for LaCie 2Big Network v2
  4. *
  5. * Copyright (C) 2014
  6. *
  7. * Andrew Lunn <[email protected]>
  8. *
  9. * Based on netxbig_v2-setup.c,
  10. * Copyright (C) 2010 Simon Guinot <[email protected]>
  11. *
  12. */
  13. /dts-v1/;
  14. #include "kirkwood.dtsi"
  15. #include "kirkwood-6281.dtsi"
  16. #include "kirkwood-netxbig.dtsi"
  17. / {
  18. model = "LaCie 2Big Network v2";
  19. compatible = "lacie,net2big_v2", "lacie,netxbig", "marvell,kirkwood-88f6281", "marvell,kirkwood";
  20. memory {
  21. device_type = "memory";
  22. reg = <0x00000000 0x10000000>;
  23. };
  24. fan {
  25. compatible = "gpio-fan";
  26. alarm-gpios = <&gpio0 25 GPIO_ACTIVE_LOW>;
  27. };
  28. };
  29. &regulators {
  30. regulator@2 {
  31. compatible = "regulator-fixed";
  32. reg = <2>;
  33. regulator-name = "hdd1power";
  34. regulator-min-microvolt = <5000000>;
  35. regulator-max-microvolt = <5000000>;
  36. enable-active-high;
  37. regulator-always-on;
  38. regulator-boot-on;
  39. gpio = <&gpio0 17 GPIO_ACTIVE_HIGH>;
  40. };
  41. clocks {
  42. g762_clk: g762-oscillator {
  43. compatible = "fixed-clock";
  44. #clock-cells = <0>;
  45. clock-frequency = <32768>;
  46. };
  47. };
  48. };
  49. &i2c0 {
  50. g762@3e {
  51. compatible = "gmt,g762";
  52. reg = <0x3e>;
  53. clocks = <&g762_clk>;
  54. };
  55. };