bcm6359-huawei-echolife-hg520v.dts 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. /dts-v1/;
  2. #include "bcm6358.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. model = "Huawei EchoLife HG520v";
  6. compatible = "huawei,echolife-hg520v", "brcm,bcm6359", "brcm,bcm6358";
  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 37 1>;
  19. linux,code = <KEY_RESTART>;
  20. debounce-interval = <60>;
  21. };
  22. };
  23. leds {
  24. compatible = "gpio-leds";
  25. inet_green {
  26. label = "HW520:green:net";
  27. gpios = <&pinctrl 32 1>;
  28. };
  29. };
  30. };
  31. &pflash {
  32. status = "ok";
  33. partitions {
  34. compatible = "fixed-partitions";
  35. #address-cells = <1>;
  36. #size-cells = <1>;
  37. cfe@0 {
  38. label = "CFE";
  39. reg = <0x000000 0x010000>;
  40. read-only;
  41. };
  42. linux@10000 {
  43. label = "linux";
  44. reg = <0x010000 0x3e0000>;
  45. compatible = "brcm,bcm963xx-imagetag";
  46. };
  47. nvram@3f0000 {
  48. label = "nvram";
  49. reg = <0x3f0000 0x010000>;
  50. };
  51. };
  52. };
  53. &uart0 {
  54. status = "ok";
  55. };