abilis_tb100_dvk.dts 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. /*
  2. * Abilis Systems TB100 Development Kit PCB device tree
  3. *
  4. * Copyright (C) Abilis Systems 2013
  5. *
  6. * Author: Christian Ruppert <christian.ruppert@abilis.com>
  7. *
  8. * This program is free software; you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License version 2 as
  10. * published by the Free Software Foundation.
  11. *
  12. * This program is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. * GNU General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU General Public License
  18. * along with this program; if not, write to the Free Software
  19. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  20. */
  21. /dts-v1/;
  22. /include/ "abilis_tb100.dtsi"
  23. / {
  24. model = "abilis,tb100";
  25. chosen {
  26. bootargs = "earlycon=uart8250,mmio32,0xff100000,9600n8 console=ttyS0,9600n8";
  27. };
  28. aliases { };
  29. memory {
  30. device_type = "memory";
  31. reg = <0x80000000 0x08000000>; /* 128M */
  32. };
  33. soc100 {
  34. uart@FF100000 {
  35. pinctrl-names = "default";
  36. pinctrl-0 = <&pctl_uart0>;
  37. };
  38. ethernet@FE100000 {
  39. phy-mode = "rgmii";
  40. };
  41. i2c0: i2c@FF120000 {
  42. i2c-sda-hold-time-ns = <432>;
  43. };
  44. i2c1: i2c@FF121000 {
  45. i2c-sda-hold-time-ns = <432>;
  46. };
  47. i2c2: i2c@FF122000 {
  48. i2c-sda-hold-time-ns = <432>;
  49. };
  50. i2c3: i2c@FF123000 {
  51. i2c-sda-hold-time-ns = <432>;
  52. };
  53. i2c4: i2c@FF124000 {
  54. i2c-sda-hold-time-ns = <432>;
  55. };
  56. leds {
  57. compatible = "gpio-leds";
  58. power {
  59. label = "Power";
  60. gpios = <&gpioi 0 0>;
  61. linux,default-trigger = "default-on";
  62. };
  63. heartbeat {
  64. label = "Heartbeat";
  65. gpios = <&gpioi 1 0>;
  66. linux,default-trigger = "heartbeat";
  67. };
  68. led2 {
  69. label = "LED2";
  70. gpios = <&gpioi 2 0>;
  71. default-state = "off";
  72. };
  73. led3 {
  74. label = "LED3";
  75. gpios = <&gpioi 3 0>;
  76. default-state = "off";
  77. };
  78. led4 {
  79. label = "LED4";
  80. gpios = <&gpioi 4 0>;
  81. default-state = "off";
  82. };
  83. led5 {
  84. label = "LED5";
  85. gpios = <&gpioi 5 0>;
  86. default-state = "off";
  87. };
  88. led6 {
  89. label = "LED6";
  90. gpios = <&gpioi 6 0>;
  91. default-state = "off";
  92. };
  93. led7 {
  94. label = "LED7";
  95. gpios = <&gpioi 7 0>;
  96. default-state = "off";
  97. };
  98. led8 {
  99. label = "LED8";
  100. gpios = <&gpioi 8 0>;
  101. default-state = "off";
  102. };
  103. led9 {
  104. label = "LED9";
  105. gpios = <&gpioi 9 0>;
  106. default-state = "off";
  107. };
  108. led10 {
  109. label = "LED10";
  110. gpios = <&gpioi 10 0>;
  111. default-state = "off";
  112. };
  113. led11 {
  114. label = "LED11";
  115. gpios = <&gpioi 11 0>;
  116. default-state = "off";
  117. };
  118. };
  119. };
  120. };