p870hw-51a-v2.dts 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. /dts-v1/;
  2. /include/ "bcm6368.dtsi"
  3. / {
  4. model = "Zyxel P870HW-51a v2";
  5. compatible = "zyxel,p870hw-51a-v2", "brcm,bcm6368";
  6. gpio-keys-polled {
  7. compatible = "gpio-keys-polled";
  8. #address-cells = <1>;
  9. #size-cells = <0>;
  10. poll-interval = <20>;
  11. debounce-interval = <60>;
  12. reset {
  13. label = "reset";
  14. gpios = <&gpio1 2 1>;
  15. linux,code = <0x198>;
  16. };
  17. wps {
  18. label = "wps";
  19. gpios = <&gpio1 3 1>;
  20. linux,code = <0x211>;
  21. };
  22. };
  23. gpio-leds {
  24. compatible = "gpio-leds";
  25. power_green {
  26. label = "P870HW-51a:green:power";
  27. gpios = <&gpio0 0 0>;
  28. default-state = "on";
  29. };
  30. dsl_green {
  31. label = "P870HW-51a:green:dsl";
  32. gpios = <&gpio0 2 1>;
  33. };
  34. inet_green {
  35. label = "P870HW-51a:green:inet";
  36. gpios = <&gpio0 22 1>;
  37. };
  38. wps_orange {
  39. label = "P870HW-51a:orange:wps";
  40. gpios = <&gpio0 24 1>;
  41. };
  42. inet_red {
  43. label = "P870HW-51a:red:inet";
  44. gpios = <&gpio1 1 1>;
  45. };
  46. };
  47. };
  48. &pflash {
  49. status = "ok";
  50. linux,part-probe = "bcm63xxpart";
  51. cfe@0 {
  52. label = "CFE";
  53. reg = <0x000000 0x010000>;
  54. read-only;
  55. };
  56. linux@10000 {
  57. label = "linux";
  58. reg = <0x010000 0x3e0000>;
  59. };
  60. nvram@3f0000 {
  61. label = "nvram";
  62. reg = <0x3f0000 0x010000>;
  63. };
  64. };