amd-seattle-xgbe-b.dtsi 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * DTS file for AMD Seattle XGBE (RevB)
  4. *
  5. * Copyright (C) 2015 Advanced Micro Devices, Inc.
  6. */
  7. xgmacclk0_dma_250mhz: clk250mhz_0 {
  8. compatible = "fixed-clock";
  9. #clock-cells = <0>;
  10. clock-frequency = <250000000>;
  11. clock-output-names = "xgmacclk0_dma_250mhz";
  12. };
  13. xgmacclk0_ptp_250mhz: clk250mhz_1 {
  14. compatible = "fixed-clock";
  15. #clock-cells = <0>;
  16. clock-frequency = <250000000>;
  17. clock-output-names = "xgmacclk0_ptp_250mhz";
  18. };
  19. xgmacclk1_dma_250mhz: clk250mhz_2 {
  20. compatible = "fixed-clock";
  21. #clock-cells = <0>;
  22. clock-frequency = <250000000>;
  23. clock-output-names = "xgmacclk1_dma_250mhz";
  24. };
  25. xgmacclk1_ptp_250mhz: clk250mhz_3 {
  26. compatible = "fixed-clock";
  27. #clock-cells = <0>;
  28. clock-frequency = <250000000>;
  29. clock-output-names = "xgmacclk1_ptp_250mhz";
  30. };
  31. xgmac0: xgmac@e0700000 {
  32. compatible = "amd,xgbe-seattle-v1a";
  33. reg = <0 0xe0700000 0 0x80000>,
  34. <0 0xe0780000 0 0x80000>,
  35. <0 0xe1240800 0 0x00400>, /* SERDES RX/TX0 */
  36. <0 0xe1250000 0 0x00060>, /* SERDES IR 1/2 */
  37. <0 0xe12500f8 0 0x00004>; /* SERDES IR 2/2 */
  38. interrupts = <0 325 4>,
  39. <0 346 1>, <0 347 1>, <0 348 1>, <0 349 1>,
  40. <0 323 4>;
  41. amd,per-channel-interrupt;
  42. amd,speed-set = <0>;
  43. amd,serdes-blwc = <1>, <1>, <0>;
  44. amd,serdes-cdr-rate = <2>, <2>, <7>;
  45. amd,serdes-pq-skew = <10>, <10>, <18>;
  46. amd,serdes-tx-amp = <0>, <0>, <0>;
  47. amd,serdes-dfe-tap-config = <3>, <3>, <3>;
  48. amd,serdes-dfe-tap-enable = <0>, <0>, <7>;
  49. mac-address = [ 02 A1 A2 A3 A4 A5 ];
  50. clocks = <&xgmacclk0_dma_250mhz>, <&xgmacclk0_ptp_250mhz>;
  51. clock-names = "dma_clk", "ptp_clk";
  52. phy-mode = "xgmii";
  53. #stream-id-cells = <16>;
  54. dma-coherent;
  55. };
  56. xgmac1: xgmac@e0900000 {
  57. compatible = "amd,xgbe-seattle-v1a";
  58. reg = <0 0xe0900000 0 0x80000>,
  59. <0 0xe0980000 0 0x80000>,
  60. <0 0xe1240c00 0 0x00400>, /* SERDES RX/TX1 */
  61. <0 0xe1250080 0 0x00060>, /* SERDES IR 1/2 */
  62. <0 0xe12500fc 0 0x00004>; /* SERDES IR 2/2 */
  63. interrupts = <0 324 4>,
  64. <0 341 1>, <0 342 1>, <0 343 1>, <0 344 1>,
  65. <0 322 4>;
  66. amd,per-channel-interrupt;
  67. amd,speed-set = <0>;
  68. amd,serdes-blwc = <1>, <1>, <0>;
  69. amd,serdes-cdr-rate = <2>, <2>, <7>;
  70. amd,serdes-pq-skew = <10>, <10>, <18>;
  71. amd,serdes-tx-amp = <0>, <0>, <0>;
  72. amd,serdes-dfe-tap-config = <3>, <3>, <3>;
  73. amd,serdes-dfe-tap-enable = <0>, <0>, <7>;
  74. mac-address = [ 02 B1 B2 B3 B4 B5 ];
  75. clocks = <&xgmacclk1_dma_250mhz>, <&xgmacclk1_ptp_250mhz>;
  76. clock-names = "dma_clk", "ptp_clk";
  77. phy-mode = "xgmii";
  78. #stream-id-cells = <16>;
  79. dma-coherent;
  80. };
  81. xgmac0_smmu: smmu@e0600000 {
  82. compatible = "arm,mmu-401";
  83. reg = <0 0xe0600000 0 0x10000>;
  84. #global-interrupts = <1>;
  85. interrupts = /* Uses combined intr for both
  86. * global and context
  87. */
  88. <0 336 4>,
  89. <0 336 4>;
  90. mmu-masters = <&xgmac0
  91. 0 1 2 3 4 5 6 7
  92. 16 17 18 19 20 21 22 23
  93. >;
  94. };
  95. xgmac1_smmu: smmu@e0800000 {
  96. compatible = "arm,mmu-401";
  97. reg = <0 0xe0800000 0 0x10000>;
  98. #global-interrupts = <1>;
  99. interrupts = /* Uses combined intr for both
  100. * global and context
  101. */
  102. <0 335 4>,
  103. <0 335 4>;
  104. mmu-masters = <&xgmac1
  105. 0 1 2 3 4 5 6 7
  106. 16 17 18 19 20 21 22 23
  107. >;
  108. };