NCS601W.dts 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. /dts-v1/;
  2. #include "rt5350.dtsi"
  3. / {
  4. compatible = "wansview,ncs601w", "ralink,rt5350-soc";
  5. model = "Wansview NCS601W";
  6. };
  7. &spi0 {
  8. status = "okay";
  9. m25p80@0 {
  10. compatible = "jedec,spi-nor";
  11. reg = <0>;
  12. spi-max-frequency = <10000000>;
  13. partitions {
  14. compatible = "fixed-partitions";
  15. #address-cells = <1>;
  16. #size-cells = <1>;
  17. partition@0 {
  18. label = "u-boot";
  19. reg = <0x0 0x30000>;
  20. read-only;
  21. };
  22. partition@30000 {
  23. label = "u-boot-env";
  24. reg = <0x30000 0x10000>;
  25. read-only;
  26. };
  27. factory: partition@40000 {
  28. label = "factory";
  29. reg = <0x40000 0x10000>;
  30. read-only;
  31. };
  32. partition@50000 {
  33. label = "firmware";
  34. reg = <0x50000 0x7b0000>;
  35. };
  36. };
  37. };
  38. };
  39. &pinctrl {
  40. state_default: pinctrl0 {
  41. gpio {
  42. ralink,group = "i2c", "jtag", "uartf";
  43. ralink,function = "gpio";
  44. };
  45. };
  46. };
  47. &ethernet {
  48. mtd-mac-address = <&factory 0x4>;
  49. };
  50. &esw {
  51. mediatek,portmap = <0x2f>;
  52. };
  53. &wmac {
  54. ralink,mtd-eeprom = <&factory 0>;
  55. };
  56. &ehci {
  57. status = "okay";
  58. };
  59. &ohci {
  60. status = "okay";
  61. };