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";
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";
34 compatible = "gpio-leds";
37 gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>;
42 sdio_pwrseq: sdio-pwrseq {
43 compatible = "mmc-pwrseq-simple";
44 reset-gpios = <&gpio2 26 GPIO_ACTIVE_LOW>,
45 <&gpio2 29 GPIO_ACTIVE_LOW>;
48 vcc_host: vcc-host-regulator {
49 compatible = "regulator-fixed";
51 gpio = <&gpio3 RK_PC4 GPIO_ACTIVE_HIGH>;
52 pinctrl-names = "default";
53 pinctrl-0 = <&host_vbus_drv>;
54 regulator-name = "vcc_host";
57 vin-supply = <&vcc_sys>;
60 vcc_phy: vcc-phy-regulator {
61 compatible = "regulator-fixed";
63 regulator-name = "vcc_phy";
64 regulator-min-microvolt = <1800000>;
65 regulator-max-microvolt = <1800000>;
68 vin-supply = <&vccio_1v8>;
71 vcc_sys: vcc-sys-regulator {
72 compatible = "regulator-fixed";
73 regulator-name = "vcc_sys";
76 regulator-min-microvolt = <5000000>;
77 regulator-max-microvolt = <5000000>;
78 vin-supply = <&dc_12v>;
81 vccio_1v8: vccio-1v8-regulator {
82 compatible = "regulator-fixed";
83 regulator-name = "vccio_1v8";
84 regulator-min-microvolt = <1800000>;
85 regulator-max-microvolt = <1800000>;
87 vin-supply = <&vcc_sys>;
90 vccio_3v3: vccio-3v3-regulator {
91 compatible = "regulator-fixed";
92 regulator-name = "vccio_3v3";
93 regulator-min-microvolt = <3300000>;
94 regulator-max-microvolt = <3300000>;
96 vin-supply = <&vcc_sys>;
99 vdd_arm: vdd-arm-regulator {
100 compatible = "pwm-regulator";
101 pwms = <&pwm1 0 25000 1>;
102 pwm-supply = <&vcc_sys>;
103 regulator-name = "vdd_arm";
104 regulator-min-microvolt = <950000>;
105 regulator-max-microvolt = <1400000>;
110 vdd_log: vdd-log-regulator {
111 compatible = "pwm-regulator";
112 pwms = <&pwm2 0 25000 1>;
113 pwm-supply = <&vcc_sys>;
114 regulator-name = "vdd_log";
115 regulator-min-microvolt = <1000000>;
116 regulator-max-microvolt = <1300000>;
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_SRC>;
146 assigned-clock-rates = <50000000>;
147 clock_in_out = "output";
150 phy-supply = <&vcc_phy>;
154 compatible = "snps,dwmac-mdio";
155 #address-cells = <1>;
158 phy: ethernet-phy@0 {
159 compatible = "ethernet-phy-id1234.d400",
160 "ethernet-phy-ieee802.3-c22";
162 clocks = <&cru SCLK_MAC_PHY>;
164 resets = <&cru SRST_MACPHY>;
170 mali-supply = <&vdd_log>;
189 vccio1-supply = <&vccio_3v3>;
190 vccio2-supply = <&vccio_1v8>;
191 vccio4-supply = <&vccio_3v3>;
196 host_vbus_drv: host-vbus-drv {
197 rockchip,pins = <3 RK_PC4 RK_FUNC_GPIO &pcfg_pull_none>;
214 mmc-pwrseq = <&sdio_pwrseq>;
216 vqmmc-supply = <&vccio_1v8>;
227 rockchip,hw-tshut-mode = <0>;
234 u2phy0_host: host-port {
235 phy-supply = <&vcc_host>;
239 u2phy0_otg: otg-port {
240 phy-supply = <&vcc_host>;
248 u2phy1_host: host-port {
249 phy-supply = <&vcc_host>;
253 u2phy1_otg: otg-port {
254 phy-supply = <&vcc_host>;
260 pinctrl-0 = <&uart21_xfer>;