EASY50712.dts 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  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. 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-xway";
  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. interrupt-parent = <&icu0>;
  74. interrupts = <73 78>;
  75. phy-mode = "rmii";
  76. mac-address = [ 00 11 22 33 44 55 ];
  77. };
  78. stp0: stp@E100BB0 {
  79. #gpio-cells = <2>;
  80. compatible = "lantiq,gpio-stp-xway";
  81. gpio-controller;
  82. reg = <0xE100BB0 0x40>;
  83. lantiq,shadow = <0xfff>;
  84. lantiq,groups = <0x3>;
  85. };
  86. pci@E105400 {
  87. lantiq,bus-clock = <33333333>;
  88. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  89. interrupt-map = <
  90. 0x7000 0 0 1 &icu0 29 1 // slot 14, irq 29
  91. >;
  92. gpios-reset = <&gpio 21 0>;
  93. req-mask = <0x1>; /* GNT1 */
  94. };
  95. };
  96. };