exynos4412-odroidx.dts 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. /*
  2. * Hardkernel's Exynos4412 based ODROID-X board device tree source
  3. *
  4. * Copyright (c) 2012 Dongjin Kim <tobetter@gmail.com>
  5. *
  6. * Device tree source file for Hardkernel's ODROID-X 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. / {
  16. model = "Hardkernel ODROID-X board based on Exynos4412";
  17. compatible = "hardkernel,odroid-x", "samsung,exynos4412", "samsung,exynos4";
  18. memory {
  19. reg = <0x40000000 0x3FF00000>;
  20. };
  21. leds {
  22. compatible = "gpio-leds";
  23. led1 {
  24. label = "led1:heart";
  25. gpios = <&gpc1 0 1>;
  26. default-state = "on";
  27. linux,default-trigger = "heartbeat";
  28. };
  29. led2 {
  30. label = "led2:mmc0";
  31. gpios = <&gpc1 2 1>;
  32. default-state = "on";
  33. linux,default-trigger = "mmc0";
  34. };
  35. };
  36. serial@13820000 {
  37. status = "okay";
  38. };
  39. serial@13830000 {
  40. status = "okay";
  41. };
  42. gpio_keys {
  43. pinctrl-0 = <&gpio_power_key &gpio_home_key>;
  44. home_key {
  45. interrupt-parent = <&gpx2>;
  46. interrupts = <2 0>;
  47. gpios = <&gpx2 2 0>;
  48. linux,code = <KEY_HOME>;
  49. label = "home key";
  50. debounce-interval = <10>;
  51. gpio-key,wakeup;
  52. };
  53. };
  54. regulator_p3v3 {
  55. compatible = "regulator-fixed";
  56. regulator-name = "p3v3_en";
  57. regulator-min-microvolt = <3300000>;
  58. regulator-max-microvolt = <3300000>;
  59. gpio = <&gpa1 1 1>;
  60. enable-active-high;
  61. regulator-always-on;
  62. };
  63. };
  64. &ehci {
  65. port@1 {
  66. status = "okay";
  67. };
  68. };
  69. &pinctrl_1 {
  70. gpio_home_key: home_key {
  71. samsung,pins = "gpx2-2";
  72. samsung,pin-pud = <0>;
  73. };
  74. };