1
0

WIZARD8800.dts 1.0 KB

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