GR7000.dts 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. /dts-v1/;
  2. /include/ "ar9.dtsi"
  3. / {
  4. model = "GR7000 - Aztech GR7000";
  5. chosen {
  6. bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
  7. };
  8. memory@0 {
  9. reg = <0x0 0x2000000>;
  10. };
  11. fpi@10000000 {
  12. localbus@0 {
  13. nor-boot@0 {
  14. compatible = "lantiq,nor";
  15. bank-width = <2>;
  16. reg = <0 0x0 0x2000000>;
  17. #address-cells = <1>;
  18. #size-cells = <1>;
  19. partition@0 {
  20. label = "uboot";
  21. reg = <0x0 0x20000>;
  22. read-only;
  23. };
  24. partition@20000 {
  25. label = "uboot_env";
  26. reg = <0x20000 0x10000>;
  27. read-only;
  28. };
  29. partition@30000 {
  30. label = "firmware";
  31. reg = <0x30000 0x7d0000>;
  32. };
  33. };
  34. };
  35. gpio: pinmux@E100B10 {
  36. compatible = "lantiq,pinctrl-xr9";
  37. pinctrl-names = "default";
  38. pinctrl-0 = <&state_default>;
  39. state_default: pinmux {
  40. stp {
  41. lantiq,groups = "stp";
  42. lantiq,function = "stp";
  43. };
  44. pci-in {
  45. lantiq,groups = "req1";
  46. lantiq,output = <0>;
  47. lantiq,open-drain = <1>;
  48. lantiq,pull = <2>;
  49. };
  50. pci-out {
  51. lantiq,groups = "gnt1";
  52. lantiq,output = <1>;
  53. lantiq,pull = <0>;
  54. };
  55. pci_rst {
  56. lantiq,pins = "io21";
  57. lantiq,pull = <0>;
  58. lantiq,output = <1>;
  59. };
  60. };
  61. };
  62. ifxhcd@E101000 {
  63. status = "okay";
  64. };
  65. pci@E105400 {
  66. status = "okay";
  67. };
  68. stp: stp@E100BB0 {
  69. compatible = "lantiq,gpio-stp-xway";
  70. #gpio-cells = <2>;
  71. gpio-controller;
  72. reg = <0xE100BB0 0x40>;
  73. lantiq,shadow = <0xfff>;
  74. lantiq,groups = <0x3>;
  75. };
  76. };
  77. gpio-keys-polled {
  78. compatible = "gpio-keys-polled";
  79. #address-cells = <1>;
  80. #size-cells = <0>;
  81. poll-interval = <100>;
  82. reset {
  83. label = "reset";
  84. gpios = <&gpio 53 1>;
  85. linux,code = <0x198>;
  86. };
  87. wps {
  88. label = "wps";
  89. gpios = <&gpio 54 1>;
  90. linux,code = <0x211>;
  91. };
  92. };
  93. gpio-leds {
  94. compatible = "gpio-leds";
  95. power2 {
  96. label = "power2";
  97. gpios = <&stp 4 0>;
  98. };
  99. internet {
  100. label = "internet";
  101. gpios = <&stp 2 1>;
  102. default-state = "off";
  103. };
  104. internet2 {
  105. label = "internet2";
  106. gpios = <&stp 3 1>;
  107. };
  108. usb {
  109. label = "usb";
  110. gpios = <&stp 10 1>;
  111. };
  112. wifi {
  113. label = "wifi";
  114. gpios = <&stp 15 1>;
  115. };
  116. };
  117. };