1*724ba675SRob Herring// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2*724ba675SRob Herring/* 3*724ba675SRob Herring * Copyright 2022 Icenowy Zheng <uwu@icenowy.me> 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#include <dt-bindings/leds/common.h> 11*724ba675SRob Herring 12*724ba675SRob Herring/ { 13*724ba675SRob Herring model = "Popcorn Computer PopStick v1.1"; 14*724ba675SRob Herring compatible = "sourceparts,popstick-v1.1", "sourceparts,popstick", 15*724ba675SRob Herring "allwinner,suniv-f1c200s", "allwinner,suniv-f1c100s"; 16*724ba675SRob Herring 17*724ba675SRob Herring aliases { 18*724ba675SRob Herring serial0 = &uart0; 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 leds { 26*724ba675SRob Herring compatible = "gpio-leds"; 27*724ba675SRob Herring 28*724ba675SRob Herring led { 29*724ba675SRob Herring function = LED_FUNCTION_STATUS; 30*724ba675SRob Herring color = <LED_COLOR_ID_GREEN>; 31*724ba675SRob Herring gpios = <&pio 4 6 GPIO_ACTIVE_HIGH>; /* PE6 */ 32*724ba675SRob Herring linux,default-trigger = "heartbeat"; 33*724ba675SRob Herring }; 34*724ba675SRob Herring }; 35*724ba675SRob Herring 36*724ba675SRob Herring reg_vcc3v3: regulator-3v3 { 37*724ba675SRob Herring compatible = "regulator-fixed"; 38*724ba675SRob Herring regulator-name = "vcc3v3"; 39*724ba675SRob Herring regulator-min-microvolt = <3300000>; 40*724ba675SRob Herring regulator-max-microvolt = <3300000>; 41*724ba675SRob Herring }; 42*724ba675SRob Herring}; 43*724ba675SRob Herring 44*724ba675SRob Herring&mmc0 { 45*724ba675SRob Herring cd-gpios = <&pio 4 3 GPIO_ACTIVE_LOW>; /* PE3 */ 46*724ba675SRob Herring bus-width = <4>; 47*724ba675SRob Herring disable-wp; 48*724ba675SRob Herring vmmc-supply = <®_vcc3v3>; 49*724ba675SRob Herring status = "okay"; 50*724ba675SRob Herring}; 51*724ba675SRob Herring 52*724ba675SRob Herring&otg_sram { 53*724ba675SRob Herring status = "okay"; 54*724ba675SRob Herring}; 55*724ba675SRob Herring 56*724ba675SRob Herring&spi0 { 57*724ba675SRob Herring pinctrl-names = "default"; 58*724ba675SRob Herring pinctrl-0 = <&spi0_pc_pins>; 59*724ba675SRob Herring status = "okay"; 60*724ba675SRob Herring 61*724ba675SRob Herring flash@0 { 62*724ba675SRob Herring compatible = "spi-nand"; 63*724ba675SRob Herring reg = <0>; 64*724ba675SRob Herring spi-max-frequency = <40000000>; 65*724ba675SRob Herring }; 66*724ba675SRob Herring}; 67*724ba675SRob Herring 68*724ba675SRob Herring&uart0 { 69*724ba675SRob Herring pinctrl-names = "default"; 70*724ba675SRob Herring pinctrl-0 = <&uart0_pe_pins>; 71*724ba675SRob Herring status = "okay"; 72*724ba675SRob Herring}; 73*724ba675SRob Herring 74*724ba675SRob Herring&usb_otg { 75*724ba675SRob Herring dr_mode = "peripheral"; 76*724ba675SRob Herring status = "okay"; 77*724ba675SRob Herring}; 78*724ba675SRob Herring 79*724ba675SRob Herring&usbphy { 80*724ba675SRob Herring status = "okay"; 81*724ba675SRob Herring}; 82