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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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. };
  47. &mdio {
  48. status = "okay";
  49. ethphy: ethernet-phy {
  50. device-type = "ethernet-phy";
  51. reg = <8>;
  52. };
  53. };
  54. &eth {
  55. status = "okay";
  56. ethernet-port@0 {
  57. phy-handle = <&ethphy>;
  58. };
  59. };