keystone-k2e.dtsi 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. /*
  2. * Copyright 2013-2014 Texas Instruments, Inc.
  3. *
  4. * Keystone 2 Edison soc device tree
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License version 2 as
  8. * published by the Free Software Foundation.
  9. */
  10. / {
  11. cpus {
  12. #address-cells = <1>;
  13. #size-cells = <0>;
  14. interrupt-parent = <&gic>;
  15. cpu@0 {
  16. compatible = "arm,cortex-a15";
  17. device_type = "cpu";
  18. reg = <0>;
  19. };
  20. cpu@1 {
  21. compatible = "arm,cortex-a15";
  22. device_type = "cpu";
  23. reg = <1>;
  24. };
  25. cpu@2 {
  26. compatible = "arm,cortex-a15";
  27. device_type = "cpu";
  28. reg = <2>;
  29. };
  30. cpu@3 {
  31. compatible = "arm,cortex-a15";
  32. device_type = "cpu";
  33. reg = <3>;
  34. };
  35. };
  36. soc {
  37. /include/ "keystone-k2e-clocks.dtsi"
  38. usb: usb@2680000 {
  39. interrupts = <GIC_SPI 152 IRQ_TYPE_EDGE_RISING>;
  40. dwc3@2690000 {
  41. interrupts = <GIC_SPI 152 IRQ_TYPE_EDGE_RISING>;
  42. };
  43. };
  44. usb1_phy: usb_phy@2620750 {
  45. compatible = "ti,keystone-usbphy";
  46. #address-cells = <1>;
  47. #size-cells = <1>;
  48. reg = <0x2620750 24>;
  49. status = "disabled";
  50. };
  51. usb1: usb@25000000 {
  52. compatible = "ti,keystone-dwc3";
  53. #address-cells = <1>;
  54. #size-cells = <1>;
  55. reg = <0x25000000 0x10000>;
  56. clocks = <&clkusb1>;
  57. clock-names = "usb";
  58. interrupts = <GIC_SPI 414 IRQ_TYPE_EDGE_RISING>;
  59. ranges;
  60. dma-coherent;
  61. dma-ranges;
  62. status = "disabled";
  63. dwc3@25010000 {
  64. compatible = "synopsys,dwc3";
  65. reg = <0x25010000 0x70000>;
  66. interrupts = <GIC_SPI 414 IRQ_TYPE_EDGE_RISING>;
  67. usb-phy = <&usb1_phy>, <&usb1_phy>;
  68. };
  69. };
  70. dspgpio0: keystone_dsp_gpio@02620240 {
  71. compatible = "ti,keystone-dsp-gpio";
  72. gpio-controller;
  73. #gpio-cells = <2>;
  74. gpio,syscon-dev = <&devctrl 0x240>;
  75. };
  76. pcie1: pcie@21020000 {
  77. compatible = "ti,keystone-pcie","snps,dw-pcie";
  78. clocks = <&clkpcie1>;
  79. clock-names = "pcie";
  80. #address-cells = <3>;
  81. #size-cells = <2>;
  82. reg = <0x21021000 0x2000>, <0x21020000 0x1000>, <0x02620128 4>;
  83. ranges = <0x81000000 0 0 0x23260000 0x4000 0x4000
  84. 0x82000000 0 0x60000000 0x60000000 0 0x10000000>;
  85. status = "disabled";
  86. device_type = "pci";
  87. num-lanes = <2>;
  88. #interrupt-cells = <1>;
  89. interrupt-map-mask = <0 0 0 7>;
  90. interrupt-map = <0 0 0 1 &pcie_intc1 0>, /* INT A */
  91. <0 0 0 2 &pcie_intc1 1>, /* INT B */
  92. <0 0 0 3 &pcie_intc1 2>, /* INT C */
  93. <0 0 0 4 &pcie_intc1 3>; /* INT D */
  94. pcie_msi_intc1: msi-interrupt-controller {
  95. interrupt-controller;
  96. #interrupt-cells = <1>;
  97. interrupt-parent = <&gic>;
  98. interrupts = <GIC_SPI 377 IRQ_TYPE_EDGE_RISING>,
  99. <GIC_SPI 378 IRQ_TYPE_EDGE_RISING>,
  100. <GIC_SPI 379 IRQ_TYPE_EDGE_RISING>,
  101. <GIC_SPI 380 IRQ_TYPE_EDGE_RISING>,
  102. <GIC_SPI 381 IRQ_TYPE_EDGE_RISING>,
  103. <GIC_SPI 382 IRQ_TYPE_EDGE_RISING>,
  104. <GIC_SPI 383 IRQ_TYPE_EDGE_RISING>,
  105. <GIC_SPI 384 IRQ_TYPE_EDGE_RISING>;
  106. };
  107. pcie_intc1: legacy-interrupt-controller {
  108. interrupt-controller;
  109. #interrupt-cells = <1>;
  110. interrupt-parent = <&gic>;
  111. interrupts = <GIC_SPI 373 IRQ_TYPE_EDGE_RISING>,
  112. <GIC_SPI 374 IRQ_TYPE_EDGE_RISING>,
  113. <GIC_SPI 375 IRQ_TYPE_EDGE_RISING>,
  114. <GIC_SPI 376 IRQ_TYPE_EDGE_RISING>;
  115. };
  116. };
  117. mdio: mdio@24200f00 {
  118. compatible = "ti,keystone_mdio", "ti,davinci_mdio";
  119. #address-cells = <1>;
  120. #size-cells = <0>;
  121. reg = <0x24200f00 0x100>;
  122. status = "disabled";
  123. clocks = <&clkcpgmac>;
  124. clock-names = "fck";
  125. bus_freq = <2500000>;
  126. };
  127. /include/ "keystone-k2e-netcp.dtsi"
  128. };
  129. };