exynos4412-odroidx.dts 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Hardkernel's Exynos4412 based ODROID-X board device tree source
  4. *
  5. * Copyright (c) 2012 Dongjin Kim <[email protected]>
  6. *
  7. * Device tree source file for Hardkernel's ODROID-X 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. / {
  14. model = "Hardkernel ODROID-X board based on Exynos4412";
  15. compatible = "hardkernel,odroid-x", "samsung,exynos4412", "samsung,exynos4";
  16. aliases {
  17. ethernet = &ethernet;
  18. };
  19. memory@40000000 {
  20. device_type = "memory";
  21. reg = <0x40000000 0x3FF00000>;
  22. };
  23. leds {
  24. compatible = "gpio-leds";
  25. led1 {
  26. function = LED_FUNCTION_HEARTBEAT;
  27. color = <LED_COLOR_ID_BLUE>;
  28. gpios = <&gpc1 0 GPIO_ACTIVE_LOW>;
  29. default-state = "on";
  30. linux,default-trigger = "heartbeat";
  31. };
  32. led2 {
  33. label = "led2:mmc0";
  34. function = LED_FUNCTION_DISK_ACTIVITY;
  35. gpios = <&gpc1 2 GPIO_ACTIVE_LOW>;
  36. default-state = "on";
  37. linux,default-trigger = "mmc0";
  38. };
  39. };
  40. regulator-1 {
  41. compatible = "regulator-fixed";
  42. regulator-name = "p3v3_en";
  43. regulator-min-microvolt = <3300000>;
  44. regulator-max-microvolt = <3300000>;
  45. gpio = <&gpa1 1 GPIO_ACTIVE_HIGH>;
  46. enable-active-high;
  47. regulator-always-on;
  48. };
  49. };
  50. &adc {
  51. vdd-supply = <&ldo10_reg>;
  52. status = "okay";
  53. };
  54. /* VDDQ for MSHC (eMMC card) */
  55. &buck8_reg {
  56. regulator-name = "BUCK8_VDDQ_MMC4_2.8V";
  57. regulator-min-microvolt = <2800000>;
  58. regulator-max-microvolt = <2800000>;
  59. };
  60. &ehci {
  61. #address-cells = <1>;
  62. #size-cells = <0>;
  63. phys = <&exynos_usbphy 2>;
  64. phy-names = "hsic0";
  65. hub@2 {
  66. compatible = "usb424,3503";
  67. reg = <2>;
  68. #address-cells = <1>;
  69. #size-cells = <0>;
  70. hub@1 {
  71. compatible = "usb424,9514";
  72. reg = <1>;
  73. #address-cells = <1>;
  74. #size-cells = <0>;
  75. ethernet: ethernet@1 {
  76. compatible = "usb424,ec00";
  77. reg = <1>;
  78. /* Filled in by a bootloader */
  79. local-mac-address = [00 00 00 00 00 00];
  80. };
  81. };
  82. };
  83. };
  84. &gpio_keys {
  85. pinctrl-0 = <&gpio_power_key &gpio_home_key>;
  86. home-key {
  87. gpios = <&gpx2 2 GPIO_ACTIVE_HIGH>;
  88. linux,code = <KEY_HOME>;
  89. label = "home key";
  90. debounce-interval = <10>;
  91. wakeup-source;
  92. };
  93. };
  94. &hsotg {
  95. dr_mode = "peripheral";
  96. };
  97. &mshc_0 {
  98. vqmmc-supply = <&buck8_reg>;
  99. };
  100. &pinctrl_1 {
  101. gpio_home_key: home-key-pins {
  102. samsung,pins = "gpx2-2";
  103. samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
  104. };
  105. };
  106. &serial_2 {
  107. status = "okay";
  108. };
  109. &serial_3 {
  110. status = "okay";
  111. };
  112. &sound {
  113. model = "Odroid-X";
  114. samsung,audio-widgets =
  115. "Headphone", "Headphone Jack",
  116. "Microphone", "Mic Jack",
  117. "Microphone", "DMIC";
  118. samsung,audio-routing =
  119. "Headphone Jack", "HPL",
  120. "Headphone Jack", "HPR",
  121. "IN1", "Mic Jack",
  122. "Mic Jack", "MICBIAS";
  123. };