BTHOMEHUBV2B.dts 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  1. /dts-v1/;
  2. /include/ "danube.dtsi"
  3. / {
  4. model = "BTHOMEHUBV2B - BT Home Hub 2B"; /* SoC: Lantiq Danube-S PSB 50712 @ 333MHz V1.3/1.5 */
  5. chosen {
  6. bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
  7. };
  8. memory@0 { /* RAM: Samsung K4H511638F-LC 64MB */
  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. #address-cells = <1>;
  19. #size-cells = <1>;
  20. localbus@0 {
  21. #address-cells = <2>;
  22. #size-cells = <1>;
  23. ranges = <0 0 0x0 0x3ffffff /* addrsel0 */
  24. 1 0 0x4000000 0x4000010>; /* addsel1 */
  25. compatible = "lantiq,localbus", "simple-bus";
  26. nor-boot@0 { /* NOR Flash: Spansion S29AL004D 512KB */
  27. compatible = "lantiq,nor"; /* "AMD AM29LV400BB" compatible on 3.3.8 */
  28. lantiq,cs = <0>;
  29. bank-width = <2>;
  30. reg = <0 0x0 0x80000>;
  31. #address-cells = <1>;
  32. #size-cells = <1>;
  33. partition@0 {
  34. label = "uboot";
  35. reg = <0x00000 0x40000>; /* 256KB */
  36. };
  37. partition@40000 {
  38. label = "uboot_env";
  39. reg = <0x40000 0x10000>; /* 64KB */
  40. };
  41. partition@50000 {
  42. label = "rg_conf_1";
  43. reg = <0x50000 0x10000>;
  44. };
  45. partition@60000 {
  46. label = "rg_conf_2";
  47. reg = <0x60000 0x10000>;
  48. };
  49. partition@70000 {
  50. label = "rg_conf_factory";
  51. reg = <0x70000 0x10000>;
  52. };
  53. };
  54. nand-parts@0 { /* NAND Flash: Samsung K9F5608U0D-JIB0 32MB */
  55. compatible = "gen_nand", "lantiq,nand-xway";
  56. lantiq,cs = <1>;
  57. bank-width = <2>;
  58. reg = <1 0x0 0x2000000 >;
  59. #address-cells = <1>;
  60. #size-cells = <1>;
  61. req-mask = <0x1>; /* PCI request lines to mask during NAND access */
  62. ath9k_cal: partition@0 {
  63. label = "art"; /* Atheros 9160 wifi b/g/n radio EEPROM */
  64. reg = <0x00000 0x4000>;
  65. read-only;
  66. };
  67. partition@4000 {
  68. label = "kernel";
  69. reg = <0x4000 0x200000>;
  70. };
  71. partition@164000 {
  72. label = "ubi";
  73. reg = <0x204000 0x1DFC000>;
  74. };
  75. };
  76. ath9k_eep {
  77. compatible = "ath9k,eeprom";
  78. ath,eep-flash = <&ath9k_cal 0x0000>;
  79. ath,mac-increment = <1>;
  80. ath,pci-slot = <14>;
  81. ath,eep-endian;
  82. };
  83. };
  84. gpio: pinmux@E100B10 {
  85. compatible = "lantiq,pinctrl-xway";
  86. pinctrl-names = "default";
  87. pinctrl-0 = <&state_default>;
  88. #gpio-cells = <2>;
  89. gpio-controller;
  90. reg = <0xE100B10 0xA0>;
  91. state_default: pinmux {
  92. stp {
  93. lantiq,groups = "stp";
  94. lantiq,function = "stp";
  95. lantiq,output = <1>;
  96. lantiq,open-drain = <0>;
  97. lantiq,pull = <0>;
  98. };
  99. nand_out {
  100. lantiq,groups = "nand cle", "nand ale";
  101. lantiq,function = "ebu";
  102. lantiq,output = <1>;
  103. lantiq,open-drain = <0>;
  104. lantiq,pull = <0>;
  105. };
  106. nand_cs1 {
  107. lantiq,groups = "nand cs1";
  108. lantiq,function = "ebu";
  109. lantiq,open-drain = <0>;
  110. lantiq,pull = <0>;
  111. };
  112. exin {
  113. lantiq,groups = "exin1";
  114. lantiq,function = "exin";
  115. };
  116. pci_in {
  117. lantiq,groups = "req1";
  118. lantiq,function = "pci";
  119. lantiq,output = <0>;
  120. lantiq,open-drain = <1>;
  121. lantiq,pull = <2>;
  122. };
  123. pci_out {
  124. lantiq,groups = "gnt1";
  125. lantiq,function = "pci";
  126. lantiq,output = <1>;
  127. lantiq,open-drain = <0>;
  128. lantiq,pull = <0>;
  129. };
  130. pci_rst {
  131. lantiq,pins = "io21";
  132. lantiq,output = <1>;
  133. lantiq,open-drain = <0>;
  134. };
  135. btn_in {
  136. lantiq,pins = "io2", "io15", "io22";
  137. lantiq,output = <0>;
  138. lantiq,open-drain = <1>;
  139. lantiq,pull = <2>;
  140. };
  141. };
  142. };
  143. etop@E180000 {
  144. compatible = "lantiq,etop-xway";
  145. reg = <0xE180000 0x40000>;
  146. interrupt-parent = <&icu0>;
  147. interrupts = <73 78>;
  148. phy-mode = "rmii";
  149. mac-address = [ 00 11 22 33 44 55 ];
  150. };
  151. ifxhcd@E101000 {
  152. status = "okay";
  153. };
  154. stp0: stp@E100BB0 {
  155. status = "okay";
  156. #gpio-cells = <2>;
  157. compatible = "lantiq,gpio-stp-xway";
  158. gpio-controller;
  159. reg = <0xE100BB0 0x40>;
  160. lantiq,shadow = <0xfff>;
  161. lantiq,groups = <0x3>;
  162. };
  163. pci@E105400 {
  164. status = "okay";
  165. lantiq,bus-clock = <33333333>;
  166. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  167. interrupt-map = <0x7000 0 0 1 &icu0 30 1>;
  168. gpio-reset = <&gpio 21 0>;
  169. req-mask = <0x1>; /* GNT1 */
  170. };
  171. };
  172. gpio-keys-polled {
  173. compatible = "gpio-keys-polled";
  174. #address-cells = <1>;
  175. #size-cells = <0>;
  176. poll-interval = <100>;
  177. reset {
  178. label = "reset";
  179. gpios = <&gpio 2 1>;
  180. linux,code = <0x198>;
  181. };
  182. findhandset {
  183. label = "findhandset";
  184. gpios = <&gpio 15 1>;
  185. linux,code = <0x101>;
  186. };
  187. wps {
  188. label = "wps";
  189. gpios = <&gpio 22 1>;
  190. linux,code = <0x211>;
  191. };
  192. };
  193. gpio-leds {
  194. compatible = "gpio-leds";
  195. upgrading-orange {
  196. label = "soc:orange:upgrading";
  197. gpios = <&stp0 5 0>;
  198. };
  199. phone-orange {
  200. label = "soc:orange:phone";
  201. gpios = <&stp0 6 0>;
  202. };
  203. phone-blue {
  204. label = "soc:blue:phone";
  205. gpios = <&stp0 7 0>;
  206. };
  207. wireless-orange {
  208. label = "soc:orange:wireless";
  209. gpios = <&stp0 8 0>;
  210. };
  211. wireless-blue {
  212. label = "soc:blue:wireless";
  213. gpios = <&stp0 9 0>;
  214. };
  215. broadband-red {
  216. label = "soc:red:broadband";
  217. gpios = <&stp0 10 0>;
  218. };
  219. broadband-orange {
  220. label = "soc:orange:broadband";
  221. gpios = <&stp0 11 0>;
  222. };
  223. broadband-blue {
  224. label = "soc:blue:broadband";
  225. gpios = <&stp0 12 0>;
  226. };
  227. power-red {
  228. label = "soc:red:power";
  229. gpios = <&stp0 13 0>;
  230. };
  231. power-orange {
  232. label = "soc:orange:power";
  233. gpios = <&stp0 14 0>;
  234. };
  235. power-blue {
  236. label = "soc:blue:power";
  237. gpios = <&stp0 15 0>;
  238. };
  239. };
  240. };