FRITZ7362SL.dts 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
  2. /dts-v1/;
  3. #include "FRITZ736X.dtsi"
  4. #include <dt-bindings/input/input.h>
  5. #include <dt-bindings/mips/lantiq_rcu_gphy.h>
  6. / {
  7. compatible = "avm,fritz7362sl", "avm,fritz736x", "lantiq,xway", "lantiq,vr9";
  8. model = "AVM FRITZ!Box 7362 SL";
  9. };
  10. &power_green {
  11. label = "fritz7362sl:green:power";
  12. };
  13. &power_red {
  14. label = "fritz7362sl:red:power";
  15. };
  16. &info_green {
  17. label = "fritz7362sl:green:info";
  18. };
  19. &wifi {
  20. label = "fritz7362sl:green:wlan";
  21. };
  22. &info_red {
  23. label = "fritz7362sl:red:info";
  24. };
  25. &dect {
  26. label = "fritz7362sl:green:dect";
  27. };
  28. &gpio {
  29. pins_spi_default: pins_spi_default {
  30. spi_in {
  31. lantiq,groups = "spi_di";
  32. lantiq,function = "spi";
  33. };
  34. spi_out {
  35. lantiq,groups = "spi_do", "spi_clk",
  36. "spi_cs4";
  37. lantiq,function = "spi";
  38. lantiq,output = <1>;
  39. };
  40. };
  41. };
  42. &state_default {
  43. nand {
  44. lantiq,groups = "nand ale", "nand cle",
  45. "nand cs1", "nand rd", "nand rdy";
  46. lantiq,function = "ebu";
  47. };
  48. pcie-rst {
  49. lantiq,pins = "io21";
  50. lantiq,open-drain = <1>;
  51. lantiq,output = <1>;
  52. };
  53. };
  54. &spi {
  55. status = "okay";
  56. pinctrl-names = "default";
  57. pinctrl-0 = <&pins_spi_default>;
  58. flash@4 {
  59. #address-cells = <1>;
  60. #size-cells = <1>;
  61. compatible = "jedec,spi-nor";
  62. reg = <4 0>;
  63. spi-max-frequency = <1000000>;
  64. urlader: partition@0 {
  65. reg = <0x0 0x40000>;
  66. label = "urlader";
  67. read-only;
  68. };
  69. partition@40000 {
  70. reg = <0x40000 0x60000>;
  71. label = "tffs (1)";
  72. read-only;
  73. };
  74. partition@A0000 {
  75. reg = <0xA0000 0x60000>;
  76. label = "tffs (2)";
  77. read-only;
  78. };
  79. };
  80. };
  81. &localbus {
  82. nand@1 {
  83. compatible = "lantiq,nand-xway";
  84. lantiq,cs1 = <1>;
  85. bank-width = <1>;
  86. reg = <1 0x0 0x2000000>;
  87. #address-cells = <1>;
  88. #size-cells = <1>;
  89. nand-ecc-mode = "on-die";
  90. partitions {
  91. compatible = "fixed-partitions";
  92. #address-cells = <1>;
  93. #size-cells = <1>;
  94. partition@0 {
  95. label = "kernel";
  96. reg = <0x0 0x400000>;
  97. };
  98. partition@400000 {
  99. label = "ubi";
  100. reg = <0x400000 0x7c00000>;
  101. };
  102. };
  103. };
  104. };
  105. &pcie0 {
  106. gpio-reset = <&gpio 21 GPIO_ACTIVE_LOW>;
  107. pcie@0 {
  108. #size-cells = <1>;
  109. #address-cells = <2>;
  110. };
  111. };