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