rk3399-evb-u-boot.dtsi 792 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. // SPDX-License-Identifier: GPL-2.0+
  2. /*
  3. * Copyright (C) 2019 Jagan Teki <jagan@amarulasolutions.com>
  4. */
  5. #include "rk3399-u-boot.dtsi"
  6. #include "rk3399-sdram-lpddr3-4GB-1600.dtsi"
  7. / {
  8. chosen {
  9. stdout-path = "serial2:1500000n8";
  10. u-boot,spl-boot-order = "same-as-spl", &sdhci, &sdmmc;
  11. };
  12. };
  13. &rng {
  14. status = "okay";
  15. };
  16. &i2c0 {
  17. u-boot,dm-pre-reloc;
  18. };
  19. &rk808 {
  20. u-boot,dm-pre-reloc;
  21. };
  22. &tcphy1 {
  23. status = "okay";
  24. };
  25. &usbdrd3_1 {
  26. status = "okay";
  27. };
  28. &usbdrd_dwc3_1 {
  29. dr_mode = "host";
  30. status = "okay";
  31. };
  32. &sdmmc {
  33. u-boot,dm-pre-reloc;
  34. bus-width = <4>;
  35. cap-mmc-highspeed;
  36. cap-sd-highspeed;
  37. cd-gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
  38. disable-wp;
  39. max-frequency = <150000000>;
  40. pinctrl-names = "default";
  41. pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_bus4>;
  42. status = "okay";
  43. };