AIR3GII.dts 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. /dts-v1/;
  2. /include/ "rt5350.dtsi"
  3. / {
  4. compatible = "AIR3GII", "ralink,rt5350-soc";
  5. model = "AirLive Air3GII";
  6. palmbus@10000000 {
  7. sysc@0 {
  8. ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
  9. ralink,uartmux = "gpio";
  10. ralink,wdtmux = <1>;
  11. };
  12. gpio0: gpio@600 {
  13. status = "okay";
  14. };
  15. spi@b00 {
  16. status = "okay";
  17. m25p80@0 {
  18. #address-cells = <1>;
  19. #size-cells = <1>;
  20. compatible = "en25q32b";
  21. reg = <0 0>;
  22. linux,modalias = "m25p80", "en25q32b";
  23. spi-max-frequency = <10000000>;
  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. };
  45. };
  46. ethernet@10100000 {
  47. status = "okay";
  48. };
  49. esw@10110000 {
  50. status = "okay";
  51. ralink,portmap = <0x2f>;
  52. };
  53. gpio-leds {
  54. compatible = "gpio-leds";
  55. wlan {
  56. label = "airlive:green:wlan";
  57. gpios = <&gpio0 8 0>;
  58. };
  59. mobile {
  60. label = "airlive:green:mobile";
  61. gpios = <&gpio0 9 1>;
  62. };
  63. };
  64. gpio-keys-polled {
  65. compatible = "gpio-keys-polled";
  66. #address-cells = <1>;
  67. #size-cells = <0>;
  68. poll-interval = <20>;
  69. wps {
  70. label = "wps";
  71. gpios = <&gpio0 7 1>;
  72. linux,code = <0x211>;
  73. };
  74. };
  75. wmac@10180000 {
  76. status = "okay";
  77. };
  78. };