orion5x-lacie-ethernet-disk-mini-v2.dts 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /*
  2. * Copyright (C) 2012 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  3. *
  4. * This file is licensed under the terms of the GNU General Public
  5. * License version 2. This program is licensed "as is" without any
  6. * warranty of any kind, whether express or implied.
  7. */
  8. /dts-v1/;
  9. /include/ "orion5x.dtsi"
  10. / {
  11. model = "LaCie Ethernet Disk mini V2";
  12. compatible = "lacie,ethernet-disk-mini-v2", "marvell-orion5x-88f5182", "marvell,orion5x";
  13. memory {
  14. reg = <0x00000000 0x4000000>; /* 64 MB */
  15. };
  16. chosen {
  17. bootargs = "console=ttyS0,115200n8 earlyprintk";
  18. };
  19. ocp@f1000000 {
  20. serial@12000 {
  21. clock-frequency = <166666667>;
  22. status = "okay";
  23. };
  24. sata@80000 {
  25. status = "okay";
  26. nr-ports = <2>;
  27. };
  28. };
  29. gpio_keys {
  30. compatible = "gpio-keys";
  31. #address-cells = <1>;
  32. #size-cells = <0>;
  33. button@1 {
  34. label = "Power-on Switch";
  35. linux,code = <116>; /* KEY_POWER */
  36. gpios = <&gpio0 18 0>;
  37. };
  38. };
  39. gpio_leds {
  40. compatible = "gpio-leds";
  41. led@1 {
  42. label = "power:blue";
  43. gpios = <&gpio0 16 1>;
  44. };
  45. };
  46. };