RT5350F-OLINUXINO.dtsi 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. #include "rt5350.dtsi"
  2. / {
  3. compatible = "olimex,rt5350f-olinuxino", "ralink,rt5350-soc";
  4. aliases {
  5. serial0 = &uartlite;
  6. serial1 = &uart;
  7. };
  8. };
  9. &spi0 {
  10. status = "okay";
  11. m25p80@0 {
  12. compatible = "jedec,spi-nor";
  13. reg = <0>;
  14. spi-max-frequency = <10000000>;
  15. partitions {
  16. compatible = "fixed-partitions";
  17. #address-cells = <1>;
  18. #size-cells = <1>;
  19. partition@0 {
  20. label = "u-boot";
  21. reg = <0x0 0x30000>;
  22. read-only;
  23. };
  24. partition@30000 {
  25. label = "u-boot-env";
  26. reg = <0x30000 0x10000>;
  27. read-only;
  28. };
  29. factory: partition@40000 {
  30. label = "factory";
  31. reg = <0x40000 0x10000>;
  32. read-only;
  33. };
  34. partition@50000 {
  35. label = "firmware";
  36. reg = <0x50000 0x7b0000>;
  37. };
  38. };
  39. };
  40. };
  41. &gpio1 {
  42. status = "okay";
  43. };
  44. &pinctrl {
  45. state_default: pinctrl0 {
  46. gpio {
  47. ralink,group = "jtag";
  48. ralink,function = "gpio";
  49. };
  50. uartf_gpio {
  51. ralink,group = "uartf";
  52. ralink,function = "gpio uartf";
  53. };
  54. };
  55. };
  56. &ethernet {
  57. mtd-mac-address = <&factory 0x4>;
  58. };
  59. &esw {
  60. mediatek,portmap = <0x2f>;
  61. mediatek,led_polarity = <0x17>;
  62. };
  63. &wmac {
  64. ralink,mtd-eeprom = <&factory 0>;
  65. ralink,led-polarity = <1>;
  66. };
  67. &ehci {
  68. status = "okay";
  69. };
  70. &ohci {
  71. status = "okay";
  72. };
  73. &i2c {
  74. status = "okay";
  75. };
  76. &uart {
  77. status = "okay";
  78. };