RT5350F-OLINUXINO.dts 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. /dts-v1/;
  2. #include "rt5350.dtsi"
  3. / {
  4. compatible = "RT5350F-OLINUXINO", "ralink,rt5350-soc";
  5. model = "Olimex RT5350F-OLinuXino";
  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. linux,modalias = "m25p80", "s25fl064k";
  15. spi-max-frequency = <10000000>;
  16. partition@0 {
  17. label = "u-boot";
  18. reg = <0x0 0x30000>;
  19. read-only;
  20. };
  21. partition@30000 {
  22. label = "u-boot-env";
  23. reg = <0x30000 0x10000>;
  24. read-only;
  25. };
  26. factory: partition@40000 {
  27. label = "factory";
  28. reg = <0x40000 0x10000>;
  29. read-only;
  30. };
  31. partition@50000 {
  32. label = "firmware";
  33. reg = <0x50000 0x3b0000>;
  34. };
  35. };
  36. };
  37. &gpio1 {
  38. status = "okay";
  39. };
  40. &pinctrl {
  41. state_default: pinctrl0 {
  42. gpio {
  43. ralink,group = "jtag", "rgmii", "mdio", "uartf";
  44. ralink,function = "gpio";
  45. };
  46. };
  47. };
  48. &ethernet {
  49. mtd-mac-address = <&factory 0x4>;
  50. };
  51. &esw {
  52. mediatek,portmap = <0x2f>;
  53. mediatek,led_polarity = <0x17>;
  54. };
  55. &wmac {
  56. ralink,mtd-eeprom = <&factory 0>;
  57. };
  58. &ehci {
  59. status = "okay";
  60. };
  61. &ohci {
  62. status = "okay";
  63. };