gw6200.dts 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. /dts-v1/;
  2. #include "bcm6348.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. model = "TECOM GW6200";
  6. compatible = "tecom,gw6200", "brcm,bcm6348";
  7. chosen {
  8. bootargs = "root=/dev/mtdblock2 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 36 1>;
  20. linux,code = <KEY_RESTART>;
  21. };
  22. };
  23. gpio-leds {
  24. compatible = "gpio-leds";
  25. line1_green {
  26. label = "GW6200:green:line1";
  27. gpios = <&pinctrl 4 1>;
  28. };
  29. line2_green {
  30. label = "GW6200:green:line2";
  31. gpios = <&pinctrl 5 1>;
  32. };
  33. line3_green {
  34. label = "GW6200:green:line3";
  35. gpios = <&pinctrl 6 1>;
  36. };
  37. tel_green {
  38. label = "GW6200:green:tel";
  39. gpios = <&pinctrl 7 1>;
  40. };
  41. };
  42. };
  43. &pflash {
  44. status = "ok";
  45. linux,part-probe = "bcm63xxpart";
  46. partitions {
  47. compatible = "fixed-partitions";
  48. #address-cells = <1>;
  49. #size-cells = <1>;
  50. cfe@0 {
  51. label = "CFE";
  52. reg = <0x000000 0x010000>;
  53. read-only;
  54. };
  55. linux@10000 {
  56. label = "linux";
  57. reg = <0x010000 0x7e0000>;
  58. compatible = "brcm,bcm963xx-imagetag";
  59. };
  60. nvram@7f0000 {
  61. label = "nvram";
  62. reg = <0x7f0000 0x010000>;
  63. };
  64. };
  65. };
  66. &pinctrl {
  67. pinctrl-names = "default";
  68. pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii &pinctrl_mii_pccard>;
  69. };
  70. &uart0 {
  71. status = "ok";
  72. };