BR-6425.dts 1.1 KB

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