WRTNODE.dts 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. /dts-v1/;
  2. /include/ "mt7620n.dtsi"
  3. / {
  4. compatible = "wrtnode", "ralink,mt7620n-soc";
  5. model = "WRTNODE";
  6. palmbus@10000000 {
  7. gpio2: gpio@660 {
  8. status = "okay";
  9. };
  10. gpio3: gpio@688 {
  11. status = "okay";
  12. };
  13. spi@b00 {
  14. status = "okay";
  15. m25p80@0 {
  16. #address-cells = <1>;
  17. #size-cells = <1>;
  18. compatible = "mx25l12805d";
  19. reg = <0 0>;
  20. linux,modalias = "m25p80", "w25q128";
  21. spi-max-frequency = <10000000>;
  22. partition@0 {
  23. label = "u-boot";
  24. reg = <0x0 0x30000>;
  25. read-only;
  26. };
  27. partition@30000 {
  28. label = "u-boot-env";
  29. reg = <0x30000 0x10000>;
  30. read-only;
  31. };
  32. factory: partition@40000 {
  33. label = "factory";
  34. reg = <0x40000 0x10000>;
  35. read-only;
  36. };
  37. partition@50000 {
  38. label = "firmware";
  39. reg = <0x50000 0xfb0000>;
  40. };
  41. };
  42. };
  43. };
  44. ehci@101c0000 {
  45. status = "okay";
  46. };
  47. ohci@101c1000 {
  48. status = "okay";
  49. };
  50. ethernet@10100000 {
  51. mtd-mac-address = <&factory 0x4>;
  52. ralink,port-map = "wllll";
  53. };
  54. wmac@10180000 {
  55. ralink,mtd-eeprom = <&factory 0>;
  56. };
  57. pinctrl {
  58. state_default: pinctrl0 {
  59. default {
  60. ralink,group = "ephy", "wled", "pa", "i2c", "wdt", "uartf";
  61. ralink,function = "gpio";
  62. };
  63. };
  64. };
  65. };