1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
5 #include <dt-bindings/input/input.h>
9 model = "Rockchip RK3229 Evaluation board";
10 compatible = "rockchip,rk3229-evb", "rockchip,rk3229";
13 device_type = "memory";
14 reg = <0x60000000 0x40000000>;
17 dc_12v: dc-12v-regulator {
18 compatible = "regulator-fixed";
19 regulator-name = "dc_12v";
22 regulator-min-microvolt = <12000000>;
23 regulator-max-microvolt = <12000000>;
27 compatible = "fixed-clock";
28 clock-frequency = <125000000>;
29 clock-output-names = "ext_gmac";
33 vcc_host: vcc-host-regulator {
34 compatible = "regulator-fixed";
36 gpio = <&gpio3 RK_PC4 GPIO_ACTIVE_HIGH>;
37 pinctrl-names = "default";
38 pinctrl-0 = <&host_vbus_drv>;
39 regulator-name = "vcc_host";
42 vin-supply = <&vcc_sys>;
45 vcc_phy: vcc-phy-regulator {
46 compatible = "regulator-fixed";
48 regulator-name = "vcc_phy";
49 regulator-min-microvolt = <1800000>;
50 regulator-max-microvolt = <1800000>;
53 vin-supply = <&vccio_1v8>;
56 vcc_sys: vcc-sys-regulator {
57 compatible = "regulator-fixed";
58 regulator-name = "vcc_sys";
61 regulator-min-microvolt = <5000000>;
62 regulator-max-microvolt = <5000000>;
63 vin-supply = <&dc_12v>;
66 vccio_1v8: vccio-1v8-regulator {
67 compatible = "regulator-fixed";
68 regulator-name = "vccio_1v8";
69 regulator-min-microvolt = <1800000>;
70 regulator-max-microvolt = <1800000>;
72 vin-supply = <&vcc_sys>;
75 vccio_3v3: vccio-3v3-regulator {
76 compatible = "regulator-fixed";
77 regulator-name = "vccio_3v3";
78 regulator-min-microvolt = <3300000>;
79 regulator-max-microvolt = <3300000>;
81 vin-supply = <&vcc_sys>;
84 vdd_arm: vdd-arm-regulator {
85 compatible = "pwm-regulator";
86 pwms = <&pwm1 0 25000 1>;
87 pwm-supply = <&vcc_sys>;
88 regulator-name = "vdd_arm";
89 regulator-min-microvolt = <950000>;
90 regulator-max-microvolt = <1400000>;
95 vdd_log: vdd-log-regulator {
96 compatible = "pwm-regulator";
97 pwms = <&pwm2 0 25000 1>;
98 pwm-supply = <&vcc_sys>;
99 regulator-name = "vdd_log";
100 regulator-min-microvolt = <1000000>;
101 regulator-max-microvolt = <1300000>;
107 compatible = "gpio-keys";
109 pinctrl-names = "default";
110 pinctrl-0 = <&pwr_key>;
112 power_key: power-key {
113 label = "GPIO Key Power";
114 gpios = <&gpio3 23 GPIO_ACTIVE_LOW>;
115 linux,code = <KEY_POWER>;
116 debounce-interval = <100>;
123 cpu-supply = <&vdd_arm>;
127 cpu-supply = <&vdd_arm>;
131 cpu-supply = <&vdd_arm>;
135 cpu-supply = <&vdd_arm>;
145 assigned-clocks = <&cru SCLK_MAC_EXTCLK>, <&cru SCLK_MAC>;
146 assigned-clock-parents = <&ext_gmac>, <&cru SCLK_MAC_EXTCLK>;
147 clock_in_out = "input";
148 phy-supply = <&vcc_phy>;
150 pinctrl-names = "default";
151 pinctrl-0 = <&rgmii_pins>;
152 snps,reset-gpio = <&gpio2 RK_PD0 GPIO_ACTIVE_LOW>;
153 snps,reset-active-low;
154 snps,reset-delays-us = <0 10000 1000000>;
163 vccio1-supply = <&vccio_3v3>;
164 vccio2-supply = <&vccio_1v8>;
165 vccio4-supply = <&vccio_3v3>;
171 rockchip,pins = <3 RK_PC7 RK_FUNC_GPIO &pcfg_pull_up>;
176 host_vbus_drv: host-vbus-drv {
177 rockchip,pins = <3 RK_PC4 RK_FUNC_GPIO &pcfg_pull_none>;
191 rockchip,hw-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */
202 u2phy0_otg: otg-port {
206 u2phy0_host: host-port {
207 phy-supply = <&vcc_host>;
215 u2phy1_otg: otg-port {
216 phy-supply = <&vcc_host>;
220 u2phy1_host: host-port {
221 phy-supply = <&vcc_host>;