wap-5813n.dts 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. /dts-v1/;
  2. /include/ "bcm6368.dtsi"
  3. / {
  4. model = "Comtrend WAP-5813n";
  5. compatible = "comtrend,wap-5813n", "brcm,bcm6368";
  6. gpio-keys-polled {
  7. compatible = "gpio-keys-polled";
  8. #address-cells = <1>;
  9. #size-cells = <0>;
  10. poll-interval = <20>;
  11. debounce-interval = <60>;
  12. wlan {
  13. label = "wlan";
  14. gpios = <&gpio1 0 1>;
  15. linux,code = <0xee>;
  16. };
  17. reset {
  18. label = "reset";
  19. gpios = <&gpio1 2 1>;
  20. linux,code = <0x198>;
  21. };
  22. wps {
  23. label = "wps";
  24. gpios = <&gpio1 3 1>;
  25. linux,code = <0x211>;
  26. };
  27. };
  28. gpio-leds {
  29. compatible = "gpio-leds";
  30. inet_green {
  31. label = "WAP-5813n:green:inet";
  32. gpios = <&gpio0 5 0>;
  33. };
  34. power_green {
  35. label = "WAP-5813n:green:power";
  36. gpios = <&gpio0 22 0>;
  37. default-state = "on";
  38. };
  39. wps_green {
  40. label = "WAP-5813n:green:wps";
  41. gpios = <&gpio0 23 1>;
  42. };
  43. power_red {
  44. label = "WAP-5813n:red:power";
  45. gpios = <&gpio0 24 0>;
  46. };
  47. inet_red {
  48. label = "WAP-5813n:red:inet";
  49. gpios = <&gpio0 31 0>;
  50. };
  51. };
  52. };
  53. &pflash {
  54. status = "ok";
  55. linux,part-probe = "bcm63xxpart";
  56. cfe@0 {
  57. label = "CFE";
  58. reg = <0x000000 0x010000>;
  59. read-only;
  60. };
  61. linux@10000 {
  62. label = "linux";
  63. reg = <0x010000 0x7e0000>;
  64. };
  65. nvram@7f0000 {
  66. label = "nvram";
  67. reg = <0x7f0000 0x010000>;
  68. };
  69. };