BTHOMEHUBV3A.dts 4.3 KB

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