sagem,f@st1704.dts 897 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. &gpio {
  33. status = "okay";
  34. };
  35. &spi {
  36. status = "okay";
  37. spi-flash@0 {
  38. compatible = "spi-flash";
  39. reg = <0>;
  40. #address-cells = <1>;
  41. #size-cells = <1>;
  42. spi-max-frequency = <20000000>;
  43. };
  44. };
  45. &uart0 {
  46. u-boot,dm-pre-reloc;
  47. status = "okay";
  48. };