exynos4412-odroidu3.dts 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. /*
  2. * Hardkernel's Exynos4412 based ODROID-U3 board device tree source
  3. *
  4. * Copyright (c) 2014 Marek Szyprowski <m.szyprowski@samsung.com>
  5. *
  6. * Device tree source file for Hardkernel's ODROID-U3 board which is based
  7. * on Samsung's Exynos4412 SoC.
  8. *
  9. * This program is free software; you can redistribute it and/or modify
  10. * it under the terms of the GNU General Public License version 2 as
  11. * published by the Free Software Foundation.
  12. */
  13. /dts-v1/;
  14. #include "exynos4412-odroid-common.dtsi"
  15. #include "exynos4412-prime.dtsi"
  16. / {
  17. model = "Hardkernel ODROID-U3 board based on Exynos4412";
  18. compatible = "hardkernel,odroid-u3", "samsung,exynos4412", "samsung,exynos4";
  19. memory@40000000 {
  20. device_type = "memory";
  21. reg = <0x40000000 0x7FF00000>;
  22. };
  23. leds {
  24. compatible = "gpio-leds";
  25. led1 {
  26. label = "led1:heart";
  27. gpios = <&gpc1 0 GPIO_ACTIVE_LOW>;
  28. default-state = "on";
  29. linux,default-trigger = "heartbeat";
  30. };
  31. };
  32. fan0: pwm-fan {
  33. compatible = "pwm-fan";
  34. pwms = <&pwm 0 10000 0>;
  35. cooling-min-state = <0>;
  36. cooling-max-state = <3>;
  37. #cooling-cells = <2>;
  38. cooling-levels = <0 102 170 230>;
  39. };
  40. thermal-zones {
  41. cpu_thermal: cpu-thermal {
  42. cooling-maps {
  43. map0 {
  44. trip = <&cpu_alert1>;
  45. cooling-device = <&cpu0 9 9>;
  46. };
  47. map1 {
  48. trip = <&cpu_alert2>;
  49. cooling-device = <&cpu0 15 15>;
  50. };
  51. map2 {
  52. trip = <&cpu_alert0>;
  53. cooling-device = <&fan0 0 1>;
  54. };
  55. map3 {
  56. trip = <&cpu_alert1>;
  57. cooling-device = <&fan0 1 2>;
  58. };
  59. map4 {
  60. trip = <&cpu_alert2>;
  61. cooling-device = <&fan0 2 3>;
  62. };
  63. };
  64. };
  65. };
  66. };
  67. /* Supply for LAN9730/SMSC95xx */
  68. &buck8_reg {
  69. regulator-name = "BUCK8_P3V3";
  70. regulator-min-microvolt = <3300000>;
  71. regulator-max-microvolt = <3300000>;
  72. };
  73. /* VDDQ for MSHC (eMMC card) */
  74. &ldo22_reg {
  75. regulator-name = "LDO22_VDDQ_MMC4_2.8V";
  76. regulator-min-microvolt = <2800000>;
  77. regulator-max-microvolt = <2800000>;
  78. };
  79. &mshc_0 {
  80. vqmmc-supply = <&ldo22_reg>;
  81. };
  82. &pwm {
  83. pinctrl-0 = <&pwm0_out>;
  84. pinctrl-names = "default";
  85. samsung,pwm-outputs = <0>;
  86. status = "okay";
  87. };
  88. &usb3503 {
  89. clock-names = "refclk";
  90. clocks = <&pmu_system_controller 0>;
  91. refclk-frequency = <24000000>;
  92. };
  93. &ehci {
  94. port@1 {
  95. status = "okay";
  96. };
  97. port@2 {
  98. status = "okay";
  99. };
  100. };
  101. &sound {
  102. simple-audio-card,name = "Odroid-U3";
  103. simple-audio-card,widgets =
  104. "Headphone", "Headphone Jack",
  105. "Speakers", "Speakers";
  106. simple-audio-card,routing =
  107. "Headphone Jack", "HPL",
  108. "Headphone Jack", "HPR",
  109. "Headphone Jack", "MICBIAS",
  110. "IN1", "Headphone Jack",
  111. "Speakers", "SPKL",
  112. "Speakers", "SPKR";
  113. };
  114. &spi_1 {
  115. pinctrl-names = "default";
  116. pinctrl-0 = <&spi1_bus>;
  117. cs-gpios = <&gpb 5 GPIO_ACTIVE_HIGH>;
  118. status = "okay";
  119. };