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 cpu-supply = <&vdd_arm>;
54 cpu-supply = <&vdd_arm>;
59 clock-frequency = <400000>;
64 interrupt-parent = <&gpio6>;
65 interrupts = <RK_PA4 IRQ_TYPE_LEVEL_LOW>;
67 vcc1-supply = <&vsys>;
68 vcc2-supply = <&vsys>;
69 vcc3-supply = <&vsys>;
70 vcc4-supply = <&vsys>;
71 vcc5-supply = <&vcc_io>;
72 vcc6-supply = <&vcc_io>;
73 vcc7-supply = <&vsys>;
74 vccio-supply = <&vsys>;
77 vcc_rtc: regulator@0 {
78 regulator-name = "vcc_rtc";
83 regulator-name = "vcc_io";
87 vdd_arm: regulator@2 {
88 regulator-name = "vdd_arm";
89 regulator-min-microvolt = <600000>;
90 regulator-max-microvolt = <1500000>;
95 vcc_ddr: regulator@3 {
96 regulator-name = "vcc_ddr";
97 regulator-min-microvolt = <600000>;
98 regulator-max-microvolt = <1500000>;
103 vcc18_cif: regulator@5 {
104 regulator-name = "vcc18_cif";
108 vdd_11: regulator@6 {
109 regulator-name = "vdd_11";
113 vcc_25: regulator@7 {
114 regulator-name = "vcc_25";
118 vcc_18: regulator@8 {
119 regulator-name = "vcc_18";
123 vcc25_hdmi: regulator@9 {
124 regulator-name = "vcc25_hdmi";
128 vcca_33: regulator@10 {
129 regulator-name = "vcca_33";
133 vcc_rmii: regulator@11 {
134 regulator-name = "vcc_rmii";
137 vcc28_cif: regulator@12 {
138 regulator-name = "vcc28_cif";
145 /* must be included after &tps gets defined */
146 #include "tps65910.dtsi"
152 phy-supply = <&vcc_rmii>;
154 pinctrl-names = "default";
155 pinctrl-0 = <&emac_xfer>, <&emac_mdio>, <&phy_int>;
157 phy0: ethernet-phy@0 {
159 interrupt-parent = <&gpio1>;
160 interrupts = <RK_PD2 IRQ_TYPE_LEVEL_LOW>;
167 pinctrl-names = "default";
168 pinctrl-0 = <&sd0_clk>, <&sd0_cmd>, <&sd0_cd>, <&sd0_bus4>;
169 vmmc-supply = <&vcc_sd0>;
175 rockchip,pins = <1 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>;