livebox-blue-5g.dts 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. /dts-v1/;
  2. #include "bcm6348.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. model = "Inventel Livebox 1";
  6. compatible = "inventel,livebox-blue-5g", "brcm,bcm6348";
  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. button1 {
  17. label = "1";
  18. gpios = <&gpio1 4 1>;
  19. linux,code = <KEY_RESTART>;
  20. };
  21. button2 {
  22. label = "2";
  23. gpios = <&gpio0 7 1>;
  24. linux,code = <BTN_2>;
  25. };
  26. };
  27. gpio-leds {
  28. compatible = "gpio-leds";
  29. red_adsl_fail {
  30. label = "Livebox1:red:adsl-fail-power";
  31. gpios = <&gpio0 0 0>;
  32. default-state = "on";
  33. };
  34. red_adsl {
  35. label = "Livebox1:red:adsl";
  36. gpios = <&gpio0 1 0>;
  37. };
  38. red_traffic {
  39. label = "Livebox1:red:traffic";
  40. gpios = <&gpio0 2 0>;
  41. };
  42. red_phone {
  43. label = "Livebox1:red:phone";
  44. gpios = <&gpio0 3 0>;
  45. };
  46. red_wifi {
  47. label = "Livebox1:red:wifi";
  48. gpios = <&gpio0 4 0>;
  49. };
  50. };
  51. };
  52. &pflash {
  53. reg = <0x1e400000 0x800000>;
  54. status = "ok";
  55. linux,part-probe = "RedBoot";
  56. };