kirkwood-dnskw.dtsi 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. /include/ "kirkwood.dtsi"
  2. / {
  3. model = "D-Link DNS NASes (kirkwood-based)";
  4. compatible = "dlink,dns-kirkwood", "marvell,kirkwood-88f6281", "marvell,kirkwood";
  5. gpio_keys {
  6. compatible = "gpio-keys";
  7. #address-cells = <1>;
  8. #size-cells = <0>;
  9. button@1 {
  10. label = "Power button";
  11. linux,code = <116>;
  12. gpios = <&gpio1 2 1>;
  13. };
  14. button@2 {
  15. label = "USB unmount button";
  16. linux,code = <161>;
  17. gpios = <&gpio1 15 1>;
  18. };
  19. button@3 {
  20. label = "Reset button";
  21. linux,code = <0x198>;
  22. gpios = <&gpio1 16 1>;
  23. };
  24. };
  25. gpio_fan {
  26. /* Fan: ADDA AD045HB-G73 40mm 6000rpm@5v */
  27. compatible = "gpio-fan";
  28. gpios = <&gpio1 14 1
  29. &gpio1 13 1>;
  30. gpio-fan,speed-map = <0 0
  31. 3000 1
  32. 6000 2>;
  33. };
  34. ocp@f1000000 {
  35. sata@80000 {
  36. status = "okay";
  37. nr-ports = <2>;
  38. };
  39. nand@3000000 {
  40. status = "okay";
  41. partition@0 {
  42. label = "u-boot";
  43. reg = <0x0000000 0x100000>;
  44. read-only;
  45. };
  46. partition@100000 {
  47. label = "uImage";
  48. reg = <0x0100000 0x500000>;
  49. };
  50. partition@600000 {
  51. label = "ramdisk";
  52. reg = <0x0600000 0x500000>;
  53. };
  54. partition@b00000 {
  55. label = "image";
  56. reg = <0x0b00000 0x6600000>;
  57. };
  58. partition@7100000 {
  59. label = "mini firmware";
  60. reg = <0x7100000 0xa00000>;
  61. };
  62. partition@7b00000 {
  63. label = "config";
  64. reg = <0x7b00000 0x500000>;
  65. };
  66. };
  67. };
  68. };