edison.dts 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. // SPDX-License-Identifier: GPL-2.0+
  2. /*
  3. * Copyright (c) 2017 Intel Corporation
  4. */
  5. /dts-v1/;
  6. #include <dt-bindings/gpio/x86-gpio.h>
  7. #include <dt-bindings/interrupt-router/intel-irq.h>
  8. /include/ "skeleton.dtsi"
  9. /include/ "rtc.dtsi"
  10. /include/ "tsc_timer.dtsi"
  11. / {
  12. model = "Intel Edison";
  13. compatible = "intel,edison";
  14. aliases {
  15. serial0 = &serial0;
  16. };
  17. chosen {
  18. stdout-path = &serial0;
  19. };
  20. cpus {
  21. #address-cells = <1>;
  22. #size-cells = <0>;
  23. cpu@0 {
  24. device_type = "cpu";
  25. compatible = "cpu-x86";
  26. reg = <0>;
  27. intel,apic-id = <0>;
  28. };
  29. cpu@1 {
  30. device_type = "cpu";
  31. compatible = "cpu-x86";
  32. reg = <1>;
  33. intel,apic-id = <2>;
  34. };
  35. };
  36. pci {
  37. compatible = "pci-x86";
  38. #address-cells = <3>;
  39. #size-cells = <2>;
  40. u-boot,dm-pre-reloc;
  41. ranges = <0x02000000 0x0 0x80000000 0x80000000 0 0x40000000
  42. 0x42000000 0x0 0xc0000000 0xc0000000 0 0x20000000
  43. 0x01000000 0x0 0x2000 0x2000 0 0xe000>;
  44. };
  45. serial0: serial@ff010180 {
  46. compatible = "intel,mid-uart";
  47. reg = <0xff010180 0x100>;
  48. reg-shift = <0>;
  49. clock-frequency = <29491200>;
  50. current-speed = <115200>;
  51. };
  52. emmc: mmc@ff3fc000 {
  53. compatible = "intel,sdhci-tangier";
  54. reg = <0xff3fc000 0x1000>;
  55. };
  56. /*
  57. * FIXME: For now U-Boot DM model doesn't allow to power up this controller.
  58. * Enabling it will make U-Boot hang.
  59. *
  60. sdcard: mmc@ff3fa000 {
  61. compatible = "intel,sdhci-tangier";
  62. reg = <0xff3fa000 0x1000>;
  63. };
  64. */
  65. pmu: power@ff00b000 {
  66. compatible = "intel,pmu-mid";
  67. reg = <0xff00b000 0x1000>;
  68. };
  69. scu: ipc@ff009000 {
  70. compatible = "intel,scu-ipc";
  71. reg = <0xff009000 0x1000>;
  72. };
  73. reset {
  74. compatible = "intel,reset-tangier";
  75. u-boot,dm-pre-reloc;
  76. };
  77. pinctrl {
  78. compatible = "intel,pinctrl-tangier";
  79. reg = <0xff0c0000 0x8000>;
  80. /*
  81. * Initial configuration came from the firmware.
  82. * Which quite likely has been used in the phones, where I2C #8,
  83. * that is not part of Atom peripheral, is in use.
  84. * Thus we need to override the leftover.
  85. */
  86. i2c6_scl@0 {
  87. pad-offset = <111>;
  88. mode-func = <1>;
  89. protected;
  90. };
  91. i2c6_sda@0 {
  92. pad-offset = <112>;
  93. mode-func = <1>;
  94. protected;
  95. };
  96. };
  97. };