IP2202.dts 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. /dts-v1/;
  2. /include/ "rt3050.dtsi"
  3. / {
  4. compatible = "IP2202", "ralink,rt3052-soc";
  5. model = "Poray IP2202";
  6. palmbus@10000000 {
  7. sysc@0 {
  8. ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "sdram", "rgmii";
  9. ralink,gpiomux = "mdio";
  10. ralink,uartmux = "gpio";
  11. ralink,wdtmux = <1>;
  12. };
  13. gpio0: gpio@600 {
  14. status = "okay";
  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 0x7b0000>;
  42. };
  43. };
  44. ethernet@10100000 {
  45. status = "okay";
  46. };
  47. esw@10110000 {
  48. status = "okay";
  49. ralink,portmap = <0x2f>;
  50. };
  51. gpio-leds {
  52. compatible = "gpio-leds";
  53. run {
  54. label = "ip2202:green:run";
  55. gpios = <&gpio0 9 1>;
  56. };
  57. net {
  58. label = "ip2202:amber:net";
  59. gpios = <&gpio0 13 1>;
  60. };
  61. };
  62. gpio-keys-polled {
  63. compatible = "gpio-keys-polled";
  64. #address-cells = <1>;
  65. #size-cells = <0>;
  66. poll-interval = <20>;
  67. reset {
  68. label = "reset";
  69. gpios = <&gpio0 10 1>;
  70. linux,code = <0x198>;
  71. };
  72. };
  73. wmac@10180000 {
  74. status = "okay";
  75. ralink,led-polarity = <0>;
  76. };
  77. otg@101c0000 {
  78. status = "okay";
  79. };
  80. };