ARV8539PW22.dts 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. /dts-v1/;
  2. /include/ "danube.dtsi"
  3. / {
  4. model = "ARV8539PW22 - Speedport W 504V Typ A";
  5. chosen {
  6. leds {
  7. boot = &power_green;
  8. failsafe = &power_red;
  9. running = &power_green;
  10. dsl = &dsl_green;
  11. internet = &online_green;
  12. wifi = &wireless_green;
  13. };
  14. };
  15. memory@0 {
  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. localbus@0 {
  26. nor-boot@0 {
  27. compatible = "lantiq,nor";
  28. bank-width = <2>;
  29. reg = <0 0x0 0x800000>;
  30. #address-cells = <1>;
  31. #size-cells = <1>;
  32. partitions {
  33. compatible = "fixed-partitions";
  34. #address-cells = <1>;
  35. #size-cells = <1>;
  36. partition@0 {
  37. label = "uboot";
  38. reg = <0x00000 0x30000>; /* 192 KiB */
  39. read-only;
  40. };
  41. partition@30000 {
  42. label = "uboot";
  43. reg = <0x30000 0x10000>; /* 64 KiB */
  44. read-only;
  45. };
  46. partition@40000 {
  47. label = "firmware";
  48. reg = <0x40000 0x7B0000>; /* 7872 KiB */
  49. };
  50. partition@7F0000 {
  51. label = "art";
  52. reg = <0x7F0000 0x10000>; /* 64 KiB*/
  53. read-only;
  54. };
  55. };
  56. };
  57. mac_addr {
  58. compatible = "lantiq,eth-mac";
  59. reg = <0 0x7f0016 0x6>;
  60. mac-increment = <2>;
  61. };
  62. ath9k_eep {
  63. compatible = "ath9k,eeprom";
  64. reg = <0 0x7f0400 0x1000
  65. 0 0x7f0016 0x6>;
  66. ath,mac-increment = <1>;
  67. ath,pci-slot = <14>;
  68. ath,eep-endian;
  69. ath,arv-ath9k-fix;
  70. };
  71. };
  72. gpio: pinmux@E100B10 {
  73. pinctrl-names = "default";
  74. pinctrl-0 = <&state_default>;
  75. state_default: pinmux {
  76. pci_in {
  77. lantiq,groups = "req1";
  78. lantiq,function = "pci";
  79. lantiq,open-drain = <1>;
  80. lantiq,pull = <2>;
  81. lantiq,output = <0>;
  82. };
  83. pci_out {
  84. lantiq,groups = "gnt1";
  85. lantiq,function = "pci";
  86. lantiq,output = <1>;
  87. };
  88. pci_rst {
  89. lantiq,pins = "io21";
  90. lantiq,pull = <2>;
  91. lantiq,output = <1>;
  92. };
  93. relay {
  94. lantiq,pins = "io31";
  95. lantiq,output = <1>;
  96. };
  97. };
  98. };
  99. etop@E180000 {
  100. phy-mode = "mii";
  101. };
  102. pci@E105400 {
  103. status = "okay";
  104. gpio-reset = <&gpio 21 0>;
  105. };
  106. ifxhcd@E101000 {
  107. status = "okay";
  108. gpios = <&gpio 14 0>;
  109. lantiq,portmask = <0x3>;
  110. };
  111. };
  112. gpio-keys-polled {
  113. compatible = "gpio-keys-polled";
  114. #address-cells = <1>;
  115. #size-cells = <0>;
  116. poll-interval = <100>;
  117. wlan {
  118. label = "wlan";
  119. gpios = <&gpio 29 1>;
  120. linux,code = <0x211>;
  121. };
  122. reset {
  123. label = "reset";
  124. gpios = <&gpio 30 1>;
  125. linux,code = <0x198>;
  126. };
  127. };
  128. gpio-leds {
  129. compatible = "gpio-leds";
  130. power_green: power-green {
  131. label = "arv8539pw22:green:power";
  132. gpios = <&gpio 24 1>;
  133. default-state = "keep";
  134. };
  135. power_red: power-red {
  136. label = "arv8539pw22:red:power";
  137. gpios = <&gpio 4 1>;
  138. };
  139. dsl_green: dsl-green {
  140. label = "arv8539pw22:green:dsl";
  141. gpios = <&gpio 5 1>;
  142. };
  143. online_green: online-green {
  144. label = "arv8539pw22:green:online";
  145. gpios = <&gpio 6 1>;
  146. };
  147. wireless_green: wireless-green {
  148. label = "arv8539pw22:green:wlan";
  149. gpios = <&gpio 8 1>;
  150. };
  151. /*
  152. telefonie green is missing
  153. */
  154. };
  155. };