easy50712.dts 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. /dts-v1/;
  2. /include/ "danube.dtsi"
  3. / {
  4. chosen {
  5. bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
  6. };
  7. memory@0 {
  8. device_type = "memory";
  9. reg = <0x0 0x2000000>;
  10. };
  11. fpi@10000000 {
  12. #address-cells = <1>;
  13. #size-cells = <1>;
  14. localbus@0 {
  15. #address-cells = <2>;
  16. #size-cells = <1>;
  17. ranges = <0 0 0x0 0x3ffffff /* addrsel0 */
  18. 1 0 0x4000000 0x4000010>; /* addsel1 */
  19. compatible = "lantiq,localbus", "simple-bus";
  20. nor-boot@0 {
  21. compatible = "lantiq,nor";
  22. bank-width = <2>;
  23. reg = <0 0x0 0x2000000>;
  24. #address-cells = <1>;
  25. #size-cells = <1>;
  26. partition@0 {
  27. label = "uboot";
  28. reg = <0x00000 0x10000>; /* 64 KB */
  29. };
  30. partition@10000 {
  31. label = "uboot_env";
  32. reg = <0x10000 0x10000>; /* 64 KB */
  33. };
  34. partition@20000 {
  35. label = "linux";
  36. reg = <0x20000 0x3d0000>;
  37. };
  38. partition@400000 {
  39. label = "rootfs";
  40. reg = <0x400000 0x400000>;
  41. };
  42. };
  43. };
  44. gpio: pinmux@E100B10 {
  45. compatible = "lantiq,danube-pinctrl";
  46. pinctrl-names = "default";
  47. pinctrl-0 = <&state_default>;
  48. #gpio-cells = <2>;
  49. gpio-controller;
  50. reg = <0xE100B10 0xA0>;
  51. state_default: pinmux {
  52. stp {
  53. lantiq,groups = "stp";
  54. lantiq,function = "stp";
  55. };
  56. exin {
  57. lantiq,groups = "exin1";
  58. lantiq,function = "exin";
  59. };
  60. pci {
  61. lantiq,groups = "gnt1";
  62. lantiq,function = "pci";
  63. };
  64. conf_out {
  65. lantiq,pins = "io4", "io5", "io6"; /* stp */
  66. lantiq,open-drain;
  67. lantiq,pull = <0>;
  68. };
  69. };
  70. };
  71. etop@E180000 {
  72. compatible = "lantiq,etop-xway";
  73. reg = <0xE180000 0x40000>;
  74. interrupt-parent = <&icu0>;
  75. interrupts = <73 78>;
  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. };