kirkwood-ib62x0.dts 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. /dts-v1/;
  2. /include/ "kirkwood.dtsi"
  3. /include/ "kirkwood-6281.dtsi"
  4. / {
  5. model = "RaidSonic ICY BOX IB-NAS62x0 (Rev B)";
  6. compatible = "raidsonic,ib-nas6210-b", "raidsonic,ib-nas6220-b", "raidsonic,ib-nas6210", "raidsonic,ib-nas6220", "raidsonic,ib-nas62x0", "marvell,kirkwood-88f6281", "marvell,kirkwood";
  7. memory {
  8. device_type = "memory";
  9. reg = <0x00000000 0x10000000>;
  10. };
  11. chosen {
  12. bootargs = "console=ttyS0,115200n8 earlyprintk";
  13. };
  14. ocp@f1000000 {
  15. pinctrl: pinctrl@10000 {
  16. pinctrl-0 = < &pmx_nand
  17. &pmx_led_os_red &pmx_power_off
  18. &pmx_led_os_green &pmx_led_usb_transfer
  19. &pmx_button_reset &pmx_button_usb_copy >;
  20. pinctrl-names = "default";
  21. pmx_led_os_red: pmx-led-os-red {
  22. marvell,pins = "mpp22";
  23. marvell,function = "gpio";
  24. };
  25. pmx_power_off: pmx-power-off {
  26. marvell,pins = "mpp24";
  27. marvell,function = "gpio";
  28. };
  29. pmx_led_os_green: pmx-led-os-green {
  30. marvell,pins = "mpp25";
  31. marvell,function = "gpio";
  32. };
  33. pmx_led_usb_transfer: pmx-led-usb-transfer {
  34. marvell,pins = "mpp27";
  35. marvell,function = "gpio";
  36. };
  37. pmx_button_reset: pmx-button-reset {
  38. marvell,pins = "mpp28";
  39. marvell,function = "gpio";
  40. };
  41. pmx_button_usb_copy: pmx-button-usb-copy {
  42. marvell,pins = "mpp29";
  43. marvell,function = "gpio";
  44. };
  45. };
  46. serial@12000 {
  47. clock-frequency = <200000000>;
  48. status = "okay";
  49. };
  50. sata@80000 {
  51. status = "okay";
  52. nr-ports = <2>;
  53. };
  54. nand@3000000 {
  55. status = "okay";
  56. partition@0 {
  57. label = "u-boot";
  58. reg = <0x0000000 0x100000>;
  59. };
  60. partition@100000 {
  61. label = "uImage";
  62. reg = <0x0100000 0x600000>;
  63. };
  64. partition@700000 {
  65. label = "root";
  66. reg = <0x0700000 0xf900000>;
  67. };
  68. };
  69. };
  70. gpio_keys {
  71. compatible = "gpio-keys";
  72. #address-cells = <1>;
  73. #size-cells = <0>;
  74. button@1 {
  75. label = "USB Copy";
  76. linux,code = <133>;
  77. gpios = <&gpio0 29 1>;
  78. };
  79. button@2 {
  80. label = "Reset";
  81. linux,code = <0x198>;
  82. gpios = <&gpio0 28 1>;
  83. };
  84. };
  85. gpio-leds {
  86. compatible = "gpio-leds";
  87. green-os {
  88. label = "ib62x0:green:os";
  89. gpios = <&gpio0 25 0>;
  90. linux,default-trigger = "default-on";
  91. };
  92. red-os {
  93. label = "ib62x0:red:os";
  94. gpios = <&gpio0 22 0>;
  95. };
  96. usb-copy {
  97. label = "ib62x0:red:usb_copy";
  98. gpios = <&gpio0 27 0>;
  99. };
  100. };
  101. gpio_poweroff {
  102. compatible = "gpio-poweroff";
  103. gpios = <&gpio0 24 0>;
  104. };
  105. };