P2812HNUF1.dts 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. /dts-v1/;
  2. /include/ "P2812HNUFX.dtsi"
  3. / {
  4. model = "P2812HNUF1 - ZyXEL P-2812HNU-F1";
  5. fpi@10000000 {
  6. localbus@0 {
  7. nand-parts@0 {
  8. compatible = "gen_nand", "lantiq,nand-xway";
  9. lantiq,cs = <1>;
  10. bank-width = <2>;
  11. reg = <0 0x0 0x2000000>;
  12. #address-cells = <1>;
  13. #size-cells = <1>;
  14. partition@0 {
  15. label = "uboot";
  16. reg = <0x00000 0x40000>;
  17. };
  18. partition@40000 {
  19. label = "uboot-env";
  20. reg = <0x40000 0x20000>;
  21. };
  22. partition@60000 {
  23. label = "kernel";
  24. reg = <0x60000 0x200000>;
  25. };
  26. partition@260000 {
  27. label = "ubi";
  28. reg = <0x260000 0x7da0000>;
  29. };
  30. };
  31. };
  32. pcie@d900000 {
  33. status = "disabled";
  34. };
  35. };
  36. ralink_eep {
  37. compatible = "ralink,eeprom";
  38. ralink,eeprom = "RT3062.eeprom";
  39. };
  40. gpio-leds {
  41. compatible = "gpio-leds";
  42. internet_red { /* red */
  43. label = "internet_red";
  44. gpios = <&stp 16 1>;
  45. };
  46. internet_green {
  47. label = "internet_green"; /* green */
  48. gpios = <&stp 17 1>;
  49. };
  50. dsl {
  51. label = "dsl";
  52. gpios = <&stp 18 1>;
  53. };
  54. dsl2 {
  55. label = "dsl2";
  56. gpios = <&stp 19 1>;
  57. };
  58. wireless_red { /* red */
  59. label = "wireless_red";
  60. gpios = <&stp 20 1>;
  61. };
  62. wireless_green { /* green */
  63. label = "wireless_green";
  64. gpios = <&stp 21 1>;
  65. };
  66. power { /* red */
  67. label = "power";
  68. gpios = <&stp 22 1>;
  69. };
  70. power2 { /* green */
  71. label = "power2";
  72. gpios = <&stp 23 1>;
  73. };
  74. usb1 { /* green */
  75. label = "usb1";
  76. gpios = <&gpio 38 1>;
  77. };
  78. usb2 { /* green */
  79. label = "usb2";
  80. gpios = <&gpio 44 1>;
  81. };
  82. phone1 { /* green */
  83. label = "phone1";
  84. gpios = <&gpio 11 1>;
  85. };
  86. phone1warn { /* red */
  87. label = "phone1warn";
  88. gpios = <&gpio 12 1>;
  89. };
  90. phone2warn { /* red */
  91. label = "phone2warn";
  92. gpios = <&gpio 26 1>;
  93. };
  94. phone2 { /* green */
  95. label = "phone2";
  96. gpios = <&gpio 28 1>;
  97. };
  98. };
  99. };