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