MT7620a_MT7610e.dts 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. /dts-v1/;
  2. /include/ "mt7620a.dtsi"
  3. / {
  4. compatible = "ralink,mt7620a-eval-board", "ralink,mt7620a-soc";
  5. model = "Ralink MT7620A evaluation board";
  6. palmbus@10000000 {
  7. gpio0: gpio@600 {
  8. status = "okay";
  9. };
  10. spi@b00 {
  11. status = "okay";
  12. m25p80@0 {
  13. #address-cells = <1>;
  14. #size-cells = <1>;
  15. compatible = "en25q64";
  16. reg = <0 0>;
  17. linux,modalias = "m25p80", "en25q64";
  18. spi-max-frequency = <1000000>;
  19. partition@0 {
  20. label = "u-boot";
  21. reg = <0x0 0x30000>;
  22. read-only;
  23. };
  24. partition@30000 {
  25. label = "u-boot-env";
  26. reg = <0x30000 0x10000>;
  27. read-only;
  28. };
  29. factory: partition@40000 {
  30. label = "factory";
  31. reg = <0x40000 0x10000>;
  32. read-only;
  33. };
  34. partition@50000 {
  35. label = "firmware";
  36. reg = <0x50000 0x7b0000>;
  37. };
  38. };
  39. };
  40. };
  41. ethernet@10100000 {
  42. status = "okay";
  43. pinctrl-names = "default";
  44. pinctrl-0 = <&ephy_pins>;
  45. ralink,port-map = "llllw";
  46. };
  47. gsw@10110000 {
  48. ralink,port4 = "ephy";
  49. };
  50. sdhci@10130000 {
  51. status = "okay";
  52. };
  53. pcie@10140000 {
  54. status = "okay";
  55. };
  56. gpio-keys-polled {
  57. compatible = "gpio-keys";
  58. #address-cells = <1>;
  59. #size-cells = <0>;
  60. poll-interval = <20>;
  61. wps {
  62. label = "wps";
  63. gpios = <&gpio0 12 1>;
  64. linux,code = <0x100>;
  65. };
  66. reset {
  67. label = "reset";
  68. gpios = <&gpio0 13 1>;
  69. linux,code = <0x101>;
  70. };
  71. };
  72. };