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";
17 device_type = "memory";
18 reg = <0x60000000 0x40000000>;
21 dc_12v: dc-12v-regulator {
22 compatible = "regulator-fixed";
23 regulator-name = "dc_12v";
26 regulator-min-microvolt = <12000000>;
27 regulator-max-microvolt = <12000000>;
31 compatible = "fixed-clock";
32 clock-frequency = <125000000>;
33 clock-output-names = "ext_gmac";
37 vcc_host: vcc-host-regulator {
38 compatible = "regulator-fixed";
40 gpio = <&gpio3 RK_PC4 GPIO_ACTIVE_HIGH>;
41 pinctrl-names = "default";
42 pinctrl-0 = <&host_vbus_drv>;
43 regulator-name = "vcc_host";
46 vin-supply = <&vcc_sys>;
49 vcc_phy: vcc-phy-regulator {
50 compatible = "regulator-fixed";
52 regulator-name = "vcc_phy";
53 regulator-min-microvolt = <1800000>;
54 regulator-max-microvolt = <1800000>;
57 vin-supply = <&vccio_1v8>;
60 vcc_sys: vcc-sys-regulator {
61 compatible = "regulator-fixed";
62 regulator-name = "vcc_sys";
65 regulator-min-microvolt = <5000000>;
66 regulator-max-microvolt = <5000000>;
67 vin-supply = <&dc_12v>;
70 vccio_1v8: vccio-1v8-regulator {
71 compatible = "regulator-fixed";
72 regulator-name = "vccio_1v8";
73 regulator-min-microvolt = <1800000>;
74 regulator-max-microvolt = <1800000>;
76 vin-supply = <&vcc_sys>;
79 vccio_3v3: vccio-3v3-regulator {
80 compatible = "regulator-fixed";
81 regulator-name = "vccio_3v3";
82 regulator-min-microvolt = <3300000>;
83 regulator-max-microvolt = <3300000>;
85 vin-supply = <&vcc_sys>;
88 vdd_arm: vdd-arm-regulator {
89 compatible = "pwm-regulator";
90 pwms = <&pwm1 0 25000 1>;
91 pwm-supply = <&vcc_sys>;
92 regulator-name = "vdd_arm";
93 regulator-min-microvolt = <950000>;
94 regulator-max-microvolt = <1400000>;
99 vdd_log: vdd-log-regulator {
100 compatible = "pwm-regulator";
101 pwms = <&pwm2 0 25000 1>;
102 pwm-supply = <&vcc_sys>;
103 regulator-name = "vdd_log";
104 regulator-min-microvolt = <1000000>;
105 regulator-max-microvolt = <1300000>;
111 compatible = "gpio-keys";
113 pinctrl-names = "default";
114 pinctrl-0 = <&pwr_key>;
116 power_key: power-key {
117 label = "GPIO Key Power";
118 gpios = <&gpio3 23 GPIO_ACTIVE_LOW>;
119 linux,code = <KEY_POWER>;
120 debounce-interval = <100>;
127 cpu-supply = <&vdd_arm>;
131 cpu-supply = <&vdd_arm>;
135 cpu-supply = <&vdd_arm>;
139 cpu-supply = <&vdd_arm>;
149 assigned-clocks = <&cru SCLK_MAC_EXTCLK>, <&cru SCLK_MAC>;
150 assigned-clock-parents = <&ext_gmac>, <&cru SCLK_MAC_EXTCLK>;
151 clock_in_out = "input";
152 phy-supply = <&vcc_phy>;
154 pinctrl-names = "default";
155 pinctrl-0 = <&rgmii_pins>;
156 snps,reset-gpio = <&gpio2 RK_PD0 GPIO_ACTIVE_LOW>;
157 snps,reset-active-low;
158 snps,reset-delays-us = <0 10000 1000000>;
167 vccio1-supply = <&vccio_3v3>;
168 vccio2-supply = <&vccio_1v8>;
169 vccio4-supply = <&vccio_3v3>;
175 rockchip,pins = <3 RK_PC7 RK_FUNC_GPIO &pcfg_pull_up>;
180 host_vbus_drv: host-vbus-drv {
181 rockchip,pins = <3 RK_PC4 RK_FUNC_GPIO &pcfg_pull_none>;
195 rockchip,hw-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */
206 u2phy0_otg: otg-port {
210 u2phy0_host: host-port {
211 phy-supply = <&vcc_host>;
219 u2phy1_otg: otg-port {
220 phy-supply = <&vcc_host>;
224 u2phy1_host: host-port {
225 phy-supply = <&vcc_host>;