exynos4412-odroidu3.dts 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Hardkernel's Exynos4412 based ODROID-U3 board device tree source
  4. *
  5. * Copyright (c) 2014 Marek Szyprowski <[email protected]>
  6. *
  7. * Device tree source file for Hardkernel's ODROID-U3 board which is based
  8. * on Samsung's Exynos4412 SoC.
  9. */
  10. /dts-v1/;
  11. #include <dt-bindings/leds/common.h>
  12. #include "exynos4412-odroid-common.dtsi"
  13. #include "exynos4412-prime.dtsi"
  14. / {
  15. model = "Hardkernel ODROID-U3 board based on Exynos4412";
  16. compatible = "hardkernel,odroid-u3", "samsung,exynos4412", "samsung,exynos4";
  17. aliases {
  18. ethernet = &ethernet;
  19. };
  20. memory@40000000 {
  21. device_type = "memory";
  22. reg = <0x40000000 0x7FF00000>;
  23. };
  24. vbus_otg_reg: regulator-1 {
  25. compatible = "regulator-fixed";
  26. regulator-name = "VBUS_VDD_5.0V";
  27. regulator-min-microvolt = <5000000>;
  28. regulator-max-microvolt = <5000000>;
  29. gpio = <&gpl2 0 GPIO_ACTIVE_HIGH>;
  30. enable-active-high;
  31. };
  32. leds {
  33. compatible = "gpio-leds";
  34. led1 {
  35. function = LED_FUNCTION_HEARTBEAT;
  36. color = <LED_COLOR_ID_BLUE>;
  37. gpios = <&gpc1 0 GPIO_ACTIVE_LOW>;
  38. default-state = "on";
  39. linux,default-trigger = "heartbeat";
  40. };
  41. };
  42. fan0: pwm-fan {
  43. compatible = "pwm-fan";
  44. pwms = <&pwm 0 10000 0>;
  45. #cooling-cells = <2>;
  46. cooling-levels = <0 102 170 230>;
  47. };
  48. };
  49. &adc {
  50. vdd-supply = <&ldo10_reg>;
  51. /* Nothing connected to ADC inputs, keep it disabled */
  52. };
  53. /* Supply for LAN9730/SMSC95xx */
  54. &buck8_reg {
  55. regulator-name = "BUCK8_P3V3";
  56. regulator-min-microvolt = <3300000>;
  57. regulator-max-microvolt = <3300000>;
  58. };
  59. &cpu_thermal {
  60. cooling-maps {
  61. map0 {
  62. trip = <&cpu_alert1>;
  63. cooling-device = <&cpu0 9 9>, <&cpu1 9 9>,
  64. <&cpu2 9 9>, <&cpu3 9 9>,
  65. <&fan0 1 2>;
  66. };
  67. map1 {
  68. trip = <&cpu_alert2>;
  69. cooling-device = <&cpu0 15 15>, <&cpu1 15 15>,
  70. <&cpu2 15 15>, <&cpu3 15 15>,
  71. <&fan0 2 3>;
  72. };
  73. map2 {
  74. trip = <&cpu_alert0>;
  75. cooling-device = <&fan0 0 1>;
  76. };
  77. };
  78. };
  79. &hdmicec {
  80. needs-hpd;
  81. };
  82. /* VDDQ for MSHC (eMMC card) */
  83. &ldo22_reg {
  84. regulator-name = "LDO22_VDDQ_MMC4_2.8V";
  85. regulator-min-microvolt = <2800000>;
  86. regulator-max-microvolt = <2800000>;
  87. };
  88. &mshc_0 {
  89. vqmmc-supply = <&ldo22_reg>;
  90. };
  91. &pwm {
  92. pinctrl-0 = <&pwm0_out>;
  93. pinctrl-names = "default";
  94. samsung,pwm-outputs = <0>;
  95. status = "okay";
  96. };
  97. &usb3503 {
  98. clock-names = "refclk";
  99. clocks = <&pmu_system_controller 0>;
  100. refclk-frequency = <24000000>;
  101. };
  102. &ehci {
  103. #address-cells = <1>;
  104. #size-cells = <0>;
  105. phys = <&exynos_usbphy 2>, <&exynos_usbphy 3>;
  106. phy-names = "hsic0", "hsic1";
  107. ethernet: ethernet@2 {
  108. compatible = "usb424,9730";
  109. reg = <2>;
  110. local-mac-address = [00 00 00 00 00 00]; /* Filled in by a bootloader */
  111. };
  112. };
  113. &hsotg {
  114. dr_mode = "otg";
  115. vbus-supply = <&vbus_otg_reg>;
  116. };
  117. &sound {
  118. model = "Odroid-U3";
  119. samsung,audio-widgets =
  120. "Headphone", "Headphone Jack",
  121. "Speakers", "Speakers";
  122. samsung,audio-routing =
  123. "Headphone Jack", "HPL",
  124. "Headphone Jack", "HPR",
  125. "Headphone Jack", "MICBIAS",
  126. "IN1", "Headphone Jack",
  127. "Speakers", "SPKL",
  128. "Speakers", "SPKR";
  129. };
  130. &spi_1 {
  131. pinctrl-names = "default";
  132. pinctrl-0 = <&spi1_bus>;
  133. cs-gpios = <&gpb 5 GPIO_ACTIVE_HIGH>;
  134. status = "okay";
  135. };