H201L.dts 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. /dts-v1/;
  2. /include/ "ar9.dtsi"
  3. / {
  4. model = "H201L - ZTE H210L";
  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 = <0x00000 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. pinctrl-names = "default";
  37. pinctrl-0 = <&state_default>;
  38. state_default: pinmux {
  39. };
  40. };
  41. etop@E180000 {
  42. phy-mode = "rgmii";
  43. };
  44. ifxhcd@E101000 {
  45. status = "okay";
  46. gpios = <&gpio 36 0>;
  47. };
  48. };
  49. gpio-keys-polled {
  50. compatible = "gpio-keys-polled";
  51. #address-cells = <1>;
  52. #size-cells = <0>;
  53. poll-interval = <100>;
  54. reset {
  55. label = "reset";
  56. gpios = <&gpio 53 1>;
  57. linux,code = <0x198>;
  58. };
  59. wps {
  60. label = "wps";
  61. gpios = <&gpio 54 1>;
  62. linux,code = <0x211>;
  63. };
  64. rfkill {
  65. label = "rfkill";
  66. gpios = <&gpio 55 1>;
  67. linux,code = <0xf7>;
  68. };
  69. };
  70. gpio-leds {
  71. compatible = "gpio-leds";
  72. power {
  73. label = "power";
  74. gpios = <&gpio 19 1>;
  75. default-state = "on";
  76. };
  77. online {
  78. label = "online";
  79. gpios = <&gpio 37 1>;
  80. };
  81. dsl {
  82. label = "dsl";
  83. gpios = <&gpio 4 1>;
  84. };
  85. phone {
  86. label = "phone";
  87. gpios = <&gpio 39 1>;
  88. };
  89. wps {
  90. label = "wps";
  91. gpios = <&gpio 22 1>;
  92. };
  93. wifi {
  94. label = "wifi";
  95. gpios = <&gpio 6 1>;
  96. };
  97. usb {
  98. label = "usb";
  99. gpios = <&gpio 14 1>;
  100. };
  101. };
  102. gpio_export {
  103. compatible = "gpio-export";
  104. #size-cells = <0>;
  105. switch {
  106. gpio-export,name = "switch";
  107. gpio-export,output = <1>;
  108. gpios = <&gpio 38 0>;
  109. };
  110. usb {
  111. gpio-export,name = "usb";
  112. gpio-export,output = <1>;
  113. gpios = <&gpio 28 0>;
  114. };
  115. wifi {
  116. gpio-export,name = "wifi";
  117. gpio-export,output = <1>;
  118. gpios = <&gpio 7 0>;
  119. };
  120. };
  121. };