DGN1000B.dts 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. /dts-v1/;
  2. /include/ "amazonse.dtsi"
  3. / {
  4. model = "DGN1000B - Netgear DGN1000B";
  5. chosen {
  6. bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
  7. };
  8. memory@0 {
  9. reg = <0x0 0x1000000>;
  10. };
  11. fpi@10000000 {
  12. gpio: pinmux@E100B10 {
  13. pinctrl-names = "default";
  14. pinctrl-0 = <&state_default>;
  15. state_default: pinmux {
  16. spi {
  17. lantiq,groups = "spi", "spi_cs1";
  18. lantiq,function = "spi";
  19. };
  20. asc {
  21. lantiq,groups = "asc";
  22. lantiq,function = "asc";
  23. };
  24. keys_in {
  25. lantiq,pins = "io0",/* "io25", */"io29";
  26. lantiq,pull = <2>;
  27. lantiq,open-drain = <1>;
  28. };
  29. };
  30. };
  31. etop@E180000 {
  32. phy-mode = "mii";
  33. mac-address = [ 00 11 22 33 44 55 ];
  34. };
  35. spi@E100800 {
  36. m25p80@0 {
  37. #address-cells = <1>;
  38. #size-cells = <1>;
  39. compatible = "mx25l3205d";
  40. reg = <0 0>;
  41. linux,modalias = "m25p80", "mx25l64";
  42. spi-max-frequency = <5000000>;
  43. partition@0 {
  44. reg = <0x0 0x20000>;
  45. label = "SPI (RO) U-Boot Image";
  46. read-only;
  47. };
  48. partition@20000 {
  49. reg = <0x20000 0x10000>;
  50. label = "ENV_MAC";
  51. read-only;
  52. };
  53. partition@30000 {
  54. reg = <0x30000 0x10000>;
  55. label = "DPF";
  56. read-only;
  57. };
  58. partition@40000 {
  59. reg = <0x40000 0x10000>;
  60. label = "NVRAM";
  61. read-only;
  62. };
  63. partition@500000 {
  64. reg = <0x50000 0x003a0000>;
  65. label = "kernel";
  66. };
  67. };
  68. };
  69. ifxhcd@E101000 {
  70. status = "okay";
  71. };
  72. };
  73. gpio-keys-polled {
  74. compatible = "gpio-keys-polled";
  75. #address-cells = <1>;
  76. #size-cells = <0>;
  77. poll-interval = <100>;
  78. reset {
  79. label = "reset";
  80. gpios = <&gpio 0 1>;
  81. linux,code = <0x198>;
  82. };
  83. rfkill {
  84. label = "rfkill";
  85. gpios = <&gpio 25 1>;
  86. linux,code = <0xf7>;
  87. };
  88. wps {
  89. label = "wps";
  90. gpios = <&gpio 29 1>;
  91. linux,code = <0x211>;
  92. };
  93. };
  94. gpio-leds {
  95. cmpatible = "gpio-leds";
  96. dsl {
  97. label = "dsl";
  98. gpios = <&gpio 1 1>;
  99. default-state = "on";
  100. };
  101. online {
  102. label = "online";
  103. gpios = <&gpio 2 1>;
  104. default-state = "on";
  105. };
  106. online2 {
  107. label = "online2";
  108. gpios = <&gpio 3 1>;
  109. default-state = "on";
  110. };
  111. wps {
  112. label = "wps";
  113. gpios = <&gpio 4 1>;
  114. default-state = "on";
  115. };
  116. power {
  117. label = "power";
  118. gpios = <&gpio 13 1>;
  119. default-state = "on";
  120. };
  121. };
  122. };