kirkwood-nsa310a.dts 2.2 KB

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