1 // SPDX-License-Identifier: (GPL-2.0-only OR MIT)
2 // Copyright (c) 2017-2019 Arm Ltd.
9 compatible = "azw,beelink-a1", "rockchip,rk3328";
12 * UART pins, as viewed with bottom of case removed:
23 stdout-path = "serial2:1500000n8";
26 gmac_clkin: external-gmac-clock {
27 compatible = "fixed-clock";
28 clock-frequency = <125000000>;
29 clock-output-names = "gmac_clkin";
33 vcc_host_5v: usb3-current-switch {
34 compatible = "regulator-fixed";
36 gpio = <&gpio0 RK_PA0 GPIO_ACTIVE_HIGH>;
37 pinctrl-names = "default";
38 pinctrl-0 = <&usb30_host_drv>;
39 regulator-name = "vcc_host_5v";
40 vin-supply = <&vcc_sys>;
44 compatible = "regulator-fixed";
45 regulator-name = "vcc_sys";
46 regulator-min-microvolt = <5000000>;
47 regulator-max-microvolt = <5000000>;
51 compatible = "gpio-ir-receiver";
52 gpios = <&gpio2 RK_PA2 GPIO_ACTIVE_LOW>;
53 linux,rc-map-name = "rc-beelink-gs1";
58 simple-audio-card,name = "Analog A/V";
63 mute-gpios = <&grf_gpio 0 GPIO_ACTIVE_LOW>;
68 cpu-supply = <&vdd_arm>;
72 cpu-supply = <&vdd_arm>;
76 cpu-supply = <&vdd_arm>;
80 cpu-supply = <&vdd_arm>;
91 pinctrl-names = "default";
92 pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
93 vmmc-supply = <&vcc_io>;
94 vqmmc-supply = <&vcc18_emmc>;
99 assigned-clocks = <&cru SCLK_MAC2IO>, <&cru SCLK_MAC2IO_EXT>;
100 assigned-clock-parents = <&gmac_clkin>, <&gmac_clkin>;
101 clock_in_out = "input";
102 phy-handle = <&rtl8211f>;
104 phy-supply = <&vcc_io>;
105 pinctrl-names = "default";
106 pinctrl-0 = <&rgmiim1_pins>;
114 compatible = "snps,dwmac-mdio";
115 #address-cells = <1>;
118 rtl8211f: ethernet-phy@0 {
120 reset-assert-us = <10000>;
121 reset-deassert-us = <30000>;
122 reset-gpios = <&gpio2 RK_PC1 GPIO_ACTIVE_LOW>;
128 mali-supply = <&vdd_logic>;
144 clock-frequency = <1000000>;
145 i2c-scl-falling-time-ns = <5>;
146 i2c-scl-rising-time-ns = <83>;
150 compatible = "rockchip,rk805";
152 interrupt-parent = <&gpio2>;
153 interrupts = <RK_PA6 IRQ_TYPE_LEVEL_LOW>;
154 pinctrl-names = "default";
155 pinctrl-0 = <&pmic_int_l>;
156 rockchip,system-power-controller;
159 vcc1-supply = <&vcc_sys>;
160 vcc2-supply = <&vcc_sys>;
161 vcc3-supply = <&vcc_sys>;
162 vcc4-supply = <&vcc_sys>;
163 vcc5-supply = <&vcc_io>;
164 vcc6-supply = <&vcc_io>;
167 vdd_logic: DCDC_REG1 {
168 regulator-name = "vdd_logic";
169 regulator-min-microvolt = <700000>;
170 regulator-max-microvolt = <1350000>;
173 regulator-state-mem {
174 regulator-on-in-suspend;
175 regulator-suspend-microvolt = <1000000>;
180 regulator-name = "vdd_arm";
181 regulator-min-microvolt = <700000>;
182 regulator-max-microvolt = <1350000>;
185 regulator-state-mem {
186 regulator-on-in-suspend;
187 regulator-suspend-microvolt = <950000>;
192 regulator-name = "vcc_ddr";
195 regulator-state-mem {
196 regulator-on-in-suspend;
201 regulator-name = "vcc_io";
202 regulator-min-microvolt = <3300000>;
203 regulator-max-microvolt = <3300000>;
206 regulator-state-mem {
207 regulator-on-in-suspend;
208 regulator-suspend-microvolt = <3300000>;
213 regulator-name = "vdd_18";
214 regulator-min-microvolt = <1800000>;
215 regulator-max-microvolt = <1800000>;
218 regulator-state-mem {
219 regulator-on-in-suspend;
220 regulator-suspend-microvolt = <1800000>;
224 vcc18_emmc: LDO_REG2 {
225 regulator-name = "vcc_18emmc";
226 regulator-min-microvolt = <1800000>;
227 regulator-max-microvolt = <1800000>;
230 regulator-state-mem {
231 regulator-on-in-suspend;
232 regulator-suspend-microvolt = <1800000>;
237 regulator-name = "vdd_11";
238 regulator-min-microvolt = <1100000>;
239 regulator-max-microvolt = <1100000>;
242 regulator-state-mem {
243 regulator-on-in-suspend;
244 regulator-suspend-microvolt = <1100000>;
260 vccio1-supply = <&vcc_io>;
261 vccio2-supply = <&vcc18_emmc>;
262 vccio3-supply = <&vcc_io>;
263 vccio4-supply = <&vdd_18>;
264 vccio5-supply = <&vcc_io>;
265 vccio6-supply = <&vdd_18>;
266 pmuio-supply = <&vcc_io>;
272 pmic_int_l: pmic-int-l {
273 rockchip,pins = <2 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up>;
278 usb30_host_drv: usb30-host-drv {
279 rockchip,pins = <0 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>;
285 rockchip,pins = <2 RK_PC5 RK_FUNC_GPIO &pcfg_output_low>;
288 bt_wake_host: bt-wake-host {
289 rockchip,pins = <2 RK_PC0 RK_FUNC_GPIO &pcfg_pull_up>;
293 rockchip,pins = <2 RK_PC3 RK_FUNC_GPIO &pcfg_output_low>;
296 host_wake_bt: host-wake-bt {
297 rockchip,pins = <2 RK_PB7 RK_FUNC_GPIO &pcfg_output_high>;
301 rockchip,pins = <3 RK_PB0 RK_FUNC_GPIO &pcfg_output_low>;
304 wl_wake_host: wl-wake-host {
305 rockchip,pins = <3 RK_PA1 RK_FUNC_GPIO &pcfg_pull_up>;
315 pinctrl-names = "default";
316 pinctrl-0 = <&sdmmc0_clk &sdmmc0_cmd &sdmmc0_dectn &sdmmc0_bus4>;
317 vmmc-supply = <&vcc_io>;
318 vqmmc-supply = <&vcc_io>;
323 rockchip,hw-tshut-mode = <0>;
324 rockchip,hw-tshut-polarity = <0>;
350 pinctrl-names = "default";
351 pinctrl-0 = <&bt_dis &bt_wake_host &chip_en &host_wake_bt &wl_dis &wl_wake_host>;