snowball.dts 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  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>;
  29. };
  30. button@2 {
  31. debounce_interval = <50>;
  32. wakeup = <1>;
  33. linux,code = <3>;
  34. label = "userpb";
  35. gpios = <&gpio4 23>;
  36. };
  37. button@3 {
  38. debounce_interval = <50>;
  39. wakeup = <1>;
  40. linux,code = <4>;
  41. label = "userpb";
  42. gpios = <&gpio4 23>;
  43. };
  44. button@4 {
  45. debounce_interval = <50>;
  46. wakeup = <1>;
  47. linux,code = <5>;
  48. label = "userpb";
  49. gpios = <&gpio5 1>;
  50. };
  51. button@5 {
  52. debounce_interval = <50>;
  53. wakeup = <1>;
  54. linux,code = <6>;
  55. label = "userpb";
  56. gpios = <&gpio5 2>;
  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. compatible = "simple-bus";
  69. reg = <0x50000000 0x10000000>;
  70. #address-cells = <1>;
  71. #size-cells = <1>;
  72. ranges;
  73. ethernet@50000000 {
  74. compatible = "smsc,9111";
  75. reg = <0x50000000 0x10000>;
  76. interrupts = <12>;
  77. interrupt-parent = <&gpio4>;
  78. };
  79. };
  80. sdi@80126000 {
  81. status = "enabled";
  82. cd-gpios = <&gpio6 26>;
  83. };
  84. sdi@80114000 {
  85. status = "enabled";
  86. };
  87. uart@80120000 {
  88. status = "okay";
  89. };
  90. uart@80121000 {
  91. status = "okay";
  92. };
  93. uart@80007000 {
  94. status = "okay";
  95. };
  96. i2c@80004000 {
  97. tc3589x@42 {
  98. //compatible = "tc3589x";
  99. reg = <0x42>;
  100. interrupts = <25>;
  101. interrupt-parent = <&gpio6>;
  102. };
  103. tps61052@33 {
  104. //compatible = "tps61052";
  105. reg = <0x33>;
  106. };
  107. };
  108. i2c@80128000 {
  109. lp5521@0x33 {
  110. // compatible = "lp5521";
  111. reg = <0x33>;
  112. };
  113. lp5521@0x34 {
  114. // compatible = "lp5521";
  115. reg = <0x34>;
  116. };
  117. bh1780@0x29 {
  118. // compatible = "rohm,bh1780gli";
  119. reg = <0x33>;
  120. };
  121. };
  122. };
  123. };