snowball.dts 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. /*
  2. * Copyright 2011 ST-Ericsson AB
  3. *
  4. * The code contained herein is licensed under the GNU General Public
  5. * License. You may obtain a copy of the GNU General Public License
  6. * Version 2 or later at the following locations:
  7. *
  8. * http://www.opensource.org/licenses/gpl-license.html
  9. * http://www.gnu.org/copyleft/gpl.html
  10. */
  11. /dts-v1/;
  12. /include/ "db8500.dtsi"
  13. / {
  14. model = "Calao Systems Snowball platform with device tree";
  15. compatible = "calaosystems,snowball-a9500";
  16. memory {
  17. reg = <0x00000000 0x20000000>;
  18. };
  19. gpio_keys {
  20. compatible = "gpio-keys";
  21. #address-cells = <1>;
  22. #size-cells = <0>;
  23. button@1 {
  24. debounce_interval = <50>;
  25. wakeup = <1>;
  26. linux,code = <2>;
  27. label = "userpb";
  28. gpios = <&gpio1 0 0>;
  29. };
  30. button@2 {
  31. debounce_interval = <50>;
  32. wakeup = <1>;
  33. linux,code = <3>;
  34. label = "extkb1";
  35. gpios = <&gpio4 23 0>;
  36. };
  37. button@3 {
  38. debounce_interval = <50>;
  39. wakeup = <1>;
  40. linux,code = <4>;
  41. label = "extkb2";
  42. gpios = <&gpio4 24 0>;
  43. };
  44. button@4 {
  45. debounce_interval = <50>;
  46. wakeup = <1>;
  47. linux,code = <5>;
  48. label = "extkb3";
  49. gpios = <&gpio5 1 0>;
  50. };
  51. button@5 {
  52. debounce_interval = <50>;
  53. wakeup = <1>;
  54. linux,code = <6>;
  55. label = "extkb4";
  56. gpios = <&gpio5 2 0>;
  57. };
  58. };
  59. leds {
  60. compatible = "gpio-leds";
  61. used-led {
  62. label = "user_led";
  63. gpios = <&gpio4 14>;
  64. };
  65. };
  66. soc-u9500 {
  67. external-bus@50000000 {
  68. status = "okay";
  69. ethernet@0 {
  70. compatible = "smsc,lan9115";
  71. reg = <0 0x10000>;
  72. interrupts = <12 0x1>;
  73. interrupt-parent = <&gpio4>;
  74. reg-shift = <1>;
  75. reg-io-width = <2>;
  76. smsc,force-internal-phy;
  77. smsc,irq-active-high;
  78. smsc,irq-push-pull;
  79. };
  80. };
  81. sdi@80126000 {
  82. status = "enabled";
  83. cd-gpios = <&gpio6 26>;
  84. };
  85. sdi@80114000 {
  86. status = "enabled";
  87. };
  88. uart@80120000 {
  89. status = "okay";
  90. };
  91. uart@80121000 {
  92. status = "okay";
  93. };
  94. uart@80007000 {
  95. status = "okay";
  96. };
  97. i2c@80004000 {
  98. tc3589x@42 {
  99. //compatible = "tc3589x";
  100. reg = <0x42>;
  101. interrupts = <25>;
  102. interrupt-parent = <&gpio6>;
  103. };
  104. tps61052@33 {
  105. //compatible = "tps61052";
  106. reg = <0x33>;
  107. };
  108. };
  109. i2c@80128000 {
  110. lp5521@0x33 {
  111. // compatible = "lp5521";
  112. reg = <0x33>;
  113. };
  114. lp5521@0x34 {
  115. // compatible = "lp5521";
  116. reg = <0x34>;
  117. };
  118. bh1780@0x29 {
  119. // compatible = "rohm,bh1780gli";
  120. reg = <0x33>;
  121. };
  122. };
  123. };
  124. };