ARV7525PW.dts 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. /dts-v1/;
  2. /include/ "danube.dtsi"
  3. / {
  4. model = "ARV7525PW - Speedport W303V Typ A";
  5. chosen {
  6. bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
  7. leds {
  8. boot = &power_green;
  9. failsafe = &power_red;
  10. running = &power_green;
  11. dsl = &power_green;
  12. internet = &online;
  13. wifi = &wifi;
  14. };
  15. };
  16. memory@0 {
  17. reg = <0x0 0x2000000>;
  18. };
  19. sram@1F000000 {
  20. vmmc@107000 {
  21. status = "okay";
  22. gpios = <&gpio 31 0>;
  23. };
  24. };
  25. fpi@10000000 {
  26. localbus@0 {
  27. nor-boot@0 {
  28. compatible = "lantiq,nor";
  29. bank-width = <2>;
  30. reg = <0 0x0 0x2000000>;
  31. #address-cells = <1>;
  32. #size-cells = <1>;
  33. partitions {
  34. compatible = "fixed-partitions";
  35. #address-cells = <1>;
  36. #size-cells = <1>;
  37. partition@0 {
  38. label = "uboot";
  39. reg = <0x00000 0x10000>;
  40. read-only;
  41. };
  42. partition@10000 {
  43. label = "uboot_env";
  44. reg = <0x10000 0x10000>;
  45. read-only;
  46. };
  47. partition@20000 {
  48. label = "firmware";
  49. reg = <0x20000 0x3d0000>;
  50. };
  51. partition@400000 {
  52. label = "board_config";
  53. reg = <0x3f0000 0x10000>;
  54. read-only;
  55. };
  56. };
  57. };
  58. mac_addr {
  59. compatible = "lantiq,eth-mac";
  60. reg = <0 0x3f0016 0x6>;
  61. mac-increment = <2>;
  62. };
  63. ralink_eep {
  64. compatible = "ralink,eeprom";
  65. ralink,eeprom = "RT2860.eeprom";
  66. reg = <0 0x3f0410 0x110>;
  67. };
  68. };
  69. gpio: pinmux@E100B10 {
  70. pinctrl-names = "default";
  71. pinctrl-0 = <&state_default>;
  72. state_default: pinmux {
  73. exin {
  74. lantiq,groups = "exin1";
  75. lantiq,function = "exin";
  76. };
  77. pci {
  78. lantiq,groups = "gnt1", "req1";
  79. lantiq,function = "pci";
  80. };
  81. };
  82. };
  83. etop@E180000 {
  84. phy-mode = "mii";
  85. };
  86. pci@E105400 {
  87. status = "okay";
  88. interrupt-map = <0x7000 0 0 1 &icu0 135 1>;
  89. req-mask = <0x1>;
  90. };
  91. };
  92. gpio-keys-polled {
  93. compatible = "gpio-keys-polled";
  94. #address-cells = <1>;
  95. #size-cells = <0>;
  96. poll-interval = <100>;
  97. wps {
  98. label = "wps";
  99. gpios = <&gpio 29 1>;
  100. linux,code = <0x211>;
  101. };
  102. reset {
  103. label = "reset";
  104. gpios = <&gpio 30 1>;
  105. linux,code = <0x198>;
  106. };
  107. };
  108. gpio-leds {
  109. compatible = "gpio-leds";
  110. power_green: power {
  111. label = "arv7525pw:green:power";
  112. gpios = <&gpio 3 1>;
  113. default-state = "keep";
  114. };
  115. power_red: power1 {
  116. label = "arv7525pw:red:power";
  117. gpios = <&gpio 4 1>;
  118. };
  119. online: online {
  120. label = "arv7525pw:green:online";
  121. gpios = <&gpio 5 1>;
  122. };
  123. voice {
  124. label = "arv7525pw:green:telefonie";
  125. gpios = <&gpio 6 1>;
  126. };
  127. voice2 {
  128. label = "arv7525pw:red:telefonie";
  129. gpios = <&gpio 8 1>;
  130. };
  131. wifi: wifi {
  132. label = "arv7525pw:green:wlan";
  133. gpios = <&gpio 9 1>;
  134. };
  135. };
  136. };