suniv-f1c100s-licheepi-nano.dts 973 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. // SPDX-License-Identifier: (GPL-2.0+ OR X11)
  2. /*
  3. * Copyright 2018 Icenowy Zheng <[email protected]>
  4. */
  5. /dts-v1/;
  6. #include "suniv-f1c100s.dtsi"
  7. / {
  8. model = "Lichee Pi Nano";
  9. compatible = "licheepi,licheepi-nano", "allwinner,suniv-f1c100s";
  10. aliases {
  11. mmc0 = &mmc0;
  12. serial0 = &uart0;
  13. spi0 = &spi0;
  14. };
  15. chosen {
  16. stdout-path = "serial0:115200n8";
  17. };
  18. reg_vcc3v3: vcc3v3 {
  19. compatible = "regulator-fixed";
  20. regulator-name = "vcc3v3";
  21. regulator-min-microvolt = <3300000>;
  22. regulator-max-microvolt = <3300000>;
  23. };
  24. };
  25. &mmc0 {
  26. broken-cd;
  27. bus-width = <4>;
  28. disable-wp;
  29. status = "okay";
  30. vmmc-supply = <&reg_vcc3v3>;
  31. };
  32. &spi0 {
  33. pinctrl-names = "default";
  34. pinctrl-0 = <&spi0_pc_pins>;
  35. status = "okay";
  36. flash@0 {
  37. #address-cells = <1>;
  38. #size-cells = <1>;
  39. compatible = "winbond,w25q128", "jedec,spi-nor";
  40. reg = <0>;
  41. spi-max-frequency = <40000000>;
  42. };
  43. };
  44. &uart0 {
  45. pinctrl-names = "default";
  46. pinctrl-0 = <&uart0_pe_pins>;
  47. status = "okay";
  48. };