OMNI-EMB.dts 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. /dts-v1/;
  2. /include/ "rt3050.dtsi"
  3. / {
  4. compatible = "OMNI-EMB", "ralink,rt3052-soc";
  5. model = "Omnima MiniEMBWiFi";
  6. pinctrl {
  7. state_default: pinctrl0 {
  8. gpio {
  9. ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
  10. ralink,function = "gpio";
  11. };
  12. };
  13. };
  14. gpio-leds {
  15. compatible = "gpio-leds";
  16. status {
  17. label = "emb:green:status";
  18. gpios = <&gpio0 9 1>;
  19. };
  20. wlan {
  21. label = "emb:green:wlan";
  22. gpios = <&gpio0 14 1>;
  23. };
  24. };
  25. gpio-keys-polled {
  26. compatible = "gpio-keys-polled";
  27. #address-cells = <1>;
  28. #size-cells = <0>;
  29. poll-interval = <20>;
  30. reset {
  31. label = "reset";
  32. gpios = <&gpio0 12 1>;
  33. linux,code = <0x198>;
  34. };
  35. };
  36. cfi@1f000000 {
  37. compatible = "cfi-flash";
  38. reg = <0x1f000000 0x800000>;
  39. bank-width = <2>;
  40. device-width = <2>;
  41. #address-cells = <1>;
  42. #size-cells = <1>;
  43. partition@0 {
  44. label = "u-boot";
  45. reg = <0x0 0x30000>;
  46. read-only;
  47. };
  48. partition@30000 {
  49. label = "u-boot-env";
  50. reg = <0x30000 0x10000>;
  51. read-only;
  52. };
  53. factory: partition@40000 {
  54. label = "factory";
  55. reg = <0x40000 0x10000>;
  56. read-only;
  57. };
  58. partition@50000 {
  59. label = "firmware";
  60. reg = <0x50000 0x7b0000>;
  61. };
  62. };
  63. ethernet@10100000 {
  64. mtd-mac-address = <&factory 0x28>;
  65. };
  66. esw@10110000 {
  67. ralink,portmap = <0x2f>;
  68. };
  69. wmac@10180000 {
  70. ralink,mtd-eeprom = <&factory 0>;
  71. };
  72. otg@101c0000 {
  73. status = "okay";
  74. };
  75. };