ARV7506PW11.dts 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. /dts-v1/;
  2. #include "danube.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. model = "ARV7506PW11 - Alice/O2 IAD 4421";
  6. chosen {
  7. bootargs = "console=ttyLTQ0,115200";
  8. };
  9. aliases {
  10. led-boot = &power;
  11. led-failsafe = &power_red;
  12. led-running = &power;
  13. led-dsl = &dsl;
  14. led-internet = &internet;
  15. led-wifi = &wlan;
  16. };
  17. memory@0 {
  18. reg = <0x0 0x4000000>;
  19. };
  20. fpi@10000000 {
  21. localbus@0 {
  22. nor-boot@0 {
  23. compatible = "lantiq,nor";
  24. bank-width = <2>;
  25. reg = <0 0x0 0x800000>;
  26. partitions {
  27. compatible = "fixed-partitions";
  28. #address-cells = <1>;
  29. #size-cells = <1>;
  30. partition@0 {
  31. label = "uboot";
  32. reg = <0x00000 0x40000>;
  33. read-only;
  34. };
  35. partition@40000 {
  36. label = "uboot_env";
  37. reg = <0x40000 0x10000>;
  38. read-only;
  39. };
  40. partition@50000 {
  41. label = "firmware";
  42. reg = <0x50000 0x7a0000>;
  43. };
  44. boardconfig: partition@7f0000 {
  45. label = "board_config";
  46. reg = <0x7f0000 0x10000>;
  47. read-only;
  48. };
  49. };
  50. };
  51. };
  52. gpio: pinmux@E100B10 {
  53. pinctrl-names = "default";
  54. pinctrl-0 = <&state_default>;
  55. state_default: pinmux {
  56. pci {
  57. lantiq,groups = "gnt1";
  58. lantiq,function = "pci";
  59. lantiq,output = <1>;
  60. };
  61. pci_rst {
  62. lantiq,pins = "io21";
  63. lantiq,pull = <2>;
  64. lantiq,output = <1>;
  65. };
  66. };
  67. };
  68. /* GPIO 19: switch reset */
  69. etop@E180000 {
  70. phy-mode = "rmii";
  71. mtd-mac-address = <&boardconfig 0x16>;
  72. };
  73. };
  74. gpio-keys-polled {
  75. compatible = "gpio-keys-polled";
  76. #address-cells = <1>;
  77. #size-cells = <0>;
  78. poll-interval = <100>;
  79. rfkill {
  80. label = "rfkill";
  81. gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
  82. linux,code = <KEY_RFKILL>;
  83. };
  84. reset {
  85. label = "reset";
  86. gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
  87. linux,code = <KEY_RESTART>;
  88. };
  89. };
  90. gpio-leds {
  91. compatible = "gpio-leds";
  92. wlan: wlan {
  93. label = "arv7506pw11:green:wlan";
  94. gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
  95. };
  96. power: power {
  97. label = "arv7506pw11:green:power";
  98. gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
  99. default-state = "keep";
  100. };
  101. dsl: dsl {
  102. label = "arv7506pw11:green:dsl";
  103. gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
  104. };
  105. internet: internet {
  106. label = "arv7506pw11:green:internet";
  107. gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
  108. };
  109. power_red: power_red {
  110. label = "arv7506pw11:red:power";
  111. gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
  112. };
  113. internet_red {
  114. label = "arv7506pw11:red:internet";
  115. gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
  116. };
  117. info {
  118. label = "arv7506pw11:green:info";
  119. gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
  120. };
  121. telefon {
  122. label = "arv7506pw11:green:telefon";
  123. gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
  124. };
  125. info_red {
  126. label = "arv7506pw11:red:info";
  127. gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
  128. };
  129. };
  130. };
  131. &pci0 {
  132. status = "okay";
  133. lantiq,external-clock;
  134. gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
  135. wifi@1814,3592 {
  136. compatible = "pci1814,3592";
  137. reg = <0x7000 0 0 0 0>;
  138. ralink,mtd-eeprom = <&boardconfig 0x410>;
  139. ralink,mtd-eeprom-swap;
  140. mtd-mac-address = <&boardconfig 0x16>;
  141. mtd-mac-address-increment = <1>;
  142. };
  143. };