easy50712.dts 2.2 KB

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