PSR-680W.dts 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. /dts-v1/;
  2. /include/ "rt3050.dtsi"
  3. / {
  4. compatible = "PSR-680W", "ralink,rt3052-soc";
  5. model = "Petatel PSR-680W Wireless 3G Router";
  6. chosen {
  7. bootargs = "console=ttyS0,115200";
  8. };
  9. pinctrl {
  10. state_default: pinctrl0 {
  11. gpio {
  12. ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
  13. ralink,function = "gpio";
  14. };
  15. };
  16. };
  17. cfi@1f000000 {
  18. compatible = "cfi-flash";
  19. reg = <0x1f000000 0x800000>;
  20. bank-width = <2>;
  21. device-width = <2>;
  22. #address-cells = <1>;
  23. #size-cells = <1>;
  24. partition@0 {
  25. label = "u-boot";
  26. reg = <0x0 0x30000>;
  27. read-only;
  28. };
  29. partition@30000 {
  30. label = "u-boot-env";
  31. reg = <0x30000 0x10000>;
  32. read-only;
  33. };
  34. factory: partition@40000 {
  35. label = "factory";
  36. reg = <0x40000 0x10000>;
  37. read-only;
  38. };
  39. partition@50000 {
  40. label = "firmware";
  41. reg = <0x50000 0x3b0000>;
  42. };
  43. };
  44. ethernet@10100000 {
  45. mtd-mac-address = <&factory 0x4>;
  46. };
  47. esw@10110000 {
  48. ralink,portmap = <0x3e>;
  49. };
  50. wmac@10180000 {
  51. ralink,mtd-eeprom = <&factory 0>;
  52. };
  53. gpio-leds {
  54. compatible = "gpio-leds";
  55. wan {
  56. label = "psr-680w:red:wan";
  57. gpios = <&gpio0 19 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. reset {
  66. label = "reset";
  67. gpios = <&gpio0 0 1>;
  68. linux,code = <0x198>;
  69. };
  70. };
  71. otg@101c0000 {
  72. status = "okay";
  73. };
  74. };