2
0

bcm96318ref_p300.dts 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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. stdout-path = "serial0:115200n8";
  10. };
  11. gpio-keys-polled {
  12. compatible = "gpio-keys-polled";
  13. #address-cells = <1>;
  14. #size-cells = <0>;
  15. poll-interval = <20>;
  16. debounce-interval = <60>;
  17. wps {
  18. label = "wps";
  19. gpios = <&pinctrl 33 1>;
  20. linux,code = <KEY_WPS_BUTTON>;
  21. };
  22. reset {
  23. label = "reset";
  24. gpios = <&pinctrl 34 1>;
  25. linux,code = <KEY_RESTART>;
  26. };
  27. };
  28. gpio-leds {
  29. compatible = "gpio-leds";
  30. inet {
  31. label = "96318REF_P300:green:inet";
  32. gpios = <&pinctrl 8 1>;
  33. };
  34. inet_fail {
  35. label = "96318REF_P300:red:inet-fail";
  36. gpios = <&pinctrl 9 1>;
  37. };
  38. post_failed {
  39. label = "96318REF_P300:red:post-failed";
  40. gpios = <&pinctrl 11 1>;
  41. };
  42. usb_pwron {
  43. label = "96318REF_P300::usb-pwron";
  44. gpios = <&pinctrl 13 1>;
  45. default-state = "on";
  46. };
  47. };
  48. };
  49. &hsspi {
  50. status = "ok";
  51. flash@0 {
  52. compatible = "jedec,spi-nor";
  53. spi-max-frequency = <62500000>;
  54. spi-tx-bus-width = <2>;
  55. spi-rx-bus-width = <2>;
  56. reg = <0>;
  57. #address-cells = <1>;
  58. #size-cells = <1>;
  59. linux,part-probe = "bcm63xxpart";
  60. partitions {
  61. compatible = "brcm,bcm963xx-cfe-nor-partitions";
  62. };
  63. };
  64. };
  65. &pinctrl {
  66. pinctrl-names = "default";
  67. pinctrl-0 = <&pinctrl_usb_pwron>;
  68. };
  69. &uart0 {
  70. status = "ok";
  71. };