ARV8539PW22.dts 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. /dts-v1/;
  2. #include "danube.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. model = "ARV8539PW22 - Speedport W 504V Typ A";
  6. chosen {
  7. bootargs = "console=ttyLTQ0,115200";
  8. };
  9. aliases {
  10. led-boot = &power_green;
  11. led-failsafe = &power_red;
  12. led-running = &power_green;
  13. led-dsl = &dsl_green;
  14. led-internet = &online_green;
  15. led-wifi = &wireless_green;
  16. };
  17. memory@0 {
  18. reg = <0x0 0x4000000>;
  19. };
  20. sram@1F000000 {
  21. vmmc@107000 {
  22. status = "okay";
  23. gpios = <&gpio 31 GPIO_ACTIVE_HIGH>;
  24. };
  25. };
  26. fpi@10000000 {
  27. localbus@0 {
  28. nor-boot@0 {
  29. compatible = "lantiq,nor";
  30. bank-width = <2>;
  31. reg = <0 0x0 0x800000>;
  32. #address-cells = <1>;
  33. #size-cells = <1>;
  34. partitions {
  35. compatible = "fixed-partitions";
  36. #address-cells = <1>;
  37. #size-cells = <1>;
  38. partition@0 {
  39. label = "uboot";
  40. reg = <0x00000 0x30000>; /* 192 KiB */
  41. read-only;
  42. };
  43. partition@30000 {
  44. label = "uboot";
  45. reg = <0x30000 0x10000>; /* 64 KiB */
  46. read-only;
  47. };
  48. partition@40000 {
  49. label = "firmware";
  50. reg = <0x40000 0x7B0000>; /* 7872 KiB */
  51. };
  52. art: partition@7F0000 {
  53. label = "art";
  54. reg = <0x7F0000 0x10000>; /* 64 KiB*/
  55. read-only;
  56. };
  57. };
  58. };
  59. };
  60. gpio: pinmux@E100B10 {
  61. pinctrl-names = "default";
  62. pinctrl-0 = <&state_default>;
  63. state_default: pinmux {
  64. pci_in {
  65. lantiq,groups = "req1";
  66. lantiq,function = "pci";
  67. lantiq,open-drain = <1>;
  68. lantiq,pull = <2>;
  69. lantiq,output = <0>;
  70. };
  71. pci_out {
  72. lantiq,groups = "gnt1";
  73. lantiq,function = "pci";
  74. lantiq,output = <1>;
  75. };
  76. pci_rst {
  77. lantiq,pins = "io21";
  78. lantiq,pull = <2>;
  79. lantiq,output = <1>;
  80. };
  81. relay {
  82. lantiq,pins = "io31";
  83. lantiq,output = <1>;
  84. };
  85. };
  86. };
  87. etop@E180000 {
  88. phy-mode = "mii";
  89. mtd-mac-address = <&art 0x16>;
  90. };
  91. ifxhcd@E101000 {
  92. status = "okay";
  93. gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
  94. lantiq,portmask = <0x3>;
  95. };
  96. };
  97. gpio-keys-polled {
  98. compatible = "gpio-keys-polled";
  99. #address-cells = <1>;
  100. #size-cells = <0>;
  101. poll-interval = <100>;
  102. wlan {
  103. label = "wlan";
  104. gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
  105. linux,code = <KEY_WPS_BUTTON>;
  106. };
  107. reset {
  108. label = "reset";
  109. gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
  110. linux,code = <KEY_RESTART>;
  111. };
  112. /* key DECT is missing */
  113. };
  114. gpio-leds {
  115. compatible = "gpio-leds";
  116. power_green: power-green {
  117. label = "arv8539pw22:green:power";
  118. gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
  119. default-state = "keep";
  120. };
  121. power_red: power-red {
  122. label = "arv8539pw22:red:power";
  123. gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
  124. };
  125. dsl_green: dsl-green {
  126. label = "arv8539pw22:green:dsl";
  127. gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
  128. };
  129. online_green: online-green {
  130. label = "arv8539pw22:green:online";
  131. gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
  132. };
  133. wireless_green: wireless-green {
  134. label = "arv8539pw22:green:wlan";
  135. gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
  136. };
  137. /*
  138. telefonie green is missing
  139. */
  140. };
  141. };
  142. &pci0 {
  143. status = "okay";
  144. gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
  145. wifi@168c,0029 {
  146. compatible = "pci168c,0029";
  147. reg = <0x7000 0 0 0 0>;
  148. qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */
  149. mtd-mac-address = <&art 0x16>;
  150. mtd-mac-address-increment = <1>;
  151. };
  152. };