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-1600.dtsi"
13 model = "Theobroma Systems RK3399-Q7 SoM";
14 compatible = "tsd,puma", "rockchip,rk3399";
17 u-boot,spl-payload-offset = <204800>;
21 stdout-path = "serial0:115200n8";
22 u-boot,spl-boot-order = &spiflash, &sdhci, &sdmmc;
30 vdd_center: vdd-center {
31 compatible = "pwm-regulator";
32 pwms = <&pwm3 0 25000 0>;
33 regulator-name = "vdd_center";
34 regulator-min-microvolt = <800000>;
35 regulator-max-microvolt = <1400000>;
36 regulator-init-microvolt = <950000>;
42 vcc3v3_sys: vcc3v3-sys {
43 compatible = "regulator-fixed";
44 regulator-name = "vcc3v3_sys";
47 regulator-min-microvolt = <3300000>;
48 regulator-max-microvolt = <3300000>;
51 vcc_phy: vcc-phy-regulator {
52 compatible = "regulator-fixed";
53 regulator-name = "vcc_phy";
58 vcc5v0_host: vcc5v0-host-en {
59 compatible = "regulator-fixed";
60 regulator-name = "vcc5v0_host";
61 gpio = <&gpio4 25 GPIO_ACTIVE_HIGH>;
64 clkin_gmac: external-gmac-clock {
65 compatible = "fixed-clock";
66 clock-frequency = <125000000>;
67 clock-output-names = "clkin_gmac";
71 vcc_phy: vcc-phy-regulator {
72 compatible = "regulator-fixed";
73 regulator-name = "vcc_phy";
104 mmc-hs400-enhanced-strobe;
143 pmic_int_l: pmic-int-l {
145 <1 21 RK_FUNC_GPIO &pcfg_pull_up>;
148 pmic_dvs2: pmic-dvs2 {
150 <1 18 RK_FUNC_GPIO &pcfg_pull_down>;
156 phy-supply = <&vcc_phy>;
158 clock_in_out = "input";
159 snps,reset-gpio = <&gpio3 16 GPIO_ACTIVE_LOW>;
160 snps,reset-active-low;
161 snps,reset-delays-us = <0 10000 50000>;
162 assigned-clocks = <&cru SCLK_RMII_SRC>;
163 assigned-clock-parents = <&clkin_gmac>;
164 pinctrl-names = "default";
165 pinctrl-0 = <&rgmii_pins>;
176 #address-cells = <1>;
179 spiflash: w25q32dw@0 {
182 compatible = "spi-flash";
184 spi-max-frequency = <5000000>;