gw6200.dts 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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 = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
  9. stdout-path = "serial0:115200n8";
  10. };
  11. keys {
  12. compatible = "gpio-keys-polled";
  13. #address-cells = <1>;
  14. #size-cells = <0>;
  15. poll-interval = <20>;
  16. reset {
  17. label = "reset";
  18. gpios = <&pinctrl 36 1>;
  19. linux,code = <KEY_RESTART>;
  20. debounce-interval = <60>;
  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. partitions {
  46. compatible = "fixed-partitions";
  47. #address-cells = <1>;
  48. #size-cells = <1>;
  49. cfe@0 {
  50. label = "CFE";
  51. reg = <0x000000 0x010000>;
  52. read-only;
  53. };
  54. linux@10000 {
  55. label = "linux";
  56. reg = <0x010000 0x7e0000>;
  57. compatible = "brcm,bcm963xx-imagetag";
  58. };
  59. nvram@7f0000 {
  60. label = "nvram";
  61. reg = <0x7f0000 0x010000>;
  62. };
  63. };
  64. };
  65. &pinctrl {
  66. pinctrl-names = "default";
  67. pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii &pinctrl_mii_pccard>;
  68. };
  69. &uart0 {
  70. status = "ok";
  71. };