rk3066a-bqcurie2.dts 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. /*
  2. * Copyright (c) 2013 MundoReader S.L.
  3. * Author: Heiko Stuebner <heiko@sntech.de>
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published by
  7. * the Free Software Foundation; either version 2 of the License, or
  8. * (at your option) any later version.
  9. *
  10. * This program is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. */
  15. /dts-v1/;
  16. #include "rk3066a.dtsi"
  17. / {
  18. model = "bq Curie 2";
  19. memory {
  20. reg = <0x60000000 0x40000000>;
  21. };
  22. soc {
  23. uart0: serial@10124000 {
  24. status = "okay";
  25. };
  26. uart1: serial@10126000 {
  27. status = "okay";
  28. };
  29. uart2: serial@20064000 {
  30. pinctrl-names = "default";
  31. pinctrl-0 = <&uart2_xfer>;
  32. status = "okay";
  33. };
  34. uart3: serial@20068000 {
  35. status = "okay";
  36. };
  37. vcc_sd0: fixed-regulator {
  38. compatible = "regulator-fixed";
  39. regulator-name = "sdmmc-supply";
  40. regulator-min-microvolt = <3000000>;
  41. regulator-max-microvolt = <3000000>;
  42. gpio = <&gpio3 7 GPIO_ACTIVE_LOW>;
  43. startup-delay-us = <100000>;
  44. };
  45. dwmmc@10214000 { /* sdmmc */
  46. num-slots = <1>;
  47. status = "okay";
  48. pinctrl-names = "default";
  49. pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_cd &sd0_bus4>;
  50. vmmc-supply = <&vcc_sd0>;
  51. slot@0 {
  52. reg = <0>;
  53. bus-width = <4>;
  54. disable-wp;
  55. };
  56. };
  57. dwmmc@10218000 { /* wifi */
  58. num-slots = <1>;
  59. status = "okay";
  60. non-removable;
  61. pinctrl-names = "default";
  62. pinctrl-0 = <&sd1_clk &sd1_cmd &sd1_bus4>;
  63. slot@0 {
  64. reg = <0>;
  65. bus-width = <4>;
  66. disable-wp;
  67. };
  68. };
  69. gpio-keys {
  70. compatible = "gpio-keys";
  71. #address-cells = <1>;
  72. #size-cells = <0>;
  73. autorepeat;
  74. button@0 {
  75. gpios = <&gpio6 2 GPIO_ACTIVE_LOW>; /* GPIO6_A2 */
  76. linux,code = <116>;
  77. label = "GPIO Key Power";
  78. linux,input-type = <1>;
  79. gpio-key,wakeup = <1>;
  80. debounce-interval = <100>;
  81. };
  82. button@1 {
  83. gpios = <&gpio4 21 GPIO_ACTIVE_LOW>; /* GPIO4_C5 */
  84. linux,code = <104>;
  85. label = "GPIO Key Vol-";
  86. linux,input-type = <1>;
  87. gpio-key,wakeup = <0>;
  88. debounce-interval = <100>;
  89. };
  90. /* VOL+ comes somehow thru the ADC */
  91. };
  92. };
  93. };