bcm96318ref_p300.dts 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /dts-v1/;
  2. #include "bcm6318.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. model = "Broadcom BCM96318REF_P300 reference board";
  6. compatible = "brcm,bcm96318ref_p300", "brcm,bcm6318";
  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. wps {
  17. label = "wps";
  18. gpios = <&gpio1 1 1>;
  19. linux,code = <KEY_WPS_BUTTON>;
  20. };
  21. reset {
  22. label = "reset";
  23. gpios = <&gpio1 2 1>;
  24. linux,code = <KEY_RESTART>;
  25. };
  26. };
  27. gpio-leds {
  28. compatible = "gpio-leds";
  29. inet {
  30. label = "96318REF_P300:green:inet";
  31. gpios = <&gpio0 8 1>;
  32. };
  33. inet_fail {
  34. label = "96318REF_P300:red:inet-fail";
  35. gpios = <&gpio0 9 1>;
  36. };
  37. post_failed {
  38. label = "96318REF_P300:red:post-failed";
  39. gpios = <&gpio0 11 1>;
  40. };
  41. usb_pwron {
  42. label = "96318REF_P300::usb-pwron";
  43. gpios = <&gpio0 13 1>;
  44. default-state = "on";
  45. };
  46. };
  47. };