Advertisement
Guest User

Jensen AL3000DG v2 dts

a guest
Oct 6th, 2015
31
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.66 KB | None | 0 0
  1. /dts-v1/;
  2.  
  3. /include/ "rt3883.dtsi"
  4.  
  5. / {
  6. compatible = "AL3000DG_V2", "ralink,rt3883-soc";
  7. model = "Jensen Scandinavia AL3000DG v2";
  8.  
  9. palmbus@10000000 {
  10. timer@100 {
  11. status = "okay";
  12. };
  13.  
  14. gpio1: gpio@638 {
  15. status = "okay";
  16. };
  17.  
  18. uartlite@c00 {
  19. status = "okay";
  20. };
  21.  
  22. spi@b00 {
  23. status = "okay";
  24.  
  25. m25p80@0 {
  26. #address-cells = <1>;
  27. #size-cells = <1>;
  28. compatible = "mx25l6405d";
  29. reg = <0 0>;
  30. linux,modalias = "m25p80";
  31. spi-max-frequency = <25000000>;
  32.  
  33. partition@0 {
  34. label = "uboot";
  35. reg = <0x0 0x30000>;
  36. read-only;
  37. };
  38.  
  39. partition@30000 {
  40. label = "uboot-env";
  41. reg = <0x30000 0x10000>;
  42. read-only;
  43. };
  44.  
  45. factory: partition@40000 {
  46. label = "factory";
  47. reg = <0x40000 0x10000>;
  48. read-only;
  49. };
  50.  
  51. devdata: partition@50000 {
  52. reg = <0x50000 0x20000>;
  53. label = "devdata";
  54. read-only;
  55. };
  56.  
  57. partition@70000 {
  58. reg = <0x70000 0x790000>;
  59. label = "firmware";
  60. };
  61.  
  62. partition@270000 {
  63. reg = <0x270000 0x590000>;
  64. label = "rootfs";
  65. };
  66. };
  67. };
  68. };
  69.  
  70. pinctrl {
  71. state_default: pinctrl0 {
  72. gpio {
  73. ralink,group = "i2c", "jtag", "uartf";
  74. ralink,function = "gpio";
  75. };
  76. };
  77. };
  78.  
  79. ethernet@10100000 {
  80. status = "okay";
  81. mtd-mac-address = <&devdata 0x0d>;
  82.  
  83. port@0 {
  84. ralink,fixed-link = <1000 1 1 1>;
  85. };
  86. };
  87.  
  88. pci@10140000 {
  89. status = "okay";
  90. pinctrl-names = "default";
  91. pinctrl-0 = <&pci_pins>;
  92.  
  93. pci_pins: pci {
  94. pci {
  95. ralink,group = "pci";
  96. ralink,function = "pci-fnc";
  97. };
  98. };
  99.  
  100. host-bridge {
  101. pci-bridge@1 {
  102. status = "okay";
  103.  
  104. wmac@0,0 {
  105. ralink,5ghz = <0>;
  106. compatible = "ralink,rt2880-pci", "pciclass060400", "pciclass0604";
  107. reg = < 0x10000 0 0 0 0 >;
  108. ralink,eeprom = "rt2x00pci_1_0.eeprom";
  109. };
  110. };
  111. };
  112. };
  113.  
  114. wmac@10180000 {
  115. status = "okay";
  116. ralink,2ghz = <0>;
  117. ralink,mtd-eeprom = <&factory 0>;
  118. };
  119.  
  120. ehci@101c0000 {
  121. status = "okay";
  122. };
  123.  
  124. ohci@101c1000 {
  125. status = "okay";
  126. };
  127.  
  128. rtl8367b {
  129. compatible = "realtek,rtl8367b";
  130. gpio-sda = <&gpio0 1 0>;
  131. gpio-sck = <&gpio0 2 0>;
  132. realtek,extif1 = <1 0 1 1 1 1 1 1 2>;
  133. };
  134.  
  135. gpio-keys-polled {
  136. compatible = "gpio-keys-polled";
  137. #address-cells = <1>;
  138. #size-cells = <0>;
  139. poll-interval = <100>;
  140.  
  141. reset {
  142. label = "reset";
  143. gpios = <&gpio0 7 1>;
  144. linux,code = <0x198>;
  145. };
  146.  
  147. rfkill {
  148. label = "rfkill";
  149. gpios = <&gpio0 9 1>;
  150. linux,input-type = <5>;
  151. linux,code = <0xf7>;
  152. };
  153. };
  154.  
  155. gpio-leds {
  156. compatible = "gpio-leds";
  157.  
  158. power {
  159. label = "al3000dg-v2:blue:power";
  160. gpios = <&gpio0 10 1>;
  161. };
  162.  
  163. wlan2g {
  164. label = "al3000dg-v2:blue:wlan2g";
  165. gpios = <&gpio0 11 1>;
  166. };
  167.  
  168. wlan5g {
  169. label = "al3000dg-v2:blue:wlan5g";
  170. gpios = <&gpio0 14 1>;
  171. };
  172. };
  173.  
  174. gpio_export {
  175. compatible = "gpio-export";
  176. #size-cells = <0>;
  177.  
  178. /* JTAG */
  179. gpio17 {
  180. /* JTAG_TDO */
  181. gpio-export,name = "gpio17";
  182. gpio-export,direction_may_change = <1>;
  183. gpios = <&gpio0 17 0>;
  184. };
  185.  
  186. gpio18 {
  187. /* JTAG_TDI */
  188. gpio-export,name = "gpio18";
  189. gpio-export,direction_may_change = <1>;
  190. gpios = <&gpio0 18 0>;
  191. };
  192.  
  193. gpio19 {
  194. /* JTAG_TMS */
  195. gpio-export,name = "gpio19";
  196. gpio-export,direction_may_change = <1>;
  197. gpios = <&gpio0 19 0>;
  198. };
  199.  
  200. gpio20 {
  201. /* JTAG_TCLK */
  202. gpio-export,name = "gpio20";
  203. gpio-export,direction_may_change = <1>;
  204. gpios = <&gpio0 20 0>;
  205. };
  206.  
  207. gpio21 {
  208. /* JTAG_TRST_N */
  209. gpio-export,name = "gpio21";
  210. gpio-export,direction_may_change = <1>;
  211. gpios = <&gpio0 21 0>;
  212. };
  213. };
  214. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement