0001 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
0002 /*
0003 * Copyright (C) 2019 Icenowy Zheng <icenowy@aosc.io>
0004 */
0005
0006 /dts-v1/;
0007 #include "sun8i-v3.dtsi"
0008
0009 #include <dt-bindings/gpio/gpio.h>
0010
0011 / {
0012 model = "Sipeed Lichee Zero Plus";
0013 compatible = "sipeed,lichee-zero-plus", "sochip,s3",
0014 "allwinner,sun8i-v3";
0015
0016 aliases {
0017 serial0 = &uart0;
0018 };
0019
0020 chosen {
0021 stdout-path = "serial0:115200n8";
0022 };
0023
0024 reg_vcc3v3: vcc3v3 {
0025 compatible = "regulator-fixed";
0026 regulator-name = "vcc3v3";
0027 regulator-min-microvolt = <3300000>;
0028 regulator-max-microvolt = <3300000>;
0029 };
0030 };
0031
0032 &mmc0 {
0033 broken-cd;
0034 bus-width = <4>;
0035 vmmc-supply = <®_vcc3v3>;
0036 status = "okay";
0037 };
0038
0039 &uart0 {
0040 pinctrl-0 = <&uart0_pb_pins>;
0041 pinctrl-names = "default";
0042 status = "okay";
0043 };
0044
0045 &usb_otg {
0046 dr_mode = "peripheral";
0047 status = "okay";
0048 };
0049
0050 &usbphy {
0051 usb0_id_det-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>;
0052 status = "okay";
0053 };