sagem,f@st1704.dts 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. // SPDX-License-Identifier: GPL-2.0+
  2. /*
  3. * Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com>
  4. */
  5. /dts-v1/;
  6. #include "brcm,bcm6338.dtsi"
  7. / {
  8. model = "Sagem F@ST1704";
  9. compatible = "sagem,f@st1704", "brcm,bcm6338";
  10. aliases {
  11. serial0 = &uart0;
  12. };
  13. chosen {
  14. stdout-path = "serial0:115200n8";
  15. };
  16. gpio-leds {
  17. compatible = "gpio-leds";
  18. inet_green {
  19. label = "F@ST1704:green:inet";
  20. gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
  21. };
  22. power_green {
  23. label = "F@ST1704:green:power";
  24. gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
  25. };
  26. inet_red {
  27. label = "F@ST1704:red:inet";
  28. gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
  29. };
  30. };
  31. };
  32. &enet {
  33. status = "okay";
  34. phy = <&enetphy>;
  35. phy-mode = "mii";
  36. enetphy: fixed-link {
  37. reg = <1>;
  38. speed = <100>;
  39. full-duplex;
  40. };
  41. };
  42. &gpio {
  43. status = "okay";
  44. };
  45. &spi {
  46. status = "okay";
  47. spi-flash@0 {
  48. compatible = "jedec,spi-nor";
  49. reg = <0>;
  50. #address-cells = <1>;
  51. #size-cells = <1>;
  52. spi-max-frequency = <20000000>;
  53. };
  54. };
  55. &uart0 {
  56. bootph-all;
  57. status = "okay";
  58. };