1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2014 Romain Perier <romain.perier@gmail.com>
7 #include "rk3066a.dtsi"
10 model = "MarsBoard RK3066";
11 compatible = "haoyu,marsboard-rk3066", "rockchip,rk3066a";
14 device_type = "memory";
15 reg = <0x60000000 0x40000000>;
19 compatible = "pwm-regulator";
20 pwms = <&pwm3 0 1000>;
21 regulator-name = "vdd_log";
22 regulator-min-microvolt = <1200000>;
23 regulator-max-microvolt = <1200000>;
25 voltage-table = <1000000 100>,
30 vcc_sd0: sdmmc-regulator {
31 compatible = "regulator-fixed";
32 regulator-name = "sdmmc-supply";
33 regulator-min-microvolt = <3000000>;
34 regulator-max-microvolt = <3000000>;
35 gpio = <&gpio3 RK_PA7 GPIO_ACTIVE_LOW>;
36 startup-delay-us = <100000>;
37 vin-supply = <&vcc_io>;
40 vsys: vsys-regulator {
41 compatible = "regulator-fixed";
42 regulator-name = "vsys";
43 regulator-min-microvolt = <5000000>;
44 regulator-max-microvolt = <5000000>;
50 cpu0-supply = <&vdd_arm>;
55 clock-frequency = <400000>;
60 interrupt-parent = <&gpio6>;
61 interrupts = <RK_PA4 IRQ_TYPE_LEVEL_LOW>;
63 vcc1-supply = <&vsys>;
64 vcc2-supply = <&vsys>;
65 vcc3-supply = <&vsys>;
66 vcc4-supply = <&vsys>;
67 vcc5-supply = <&vcc_io>;
68 vcc6-supply = <&vcc_io>;
69 vcc7-supply = <&vsys>;
70 vccio-supply = <&vsys>;
73 vcc_rtc: regulator@0 {
74 regulator-name = "vcc_rtc";
79 regulator-name = "vcc_io";
83 vdd_arm: regulator@2 {
84 regulator-name = "vdd_arm";
85 regulator-min-microvolt = <600000>;
86 regulator-max-microvolt = <1500000>;
91 vcc_ddr: regulator@3 {
92 regulator-name = "vcc_ddr";
93 regulator-min-microvolt = <600000>;
94 regulator-max-microvolt = <1500000>;
99 vcc18_cif: regulator@5 {
100 regulator-name = "vcc18_cif";
104 vdd_11: regulator@6 {
105 regulator-name = "vdd_11";
109 vcc_25: regulator@7 {
110 regulator-name = "vcc_25";
114 vcc_18: regulator@8 {
115 regulator-name = "vcc_18";
119 vcc25_hdmi: regulator@9 {
120 regulator-name = "vcc25_hdmi";
124 vcca_33: regulator@10 {
125 regulator-name = "vcca_33";
129 vcc_rmii: regulator@11 {
130 regulator-name = "vcc_rmii";
133 vcc28_cif: regulator@12 {
134 regulator-name = "vcc28_cif";
141 /* must be included after &tps gets defined */
142 #include "tps65910.dtsi"
148 phy-supply = <&vcc_rmii>;
150 pinctrl-names = "default";
151 pinctrl-0 = <&emac_xfer>, <&emac_mdio>, <&phy_int>;
153 phy0: ethernet-phy@0 {
155 interrupt-parent = <&gpio1>;
156 interrupts = <RK_PD2 IRQ_TYPE_LEVEL_LOW>;
163 pinctrl-names = "default";
164 pinctrl-0 = <&sd0_clk>, <&sd0_cmd>, <&sd0_cd>, <&sd0_bus4>;
165 vmmc-supply = <&vcc_sd0>;
171 rockchip,pins = <RK_GPIO1 26 RK_FUNC_GPIO &pcfg_pull_none>;