ARV4519PW.dts 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. /dts-v1/;
  2. /include/ "danube.dtsi"
  3. / {
  4. model = "ARV4519PW - Vodafone Netfaster IAD 2, Pirelli P.RG A4201G";
  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 = &dsl;
  12. internet = &internet_green;
  13. usb = &usb;
  14. wifi = &wifi;
  15. };
  16. };
  17. memory@0 {
  18. reg = <0x0 0x2000000>;
  19. };
  20. sram@1F000000 {
  21. vmmc@107000 {
  22. status = "okay";
  23. gpios = <&gpio 31 0>;
  24. };
  25. };
  26. fpi@10000000 {
  27. localbus@0 {
  28. nor-boot@0 {
  29. compatible = "lantiq,nor";
  30. bank-width = <2>;
  31. reg = <0 0x0 0x2000000>;
  32. #address-cells = <1>;
  33. #size-cells = <1>;
  34. partitions {
  35. compatible = "fixed-partitions";
  36. #address-cells = <1>;
  37. #size-cells = <1>;
  38. partition@0 {
  39. label = "uboot";
  40. reg = <0x00000 0x10000>;
  41. read-only;
  42. };
  43. partition@10000 {
  44. label = "uboot_env";
  45. reg = <0x10000 0x10000>;
  46. };
  47. partition@20000 {
  48. label = "firmware";
  49. reg = <0x20000 0x3d0000>;
  50. };
  51. partition@3f0000 {
  52. label = "boardconfig";
  53. reg = <0x3f0000 0x10000>;
  54. read-only;
  55. };
  56. };
  57. };
  58. gpiomm: gpiomm@4000000 {
  59. compatible = "lantiq,gpio-mm";
  60. reg = <1 0x0 0x10 >;
  61. #address-cells = <1>;
  62. #size-cells = <1>;
  63. #gpio-cells = <2>;
  64. gpio-controller;
  65. lantiq,shadow = <0x400>;
  66. };
  67. mac_addr {
  68. compatible = "lantiq,eth-mac";
  69. reg = <0 0x3f0016 0x6>;
  70. };
  71. };
  72. gpio: pinmux@E100B10 {
  73. pinctrl-names = "default";
  74. pinctrl-0 = <&state_default>;
  75. state_default: pinmux {
  76. ebu {
  77. lantiq,groups = "ebu cs1";
  78. lantiq,function = "ebu";
  79. };
  80. };
  81. };
  82. etop@E180000 {
  83. phy-mode = "mii";
  84. };
  85. ifxhcd@E101000 {
  86. status = "okay";
  87. gpios = <&gpio 14 0>;
  88. };
  89. pci@E105400 {
  90. status = "okay";
  91. lantiq,external-clock;
  92. gpio-reset = <&gpio 21 0>;
  93. req-mask = <0xf>;
  94. };
  95. };
  96. gpio-keys-polled {
  97. compatible = "gpio-keys-polled";
  98. #address-cells = <1>;
  99. #size-cells = <0>;
  100. poll-interval = <100>;
  101. rfkill {
  102. label = "rfkill";
  103. gpios = <&gpio 28 1>;
  104. linux,code = <0xf7>;
  105. };
  106. reset {
  107. label = "reset";
  108. gpios = <&gpio 30 1>;
  109. linux,code = <0x198>;
  110. };
  111. };
  112. gpio-leds {
  113. compatible = "gpio-leds";
  114. power_green: power {
  115. label = "arv4519pw:green:power";
  116. gpios = <&gpio 2 1>;
  117. default-state = "keep";
  118. };
  119. power_red: power2 {
  120. label = "arv4519pw:red:power";
  121. gpios = <&gpio 7 1>;
  122. };
  123. wifi: wifi {
  124. label = "arv4519pw:green:wlan";
  125. gpios = <&gpio 6 1>;
  126. };
  127. dsl: dsl {
  128. label = "arv4519pw:green:dsl";
  129. gpios = <&gpio 4 1>;
  130. };
  131. internet_green: online {
  132. label = "arv4519pw:green:internet";
  133. gpios = <&gpio 5 1>;
  134. };
  135. online2 {
  136. label = "arv4519pw:red:internet";
  137. gpios = <&gpio 8 1>;
  138. };
  139. usb: usb {
  140. label = "arv4519pw:green:usb";
  141. gpios = <&gpio 19 1>;
  142. };
  143. voip {
  144. label = "arv4519pw:green:voip";
  145. gpios = <&gpiomm 0 1>;
  146. };
  147. fxs1 {
  148. label = "arv4519pw:green:phone1";
  149. gpios = <&gpiomm 1 1>;
  150. };
  151. fxs2 {
  152. label = "arv4519pw:green:phone2";
  153. gpios = <&gpiomm 2 1>;
  154. };
  155. fxo {
  156. label = "arv4519pw:green:line";
  157. gpios = <&gpiomm 3 1>;
  158. };
  159. wps2 {
  160. label = "arv4519pw:green:wps";
  161. gpios = <&gpiomm 4 1>;
  162. };
  163. wps {
  164. label = "arv4519pw:orange:wps";
  165. gpios = <&gpiomm 5 1>;
  166. };
  167. wps3 {
  168. label = "arv4519pw:red:wps";
  169. gpios = <&gpiomm 6 1>;
  170. };
  171. };
  172. };