kirkwood-nsa310a.dts 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. /dts-v1/;
  2. #include "kirkwood-nsa3x0-common.dtsi"
  3. /*
  4. * There are at least two different NSA310 designs. This variant does
  5. * not have the red USB Led.
  6. */
  7. / {
  8. compatible = "zyxel,nsa310a", "zyxel,nsa310", "marvell,kirkwood-88f6281", "marvell,kirkwood";
  9. memory {
  10. device_type = "memory";
  11. reg = <0x00000000 0x10000000>;
  12. };
  13. chosen {
  14. bootargs = "console=ttyS0,115200";
  15. stdout-path = &uart0;
  16. };
  17. ocp@f1000000 {
  18. pinctrl: pin-controller@10000 {
  19. pinctrl-names = "default";
  20. pmx_led_esata_green: pmx-led-esata-green {
  21. marvell,pins = "mpp12";
  22. marvell,function = "gpio";
  23. };
  24. pmx_led_esata_red: pmx-led-esata-red {
  25. marvell,pins = "mpp13";
  26. marvell,function = "gpio";
  27. };
  28. pmx_led_usb_green: pmx-led-usb-green {
  29. marvell,pins = "mpp15";
  30. marvell,function = "gpio";
  31. };
  32. pmx_led_sys_green: pmx-led-sys-green {
  33. marvell,pins = "mpp28";
  34. marvell,function = "gpio";
  35. };
  36. pmx_led_sys_red: pmx-led-sys-red {
  37. marvell,pins = "mpp29";
  38. marvell,function = "gpio";
  39. };
  40. pmx_led_hdd_green: pmx-led-hdd-green {
  41. marvell,pins = "mpp41";
  42. marvell,function = "gpio";
  43. };
  44. pmx_led_hdd_red: pmx-led-hdd-red {
  45. marvell,pins = "mpp42";
  46. marvell,function = "gpio";
  47. };
  48. };
  49. i2c@11000 {
  50. status = "okay";
  51. lm85: lm85@2e {
  52. compatible = "national,lm85";
  53. reg = <0x2e>;
  54. };
  55. };
  56. };
  57. gpio-leds {
  58. compatible = "gpio-leds";
  59. green-sys {
  60. label = "nsa310:green:sys";
  61. gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>;
  62. };
  63. red-sys {
  64. label = "nsa310:red:sys";
  65. gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>;
  66. };
  67. green-hdd {
  68. label = "nsa310:green:hdd";
  69. gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
  70. };
  71. red-hdd {
  72. label = "nsa310:red:hdd";
  73. gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
  74. };
  75. green-esata {
  76. label = "nsa310:green:esata";
  77. gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
  78. };
  79. red-esata {
  80. label = "nsa310:red:esata";
  81. gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
  82. };
  83. green-usb {
  84. label = "nsa310:green:usb";
  85. gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
  86. };
  87. green-copy {
  88. label = "nsa310:green:copy";
  89. gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
  90. };
  91. red-copy {
  92. label = "nsa310:red:copy";
  93. gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
  94. };
  95. };
  96. };