1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 2 /* 3 * Copyright (C) 2019 Icenowy Zheng <icenowy@ao 3 * Copyright (C) 2019 Icenowy Zheng <icenowy@aosc.io> 4 */ 4 */ 5 5 6 /dts-v1/; 6 /dts-v1/; 7 #include "sun8i-v3.dtsi" 7 #include "sun8i-v3.dtsi" 8 8 9 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/gpio/gpio.h> 10 10 11 / { 11 / { 12 model = "Sipeed Lichee Zero Plus"; 12 model = "Sipeed Lichee Zero Plus"; 13 compatible = "sipeed,lichee-zero-plus" 13 compatible = "sipeed,lichee-zero-plus", "sochip,s3", 14 "allwinner,sun8i-v3"; 14 "allwinner,sun8i-v3"; 15 15 16 aliases { 16 aliases { 17 serial0 = &uart0; 17 serial0 = &uart0; 18 }; 18 }; 19 19 20 chosen { 20 chosen { 21 stdout-path = "serial0:115200n 21 stdout-path = "serial0:115200n8"; 22 }; 22 }; 23 23 24 reg_vcc3v3: vcc3v3 { 24 reg_vcc3v3: vcc3v3 { 25 compatible = "regulator-fixed" 25 compatible = "regulator-fixed"; 26 regulator-name = "vcc3v3"; 26 regulator-name = "vcc3v3"; 27 regulator-min-microvolt = <330 27 regulator-min-microvolt = <3300000>; 28 regulator-max-microvolt = <330 28 regulator-max-microvolt = <3300000>; 29 }; 29 }; 30 }; 30 }; 31 31 32 &mmc0 { 32 &mmc0 { 33 broken-cd; 33 broken-cd; 34 bus-width = <4>; 34 bus-width = <4>; 35 vmmc-supply = <®_vcc3v3>; 35 vmmc-supply = <®_vcc3v3>; 36 status = "okay"; 36 status = "okay"; 37 }; 37 }; 38 38 39 &uart0 { 39 &uart0 { 40 pinctrl-0 = <&uart0_pb_pins>; 40 pinctrl-0 = <&uart0_pb_pins>; 41 pinctrl-names = "default"; 41 pinctrl-names = "default"; 42 status = "okay"; 42 status = "okay"; 43 }; 43 }; 44 44 45 &usb_otg { 45 &usb_otg { 46 dr_mode = "peripheral"; 46 dr_mode = "peripheral"; 47 status = "okay"; 47 status = "okay"; 48 }; 48 }; 49 49 50 &usbphy { 50 &usbphy { 51 usb0_id_det-gpios = <&pio 5 6 GPIO_ACT 51 usb0_id_det-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>; 52 status = "okay"; 52 status = "okay"; 53 }; 53 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.