0001 // SPDX-License-Identifier: (GPL-2.0+ OR X11)
0002 /*
0003 * Copyright 2018 Icenowy Zheng <icenowy@aosc.io>
0004 */
0005
0006 /dts-v1/;
0007 #include "suniv-f1c100s.dtsi"
0008
0009 / {
0010 model = "Lichee Pi Nano";
0011 compatible = "licheepi,licheepi-nano", "allwinner,suniv-f1c100s";
0012
0013 aliases {
0014 mmc0 = &mmc0;
0015 serial0 = &uart0;
0016 spi0 = &spi0;
0017 };
0018
0019 chosen {
0020 stdout-path = "serial0:115200n8";
0021 };
0022
0023 reg_vcc3v3: vcc3v3 {
0024 compatible = "regulator-fixed";
0025 regulator-name = "vcc3v3";
0026 regulator-min-microvolt = <3300000>;
0027 regulator-max-microvolt = <3300000>;
0028 };
0029 };
0030
0031 &mmc0 {
0032 broken-cd;
0033 bus-width = <4>;
0034 disable-wp;
0035 status = "okay";
0036 vmmc-supply = <®_vcc3v3>;
0037 };
0038
0039 &spi0 {
0040 pinctrl-names = "default";
0041 pinctrl-0 = <&spi0_pc_pins>;
0042 status = "okay";
0043
0044 flash@0 {
0045 #address-cells = <1>;
0046 #size-cells = <1>;
0047 compatible = "winbond,w25q128", "jedec,spi-nor";
0048 reg = <0>;
0049 spi-max-frequency = <40000000>;
0050 };
0051 };
0052
0053 &uart0 {
0054 pinctrl-names = "default";
0055 pinctrl-0 = <&uart0_pe_pins>;
0056 status = "okay";
0057 };