sagem,f@st1704.dts 900 B

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