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