vg50.dts 945 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /dts-v1/;
  2. #include "bcm63268.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. model = "Inteno VG50";
  6. compatible = "inteno,vg50", "brcm,bcm63268";
  7. chosen {
  8. bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
  9. stdout-path = "serial0:115200n8";
  10. };
  11. gpio-keys-polled {
  12. compatible = "gpio-keys-polled";
  13. #address-cells = <1>;
  14. #size-cells = <0>;
  15. poll-interval = <20>;
  16. debounce-interval = <60>;
  17. reset {
  18. label = "reset";
  19. gpios = <&pinctrl 32 0>;
  20. linux,code = <KEY_RESTART>;
  21. };
  22. wps {
  23. label = "wps";
  24. gpios = <&pinctrl 34 0>;
  25. linux,code = <KEY_WPS_BUTTON>;
  26. };
  27. };
  28. };
  29. &hsspi {
  30. status = "ok";
  31. flash@0 {
  32. compatible = "jedec,spi-nor";
  33. spi-max-frequency = <20000000>;
  34. spi-tx-bus-width = <2>;
  35. spi-rx-bus-width = <2>;
  36. reg = <0>;
  37. #address-cells = <1>;
  38. #size-cells = <1>;
  39. partitions {
  40. compatible = "brcm,bcm963xx-cfe-nor-partitions";
  41. };
  42. };
  43. };
  44. &uart0 {
  45. status = "ok";
  46. };