BR-6425.dts 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. /dts-v1/;
  2. /include/ "rt3050.dtsi"
  3. / {
  4. compatible = "BR-6425", "ralink,rt3052-soc";
  5. model = "Edimax BR-6425";
  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. cfi@1f000000 {
  15. compatible = "cfi-flash";
  16. reg = <0x1f000000 0x800000>;
  17. bank-width = <2>;
  18. device-width = <2>;
  19. #address-cells = <1>;
  20. #size-cells = <1>;
  21. };
  22. ethernet@10100000 {
  23. mtd-mac-address = <&factory 0x4>;
  24. };
  25. esw@10110000 {
  26. ralink,portmap = <0x2f>;
  27. };
  28. wmac@10180000 {
  29. ralink,mtd-eeprom = <&factory 0>;
  30. };
  31. gpio-leds {
  32. compatible = "gpio-leds";
  33. power {
  34. label = "edimax:green:power";
  35. gpios = <&gpio0 9 1>;
  36. };
  37. wlan {
  38. label = "edimax:orange:wlan";
  39. gpios = <&gpio0 14 1>;
  40. };
  41. };
  42. gpio-keys-polled {
  43. compatible = "gpio-keys-polled";
  44. #address-cells = <1>;
  45. #size-cells = <0>;
  46. poll-interval = <20>;
  47. reset_wps {
  48. label = "reset_wps";
  49. gpios = <&gpio0 12 1>;
  50. linux,code = <0x198>;
  51. };
  52. rfkill {
  53. label = "RFKILL switch";
  54. gpios = <&gpio0 13 1>;
  55. linux,code = <0xf7>;
  56. };
  57. };
  58. };