ARV4518PWR01A.dts 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  1. /dts-v1/;
  2. /include/ "danube.dtsi"
  3. / {
  4. model = "ARV4518PWR01A - SMC7908A-ISP, Airties WAV-221";
  5. chosen {
  6. bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
  7. };
  8. memory@0 {
  9. reg = <0x0 0x4000000>;
  10. };
  11. sram@1F000000 {
  12. vmmc@107000 {
  13. status = "okay";
  14. gpios = <&gpio 31 0>;
  15. };
  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. partition@0 {
  26. label = "uboot";
  27. reg = <0x00000 0x10000>; /* 64 KB */
  28. read-only;
  29. };
  30. partition@10000 {
  31. label = "uboot_env";
  32. reg = <0x10000 0x10000>; /* 64 KB */
  33. read-only;
  34. };
  35. partition@20000 {
  36. label = "firmware";
  37. reg = <0x20000 0x3d0000>;
  38. };
  39. partition@400000 {
  40. label = "boardconfig";
  41. reg = <0x3f0000 0x10000>;
  42. read-only;
  43. };
  44. };
  45. gpiomm: gpiomm@4000000 {
  46. compatible = "lantiq,gpio-mm";
  47. reg = <1 0x0 0x10 >;
  48. #address-cells = <1>;
  49. #size-cells = <1>;
  50. #gpio-cells = <2>;
  51. gpio-controller;
  52. lantiq,shadow = <0x0>;
  53. };
  54. mac_addr {
  55. compatible = "lantiq,eth-mac";
  56. reg = <0 0x3f0016 0x6>;
  57. mac-increment = <2>;
  58. };
  59. ath5k_eep {
  60. compatible = "ath5k,eeprom";
  61. reg = <0 0x3f0400 0x1000
  62. 0 0x3f0016 0x6>;
  63. ath,mac-increment = <1>;
  64. ath,eep-swap;
  65. };
  66. };
  67. gpio: pinmux@E100B10 {
  68. pinctrl-names = "default";
  69. pinctrl-0 = <&state_default>;
  70. state_default: pinmux {
  71. ebu {
  72. lantiq,groups = "ebu cs1";
  73. lantiq,function = "ebu";
  74. };
  75. pci_in {
  76. lantiq,groups = "req1", "req2";
  77. lantiq,function = "pci";
  78. lantiq,open-drain = <1>;
  79. lantiq,pull = <2>;
  80. lantiq,output = <0>;
  81. };
  82. pci_out {
  83. lantiq,groups = "gnt1", "gnt2";
  84. lantiq,function = "pci";
  85. lantiq,pull = <0>;
  86. lantiq,output = <1>;
  87. };
  88. };
  89. };
  90. etop@E180000 {
  91. phy-mode = "mii";
  92. };
  93. ifxhcd@E101000 {
  94. status = "okay";
  95. gpios = <&gpio 14 0>;
  96. };
  97. pci@E105400 {
  98. status = "okay";
  99. lantiq,external-clock;
  100. gpio-reset = <&gpio 21 0>;
  101. req-mask = <0xf>;
  102. };
  103. };
  104. /*
  105. #define ARV4518PW_SWITCH_RESET 13
  106. */
  107. gpio-keys-polled {
  108. compatible = "gpio-keys-polled";
  109. #address-cells = <1>;
  110. #size-cells = <0>;
  111. poll-interval = <100>;
  112. rfkill {
  113. label = "rfkill";
  114. gpios = <&gpio 28 1>;
  115. linux,code = <0xf7>;
  116. };
  117. reset {
  118. label = "reset";
  119. gpios = <&gpio 30 1>;
  120. linux,code = <0x198>;
  121. };
  122. };
  123. gpio-leds {
  124. compatible = "gpio-leds";
  125. power {
  126. label = "power";
  127. gpios = <&gpio 3 0>;
  128. };
  129. dsl {
  130. label = "dsl";
  131. gpios = <&gpio 4 1>;
  132. };
  133. online {
  134. label = "online";
  135. gpios = <&gpio 5 1>;
  136. };
  137. wifi {
  138. label = "wifi";
  139. gpios = <&gpio 6 1>;
  140. };
  141. wps {
  142. label = "wps";
  143. gpios = <&gpio 7 1>;
  144. };
  145. dsl2 {
  146. label = "dsl2";
  147. gpios = <&gpio 8 1>;
  148. };
  149. usb {
  150. label = "usb";
  151. gpios = <&gpio 19 1>;
  152. };
  153. voice {
  154. label = "voice";
  155. gpios = <&gpiomm 0 1>;
  156. };
  157. fxs1 {
  158. label = "fxs1";
  159. gpios = <&gpiomm 1 1>;
  160. };
  161. fxs2 {
  162. label = "fxs2";
  163. gpios = <&gpiomm 2 1>;
  164. };
  165. fxo {
  166. label = "fxo";
  167. gpios = <&gpiomm 3 1>;
  168. };
  169. };
  170. };