hg622.dts 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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 = "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. reset {
  17. label = "reset";
  18. gpios = <&gpio1 2 1>;
  19. linux,code = <KEY_RESTART>;
  20. };
  21. };
  22. gpio-leds {
  23. compatible = "gpio-leds";
  24. dsl_green {
  25. label = "HG622:green:dsl";
  26. gpios = <&gpio0 2 1>;
  27. };
  28. inet_green {
  29. label = "HG622:green:inet";
  30. gpios = <&gpio0 5 1>;
  31. };
  32. usb_green {
  33. label = "HG622:green:usb";
  34. gpios = <&gpio0 11 1>;
  35. };
  36. power_green {
  37. label = "HG622:green:power";
  38. gpios = <&gpio0 22 1>;
  39. default-state = "on";
  40. };
  41. };
  42. };
  43. &pflash {
  44. status = "ok";
  45. linux,part-probe = "bcm63xxpart";
  46. cfe@0 {
  47. label = "CFE";
  48. reg = <0x000000 0x020000>;
  49. read-only;
  50. };
  51. linux@20000 {
  52. label = "linux";
  53. reg = <0x020000 0xf80000>;
  54. };
  55. cal_data@fa0000 {
  56. label = "cal_data";
  57. reg = <0xfa0000 0x020000>;
  58. read-only;
  59. };
  60. nvram@fe0000 {
  61. label = "nvram";
  62. reg = <0xfe0000 0x020000>;
  63. };
  64. };