2
0

NCS601W.dts 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. /dts-v1/;
  2. #include "rt5350.dtsi"
  3. / {
  4. compatible = "NCS601W", "ralink,rt5350-soc";
  5. model = "Wansview NCS601W";
  6. };
  7. &spi0 {
  8. status = "okay";
  9. m25p80@0 {
  10. #address-cells = <1>;
  11. #size-cells = <1>;
  12. compatible = "jedec,spi-nor";
  13. reg = <0>;
  14. linux,modalias = "m25p80", "s25fl064k";
  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 0x7b0000>;
  34. };
  35. };
  36. };
  37. &pinctrl {
  38. state_default: pinctrl0 {
  39. gpio {
  40. ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
  41. ralink,function = "gpio";
  42. };
  43. };
  44. };
  45. &ethernet {
  46. mtd-mac-address = <&factory 0x4>;
  47. };
  48. &esw {
  49. mediatek,portmap = <0x2f>;
  50. };
  51. &wmac {
  52. ralink,mtd-eeprom = <&factory 0>;
  53. };
  54. &ehci {
  55. status = "okay";
  56. };
  57. &ohci {
  58. status = "okay";
  59. };