kirkwood-dnskw.dtsi 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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. chip-delay = <35>;
  42. partition@0 {
  43. label = "u-boot";
  44. reg = <0x0000000 0x100000>;
  45. read-only;
  46. };
  47. partition@100000 {
  48. label = "uImage";
  49. reg = <0x0100000 0x500000>;
  50. };
  51. partition@600000 {
  52. label = "ramdisk";
  53. reg = <0x0600000 0x500000>;
  54. };
  55. partition@b00000 {
  56. label = "image";
  57. reg = <0x0b00000 0x6600000>;
  58. };
  59. partition@7100000 {
  60. label = "mini firmware";
  61. reg = <0x7100000 0xa00000>;
  62. };
  63. partition@7b00000 {
  64. label = "config";
  65. reg = <0x7b00000 0x500000>;
  66. };
  67. };
  68. };
  69. };