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 vcc_host: vcc-host-regulator {
43 compatible = "regulator-fixed";
45 gpio = <&gpio3 RK_PC4 GPIO_ACTIVE_HIGH>;
46 pinctrl-names = "default";
47 pinctrl-0 = <&host_vbus_drv>;
48 regulator-name = "vcc_host";
51 vin-supply = <&vcc_sys>;
54 vcc_phy: vcc-phy-regulator {
55 compatible = "regulator-fixed";
57 regulator-name = "vcc_phy";
58 regulator-min-microvolt = <1800000>;
59 regulator-max-microvolt = <1800000>;
62 vin-supply = <&vccio_1v8>;
65 vcc_sys: vcc-sys-regulator {
66 compatible = "regulator-fixed";
67 regulator-name = "vcc_sys";
70 regulator-min-microvolt = <5000000>;
71 regulator-max-microvolt = <5000000>;
72 vin-supply = <&dc_12v>;
75 vccio_1v8: vccio-1v8-regulator {
76 compatible = "regulator-fixed";
77 regulator-name = "vccio_1v8";
78 regulator-min-microvolt = <1800000>;
79 regulator-max-microvolt = <1800000>;
81 vin-supply = <&vcc_sys>;
84 vccio_3v3: vccio-3v3-regulator {
85 compatible = "regulator-fixed";
86 regulator-name = "vccio_3v3";
87 regulator-min-microvolt = <3300000>;
88 regulator-max-microvolt = <3300000>;
90 vin-supply = <&vcc_sys>;
93 vdd_arm: vdd-arm-regulator {
94 compatible = "pwm-regulator";
95 pwms = <&pwm1 0 25000 1>;
96 pwm-supply = <&vcc_sys>;
97 regulator-name = "vdd_arm";
98 regulator-min-microvolt = <950000>;
99 regulator-max-microvolt = <1400000>;
104 vdd_log: vdd-log-regulator {
105 compatible = "pwm-regulator";
106 pwms = <&pwm2 0 25000 1>;
107 pwm-supply = <&vcc_sys>;
108 regulator-name = "vdd_log";
109 regulator-min-microvolt = <1000000>;
110 regulator-max-microvolt = <1300000>;
117 cpu-supply = <&vdd_arm>;
121 cpu-supply = <&vdd_arm>;
125 cpu-supply = <&vdd_arm>;
129 cpu-supply = <&vdd_arm>;
140 assigned-clocks = <&cru SCLK_MAC_SRC>;
141 assigned-clock-rates = <50000000>;
142 clock_in_out = "output";
145 phy-supply = <&vcc_phy>;
149 compatible = "snps,dwmac-mdio";
150 #address-cells = <1>;
154 compatible = "ethernet-phy-id1234.d400",
155 "ethernet-phy-ieee802.3-c22";
157 clocks = <&cru SCLK_MAC_PHY>;
159 resets = <&cru SRST_MACPHY>;
165 mali-supply = <&vdd_log>;
184 vccio1-supply = <&vccio_3v3>;
185 vccio2-supply = <&vccio_1v8>;
186 vccio4-supply = <&vccio_3v3>;
191 host_vbus_drv: host-vbus-drv {
192 rockchip,pins = <3 RK_PC4 RK_FUNC_GPIO &pcfg_pull_none>;
212 rockchip,hw-tshut-mode = <0>;
219 u2phy0_host: host-port {
220 phy-supply = <&vcc_host>;
224 u2phy0_otg: otg-port {
225 phy-supply = <&vcc_host>;
233 u2phy1_host: host-port {
234 phy-supply = <&vcc_host>;
238 u2phy1_otg: otg-port {
239 phy-supply = <&vcc_host>;
245 pinctrl-0 = <&uart21_xfer>;