1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
5 #include <dt-bindings/input/input.h>
9 model = "Mecer Xtreme Mini S6";
10 compatible = "mecer,xms6", "rockchip,rk3229";
19 device_type = "memory";
20 reg = <0x60000000 0x40000000>;
23 dc_12v: dc-12v-regulator {
24 compatible = "regulator-fixed";
25 regulator-name = "dc_12v";
28 regulator-min-microvolt = <12000000>;
29 regulator-max-microvolt = <12000000>;
33 compatible = "fixed-clock";
34 clock-frequency = <125000000>;
35 clock-output-names = "ext_gmac";
40 compatible = "gpio-leds";
43 gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>;
48 sdio_pwrseq: sdio-pwrseq {
49 compatible = "mmc-pwrseq-simple";
50 reset-gpios = <&gpio2 26 GPIO_ACTIVE_LOW>,
51 <&gpio2 29 GPIO_ACTIVE_LOW>;
54 vcc_host: vcc-host-regulator {
55 compatible = "regulator-fixed";
57 gpio = <&gpio3 RK_PC4 GPIO_ACTIVE_HIGH>;
58 pinctrl-names = "default";
59 pinctrl-0 = <&host_vbus_drv>;
60 regulator-name = "vcc_host";
63 vin-supply = <&vcc_sys>;
66 vcc_phy: vcc-phy-regulator {
67 compatible = "regulator-fixed";
69 regulator-name = "vcc_phy";
70 regulator-min-microvolt = <1800000>;
71 regulator-max-microvolt = <1800000>;
74 vin-supply = <&vccio_1v8>;
77 vcc_sys: vcc-sys-regulator {
78 compatible = "regulator-fixed";
79 regulator-name = "vcc_sys";
82 regulator-min-microvolt = <5000000>;
83 regulator-max-microvolt = <5000000>;
84 vin-supply = <&dc_12v>;
87 vccio_1v8: vccio-1v8-regulator {
88 compatible = "regulator-fixed";
89 regulator-name = "vccio_1v8";
90 regulator-min-microvolt = <1800000>;
91 regulator-max-microvolt = <1800000>;
93 vin-supply = <&vcc_sys>;
96 vccio_3v3: vccio-3v3-regulator {
97 compatible = "regulator-fixed";
98 regulator-name = "vccio_3v3";
99 regulator-min-microvolt = <3300000>;
100 regulator-max-microvolt = <3300000>;
102 vin-supply = <&vcc_sys>;
105 vdd_arm: vdd-arm-regulator {
106 compatible = "pwm-regulator";
107 pwms = <&pwm1 0 25000 1>;
108 pwm-supply = <&vcc_sys>;
109 regulator-name = "vdd_arm";
110 regulator-min-microvolt = <950000>;
111 regulator-max-microvolt = <1400000>;
116 vdd_log: vdd-log-regulator {
117 compatible = "pwm-regulator";
118 pwms = <&pwm2 0 25000 1>;
119 pwm-supply = <&vcc_sys>;
120 regulator-name = "vdd_log";
121 regulator-min-microvolt = <1000000>;
122 regulator-max-microvolt = <1300000>;
129 cpu-supply = <&vdd_arm>;
133 cpu-supply = <&vdd_arm>;
137 cpu-supply = <&vdd_arm>;
141 cpu-supply = <&vdd_arm>;
151 assigned-clocks = <&cru SCLK_MAC_SRC>;
152 assigned-clock-rates = <50000000>;
153 clock_in_out = "output";
156 phy-supply = <&vcc_phy>;
160 compatible = "snps,dwmac-mdio";
161 #address-cells = <1>;
164 phy: ethernet-phy@0 {
165 compatible = "ethernet-phy-id1234.d400",
166 "ethernet-phy-ieee802.3-c22";
168 clocks = <&cru SCLK_MAC_PHY>;
170 resets = <&cru SRST_MACPHY>;
176 mali-supply = <&vdd_log>;
195 vccio1-supply = <&vccio_3v3>;
196 vccio2-supply = <&vccio_1v8>;
197 vccio4-supply = <&vccio_3v3>;
202 host_vbus_drv: host-vbus-drv {
203 rockchip,pins = <3 RK_PC4 RK_FUNC_GPIO &pcfg_pull_none>;
220 mmc-pwrseq = <&sdio_pwrseq>;
222 vqmmc-supply = <&vccio_1v8>;
233 rockchip,hw-tshut-mode = <0>;
240 u2phy0_host: host-port {
241 phy-supply = <&vcc_host>;
245 u2phy0_otg: otg-port {
246 phy-supply = <&vcc_host>;
254 u2phy1_host: host-port {
255 phy-supply = <&vcc_host>;
259 u2phy1_otg: otg-port {
260 phy-supply = <&vcc_host>;
266 pinctrl-0 = <&uart21_xfer>;