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";
18 device_type = "memory";
19 reg = <0x60000000 0x40000000>;
23 compatible = "pwm-regulator";
24 pwms = <&pwm3 0 1000>;
25 regulator-name = "vdd_log";
26 regulator-min-microvolt = <1200000>;
27 regulator-max-microvolt = <1200000>;
29 voltage-table = <1000000 100>,
34 vcc_sd0: sdmmc-regulator {
35 compatible = "regulator-fixed";
36 regulator-name = "sdmmc-supply";
37 regulator-min-microvolt = <3000000>;
38 regulator-max-microvolt = <3000000>;
39 gpio = <&gpio3 RK_PA7 GPIO_ACTIVE_LOW>;
40 startup-delay-us = <100000>;
41 vin-supply = <&vcc_io>;
44 vsys: vsys-regulator {
45 compatible = "regulator-fixed";
46 regulator-name = "vsys";
47 regulator-min-microvolt = <5000000>;
48 regulator-max-microvolt = <5000000>;
54 cpu-supply = <&vdd_arm>;
58 cpu-supply = <&vdd_arm>;
63 clock-frequency = <400000>;
68 interrupt-parent = <&gpio6>;
69 interrupts = <RK_PA4 IRQ_TYPE_LEVEL_LOW>;
71 vcc1-supply = <&vsys>;
72 vcc2-supply = <&vsys>;
73 vcc3-supply = <&vsys>;
74 vcc4-supply = <&vsys>;
75 vcc5-supply = <&vcc_io>;
76 vcc6-supply = <&vcc_io>;
77 vcc7-supply = <&vsys>;
78 vccio-supply = <&vsys>;
81 vcc_rtc: regulator@0 {
82 regulator-name = "vcc_rtc";
87 regulator-name = "vcc_io";
91 vdd_arm: regulator@2 {
92 regulator-name = "vdd_arm";
93 regulator-min-microvolt = <600000>;
94 regulator-max-microvolt = <1500000>;
99 vcc_ddr: regulator@3 {
100 regulator-name = "vcc_ddr";
101 regulator-min-microvolt = <600000>;
102 regulator-max-microvolt = <1500000>;
107 vcc18_cif: regulator@5 {
108 regulator-name = "vcc18_cif";
112 vdd_11: regulator@6 {
113 regulator-name = "vdd_11";
117 vcc_25: regulator@7 {
118 regulator-name = "vcc_25";
122 vcc_18: regulator@8 {
123 regulator-name = "vcc_18";
127 vcc25_hdmi: regulator@9 {
128 regulator-name = "vcc25_hdmi";
132 vcca_33: regulator@10 {
133 regulator-name = "vcca_33";
137 vcc_rmii: regulator@11 {
138 regulator-name = "vcc_rmii";
141 vcc28_cif: regulator@12 {
142 regulator-name = "vcc28_cif";
149 /* must be included after &tps gets defined */
150 #include "tps65910.dtsi"
154 phy-supply = <&vcc_rmii>;
155 pinctrl-names = "default";
156 pinctrl-0 = <&emac_xfer>, <&emac_mdio>, <&phy_int>;
160 #address-cells = <1>;
163 phy0: ethernet-phy@0 {
165 interrupt-parent = <&gpio1>;
166 interrupts = <RK_PD2 IRQ_TYPE_LEVEL_LOW>;
174 pinctrl-names = "default";
175 pinctrl-0 = <&sd0_clk>, <&sd0_cmd>, <&sd0_cd>, <&sd0_bus4>;
176 vmmc-supply = <&vcc_sd0>;
182 rockchip,pins = <1 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>;