ARV4519PW.dts 3.6 KB

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