FRITZ7360SL.dts 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  1. /dts-v1/;
  2. /include/ "vr9.dtsi"
  3. / {
  4. model = "FRITZ7360SL - 1&1 HomeServer";
  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. internet = &info_green;
  12. dsl = &power_green;
  13. wifi = &wifi;
  14. };
  15. };
  16. memory@0 {
  17. reg = <0x0 0x8000000>;
  18. };
  19. fpi@10000000 {
  20. localbus@0 {
  21. nor-boot@0 {
  22. compatible = "lantiq,nor";
  23. bank-width = <2>;
  24. reg = <0 0x0 0x1000000>;
  25. #address-cells = <1>;
  26. #size-cells = <1>;
  27. partitions {
  28. compatible = "fixed-partitions";
  29. #address-cells = <1>;
  30. #size-cells = <1>;
  31. urlader: partition@0 {
  32. label = "urlader";
  33. reg = <0x00000 0x20000>;
  34. read-only;
  35. };
  36. partition@20000 {
  37. label = "firmware";
  38. reg = <0x20000 0xf60000>;
  39. };
  40. partition@f80000 {
  41. label = "tffs (1)";
  42. reg = <0xf80000 0x40000>;
  43. read-only;
  44. };
  45. partition@fc0000 {
  46. label = "tffs (2)";
  47. reg = <0xfc0000 0x40000>;
  48. read-only;
  49. };
  50. };
  51. };
  52. };
  53. gpio: pinmux@E100B10 {
  54. pinctrl-names = "default";
  55. pinctrl-0 = <&state_default>;
  56. state_default: pinmux {
  57. mdio {
  58. lantiq,groups = "mdio";
  59. lantiq,function = "mdio";
  60. };
  61. phy-rst {
  62. lantiq,pins = "io37", "io44";
  63. lantiq,pull = <2>;
  64. lantiq,open-drain;
  65. lantiq,output = <1>;
  66. };
  67. pcie-rst {
  68. lantiq,pins = "io38";
  69. lantiq,pull = <0>;
  70. lantiq,output = <1>;
  71. };
  72. };
  73. };
  74. ifxhcd@E101000 {
  75. status = "okay";
  76. lantiq,portmask = <0x3>;
  77. };
  78. ifxhcd@E106000 {
  79. status = "okay";
  80. };
  81. };
  82. ath9k_eep {
  83. compatible = "ath9k,eeprom";
  84. ath,eep-flash = <&urlader 0x985>;
  85. ath,eep-endian;
  86. ath,eep-swap;
  87. ath,pci-slot = <0>;
  88. };
  89. gphy-xrx200 {
  90. compatible = "lantiq,phy-xrx200";
  91. firmware = "lantiq/vr9_phy11g_a2x.bin";
  92. phys = [ 00 01 ];
  93. };
  94. gpio-keys-polled {
  95. compatible = "gpio-keys-polled";
  96. #address-cells = <1>;
  97. #size-cells = <0>;
  98. poll-interval = <100>;
  99. dect {
  100. label = "power";
  101. gpios = <&gpio 1 0>;
  102. linux,code = <0x102>;
  103. };
  104. wifi {
  105. label = "wifi";
  106. gpios = <&gpio 29 0>;
  107. linux,code = <0x101>;
  108. };
  109. };
  110. gpio-leds {
  111. compatible = "gpio-leds";
  112. power_green: power {
  113. label = "fritz7360sl:green:power";
  114. gpios = <&gpio 32 1>;
  115. default-state = "keep";
  116. };
  117. power_red: power2 {
  118. label = "fritz7360sl:red:power";
  119. gpios = <&gpio 33 1>;
  120. };
  121. info_red {
  122. label = "fritz7360sl:red:info";
  123. gpios = <&gpio 34 1>;
  124. };
  125. info_green: info_green {
  126. label = "fritz7360sl:green:info";
  127. gpios = <&gpio 47 1>;
  128. };
  129. wifi: wifi {
  130. label = "fritz7360sl:green:wlan";
  131. gpios = <&gpio 36 1>;
  132. };
  133. dect {
  134. label = "fritz7360sl:green:dect";
  135. gpios = <&gpio 35 1>;
  136. };
  137. };
  138. };
  139. &eth0 {
  140. lan: interface@0 {
  141. compatible = "lantiq,xrx200-pdi";
  142. #address-cells = <1>;
  143. #size-cells = <0>;
  144. reg = <0>;
  145. mac-address = [ 00 11 22 33 44 55 ];
  146. lantiq,switch;
  147. ethernet@0 {
  148. compatible = "lantiq,xrx200-pdi-port";
  149. reg = <0>;
  150. phy-mode = "rmii";
  151. phy-handle = <&phy0>;
  152. // gpios = <&gpio 37 1>;
  153. };
  154. ethernet@1 {
  155. compatible = "lantiq,xrx200-pdi-port";
  156. reg = <1>;
  157. phy-mode = "rmii";
  158. phy-handle = <&phy1>;
  159. // gpios = <&gpio 44 1>;
  160. };
  161. ethernet@2 {
  162. compatible = "lantiq,xrx200-pdi-port";
  163. reg = <2>;
  164. phy-mode = "gmii";
  165. phy-handle = <&phy11>;
  166. };
  167. ethernet@3 {
  168. compatible = "lantiq,xrx200-pdi-port";
  169. reg = <4>;
  170. phy-mode = "gmii";
  171. phy-handle = <&phy13>;
  172. };
  173. };
  174. mdio@0 {
  175. #address-cells = <1>;
  176. #size-cells = <0>;
  177. compatible = "lantiq,xrx200-mdio";
  178. phy0: ethernet-phy@0 {
  179. reg = <0x00>;
  180. compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
  181. };
  182. phy1: ethernet-phy@1 {
  183. reg = <0x01>;
  184. compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
  185. };
  186. phy11: ethernet-phy@11 {
  187. reg = <0x11>;
  188. compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
  189. };
  190. phy13: ethernet-phy@13 {
  191. reg = <0x13>;
  192. compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
  193. };
  194. };
  195. };