kirkwood-dnskw.dtsi 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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. ocp@f1000000 {
  26. sata@80000 {
  27. status = "okay";
  28. nr-ports = <2>;
  29. };
  30. nand@3000000 {
  31. status = "okay";
  32. partition@0 {
  33. label = "u-boot";
  34. reg = <0x0000000 0x100000>;
  35. read-only;
  36. };
  37. partition@100000 {
  38. label = "uImage";
  39. reg = <0x0100000 0x500000>;
  40. };
  41. partition@600000 {
  42. label = "ramdisk";
  43. reg = <0x0600000 0x500000>;
  44. };
  45. partition@b00000 {
  46. label = "image";
  47. reg = <0x0b00000 0x6600000>;
  48. };
  49. partition@7100000 {
  50. label = "mini firmware";
  51. reg = <0x7100000 0xa00000>;
  52. };
  53. partition@7b00000 {
  54. label = "config";
  55. reg = <0x7b00000 0x500000>;
  56. };
  57. };
  58. };
  59. };