1
0

RT5350F-OLINUXINO-EVB.dts 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. /dts-v1/;
  2. #include "rt5350.dtsi"
  3. / {
  4. compatible = "RT5350F-OLINUXINO-EVB", "ralink,rt5350-soc";
  5. model = "Olimex RT5350F-OLinuXino-EVB";
  6. gpio_export {
  7. compatible = "gpio-export";
  8. #size-cells = <0>;
  9. relay1 {
  10. gpio-export,name = "relay1";
  11. gpio-export,output = <0>;
  12. gpios = <&gpio0 14 0>;
  13. };
  14. relay2 {
  15. gpio-export,name = "relay2";
  16. gpio-export,output = <0>;
  17. gpios = <&gpio0 12 0>;
  18. };
  19. button {
  20. gpio-export,name = "button";
  21. gpios = <&gpio0 0 1>;
  22. };
  23. };
  24. };
  25. &spi0 {
  26. status = "okay";
  27. m25p80@0 {
  28. #address-cells = <1>;
  29. #size-cells = <1>;
  30. compatible = "jedec,spi-nor";
  31. reg = <0>;
  32. linux,modalias = "m25p80", "s25fl064k";
  33. spi-max-frequency = <10000000>;
  34. partition@0 {
  35. label = "u-boot";
  36. reg = <0x0 0x30000>;
  37. read-only;
  38. };
  39. partition@30000 {
  40. label = "u-boot-env";
  41. reg = <0x30000 0x10000>;
  42. read-only;
  43. };
  44. factory: partition@40000 {
  45. label = "factory";
  46. reg = <0x40000 0x10000>;
  47. read-only;
  48. };
  49. partition@50000 {
  50. label = "firmware";
  51. reg = <0x50000 0x7b0000>;
  52. };
  53. };
  54. };
  55. &gpio1 {
  56. status = "okay";
  57. };
  58. &pinctrl {
  59. state_default: pinctrl0 {
  60. gpio {
  61. ralink,group = "jtag", "rgmii", "mdio", "uartf";
  62. ralink,function = "gpio";
  63. };
  64. };
  65. };
  66. &ethernet {
  67. mtd-mac-address = <&factory 0x4>;
  68. };
  69. &esw {
  70. mediatek,portmap = <0x2f>;
  71. mediatek,led_polarity = <0x17>;
  72. };
  73. &wmac {
  74. ralink,mtd-eeprom = <&factory 0>;
  75. };
  76. &ehci {
  77. status = "okay";
  78. };
  79. &ohci {
  80. status = "okay";
  81. };