Advertisement
Guest User

ix2-200 dts config file

a guest
Aug 10th, 2012
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. /dts-v1/;
  2.  
  3. /include/ "kirkwood.dtsi"
  4.  
  5. / {
  6. model = "Iomega Ix2-200";
  7. compatible = "iom,ix2-200", "marvell,kirkwood-88f6281", "marvell,kirkwood";
  8.  
  9. memory {
  10. device_type = "memory";
  11. reg = <0x00000000 0x10000000>;
  12. };
  13.  
  14. chosen {
  15. bootargs = "console=ttyS0,115200n8 earlyprintk root=LABEL=ROOTFS rootdelay=10";
  16. };
  17.  
  18. ocp@f1000000 {
  19. i2c@11000 {
  20. status = "okay";
  21.  
  22. lm63: lm63@4c {
  23. compatible = "national,lm63";
  24. reg = <0x4c>;
  25. };
  26. };
  27.  
  28. serial@12000 {
  29. clock-frequency = <200000000>;
  30. status = "ok";
  31. };
  32.  
  33. nand@3000000 {
  34. status = "okay";
  35.  
  36. partition@100000 {
  37. label = "uImage";
  38. reg = <0x100000 0x300000>;
  39. read-only;
  40. };
  41.  
  42. partition@400000 {
  43. label = "uInitrd";
  44. reg = <0x0400000 0x400000>;
  45. };
  46. };
  47. sata@80000 {
  48. status = "okay";
  49. nr-ports = <2>;
  50. };
  51.  
  52. };
  53. gpio-leds {
  54. compatible = "gpio-leds";
  55.  
  56. power_led {
  57. label = "status:white:power_led";
  58. gpios = <&gpio0 16 0>;
  59. linux,default-trigger = "default-on";
  60. };
  61. rebuild_led {
  62. label = "status:blue:rebuild_led";
  63. gpios = <&gpio1 5 0>;
  64. };
  65. health_led {
  66. label = "status:red:health_led";
  67. gpios = <&gpio1 6 0>;
  68. };
  69. backup_led {
  70. label = "status:white:backup_led";
  71. gpios = <&gpio0 15 0>;
  72. };
  73. };
  74.  
  75. gpio_keys {
  76. compatible = "gpio-keys";
  77. #address-cells = <1>;
  78. #size-cells = <0>;
  79. reset@1 {
  80. label = "Reset";
  81. linux,code = <0x00>;
  82. gpios = <&gpio0 12 1>;
  83. };
  84. power@2 {
  85. label = "Power";
  86. linux,code = <0x01>;
  87. gpios = <&gpio0 14 1>;
  88. };
  89. otb@3 {
  90. label = "OTB";
  91. linux,code = <0x02>;
  92. gpios = <&gpio1 4 1>;
  93. };
  94.  
  95. };
  96.  
  97. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement