1
0

WIZARD8800.dts 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. /dts-v1/;
  2. #include "rt5350.dtsi"
  3. / {
  4. compatible = "easyacc,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. compatible = "jedec,spi-nor";
  17. reg = <0>;
  18. spi-max-frequency = <10000000>;
  19. partitions {
  20. compatible = "fixed-partitions";
  21. #address-cells = <1>;
  22. #size-cells = <1>;
  23. partition@0 {
  24. label = "u-boot";
  25. reg = <0x0 0x30000>;
  26. read-only;
  27. };
  28. partition@30000 {
  29. label = "u-boot-env";
  30. reg = <0x30000 0x10000>;
  31. read-only;
  32. };
  33. factory: partition@40000 {
  34. label = "factory";
  35. reg = <0x40000 0x10000>;
  36. read-only;
  37. };
  38. partition@50000 {
  39. label = "firmware";
  40. reg = <0x50000 0x7b0000>;
  41. };
  42. };
  43. };
  44. };
  45. &pinctrl {
  46. state_default: pinctrl0 {
  47. gpio {
  48. ralink,group = "i2c", "jtag", "uartf";
  49. ralink,function = "gpio";
  50. };
  51. };
  52. };
  53. &ethernet {
  54. mtd-mac-address = <&factory 0x4>;
  55. };
  56. &esw {
  57. mediatek,portmap = <0x2f>;
  58. };
  59. &ehci {
  60. status = "okay";
  61. };
  62. &ohci {
  63. status = "okay";
  64. };
  65. &wmac {
  66. ralink,mtd-eeprom = <&factory 0>;
  67. };