2 * (C) Copyright 2017 Theobroma Systems Design und Consulting GmbH
4 * SPDX-License-Identifier: GPL-2.0+ X11
8 #include <dt-bindings/pwm/pwm.h>
10 #include "rk3399-sdram-ddr3-1333.dtsi"
13 model = "Theobroma Systems RK3399-Q7 SoM";
14 compatible = "tsd,puma", "rockchip,rk3399";
17 stdout-path = "serial0:115200n8";
18 u-boot,spl-boot-order = &spiflash, &sdhci, &sdmmc;
26 vdd_center: vdd-center {
27 compatible = "pwm-regulator";
28 pwms = <&pwm3 0 25000 0>;
29 regulator-name = "vdd_center";
30 regulator-min-microvolt = <800000>;
31 regulator-max-microvolt = <1400000>;
32 regulator-init-microvolt = <950000>;
38 vcc3v3_sys: vcc3v3-sys {
39 compatible = "regulator-fixed";
40 regulator-name = "vcc3v3_sys";
43 regulator-min-microvolt = <3300000>;
44 regulator-max-microvolt = <3300000>;
47 vcc_phy: vcc-phy-regulator {
48 compatible = "regulator-fixed";
49 regulator-name = "vcc_phy";
54 vcc5v0_host: vcc5v0-host-en {
55 compatible = "regulator-fixed";
56 regulator-name = "vcc5v0_host";
57 gpio = <&gpio4 25 GPIO_ACTIVE_HIGH>;
60 clkin_gmac: external-gmac-clock {
61 compatible = "fixed-clock";
62 clock-frequency = <125000000>;
63 clock-output-names = "clkin_gmac";
67 vcc_phy: vcc-phy-regulator {
68 compatible = "regulator-fixed";
69 regulator-name = "vcc_phy";
100 mmc-hs400-enhanced-strobe;
139 pmic_int_l: pmic-int-l {
141 <1 21 RK_FUNC_GPIO &pcfg_pull_up>;
144 pmic_dvs2: pmic-dvs2 {
146 <1 18 RK_FUNC_GPIO &pcfg_pull_down>;
152 phy-supply = <&vcc_phy>;
154 clock_in_out = "input";
155 snps,reset-gpio = <&gpio3 16 GPIO_ACTIVE_LOW>;
156 snps,reset-active-low;
157 snps,reset-delays-us = <0 10000 50000>;
158 assigned-clocks = <&cru SCLK_RMII_SRC>;
159 assigned-clock-parents = <&clkin_gmac>;
160 pinctrl-names = "default";
161 pinctrl-0 = <&rgmii_pins>;
172 #address-cells = <1>;
175 spiflash: w25q32dw@0 {
178 compatible = "spi-flash";
180 spi-max-frequency = <5000000>;