FRITZ7320.dts 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. /dts-v1/;
  2. /include/ "ar9.dtsi"
  3. / {
  4. model = "FRITZ7320 - 1&1 HomeServer";
  5. chosen {
  6. bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
  7. leds {
  8. boot = &power;
  9. failsafe = &power;
  10. running = &power;
  11. internet = &info_green;
  12. dsl = &power;
  13. wifi = &wlan;
  14. };
  15. };
  16. memory@0 {
  17. reg = <0x0 0x4000000>;
  18. };
  19. fpi@10000000 {
  20. localbus@0 {
  21. nor-boot@0 {
  22. compatible = "lantiq,nor";
  23. bank-width = <2>;
  24. reg = <0 0x0 0x1000000>;
  25. #address-cells = <1>;
  26. #size-cells = <1>;
  27. partitions {
  28. compatible = "fixed-partitions";
  29. #address-cells = <1>;
  30. #size-cells = <1>;
  31. ath9k_cal: partition@0 {
  32. label = "urlader";
  33. reg = <0x00000 0x20000>;
  34. read-only;
  35. };
  36. partition@20000 {
  37. label = "firmware";
  38. reg = <0x20000 0xf60000>;
  39. };
  40. partition@f80000 {
  41. label = "tffs (1)";
  42. reg = <0xf80000 0x40000>;
  43. read-only;
  44. };
  45. partition@fc0000 {
  46. label = "tffs (2)";
  47. reg = <0xfc0000 0x40000>;
  48. read-only;
  49. };
  50. };
  51. };
  52. };
  53. ath9k_eep {
  54. compatible = "ath9k,eeprom";
  55. ath,eep-flash = <&ath9k_cal 0x985>;
  56. ath,device-id = /bits/ 16 <0xff1d 0x2d>;
  57. ath,eep-endian;
  58. ath,eep-swap;
  59. };
  60. gpio: pinmux@E100B10 {
  61. pinctrl-names = "default";
  62. pinctrl-0 = <&state_default>;
  63. state_default: pinmux {
  64. pci {
  65. lantiq,groups = "gnt1", "req1", "req2", "req3", "req4", "gnt2", "gnt3", "gnt4";
  66. lantiq,function = "pci";
  67. };
  68. pci-in {
  69. lantiq,groups = "req1", "req2", "req3", "req4";
  70. lantiq,output = <0>;
  71. lantiq,open-drain = <1>;
  72. lantiq,pull = <2>;
  73. };
  74. pci-out {
  75. lantiq,groups = "gnt1", "gnt2", "gnt3", "gnt4";
  76. lantiq,output = <1>;
  77. lantiq,pull = <0>;
  78. };
  79. };
  80. };
  81. etop@E180000 {
  82. phy-mode = "mii";
  83. mac-address = [ 00 11 22 33 44 55 ];
  84. };
  85. ifxhcd@E101000 {
  86. status = "okay";
  87. };
  88. pci@E105400 {
  89. status = "okay";
  90. req-mask = <0xf>;
  91. lantiq,bus-clock = <33333333>;
  92. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  93. interrupt-map = <0x7000 0 0 1 &icu0 30 1>;
  94. gpio-reset = <&gpio 21 0>;
  95. req-mask = <0xf>; /* GNT1 */
  96. };
  97. };
  98. gpio-keys-polled {
  99. compatible = "gpio-keys-polled";
  100. #address-cells = <1>;
  101. #size-cells = <0>;
  102. poll-interval = <100>;
  103. rfkill {
  104. label = "rfkill";
  105. gpios = <&gpio 1 1>;
  106. linux,code = <0xf7>;
  107. };
  108. dect {
  109. label = "dect";
  110. gpios = <&gpio 2 1>;
  111. linux,code = <0x102>;
  112. };
  113. };
  114. gpio-leds {
  115. compatible = "gpio-leds";
  116. power: power {
  117. label = "fritz7320:green:power";
  118. gpios = <&gpio 44 1>;
  119. default-state = "keep";
  120. };
  121. voice {
  122. label = "fritz7320:green:fon";
  123. gpios = <&gpio 47 1>;
  124. };
  125. dect {
  126. label = "fritz7320:green:dect";
  127. gpios = <&gpio 38 1>;
  128. };
  129. wlan: wlan {
  130. label = "fritz7320:green:wlan";
  131. gpios = <&gpio 37 1>;
  132. };
  133. info_green: info_green {
  134. label = "fritz7320:green:info";
  135. gpios = <&gpio 35 1>;
  136. };
  137. info_red {
  138. label = "fritz7320:red:info";
  139. gpios = <&gpio 45 1>;
  140. };
  141. };
  142. };