kirkwood-dns320.dts 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. /dts-v1/;
  2. /include/ "kirkwood.dtsi"
  3. / {
  4. model = "D-Link DNS-320 NAS (Rev A1)";
  5. compatible = "dlink,dns-320-a1", "dlink,dns-320", "dlink,dns-kirkwood", "marvell,kirkwood-88f6281", "marvell,kirkwood";
  6. memory {
  7. device_type = "memory";
  8. reg = <0x00000000 0x8000000>;
  9. };
  10. chosen {
  11. bootargs = "console=ttyS0,115200n8 earlyprintk";
  12. };
  13. gpio-leds {
  14. compatible = "gpio-leds";
  15. blue-power {
  16. label = "dns320:blue:power";
  17. gpios = <&gpio0 26 1>; /* GPIO 26 Active Low */
  18. linux,default-trigger = "default-on";
  19. };
  20. blue-usb {
  21. label = "dns320:blue:usb";
  22. gpios = <&gpio1 11 1>; /* GPIO 43 Active Low */
  23. };
  24. orange-l_hdd {
  25. label = "dns320:orange:l_hdd";
  26. gpios = <&gpio0 28 1>; /* GPIO 28 Active Low */
  27. };
  28. orange-r_hdd {
  29. label = "dns320:orange:r_hdd";
  30. gpios = <&gpio0 27 1>; /* GPIO 27 Active Low */
  31. };
  32. orange-usb {
  33. label = "dns320:orange:usb";
  34. gpios = <&gpio1 3 1>; /* GPIO 35 Active Low */
  35. };
  36. };
  37. ocp@f1000000 {
  38. serial@12000 {
  39. clock-frequency = <166666667>;
  40. status = "okay";
  41. };
  42. serial@12100 {
  43. clock-frequency = <166666667>;
  44. status = "okay";
  45. };
  46. sata@80000 {
  47. status = "okay";
  48. nr-ports = <2>;
  49. };
  50. nand@3000000 {
  51. status = "okay";
  52. partition@0 {
  53. label = "u-boot";
  54. reg = <0x0000000 0x100000>;
  55. read-only;
  56. };
  57. partition@100000 {
  58. label = "uImage";
  59. reg = <0x0100000 0x500000>;
  60. };
  61. partition@600000 {
  62. label = "ramdisk";
  63. reg = <0x0600000 0x500000>;
  64. };
  65. partition@b00000 {
  66. label = "image";
  67. reg = <0x0b00000 0x6600000>;
  68. };
  69. partition@7100000 {
  70. label = "mini firmware";
  71. reg = <0x7100000 0xa00000>;
  72. };
  73. partition@7b00000 {
  74. label = "config";
  75. reg = <0x7b00000 0x500000>;
  76. };
  77. };
  78. };
  79. };