nb6-ser-r0.dts 936 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /dts-v1/;
  2. #include "bcm6362.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. model = "SFR neufbox 6 (Sercomm)";
  6. compatible = "sfr,nb6-ser-r0", "brcm,bcm6362";
  7. chosen {
  8. bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
  9. };
  10. gpio-keys-polled {
  11. compatible = "gpio-keys-polled";
  12. #address-cells = <1>;
  13. #size-cells = <0>;
  14. poll-interval = <20>;
  15. debounce-interval = <60>;
  16. service {
  17. label = "service";
  18. gpios = <&gpio0 10 1>;
  19. linux,code = <BTN_0>;
  20. };
  21. wlan {
  22. label = "wlan";
  23. gpios = <&gpio0 12 1>;
  24. linux,code = <KEY_WLAN>;
  25. };
  26. reset {
  27. label = "reset";
  28. gpios = <&gpio0 24 1>;
  29. linux,code = <KEY_RESTART>;
  30. };
  31. wps {
  32. label = "wps";
  33. gpios = <&gpio0 25 1>;
  34. linux,code = <KEY_WPS_BUTTON>;
  35. };
  36. };
  37. switch {
  38. compatible = "realtek,rtl8367";
  39. gpio-sda = <&gpio0 18 0>;
  40. gpio-sck = <&gpio0 20 0>;
  41. realtek,extif0 = <1 5 1 1 1 1 1 1 2>;
  42. };
  43. };