kirkwood-ib62x0.dts 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. /dts-v1/;
  2. /include/ "kirkwood.dtsi"
  3. / {
  4. model = "RaidSonic ICY BOX IB-NAS62x0 (Rev B)";
  5. compatible = "raidsonic,ib-nas6210-b", "raidsonic,ib-nas6220-b", "raidsonic,ib-nas6210", "raidsonic,ib-nas6220", "raidsonic,ib-nas62x0", "marvell,kirkwood-88f6281", "marvell,kirkwood";
  6. memory {
  7. device_type = "memory";
  8. reg = <0x00000000 0x10000000>;
  9. };
  10. chosen {
  11. bootargs = "console=ttyS0,115200n8 earlyprintk";
  12. };
  13. ocp@f1000000 {
  14. serial@12000 {
  15. clock-frequency = <200000000>;
  16. status = "okay";
  17. };
  18. sata@80000 {
  19. status = "okay";
  20. nr-ports = <2>;
  21. };
  22. nand@3000000 {
  23. status = "okay";
  24. partition@0 {
  25. label = "u-boot";
  26. reg = <0x0000000 0x100000>;
  27. };
  28. partition@100000 {
  29. label = "uImage";
  30. reg = <0x0100000 0x600000>;
  31. };
  32. partition@700000 {
  33. label = "root";
  34. reg = <0x0700000 0xf900000>;
  35. };
  36. };
  37. };
  38. gpio_keys {
  39. compatible = "gpio-keys";
  40. #address-cells = <1>;
  41. #size-cells = <0>;
  42. button@1 {
  43. label = "USB Copy";
  44. linux,code = <133>;
  45. gpios = <&gpio0 29 1>;
  46. };
  47. button@2 {
  48. label = "Reset";
  49. linux,code = <0x198>;
  50. gpios = <&gpio0 28 1>;
  51. };
  52. };
  53. gpio-leds {
  54. compatible = "gpio-leds";
  55. green-os {
  56. label = "ib62x0:green:os";
  57. gpios = <&gpio0 25 0>;
  58. linux,default-trigger = "default-on";
  59. };
  60. red-os {
  61. label = "ib62x0:red:os";
  62. gpios = <&gpio0 22 0>;
  63. };
  64. usb-copy {
  65. label = "ib62x0:red:usb_copy";
  66. gpios = <&gpio0 27 0>;
  67. };
  68. };
  69. };