1
0

WIZARD8800.dts 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. /dts-v1/;
  2. #include "rt5350.dtsi"
  3. / {
  4. compatible = "WIZARD8800", "ralink,rt5350-soc";
  5. model = "EASYACC WI-STOR WIZARD 8800";
  6. };
  7. &gpio0 {
  8. status = "okay";
  9. };
  10. &gpio1 {
  11. status = "okay";
  12. };
  13. &spi0 {
  14. status = "okay";
  15. m25p80@0 {
  16. #address-cells = <1>;
  17. #size-cells = <1>;
  18. compatible = "jedec,spi-nor";
  19. reg = <0>;
  20. linux,modalias = "m25p80", "w25q32";
  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 0x7b0000>;
  40. };
  41. };
  42. };
  43. &pinctrl {
  44. state_default: pinctrl0 {
  45. gpio {
  46. ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
  47. ralink,function = "gpio";
  48. };
  49. };
  50. };
  51. &ethernet {
  52. mtd-mac-address = <&factory 0x4>;
  53. };
  54. &esw {
  55. mediatek,portmap = <0x2f>;
  56. };
  57. &ehci {
  58. status = "okay";
  59. };
  60. &ohci {
  61. status = "okay";
  62. };
  63. &wmac {
  64. ralink,mtd-eeprom = <&factory 0>;
  65. };