1
0

BR-6425.dts 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. /dts-v1/;
  2. #include "rt3050.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. compatible = "BR-6425", "ralink,rt3052-soc";
  6. model = "Edimax BR-6425";
  7. cfi@1f000000 {
  8. compatible = "cfi-flash";
  9. reg = <0x1f000000 0x800000>;
  10. bank-width = <2>;
  11. device-width = <2>;
  12. #address-cells = <1>;
  13. #size-cells = <1>;
  14. };
  15. gpio-leds {
  16. compatible = "gpio-leds";
  17. power {
  18. label = "br-6425:green:power";
  19. gpios = <&gpio0 9 1>;
  20. };
  21. wlan {
  22. label = "br-6425:orange:wlan";
  23. gpios = <&gpio0 14 1>;
  24. };
  25. };
  26. gpio-keys-polled {
  27. compatible = "gpio-keys-polled";
  28. #address-cells = <1>;
  29. #size-cells = <0>;
  30. poll-interval = <20>;
  31. reset_wps {
  32. label = "reset_wps";
  33. gpios = <&gpio0 12 1>;
  34. linux,code = <KEY_RESTART>;
  35. };
  36. rfkill {
  37. label = "RFKILL switch";
  38. gpios = <&gpio0 13 1>;
  39. linux,code = <KEY_RFKILL>;
  40. };
  41. };
  42. };
  43. &pinctrl {
  44. state_default: pinctrl0 {
  45. gpio {
  46. ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
  47. ralink,function = "gpio";
  48. };
  49. };
  50. };
  51. &ethernet {
  52. /* mtd-mac-address = <&factory 0x4>; */
  53. };
  54. &esw {
  55. mediatek,portmap = <0x2f>;
  56. };
  57. &wmac {
  58. /* ralink,mtd-eeprom = <&factory 0>; */
  59. };