M2M.dts 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. /dts-v1/;
  2. /include/ "rt5350.dtsi"
  3. / {
  4. compatible = "M2M", "ralink,rt5350-soc";
  5. model = "Intenso Memory 2 Move";
  6. chosen {
  7. bootargs = "console=ttyS0,57600n8 root=/dev/mtdblock5";
  8. };
  9. palmbus@10000000 {
  10. spi@b00 {
  11. status = "okay";
  12. m25p80@0 {
  13. #address-cells = <1>;
  14. #size-cells = <1>;
  15. compatible = "mx25l6405d";
  16. reg = <0 0>;
  17. linux,modalias = "m25p80", "mx25l6405d";
  18. spi-max-frequency = <10000000>;
  19. partition@0 {
  20. label = "Bootloader";
  21. reg = <0x0 0x30000>;
  22. read-only;
  23. };
  24. partition@30000 {
  25. label = "Config";
  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. pinctrl {
  42. state_default: pinctrl0 {
  43. gpio {
  44. ralink,group = "i2c", "uartf";
  45. ralink,function = "gpio";
  46. };
  47. };
  48. };
  49. gpio-leds {
  50. compatible = "gpio-leds";
  51. wifi {
  52. label = "m2m:blue:wifi";
  53. gpios = <&gpio0 7 1>;
  54. };
  55. wan {
  56. label = "m2m:green:wan";
  57. gpios = <&gpio0 12 1>;
  58. };
  59. };
  60. gpio-keys-polled {
  61. compatible = "gpio-keys-polled";
  62. #address-cells = <1>;
  63. #size-cells = <0>;
  64. poll-interval = <20>;
  65. power {
  66. label = "power";
  67. gpios = <&gpio0 1 1>;
  68. linux,code = <0x116>;
  69. };
  70. reset {
  71. label = "reset";
  72. gpios = <&gpio0 10 1>;
  73. linux,code = <0x198>;
  74. };
  75. };
  76. ethernet@10100000 {
  77. mtd-mac-address = <&factory 0x28>;
  78. };
  79. esw@10110000 {
  80. ralink,portmap = <0x2f>;
  81. };
  82. ehci@101c0000 {
  83. status = "okay";
  84. };
  85. ohci@101c1000 {
  86. status = "okay";
  87. };
  88. wmac@10180000 {
  89. ralink,mtd-eeprom = <&factory 0x0>;
  90. };
  91. };