BTHOMEHUBV3A.dts 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. /dts-v1/;
  2. /include/ "ar9.dtsi"
  3. / {
  4. model = "BTHOMEHUBV3A - BT Home Hub 3A"; /* SoC: Lantiq ar9 @ 333MHz */
  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. nand-parts@0 { /* NAND Flash: Samsung K9F5608U0D-JIB0 32MB */
  27. compatible = "gen_nand", "lantiq,nand-xway";
  28. lantiq,cs = <1>;
  29. bank-width = <2>;
  30. reg = <1 0x0 0x2000000 >;
  31. #address-cells = <1>;
  32. #size-cells = <1>;
  33. req-mask = <0x1>; /* PCI request lines to mask during NAND access */
  34. partition@0 {
  35. label = "preboot";
  36. reg = <0x00000 0x8000>;
  37. read-only;
  38. };
  39. partition@8000 {
  40. label = "u-boot";
  41. reg = <0x8000 0x05c000>;
  42. read-only;
  43. };
  44. partition@64000 {
  45. label = "uboot-config";
  46. reg = <0x64000 0x004000>;
  47. read-only;
  48. };
  49. ath9k_cal: partition@68000 {
  50. label = "art-copy";
  51. reg = <0x68000 0x004000>;
  52. read-only;
  53. };
  54. partition@6c000 {
  55. label = "kernel";
  56. reg = <0x6c000 0x200000>;
  57. };
  58. partition@26c000 {
  59. label = "ubi";
  60. reg = <0x26c000 0x1d94000>;
  61. };
  62. };
  63. ath9k_eep {
  64. compatible = "ath9k,eeprom";
  65. ath,eep-flash = <&ath9k_cal 0x0000>;
  66. ath,mac-offset = <0x10c>;
  67. ath,pci-slot = <14>;
  68. ath,eep-endian;
  69. };
  70. };
  71. gpio: pinmux@E100B10 {
  72. compatible = "lantiq,pinctrl-xr9";
  73. pinctrl-names = "default";
  74. pinctrl-0 = <&state_default>;
  75. #gpio-cells = <2>;
  76. gpio-controller;
  77. reg = <0xE100B10 0xA0>;
  78. state_default: pinmux {
  79. nand_out {
  80. lantiq,groups = "nand cle", "nand ale";
  81. lantiq,function = "ebu";
  82. lantiq,output = <1>;
  83. lantiq,open-drain = <0>;
  84. lantiq,pull = <0>;
  85. };
  86. nand_cs1 {
  87. lantiq,groups = "nand cs1";
  88. lantiq,function = "ebu";
  89. lantiq,open-drain = <0>;
  90. lantiq,pull = <0>;
  91. };
  92. pci_in {
  93. lantiq,groups = "req1";
  94. lantiq,function = "pci";
  95. lantiq,output = <0>;
  96. lantiq,open-drain = <1>;
  97. lantiq,pull = <2>;
  98. };
  99. pci_out {
  100. lantiq,groups = "gnt1";
  101. lantiq,function = "pci";
  102. lantiq,output = <1>;
  103. lantiq,open-drain = <0>;
  104. lantiq,pull = <0>;
  105. };
  106. pci_rst {
  107. lantiq,pins = "io21";
  108. lantiq,output = <1>;
  109. lantiq,open-drain = <0>;
  110. };
  111. };
  112. };
  113. etop@E180000 {
  114. phy-mode = "rgmii";
  115. };
  116. ifxhcd@E101000 {
  117. status = "okay";
  118. gpios = <&gpio 33 0>;
  119. };
  120. pci@E105400 {
  121. status = "okay";
  122. gpio-reset = <&gpio 21 0>;
  123. };
  124. };
  125. gpio-keys-polled {
  126. compatible = "gpio-keys-polled";
  127. #address-cells = <1>;
  128. #size-cells = <0>;
  129. poll-interval = <100>;
  130. reset {
  131. label = "reset";
  132. gpios = <&gpio 54 1>;
  133. linux,code = <0x198>;
  134. };
  135. restart {
  136. label = "restart";
  137. gpios = <&gpio 52 1>;
  138. linux,code = <0x198>;
  139. };
  140. wps {
  141. label = "wps";
  142. gpios = <&gpio 53 1>;
  143. linux,code = <0x211>;
  144. };
  145. };
  146. gpio-leds {
  147. compatible = "gpio-leds";
  148. wireless-red {
  149. label = "soc:red:wireless";
  150. gpios = <&gpio 2 1>;
  151. };
  152. wireless-orange {
  153. label = "soc:orange:wireless";
  154. gpios = <&gpio 6 1>;
  155. };
  156. wireless-blue {
  157. label = "soc:blue:wireless";
  158. gpios = <&gpio 9 1>;
  159. };
  160. broadband-red {
  161. label = "soc:red:broadband";
  162. gpios = <&gpio 11 1>;
  163. };
  164. broadband-orange {
  165. label = "soc:orange:broadband";
  166. gpios = <&gpio 0 1>;
  167. };
  168. broadband-blue {
  169. label = "soc:blue:broadband";
  170. gpios = <&gpio 12 1>;
  171. };
  172. power-red {
  173. label = "soc:red:power";
  174. gpios = <&gpio 14 1>;
  175. };
  176. power-orange {
  177. label = "soc:orange:power";
  178. gpios = <&gpio 5 1>;
  179. };
  180. power-blue {
  181. label = "soc:blue:power";
  182. gpios = <&gpio 1 1>;
  183. };
  184. };
  185. };