ARV4518PWR01.dtsi 3.3 KB

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