EASY50810.dts 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. /dts-v1/;
  2. /include/ "ar9.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. partition@0 {
  26. label = "uboot";
  27. reg = <0x00000 0x10000>; /* 64 KB */
  28. };
  29. partition@10000 {
  30. label = "uboot_env";
  31. reg = <0x10000 0x10000>; /* 64 KB */
  32. };
  33. partition@20000 {
  34. label = "firmware";
  35. reg = <0x20000 0x3d0000>;
  36. };
  37. partition@400000 {
  38. label = "rootfs";
  39. reg = <0x400000 0x400000>;
  40. };
  41. };
  42. };
  43. gpio: pinmux@E100B10 {
  44. compatible = "lantiq,pinctrl-xr9";
  45. pinctrl-names = "default";
  46. pinctrl-0 = <&state_default>;
  47. #gpio-cells = <2>;
  48. gpio-controller;
  49. reg = <0xE100B10 0xA0>;
  50. state_default: pinmux {
  51. stp {
  52. lantiq,groups = "stp";
  53. lantiq,function = "stp";
  54. };
  55. exin {
  56. lantiq,groups = "exin1";
  57. lantiq,function = "exin";
  58. };
  59. pci {
  60. lantiq,groups = "gnt1";
  61. lantiq,function = "pci";
  62. };
  63. conf_out {
  64. lantiq,pins = "io4", "io5", "io6"; /* stp */
  65. lantiq,open-drain;
  66. lantiq,pull = <0>;
  67. };
  68. };
  69. };
  70. etop@E180000 {
  71. compatible = "lantiq,etop-xway";
  72. reg = <0xE180000 0x40000
  73. 0xE108000 0x200>;
  74. interrupt-parent = <&icu0>;
  75. interrupts = <72 73>;
  76. phy-mode = "rmii";
  77. mac-address = [ 00 11 22 33 44 55 ];
  78. };
  79. stp0: stp@E100BB0 {
  80. #gpio-cells = <2>;
  81. compatible = "lantiq,gpio-stp-xway";
  82. gpio-controller;
  83. reg = <0xE100BB0 0x40>;
  84. lantiq,shadow = <0xfff>;
  85. lantiq,groups = <0x3>;
  86. };
  87. pci@E105400 {
  88. lantiq,bus-clock = <33333333>;
  89. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  90. interrupt-map = <
  91. 0x7000 0 0 1 &icu0 29 1 // slot 14, irq 29
  92. >;
  93. gpios-reset = <&gpio 21 0>;
  94. req-mask = <0x1>; /* GNT1 */
  95. };
  96. };
  97. };