hg622.dts 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. /dts-v1/;
  2. #include "bcm6368.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. model = "Huawei HG622";
  6. compatible = "huawei,hg622", "brcm,bcm6368";
  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 34 1>;
  19. linux,code = <KEY_RESTART>;
  20. debounce-interval = <60>;
  21. };
  22. };
  23. gpio-leds {
  24. compatible = "gpio-leds";
  25. dsl_green {
  26. label = "HG622:green:dsl";
  27. gpios = <&pinctrl 2 1>;
  28. };
  29. inet_green {
  30. label = "HG622:green:inet";
  31. gpios = <&pinctrl 5 1>;
  32. };
  33. usb_green {
  34. label = "HG622:green:usb";
  35. gpios = <&pinctrl 11 1>;
  36. };
  37. power_green {
  38. label = "HG622:green:power";
  39. gpios = <&pinctrl 22 1>;
  40. default-state = "on";
  41. };
  42. };
  43. };
  44. &pflash {
  45. status = "ok";
  46. partitions {
  47. compatible = "fixed-partitions";
  48. #address-cells = <1>;
  49. #size-cells = <1>;
  50. cfe@0 {
  51. label = "CFE";
  52. reg = <0x000000 0x020000>;
  53. read-only;
  54. };
  55. linux@20000 {
  56. label = "linux";
  57. reg = <0x020000 0xf80000>;
  58. compatible = "brcm,bcm963xx-imagetag";
  59. };
  60. cal_data@fa0000 {
  61. label = "cal_data";
  62. reg = <0xfa0000 0x020000>;
  63. read-only;
  64. };
  65. nvram@fe0000 {
  66. label = "nvram";
  67. reg = <0xfe0000 0x020000>;
  68. };
  69. };
  70. };
  71. &pinctrl {
  72. pinctrl-names = "default";
  73. pinctrl-0 = <&pinctrl_pci_gnt0 &pinctrl_pci_req0
  74. &pinctrl_pci_intb &pinctrl_pci_gnt1
  75. &pinctrl_pci_req1>;
  76. };
  77. &uart0 {
  78. status = "ok";
  79. };