hg520v.dts 917 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /dts-v1/;
  2. #include "bcm6358.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. model = "Huawei EchoLife HG520v";
  6. compatible = "huawei,hg520v", "brcm,bcm6358";
  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 5 1>;
  19. linux,code = <KEY_RESTART>;
  20. };
  21. };
  22. gpio-leds {
  23. compatible = "gpio-leds";
  24. inet_green {
  25. label = "HW520:green:net";
  26. gpios = <&gpio1 0 1>;
  27. };
  28. };
  29. };
  30. &pflash {
  31. status = "ok";
  32. linux,part-probe = "bcm63xxpart";
  33. cfe@0 {
  34. label = "CFE";
  35. reg = <0x000000 0x010000>;
  36. read-only;
  37. };
  38. linux@10000 {
  39. label = "linux";
  40. reg = <0x010000 0x3e0000>;
  41. };
  42. nvram@3f0000 {
  43. label = "nvram";
  44. reg = <0x3f0000 0x010000>;
  45. };
  46. };