EASY50712.dts 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. /dts-v1/;
  2. /include/ "danube.dtsi"
  3. / {
  4. chosen {
  5. bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
  6. };
  7. memory@0 {
  8. reg = <0x0 0x2000000>;
  9. };
  10. fpi@10000000 {
  11. #address-cells = <1>;
  12. #size-cells = <1>;
  13. localbus@0 {
  14. #address-cells = <2>;
  15. #size-cells = <1>;
  16. ranges = <0 0 0x0 0x3ffffff /* addrsel0 */
  17. 1 0 0x4000000 0x4000010>; /* addsel1 */
  18. compatible = "lantiq,localbus", "simple-bus";
  19. nor-boot@0 {
  20. compatible = "lantiq,nor";
  21. bank-width = <2>;
  22. reg = <0 0x0 0x2000000>;
  23. #address-cells = <1>;
  24. #size-cells = <1>;
  25. partitions {
  26. compatible = "fixed-partitions";
  27. #address-cells = <1>;
  28. #size-cells = <1>;
  29. partition@0 {
  30. label = "uboot";
  31. reg = <0x00000 0x10000>; /* 64 KB */
  32. };
  33. partition@10000 {
  34. label = "uboot_env";
  35. reg = <0x10000 0x10000>; /* 64 KB */
  36. };
  37. partition@20000 {
  38. label = "firmware";
  39. reg = <0x20000 0x3d0000>;
  40. };
  41. partition@400000 {
  42. label = "rootfs";
  43. reg = <0x400000 0x400000>;
  44. };
  45. };
  46. };
  47. };
  48. gpio: pinmux@E100B10 {
  49. compatible = "lantiq,pinctrl-xway";
  50. pinctrl-names = "default";
  51. pinctrl-0 = <&state_default>;
  52. #gpio-cells = <2>;
  53. gpio-controller;
  54. reg = <0xE100B10 0xA0>;
  55. state_default: pinmux {
  56. stp {
  57. lantiq,groups = "stp";
  58. lantiq,function = "stp";
  59. };
  60. exin {
  61. lantiq,groups = "exin1";
  62. lantiq,function = "exin";
  63. };
  64. pci {
  65. lantiq,groups = "gnt1";
  66. lantiq,function = "pci";
  67. };
  68. conf_out {
  69. lantiq,pins = "io4", "io5", "io6"; /* stp */
  70. lantiq,open-drain;
  71. lantiq,pull = <0>;
  72. };
  73. };
  74. };
  75. etop@E180000 {
  76. compatible = "lantiq,etop-xway";
  77. reg = <0xE180000 0x40000>;
  78. interrupt-parent = <&icu0>;
  79. interrupts = <73 78>;
  80. phy-mode = "rmii";
  81. mac-address = [ 00 11 22 33 44 55 ];
  82. };
  83. stp0: stp@E100BB0 {
  84. #gpio-cells = <2>;
  85. compatible = "lantiq,gpio-stp-xway";
  86. gpio-controller;
  87. reg = <0xE100BB0 0x40>;
  88. lantiq,shadow = <0xfff>;
  89. lantiq,groups = <0x3>;
  90. };
  91. pci@E105400 {
  92. lantiq,bus-clock = <33333333>;
  93. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  94. interrupt-map = <
  95. 0x7000 0 0 1 &icu0 29 1 // slot 14, irq 29
  96. >;
  97. gpios-reset = <&gpio 21 0>;
  98. req-mask = <0x1>; /* GNT1 */
  99. };
  100. };
  101. };