kirkwood-ns2max.dts 877 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /dts-v1/;
  2. #include "kirkwood-ns2-common.dtsi"
  3. / {
  4. model = "LaCie Network Space Max v2";
  5. compatible = "lacie,netspace_max_v2", "marvell,kirkwood-88f6281", "marvell,kirkwood";
  6. memory {
  7. device_type = "memory";
  8. reg = <0x00000000 0x10000000>;
  9. };
  10. ocp@f1000000 {
  11. sata@80000 {
  12. pinctrl-0 = <&pmx_ns2_sata0 &pmx_ns2_sata1>;
  13. pinctrl-names = "default";
  14. status = "okay";
  15. nr-ports = <2>;
  16. };
  17. };
  18. gpio_fan {
  19. compatible = "gpio-fan";
  20. gpios = <&gpio0 22 1
  21. &gpio0 7 1
  22. &gpio1 1 1
  23. &gpio0 23 1>;
  24. gpio-fan,speed-map =
  25. < 0 0
  26. 1500 15
  27. 1700 14
  28. 1800 13
  29. 2100 12
  30. 3100 11
  31. 3300 10
  32. 4300 9
  33. 5500 8>;
  34. alarm-gpios = <&gpio0 25 1>;
  35. };
  36. ns2-leds {
  37. compatible = "lacie,ns2-leds";
  38. blue-sata {
  39. label = "ns2:blue:sata";
  40. slow-gpio = <&gpio0 29 0>;
  41. cmd-gpio = <&gpio0 30 0>;
  42. };
  43. };
  44. };
  45. &ethphy0 { reg = <8>; };