1*724ba675SRob Herring// SPDX-License-Identifier: (GPL-2.0+ OR X11) 2*724ba675SRob Herring/* 3*724ba675SRob Herring * Copyright 2018 Icenowy Zheng <icenowy@aosc.io> 4*724ba675SRob Herring */ 5*724ba675SRob Herring 6*724ba675SRob Herring/dts-v1/; 7*724ba675SRob Herring#include "suniv-f1c100s.dtsi" 8*724ba675SRob Herring 9*724ba675SRob Herring#include <dt-bindings/gpio/gpio.h> 10*724ba675SRob Herring 11*724ba675SRob Herring/ { 12*724ba675SRob Herring model = "Lichee Pi Nano"; 13*724ba675SRob Herring compatible = "licheepi,licheepi-nano", "allwinner,suniv-f1c100s"; 14*724ba675SRob Herring 15*724ba675SRob Herring aliases { 16*724ba675SRob Herring mmc0 = &mmc0; 17*724ba675SRob Herring serial0 = &uart0; 18*724ba675SRob Herring spi0 = &spi0; 19*724ba675SRob Herring }; 20*724ba675SRob Herring 21*724ba675SRob Herring chosen { 22*724ba675SRob Herring stdout-path = "serial0:115200n8"; 23*724ba675SRob Herring }; 24*724ba675SRob Herring 25*724ba675SRob Herring reg_vcc3v3: vcc3v3 { 26*724ba675SRob Herring compatible = "regulator-fixed"; 27*724ba675SRob Herring regulator-name = "vcc3v3"; 28*724ba675SRob Herring regulator-min-microvolt = <3300000>; 29*724ba675SRob Herring regulator-max-microvolt = <3300000>; 30*724ba675SRob Herring }; 31*724ba675SRob Herring}; 32*724ba675SRob Herring 33*724ba675SRob Herring&mmc0 { 34*724ba675SRob Herring broken-cd; 35*724ba675SRob Herring bus-width = <4>; 36*724ba675SRob Herring disable-wp; 37*724ba675SRob Herring status = "okay"; 38*724ba675SRob Herring vmmc-supply = <®_vcc3v3>; 39*724ba675SRob Herring}; 40*724ba675SRob Herring 41*724ba675SRob Herring&spi0 { 42*724ba675SRob Herring pinctrl-names = "default"; 43*724ba675SRob Herring pinctrl-0 = <&spi0_pc_pins>; 44*724ba675SRob Herring status = "okay"; 45*724ba675SRob Herring 46*724ba675SRob Herring flash@0 { 47*724ba675SRob Herring #address-cells = <1>; 48*724ba675SRob Herring #size-cells = <1>; 49*724ba675SRob Herring compatible = "winbond,w25q128", "jedec,spi-nor"; 50*724ba675SRob Herring reg = <0>; 51*724ba675SRob Herring spi-max-frequency = <40000000>; 52*724ba675SRob Herring }; 53*724ba675SRob Herring}; 54*724ba675SRob Herring 55*724ba675SRob Herring&otg_sram { 56*724ba675SRob Herring status = "okay"; 57*724ba675SRob Herring}; 58*724ba675SRob Herring 59*724ba675SRob Herring&uart0 { 60*724ba675SRob Herring pinctrl-names = "default"; 61*724ba675SRob Herring pinctrl-0 = <&uart0_pe_pins>; 62*724ba675SRob Herring status = "okay"; 63*724ba675SRob Herring}; 64*724ba675SRob Herring 65*724ba675SRob Herring&usb_otg { 66*724ba675SRob Herring dr_mode = "otg"; 67*724ba675SRob Herring status = "okay"; 68*724ba675SRob Herring}; 69*724ba675SRob Herring 70*724ba675SRob Herring&usbphy { 71*724ba675SRob Herring usb0_id_det-gpios = <&pio 4 2 GPIO_ACTIVE_HIGH>; /* PE2 */ 72*724ba675SRob Herring status = "okay"; 73*724ba675SRob Herring}; 74