gardena-smart-gateway-mt7688.dts 842 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Copyright (C) 2018 Stefan Roese <sr@denx.de>
  4. */
  5. /dts-v1/;
  6. #include "mt7628a.dtsi"
  7. / {
  8. compatible = "gardena,smart-gateway-mt7688", "ralink,mt7628a-soc";
  9. model = "Gardena smart-Gateway-MT7688";
  10. aliases {
  11. serial0 = &uart0;
  12. spi0 = &spi0;
  13. };
  14. memory@0 {
  15. device_type = "memory";
  16. reg = <0x0 0x08000000>;
  17. };
  18. chosen {
  19. bootargs = "console=ttyS0,57600";
  20. stdout-path = &uart0;
  21. };
  22. };
  23. &uart0 {
  24. status = "okay";
  25. clock-frequency = <40000000>;
  26. };
  27. &spi0 {
  28. status = "okay";
  29. num-cs = <2>;
  30. spi-flash@0 {
  31. #address-cells = <1>;
  32. #size-cells = <1>;
  33. compatible = "spi-flash", "jedec,spi-nor";
  34. spi-max-frequency = <40000000>;
  35. reg = <0>;
  36. };
  37. spi-nand@1 {
  38. #address-cells = <1>;
  39. #size-cells = <1>;
  40. compatible = "spi-nand";
  41. spi-max-frequency = <40000000>;
  42. reg = <1>;
  43. };
  44. };