Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: sun8i: s3: add devicetree for Lichee zero plus w/ S3

Lichee zero plus is a core board made by Sipeed, which includes on-board
TF slot or SMT SD NAND, and optional SPI NOR or eMMC, a UART debug
header, a microUSB slot and a gold finger connector for expansion. It
can use either Sochip S3 or Allwinner S3L SoC.

Add the basic device tree for the core board, w/o optional onboard
storage, and with S3 SoC.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>

authored by

Icenowy Zheng and committed by
Maxime Ripard
6f002c57 11d1bdea

+54
+1
arch/arm/boot/dts/Makefile
··· 1114 1114 sun8i-r16-nintendo-super-nes-classic.dtb \ 1115 1115 sun8i-r16-parrot.dtb \ 1116 1116 sun8i-r40-bananapi-m2-ultra.dtb \ 1117 + sun8i-s3-lichee-zero-plus.dtb \ 1117 1118 sun8i-t3-cqa3t-bv3.dtb \ 1118 1119 sun8i-v3s-licheepi-zero.dtb \ 1119 1120 sun8i-v3s-licheepi-zero-dock.dtb \
+53
arch/arm/boot/dts/sun8i-s3-lichee-zero-plus.dts
··· 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 = <&reg_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 + };