1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 2 /* 3 * Copyright 2022 Arm Ltd, 3 * Copyright 2022 Arm Ltd, 4 * based on work: 4 * based on work: 5 * Copyright 2022 Icenowy Zheng <uwu@icenowy. 5 * Copyright 2022 Icenowy Zheng <uwu@icenowy.me> 6 */ 6 */ 7 7 8 /dts-v1/; 8 /dts-v1/; 9 #include "suniv-f1c100s.dtsi" 9 #include "suniv-f1c100s.dtsi" 10 10 11 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/gpio/gpio.h> 12 12 13 / { 13 / { 14 model = "Lctech Pi F1C200s"; 14 model = "Lctech Pi F1C200s"; 15 compatible = "lctech,pi-f1c200s", "all 15 compatible = "lctech,pi-f1c200s", "allwinner,suniv-f1c200s", 16 "allwinner,suniv-f1c100s" 16 "allwinner,suniv-f1c100s"; 17 17 18 aliases { 18 aliases { 19 serial0 = &uart1; 19 serial0 = &uart1; 20 }; 20 }; 21 21 22 chosen { 22 chosen { 23 stdout-path = "serial0:115200n 23 stdout-path = "serial0:115200n8"; 24 }; 24 }; 25 25 26 reg_vcc3v3: regulator-3v3 { 26 reg_vcc3v3: regulator-3v3 { 27 compatible = "regulator-fixed" 27 compatible = "regulator-fixed"; 28 regulator-name = "vcc3v3"; 28 regulator-name = "vcc3v3"; 29 regulator-min-microvolt = <330 29 regulator-min-microvolt = <3300000>; 30 regulator-max-microvolt = <330 30 regulator-max-microvolt = <3300000>; 31 }; 31 }; 32 }; 32 }; 33 33 34 &mmc0 { 34 &mmc0 { 35 broken-cd; 35 broken-cd; 36 bus-width = <4>; 36 bus-width = <4>; 37 disable-wp; 37 disable-wp; 38 vmmc-supply = <®_vcc3v3>; 38 vmmc-supply = <®_vcc3v3>; 39 status = "okay"; 39 status = "okay"; 40 }; 40 }; 41 41 42 &otg_sram { 42 &otg_sram { 43 status = "okay"; 43 status = "okay"; 44 }; 44 }; 45 45 46 &spi0 { 46 &spi0 { 47 pinctrl-names = "default"; 47 pinctrl-names = "default"; 48 pinctrl-0 = <&spi0_pc_pins>; 48 pinctrl-0 = <&spi0_pc_pins>; 49 status = "okay"; 49 status = "okay"; 50 50 51 flash@0 { 51 flash@0 { 52 compatible = "spi-nand"; 52 compatible = "spi-nand"; 53 reg = <0>; 53 reg = <0>; 54 spi-max-frequency = <40000000> 54 spi-max-frequency = <40000000>; 55 }; 55 }; 56 }; 56 }; 57 57 58 &uart1 { 58 &uart1 { 59 pinctrl-names = "default"; 59 pinctrl-names = "default"; 60 pinctrl-0 = <&uart1_pa_pins>; 60 pinctrl-0 = <&uart1_pa_pins>; 61 status = "okay"; 61 status = "okay"; 62 }; 62 }; 63 63 64 /* 64 /* 65 * This is a Type-C socket, but CC1/2 are not 65 * This is a Type-C socket, but CC1/2 are not connected, and VBUS is connected 66 * to Vin, which supplies the board. Host mode 66 * to Vin, which supplies the board. Host mode works (if the board is powered 67 * otherwise), but peripheral is probably the 67 * otherwise), but peripheral is probably the intention. 68 */ 68 */ 69 &usb_otg { 69 &usb_otg { 70 dr_mode = "peripheral"; 70 dr_mode = "peripheral"; 71 status = "okay"; 71 status = "okay"; 72 }; 72 }; 73 73 74 &usbphy { 74 &usbphy { 75 status = "okay"; 75 status = "okay"; 76 }; 76 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.