intel-ixp42x-gateway-7001.dts 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. // SPDX-License-Identifier: ISC
  2. /*
  3. * Device Tree file for Gateway 7001 AP based on IXP422
  4. * Derived from boardfiles written by Imre Kaloz
  5. */
  6. /dts-v1/;
  7. #include "intel-ixp42x.dtsi"
  8. #include <dt-bindings/input/input.h>
  9. / {
  10. model = "Gateway 7001 AP";
  11. compatible = "gateway,7001", "intel,ixp42x";
  12. #address-cells = <1>;
  13. #size-cells = <1>;
  14. memory@0 {
  15. /* 32 MB SDRAM */
  16. device_type = "memory";
  17. reg = <0x00000000 0x2000000>;
  18. };
  19. chosen {
  20. bootargs = "console=ttyS0,115200n8";
  21. stdout-path = "uart1:115200n8";
  22. };
  23. aliases {
  24. /* second UART is the primary console */
  25. serial0 = &uart1;
  26. };
  27. soc {
  28. bus@c4000000 {
  29. flash@0,0 {
  30. compatible = "intel,ixp4xx-flash", "cfi-flash";
  31. bank-width = <2>;
  32. /*
  33. * 8 MB of flash
  34. */
  35. reg = <0 0x00000000 0x800000>;
  36. /* Configure expansion bus to allow writes */
  37. intel,ixp4xx-eb-write-enable = <1>;
  38. partitions {
  39. compatible = "redboot-fis";
  40. /* Eraseblock at 0x7e0000 */
  41. fis-index-block = <0x3f>;
  42. };
  43. };
  44. };
  45. pci@c0000000 {
  46. status = "ok";
  47. /*
  48. * Taken from Gateway 7001 PCI boardfile (gateway7001-pci.c)
  49. * We have slots (IDSEL) 1 and 2 with one assigned IRQ
  50. * each handling all IRQs.
  51. */
  52. interrupt-map =
  53. /* IDSEL 1 */
  54. <0x0800 0 0 1 &gpio0 11 IRQ_TYPE_LEVEL_LOW>, /* INT A on slot 1 is irq 11 */
  55. <0x0800 0 0 2 &gpio0 11 IRQ_TYPE_LEVEL_LOW>, /* INT B on slot 1 is irq 11 */
  56. <0x0800 0 0 3 &gpio0 11 IRQ_TYPE_LEVEL_LOW>, /* INT C on slot 1 is irq 11 */
  57. <0x0800 0 0 4 &gpio0 11 IRQ_TYPE_LEVEL_LOW>, /* INT D on slot 1 is irq 11 */
  58. /* IDSEL 2 */
  59. <0x1000 0 0 1 &gpio0 10 IRQ_TYPE_LEVEL_LOW>, /* INT A on slot 2 is irq 10 */
  60. <0x1000 0 0 2 &gpio0 10 IRQ_TYPE_LEVEL_LOW>, /* INT B on slot 2 is irq 10 */
  61. <0x1000 0 0 3 &gpio0 10 IRQ_TYPE_LEVEL_LOW>, /* INT C on slot 2 is irq 10 */
  62. <0x1000 0 0 4 &gpio0 10 IRQ_TYPE_LEVEL_LOW>; /* INT D on slot 2 is irq 10 */
  63. };
  64. ethernet@c8009000 {
  65. status = "ok";
  66. queue-rx = <&qmgr 3>;
  67. queue-txready = <&qmgr 20>;
  68. phy-mode = "rgmii";
  69. phy-handle = <&phy1>;
  70. mdio {
  71. #address-cells = <1>;
  72. #size-cells = <0>;
  73. phy1: ethernet-phy@1 {
  74. reg = <1>;
  75. };
  76. };
  77. };
  78. ethernet@c800a000 {
  79. status = "ok";
  80. queue-rx = <&qmgr 4>;
  81. queue-txready = <&qmgr 21>;
  82. phy-mode = "rgmii";
  83. phy-handle = <&phy2>;
  84. mdio {
  85. #address-cells = <1>;
  86. #size-cells = <0>;
  87. phy2: ethernet-phy@2 {
  88. reg = <2>;
  89. };
  90. };
  91. };
  92. };
  93. };