dlink_dsr-1000n.dts 902 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /*
  2. * Device tree source for D-Link DSR-1000N.
  3. *
  4. * Written by: Aaro Koskinen <aaro.koskinen@iki.fi>
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License version 2 as
  8. * published by the Free Software Foundation.
  9. */
  10. /include/ "dlink_dsr-500n-1000n.dtsi"
  11. #include <dt-bindings/gpio/gpio.h>
  12. / {
  13. model = "dlink,dsr-1000n";
  14. soc@0 {
  15. uart0: serial@1180000000800 {
  16. clock-frequency = <500000000>;
  17. };
  18. };
  19. leds {
  20. compatible = "gpio-leds";
  21. usb1 {
  22. label = "usb1";
  23. gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
  24. };
  25. usb2 {
  26. label = "usb2";
  27. gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
  28. };
  29. wps {
  30. label = "wps";
  31. gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
  32. };
  33. wireless1 {
  34. label = "5g";
  35. gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
  36. };
  37. wireless2 {
  38. label = "2.4g";
  39. gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
  40. };
  41. };
  42. };