AWAPN2403.dts 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. /dts-v1/;
  2. /include/ "rt3050.dtsi"
  3. / {
  4. compatible = "AWAPN2403", "ralink,rt3052-soc";
  5. model = "AsiaRF AWAPN2403";
  6. palmbus@10000000 {
  7. spi@b00 {
  8. status = "okay";
  9. m25p80@0 {
  10. #address-cells = <1>;
  11. #size-cells = <1>;
  12. compatible = "mx25l3205d";
  13. reg = <0 0>;
  14. linux,modalias = "m25p80", "mx25l3205d";
  15. spi-max-frequency = <10000000>;
  16. partition@0 {
  17. label = "u-boot";
  18. reg = <0x0 0x30000>;
  19. read-only;
  20. };
  21. partition@30000 {
  22. label = "u-boot-env";
  23. reg = <0x30000 0x10000>;
  24. read-only;
  25. };
  26. factory: partition@40000 {
  27. label = "factory";
  28. reg = <0x40000 0x10000>;
  29. read-only;
  30. };
  31. partition@50000 {
  32. label = "firmware";
  33. reg = <0x50000 0x3b0000>;
  34. };
  35. };
  36. };
  37. };
  38. pinctrl {
  39. state_default: pinctrl0 {
  40. gpio {
  41. ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
  42. ralink,function = "gpio";
  43. };
  44. };
  45. };
  46. esw@10110000 {
  47. ralink,portmap = <0x3e>;
  48. };
  49. wmac@10180000 {
  50. ralink,mtd-eeprom = <&factory 0>;
  51. };
  52. gpio-leds {
  53. compatible = "gpio-leds";
  54. link {
  55. label = "asiarf:green:wps";
  56. gpios = <&gpio0 14 1>;
  57. };
  58. };
  59. gpio-keys-polled {
  60. compatible = "gpio-keys-polled";
  61. #address-cells = <1>;
  62. #size-cells = <0>;
  63. poll-interval = <20>;
  64. reset {
  65. label = "reset";
  66. gpios = <&gpio0 0 1>;
  67. linux,code = <0x198>;
  68. };
  69. };
  70. };