1
0

RT5350F-OLINUXINO-EVB.dts 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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. spi-max-frequency = <10000000>;
  33. partition@0 {
  34. label = "u-boot";
  35. reg = <0x0 0x30000>;
  36. read-only;
  37. };
  38. partition@30000 {
  39. label = "u-boot-env";
  40. reg = <0x30000 0x10000>;
  41. read-only;
  42. };
  43. factory: partition@40000 {
  44. label = "factory";
  45. reg = <0x40000 0x10000>;
  46. read-only;
  47. };
  48. partition@50000 {
  49. label = "firmware";
  50. reg = <0x50000 0x7b0000>;
  51. };
  52. };
  53. };
  54. &gpio1 {
  55. status = "okay";
  56. };
  57. &pinctrl {
  58. state_default: pinctrl0 {
  59. gpio {
  60. ralink,group = "jtag", "rgmii", "mdio", "uartf";
  61. ralink,function = "gpio";
  62. };
  63. };
  64. };
  65. &ethernet {
  66. mtd-mac-address = <&factory 0x4>;
  67. };
  68. &esw {
  69. mediatek,portmap = <0x2f>;
  70. mediatek,led_polarity = <0x17>;
  71. };
  72. &wmac {
  73. ralink,mtd-eeprom = <&factory 0>;
  74. };
  75. &ehci {
  76. status = "okay";
  77. };
  78. &ohci {
  79. status = "okay";
  80. };