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 = <0x40000>; // 256kbyte
18 u-boot,boot-led = "puma:orange:power";
22 stdout-path = "serial0:115200n8";
23 u-boot,spl-boot-order = &spiflash, &sdhci, &sdmmc;
31 vdd_center: vdd-center {
32 compatible = "pwm-regulator";
33 pwms = <&pwm3 0 25000 0>;
34 regulator-name = "vdd_center";
35 regulator-min-microvolt = <800000>;
36 regulator-max-microvolt = <1400000>;
37 regulator-init-microvolt = <950000>;
43 vcc3v3_sys: vcc3v3-sys {
44 compatible = "regulator-fixed";
45 regulator-name = "vcc3v3_sys";
48 regulator-min-microvolt = <3300000>;
49 regulator-max-microvolt = <3300000>;
52 vcc_phy: vcc-phy-regulator {
53 compatible = "regulator-fixed";
54 regulator-name = "vcc_phy";
59 vcc5v0_host: vcc5v0-host-en {
60 compatible = "regulator-fixed";
61 regulator-name = "vcc5v0_host";
62 gpio = <&gpio4 25 GPIO_ACTIVE_HIGH>;
65 clkin_gmac: external-gmac-clock {
66 compatible = "fixed-clock";
67 clock-frequency = <125000000>;
68 clock-output-names = "clkin_gmac";
72 vcc_phy: vcc-phy-regulator {
73 compatible = "regulator-fixed";
74 regulator-name = "vcc_phy";
105 mmc-hs400-enhanced-strobe;
140 rockchip,vbus-gpio = <&gpio4 3 GPIO_ACTIVE_LOW>;
146 pmic_int_l: pmic-int-l {
148 <1 21 RK_FUNC_GPIO &pcfg_pull_up>;
151 pmic_dvs2: pmic-dvs2 {
153 <1 18 RK_FUNC_GPIO &pcfg_pull_down>;
159 phy-supply = <&vcc_phy>;
161 clock_in_out = "input";
162 snps,reset-gpio = <&gpio3 16 GPIO_ACTIVE_LOW>;
163 snps,reset-active-low;
164 snps,reset-delays-us = <0 10000 50000>;
165 assigned-clocks = <&cru SCLK_RMII_SRC>;
166 assigned-clock-parents = <&clkin_gmac>;
167 pinctrl-names = "default";
168 pinctrl-0 = <&rgmii_pins>;
179 #address-cells = <1>;
182 spiflash: w25q32dw@0 {
185 compatible = "spi-flash";
187 spi-max-frequency = <49500000>;