sun8i-s3-lichee-zero-plus.dts 881 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2. /*
  3. * Copyright (C) 2019 Icenowy Zheng <[email protected]>
  4. */
  5. /dts-v1/;
  6. #include "sun8i-v3.dtsi"
  7. #include <dt-bindings/gpio/gpio.h>
  8. / {
  9. model = "Sipeed Lichee Zero Plus";
  10. compatible = "sipeed,lichee-zero-plus", "sochip,s3",
  11. "allwinner,sun8i-v3";
  12. aliases {
  13. serial0 = &uart0;
  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. vmmc-supply = <&reg_vcc3v3>;
  29. status = "okay";
  30. };
  31. &uart0 {
  32. pinctrl-0 = <&uart0_pb_pins>;
  33. pinctrl-names = "default";
  34. status = "okay";
  35. };
  36. &usb_otg {
  37. dr_mode = "peripheral";
  38. status = "okay";
  39. };
  40. &usbphy {
  41. usb0_id_det-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>;
  42. status = "okay";
  43. };