WBMR.dts 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. /dts-v1/;
  2. /include/ "ar9.dtsi"
  3. / {
  4. model = "WBMR - Buffalo WBMR-HP-G300H";
  5. chosen {
  6. bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
  7. };
  8. memory@0 {
  9. reg = <0x0 0x4000000>;
  10. };
  11. fpi@10000000 {
  12. localbus@0 {
  13. nor-boot@0 {
  14. compatible = "lantiq,nor";
  15. bank-width = <2>;
  16. reg = <0 0x0 0x2000000>;
  17. #address-cells = <1>;
  18. #size-cells = <1>;
  19. partition@0 {
  20. label = "uboot";
  21. reg = <0x00000 0x40000>;
  22. read-only;
  23. };
  24. partition@40000 {
  25. label = "uboot_env";
  26. reg = <0x40000 0x20000>;
  27. read-only;
  28. };
  29. partition@20000 {
  30. label = "firmware";
  31. reg = <0x60000 0x1f20000>;
  32. };
  33. partition@0x1fc0000 {
  34. label = "board";
  35. reg = <0x1fc0000 0x20000>;
  36. read-only;
  37. };
  38. partition@0x1fe0000 {
  39. label = "calibration";
  40. reg = <0x1fe0000 0x20000>;
  41. read-only;
  42. };
  43. };
  44. mac_addr {
  45. compatible = "lantiq,eth-mac";
  46. reg = <0 0x1fd0024 0x6>;
  47. };
  48. };
  49. gpio: pinmux@E100B10 {
  50. pinctrl-names = "default";
  51. pinctrl-0 = <&state_default>;
  52. state_default: pinmux {
  53. pci-in {
  54. lantiq,groups = "req1";
  55. lantiq,output = <0>;
  56. lantiq,open-drain = <1>;
  57. lantiq,pull = <2>;
  58. };
  59. pci-out {
  60. lantiq,groups = "gnt1";
  61. lantiq,output = <1>;
  62. lantiq,pull = <0>;
  63. };
  64. pci_rst {
  65. lantiq,pins = "io21";
  66. lantiq,pull = <0>;
  67. lantiq,output = <1>;
  68. };
  69. };
  70. };
  71. etop@E180000 {
  72. phy-mode = "rgmii";
  73. };
  74. ifxhcd@E101000 {
  75. status = "okay";
  76. gpios = <&gpio 36 0>;
  77. };
  78. pci@E105400 {
  79. status = "okay";
  80. };
  81. };
  82. gpio-keys-polled {
  83. compatible = "gpio-keys-polled";
  84. #address-cells = <1>;
  85. #size-cells = <0>;
  86. poll-interval = <100>;
  87. wps {
  88. label = "wps";
  89. gpios = <&gpio 0 1>;
  90. linux,code = <0x211>;
  91. };
  92. reset {
  93. label = "reset";
  94. gpios = <&gpio 37 1>;
  95. linux,code = <0x198>;
  96. };
  97. eject {
  98. label = "eject";
  99. gpios = <&gpio 34 1>;
  100. linux,code = <0xf7>;
  101. };
  102. movie {
  103. label = "movie";
  104. gpios = <&gpio 22 1>;
  105. linux,code = <0x109>;
  106. };
  107. };
  108. gpio-leds {
  109. compatible = "gpio-leds";
  110. power {
  111. label = "power";
  112. gpios = <&gpio 1 1>;
  113. };
  114. power2 {
  115. label = "power2";
  116. gpios = <&gpio 5 1>;
  117. };
  118. security {
  119. label = "security";
  120. gpios = <&gpio 14 1>;
  121. };
  122. wifi {
  123. label = "wifi";
  124. gpios = <&gpio 15 1>;
  125. };
  126. dsl {
  127. label = "dsl";
  128. gpios = <&gpio 16 1>;
  129. };
  130. online {
  131. label = "online";
  132. gpios = <&gpio 17 1>;
  133. };
  134. online2 {
  135. label = "online2";
  136. gpios = <&gpio 18 1>;
  137. };
  138. movie {
  139. label = "movie";
  140. gpios = <&gpio 20 1>;
  141. };
  142. usb {
  143. label = "usb";
  144. gpios = <&gpio 28 1>;
  145. default-state = "on";
  146. };
  147. };
  148. };