VGV7510KW22.dtsi 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  1. /include/ "vr9.dtsi"
  2. / {
  3. model = "VGV7510KW22 - o2 Box 6431";
  4. chosen {
  5. bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
  6. leds {
  7. boot = &power_green;
  8. failsafe = &power_red;
  9. running = &power_green;
  10. dsl = &dsl;
  11. internet = &internet_green;
  12. wifi = &wifi;
  13. };
  14. };
  15. memory@0 {
  16. reg = <0x0 0x4000000>;
  17. };
  18. fpi@10000000 {
  19. localbus@0 {
  20. nor-boot@0 {
  21. compatible = "lantiq,nor";
  22. bank-width = <2>;
  23. reg = <0 0x0 0x1000000>;
  24. #address-cells = <1>;
  25. #size-cells = <1>;
  26. partitions {
  27. compatible = "fixed-partitions";
  28. #address-cells = <1>;
  29. #size-cells = <1>;
  30. boardconfig: partition@fe0000 {
  31. label = "board_config";
  32. reg = <0xfe0000 0x20000>;
  33. read-only;
  34. };
  35. };
  36. };
  37. };
  38. gpio: pinmux@E100B10 {
  39. pinctrl-names = "default";
  40. pinctrl-0 = <&state_default>;
  41. state_default: pinmux {
  42. gphy-leds {
  43. lantiq,groups = "gphy0 led0", "gphy0 led1",
  44. "gphy1 led0", "gphy1 led1";
  45. lantiq,function = "gphy";
  46. lantiq,open-drain = <0>;
  47. lantiq,pull = <2>;
  48. lantiq,output = <1>;
  49. };
  50. mdio {
  51. lantiq,groups = "mdio";
  52. lantiq,function = "mdio";
  53. };
  54. pci-rst {
  55. lantiq,pins = "io21";
  56. lantiq,open-drain = <0>;
  57. lantiq,pull = <0>;
  58. lantiq,output = <1>;
  59. };
  60. };
  61. };
  62. ifxhcd@E101000 {
  63. status = "okay";
  64. gpios = <&gpio 47 0>;
  65. };
  66. pci@E105400 {
  67. status = "okay";
  68. lantiq,bus-clock = <33333333>;
  69. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  70. interrupt-map = <
  71. 0x7000 0 0 1 &icu0 30 1 // slot 14, irq 30
  72. >;
  73. gpio-reset = <&gpio 21 0>;
  74. req-mask = <0x1>; /* GNT1 */
  75. };
  76. pcie@d900000 {
  77. status = "disabled";
  78. };
  79. };
  80. gphy-xrx200 {
  81. compatible = "lantiq,phy-xrx200";
  82. firmware1 = "lantiq/vr9_phy22f_a1x.bin"; /*VR9 1.1*/
  83. firmware2 = "lantiq/vr9_phy22f_a2x.bin"; /*VR9 1.2*/
  84. phys = [ 00 01 ];
  85. };
  86. ralink_eep {
  87. compatible = "ralink,eeprom";
  88. ralink,eeprom = "RT3062.eeprom";
  89. };
  90. gpio-keys-polled {
  91. compatible = "gpio-keys-polled";
  92. #address-cells = <1>;
  93. #size-cells = <0>;
  94. poll-interval = <100>;
  95. reset {
  96. label = "reset";
  97. gpios = <&gpio 6 1>;
  98. linux,code = <0x198>;
  99. };
  100. wps {
  101. label = "wps";
  102. gpios = <&gpio 9 1>;
  103. linux,code = <0x211>;
  104. };
  105. };
  106. gpio-leds {
  107. compatible = "gpio-leds";
  108. dsl: dsl {
  109. label = "vgv7510kw22:green:dsl";
  110. gpios = <&gpio 2 1>;
  111. };
  112. internet_red {
  113. label = "vgv7510kw22:red:internet";
  114. gpios = <&gpio 10 1>;
  115. };
  116. info_red {
  117. label = "vgv7510kw22:red:info";
  118. gpios = <&gpio 12 1>;
  119. };
  120. power_green: power {
  121. label = "vgv7510kw22:green:power";
  122. gpios = <&gpio 14 1>;
  123. default-state = "keep";
  124. };
  125. info_green {
  126. label = "vgv7510kw22:green:info";
  127. gpios = <&gpio 15 1>;
  128. };
  129. internet_green: internet_green {
  130. label = "vgv7510kw22:green:internet";
  131. gpios = <&gpio 19 1>;
  132. };
  133. wifi: wifi {
  134. label = "vgv7510kw22:green:wlan";
  135. gpios = <&gpio 20 1>;
  136. };
  137. power_red: power2 {
  138. label = "vgv7510kw22:red:power";
  139. gpios = <&gpio 28 1>;
  140. };
  141. phone {
  142. label = "vgv7510kw22:green:telefon";
  143. gpios = <&gpio 29 1>;
  144. };
  145. };
  146. };
  147. &eth0 {
  148. lan: interface@0 {
  149. compatible = "lantiq,xrx200-pdi";
  150. #address-cells = <1>;
  151. #size-cells = <0>;
  152. reg = <0>;
  153. mtd-mac-address = <&boardconfig 0x16>;
  154. lantiq,switch;
  155. ethernet@2 {
  156. compatible = "lantiq,xrx200-pdi-port";
  157. reg = <2>;
  158. phy-mode = "mii";
  159. phy-handle = <&phy11>;
  160. };
  161. ethernet@3 {
  162. compatible = "lantiq,xrx200-pdi-port";
  163. reg = <3>;
  164. phy-mode = "mii";
  165. phy-handle = <&phy12>;
  166. };
  167. ethernet@4 {
  168. compatible = "lantiq,xrx200-pdi-port";
  169. reg = <4>;
  170. phy-mode = "mii";
  171. phy-handle = <&phy13>;
  172. };
  173. ethernet@5 {
  174. compatible = "lantiq,xrx200-pdi-port";
  175. reg = <5>;
  176. phy-mode = "mii";
  177. phy-handle = <&phy14>;
  178. };
  179. };
  180. wan: interface@1 {
  181. compatible = "lantiq,xrx200-pdi";
  182. #address-cells = <1>;
  183. #size-cells = <0>;
  184. reg = <1>;
  185. mtd-mac-address = <&boardconfig 0x16>;
  186. mtd-mac-address-increment = <2>;
  187. lantiq,wan;
  188. ethernet@0 {
  189. compatible = "lantiq,xrx200-pdi-port";
  190. reg = <0>;
  191. phy-mode = "mii";
  192. phy-handle = <&phy1>;
  193. };
  194. };
  195. mdio@0 {
  196. #address-cells = <1>;
  197. #size-cells = <0>;
  198. compatible = "lantiq,xrx200-mdio";
  199. phy1: ethernet-phy@1 {
  200. reg = <0x1>;
  201. compatible = "ethernet-phy-id0243.0c54", "ethernet-phy-ieee802.3-c22";
  202. };
  203. phy11: ethernet-phy@11 {
  204. reg = <0x11>;
  205. compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
  206. };
  207. phy12: ethernet-phy@12 {
  208. reg = <0x12>;
  209. compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
  210. };
  211. phy13: ethernet-phy@13 {
  212. reg = <0x13>;
  213. compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
  214. };
  215. phy14: ethernet-phy@14 {
  216. reg = <0x14>;
  217. compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
  218. };
  219. };
  220. };