NCS601W.dts 984 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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. spi-max-frequency = <10000000>;
  15. partition@0 {
  16. label = "u-boot";
  17. reg = <0x0 0x30000>;
  18. read-only;
  19. };
  20. partition@30000 {
  21. label = "u-boot-env";
  22. reg = <0x30000 0x10000>;
  23. read-only;
  24. };
  25. factory: partition@40000 {
  26. label = "factory";
  27. reg = <0x40000 0x10000>;
  28. read-only;
  29. };
  30. partition@50000 {
  31. label = "firmware";
  32. reg = <0x50000 0x7b0000>;
  33. };
  34. };
  35. };
  36. &pinctrl {
  37. state_default: pinctrl0 {
  38. gpio {
  39. ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
  40. ralink,function = "gpio";
  41. };
  42. };
  43. };
  44. &ethernet {
  45. mtd-mac-address = <&factory 0x4>;
  46. };
  47. &esw {
  48. mediatek,portmap = <0x2f>;
  49. };
  50. &wmac {
  51. ralink,mtd-eeprom = <&factory 0>;
  52. };
  53. &ehci {
  54. status = "okay";
  55. };
  56. &ohci {
  57. status = "okay";
  58. };