RT-N15.dts 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. /dts-v1/;
  2. /include/ "rt2880.dtsi"
  3. / {
  4. #address-cells = <1>;
  5. #size-cells = <1>;
  6. compatible = "RT-N15", "ralink,rt2880-soc";
  7. model = "Asus RT-N15";
  8. palmbus@300000 {
  9. sysc@0 {
  10. ralink,pinmux = "uartlite";
  11. ralink,gpiomux = "i2c";
  12. ralink,uartmux = "gpio";
  13. ralink,wdtmux = <1>;
  14. };
  15. gpio0: gpio@600 {
  16. status = "okay";
  17. };
  18. };
  19. cfi@1f000000 {
  20. compatible = "cfi-flash";
  21. reg = <0x1f000000 0x800000>;
  22. bank-width = <2>;
  23. device-width = <2>;
  24. #address-cells = <1>;
  25. #size-cells = <1>;
  26. partition@0 {
  27. label = "uboot";
  28. reg = <0x0 0x30000>;
  29. read-only;
  30. };
  31. partition@30000 {
  32. label = "uboot-env";
  33. reg = <0x30000 0x10000>;
  34. read-only;
  35. };
  36. partition@40000 {
  37. label = "factory";
  38. reg = <0x40000 0x10000>;
  39. read-only;
  40. };
  41. partition@50000 {
  42. label = "linux";
  43. reg = <0x50000 0x3b0000>;
  44. };
  45. };
  46. ethernet@400000 {
  47. status = "okay";
  48. mtd-mac-address = <&factory 0x4>;
  49. port@0 {
  50. ralink,fixed-link = <1000 1 1 1>;
  51. };
  52. };
  53. rtl8366s {
  54. compatible = "realtek,rtl8366s";
  55. gpio-sda = <&gpio0 1 0>;
  56. gpio-sck = <&gpio0 2 0>;
  57. };
  58. gpio-keys-polled {
  59. compatible = "gpio-keys-polled";
  60. #address-cells = <1>;
  61. #size-cells = <0>;
  62. poll-interval = <100>;
  63. wps {
  64. label = "wps";
  65. gpios = <&gpio0 0 0>;
  66. linux,code = <0x211>;
  67. };
  68. reset {
  69. label = "reset";
  70. gpios = <&gpio0 12 0>;
  71. linux,code = <0x198>;
  72. };
  73. };
  74. gpio-leds {
  75. compatible = "gpio-leds";
  76. power {
  77. label = "rt-n15:blue:power";
  78. gpios = <&gpio0 11 1>;
  79. };
  80. };
  81. };