Advertisement
Guest User

Untitled

a guest
Jun 8th, 2017
155
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /dts-v1/;
  2.  
  3. #include "WRTNODE2.dtsi"
  4.  
  5. / {
  6. compatible = "mediatek,wrtnode2p", "mediatek,mt7628an-soc";
  7. model = "WRTnode2P";
  8.  
  9. gpio-leds {
  10. compatible = "gpio-leds";
  11.  
  12. indicator {
  13. label = "wrtnode:blue:indicator";
  14. gpios = <&gpio1 9 1>;
  15. };
  16.  
  17. wled {
  18. label = "wrtnode:blue:wled";
  19. gpios = <&gpio1 12 0>;
  20. };
  21. };
  22. };
  23.  
  24. &uart1 {
  25. status = "disabled";
  26. };
  27.  
  28. &uart2 {
  29. status = "disabled";
  30. };
  31.  
  32. &pinctrl {
  33. state_default: pinctrl0 {
  34. gpio {
  35. ralink,group = "gpio";
  36. ralink,function = "gpio";
  37. };
  38.  
  39. uart1 {
  40. ralink,group = "uart1";
  41. ralink,function = "gpio";
  42. };
  43.  
  44. uart2 {
  45. ralink,group = "uart2";
  46. ralink,function = "gpio";
  47. };
  48.  
  49.  
  50. wled_an {
  51. ralink,group = "wled_an";
  52. ralink,function = "gpio";
  53. };
  54.  
  55. pwm0 {
  56. ralink,group = "pwm0";
  57. ralink,function = "gpio";
  58. };
  59.  
  60. pwm1 {
  61. ralink,group = "pwm1";
  62. ralink,function = "gpio";
  63. };
  64.  
  65. p0led_an {
  66. ralink,group = "p0led_an";
  67. ralink,function = "p0led_an";
  68. };
  69.  
  70. p1led_an {
  71. ralink,group = "p1led_an";
  72. ralink,function = "p1led_an";
  73. };
  74.  
  75. p2led_an {
  76. ralink,group = "p2led_an";
  77. ralink,function = "gpio";
  78. };
  79.  
  80. p3led_an {
  81. ralink,group = "p3led_an";
  82. ralink,function = "gpio";
  83. };
  84.  
  85. p4led_an {
  86. ralink,group = "p4led_an";
  87. ralink,function = "gpio";
  88. };
  89. };
  90. };
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement