livebox-blue-5g.dts 1.2 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 = "BTN_1";
  18. gpios = <&gpio1 4 1>;
  19. linux,code = <BTN_1>;
  20. };
  21. button2 {
  22. label = "BTN_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 = "Livebox-blue-5g:red:adsl-fail";
  31. gpios = <&gpio0 0 0>;
  32. default-state = "on";
  33. };
  34. red_adsl {
  35. label = "Livebox-blue-5g:red:adsl-fail";
  36. gpios = <&gpio0 1 0>;
  37. };
  38. red_traffic {
  39. label = "Livebox-blue-5g:red:adsl-fail";
  40. gpios = <&gpio0 2 0>;
  41. };
  42. red_phone {
  43. label = "Livebox-blue-5g:red:adsl-fail";
  44. gpios = <&gpio0 3 0>;
  45. };
  46. red_wifi {
  47. label = "Livebox-blue-5g:red:adsl-fail";
  48. gpios = <&gpio0 4 0>;
  49. };
  50. };
  51. };
  52. &pflash {
  53. reg = <0x1e400000 0x800000>;
  54. status = "ok";
  55. linux,part-probe = "redboot";
  56. };