RT5350F-OLINUXINO.dts 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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. 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. &gpio1 {
  37. status = "okay";
  38. };
  39. &pinctrl {
  40. state_default: pinctrl0 {
  41. gpio {
  42. ralink,group = "jtag", "rgmii", "mdio", "uartf";
  43. ralink,function = "gpio";
  44. };
  45. };
  46. };
  47. &ethernet {
  48. mtd-mac-address = <&factory 0x4>;
  49. };
  50. &esw {
  51. mediatek,portmap = <0x2f>;
  52. mediatek,led_polarity = <0x17>;
  53. };
  54. &wmac {
  55. ralink,mtd-eeprom = <&factory 0>;
  56. };
  57. &ehci {
  58. status = "okay";
  59. };
  60. &ohci {
  61. status = "okay";
  62. };