ARV7519RW22.dts 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  1. /dts-v1/;
  2. /include/ "vr9.dtsi"
  3. / {
  4. model = "ARV7519RW22 - Orange Livebox 2.1";
  5. chosen {
  6. bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
  7. leds {
  8. boot = &power_green;
  9. failsafe = &power_green;
  10. running = &power_green;
  11. internet = &internet_green;
  12. };
  13. };
  14. memory@0 {
  15. reg = <0x0 0x8000000>;
  16. };
  17. fpi@10000000 {
  18. localbus@0 {
  19. nor-boot@0 {
  20. compatible = "lantiq,nor";
  21. bank-width = <2>;
  22. reg = <0 0x0 0x2000000>;
  23. #address-cells = <1>;
  24. #size-cells = <1>;
  25. partitions {
  26. compatible = "fixed-partitions";
  27. #address-cells = <1>;
  28. #size-cells = <1>;
  29. partition@0 {
  30. label = "uboot";
  31. reg = <0x0 0x60000>;
  32. read-only;
  33. };
  34. partition@60000 {
  35. label = "uboot-env";
  36. reg = <0x60000 0x20000>;
  37. read-only;
  38. };
  39. partition@80000 {
  40. label = "firmware";
  41. reg = <0x80000 0x1f00000>;
  42. };
  43. boardconfig: partition@1f80000 {
  44. label = "boardconfig";
  45. reg = <0x1f80000 0x80000>;
  46. read-only;
  47. };
  48. };
  49. };
  50. };
  51. gpio: pinmux@E100B10 {
  52. pinctrl-names = "default";
  53. pinctrl-0 = <&state_default>;
  54. state_default: pinmux {
  55. mdio {
  56. lantiq,groups = "mdio";
  57. lantiq,function = "mdio";
  58. };
  59. pcie-rst {
  60. lantiq,pins = "io21";
  61. lantiq,pull = <0>;
  62. lantiq,output = <1>;
  63. };
  64. };
  65. };
  66. ifxhcd@E101000 {
  67. status = "okay";
  68. gpios = <&gpio 32 0>;
  69. };
  70. ifxhcd@E106000 {
  71. status = "okay";
  72. gpios = <&gpio 32 0>;
  73. };
  74. pcie@d900000 {
  75. status = "disabled";
  76. };
  77. pci@E105400 {
  78. status = "disabled";
  79. compatible = "lantiq,pci-xway";
  80. };
  81. };
  82. gphy-xrx200 {
  83. compatible = "lantiq,phy-xrx200";
  84. firmware1 = "lantiq/vr9_phy22f_a1x.bin"; /*VR9 1.1*/
  85. firmware2 = "lantiq/vr9_phy22f_a2x.bin"; /*VR9 1.2*/
  86. phys = [ 00 01 ];
  87. };
  88. gpio-keys-polled {
  89. compatible = "gpio-keys-polled";
  90. #address-cells = <1>;
  91. #size-cells = <0>;
  92. poll-interval = <100>;
  93. reset {
  94. label = "reset";
  95. gpios = <&gpio 6 1>;
  96. linux,code = <0x198>;
  97. };
  98. rfkill {
  99. label = "rfkill";
  100. gpios = <&gpio 33 1>;
  101. linux,code = <0xf7>;
  102. };
  103. wps {
  104. label = "wps";
  105. gpios = <&gpio 37 1>;
  106. linux,code = <0x211>;
  107. };
  108. };
  109. gpio-leds {
  110. compatible = "gpio-leds";
  111. lan_green {
  112. label = "arv7519rw22:green:lan";
  113. gpios = <&gpio 2 1>;
  114. };
  115. internet_red {
  116. label = "arv7519rw22:red:internet";
  117. gpios = <&gpio 10 1>;
  118. };
  119. power_green: power_green {
  120. label = "arv7519rw22:green:power";
  121. gpios = <&gpio 14 1>;
  122. default-state = "keep";
  123. };
  124. alarm_blue {
  125. label = "arv7519rw22:blue:alarm";
  126. gpios = <&gpio 15 1>;
  127. };
  128. internet_orange {
  129. label = "arv7519rw22:orange:internet";
  130. gpios = <&gpio 19 1>;
  131. };
  132. internet_green: internet_green {
  133. label = "arv7519rw22:green:internet";
  134. gpios = <&gpio 28 1>;
  135. };
  136. voice_green {
  137. label = "arv7519rw22:green:voice";
  138. gpios = <&gpio 29 1>;
  139. };
  140. };
  141. };
  142. &eth0 {
  143. lan: interface@0 {
  144. compatible = "lantiq,xrx200-pdi";
  145. #address-cells = <1>;
  146. #size-cells = <0>;
  147. reg = <0>;
  148. mtd-mac-address = <&boardconfig 0x16>;
  149. lantiq,switch;
  150. ethernet@0 {
  151. compatible = "lantiq,xrx200-pdi-port";
  152. reg = <0>;
  153. phy-mode = "rgmii";
  154. phy-handle = <&phy0>;
  155. };
  156. ethernet@1 {
  157. compatible = "lantiq,xrx200-pdi-port";
  158. reg = <4>;
  159. phy-mode = "mii";
  160. phy-handle = <&phy13>;
  161. };
  162. ethernet@2 {
  163. compatible = "lantiq,xrx200-pdi-port";
  164. reg = <5>;
  165. phy-mode = "mii";
  166. phy-handle = <&phy14>;
  167. };
  168. ethernet@3 {
  169. compatible = "lantiq,xrx200-pdi-port";
  170. reg = <2>;
  171. phy-mode = "mii";
  172. phy-handle = <&phy11>;
  173. };
  174. ethernet@4 {
  175. compatible = "lantiq,xrx200-pdi-port";
  176. reg = <3>;
  177. phy-mode = "mii";
  178. phy-handle = <&phy12>;
  179. };
  180. };
  181. mdio@0 {
  182. #address-cells = <1>;
  183. #size-cells = <0>;
  184. compatible = "lantiq,xrx200-mdio";
  185. phy0: ethernet-phy@0 {
  186. reg = <0x0>;
  187. compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
  188. };
  189. phy11: ethernet-phy@11 {
  190. reg = <0x11>;
  191. compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
  192. };
  193. phy12: ethernet-phy@12 {
  194. reg = <0x12>;
  195. compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
  196. };
  197. phy13: ethernet-phy@13 {
  198. reg = <0x13>;
  199. compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
  200. };
  201. phy14: ethernet-phy@14 {
  202. reg = <0x14>;
  203. compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
  204. };
  205. };
  206. };