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";
67 cpu-supply = <&vdd_arm>;
71 cpu-supply = <&vdd_arm>;
75 cpu-supply = <&vdd_arm>;
79 cpu-supply = <&vdd_arm>;
90 pinctrl-names = "default";
91 pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
92 vmmc-supply = <&vcc_io>;
93 vqmmc-supply = <&vcc18_emmc>;
98 assigned-clocks = <&cru SCLK_MAC2IO>, <&cru SCLK_MAC2IO_EXT>;
99 assigned-clock-parents = <&gmac_clkin>, <&gmac_clkin>;
100 clock_in_out = "input";
101 phy-handle = <&rtl8211f>;
103 phy-supply = <&vcc_io>;
104 pinctrl-names = "default";
105 pinctrl-0 = <&rgmiim1_pins>;
113 compatible = "snps,dwmac-mdio";
114 #address-cells = <1>;
119 reset-assert-us = <10000>;
120 reset-deassert-us = <30000>;
121 reset-gpios = <&gpio2 RK_PC1 GPIO_ACTIVE_LOW>;
127 mali-supply = <&vdd_logic>;
143 clock-frequency = <1000000>;
144 i2c-scl-falling-time-ns = <5>;
145 i2c-scl-rising-time-ns = <83>;
149 compatible = "rockchip,rk805";
151 interrupt-parent = <&gpio2>;
152 interrupts = <RK_PA6 IRQ_TYPE_LEVEL_LOW>;
153 pinctrl-names = "default";
154 pinctrl-0 = <&pmic_int_l>;
155 rockchip,system-power-controller;
158 vcc1-supply = <&vcc_sys>;
159 vcc2-supply = <&vcc_sys>;
160 vcc3-supply = <&vcc_sys>;
161 vcc4-supply = <&vcc_sys>;
162 vcc5-supply = <&vcc_io>;
163 vcc6-supply = <&vcc_io>;
166 vdd_logic: DCDC_REG1 {
167 regulator-name = "vdd_logic";
168 regulator-min-microvolt = <700000>;
169 regulator-max-microvolt = <1350000>;
172 regulator-state-mem {
173 regulator-on-in-suspend;
174 regulator-suspend-microvolt = <1000000>;
179 regulator-name = "vdd_arm";
180 regulator-min-microvolt = <700000>;
181 regulator-max-microvolt = <1350000>;
184 regulator-state-mem {
185 regulator-on-in-suspend;
186 regulator-suspend-microvolt = <950000>;
191 regulator-name = "vcc_ddr";
194 regulator-state-mem {
195 regulator-on-in-suspend;
200 regulator-name = "vcc_io";
201 regulator-min-microvolt = <3300000>;
202 regulator-max-microvolt = <3300000>;
205 regulator-state-mem {
206 regulator-on-in-suspend;
207 regulator-suspend-microvolt = <3300000>;
212 regulator-name = "vdd_18";
213 regulator-min-microvolt = <1800000>;
214 regulator-max-microvolt = <1800000>;
217 regulator-state-mem {
218 regulator-on-in-suspend;
219 regulator-suspend-microvolt = <1800000>;
223 vcc18_emmc: LDO_REG2 {
224 regulator-name = "vcc_18emmc";
225 regulator-min-microvolt = <1800000>;
226 regulator-max-microvolt = <1800000>;
229 regulator-state-mem {
230 regulator-on-in-suspend;
231 regulator-suspend-microvolt = <1800000>;
236 regulator-name = "vdd_11";
237 regulator-min-microvolt = <1100000>;
238 regulator-max-microvolt = <1100000>;
241 regulator-state-mem {
242 regulator-on-in-suspend;
243 regulator-suspend-microvolt = <1100000>;
259 vccio1-supply = <&vcc_io>;
260 vccio2-supply = <&vcc18_emmc>;
261 vccio3-supply = <&vcc_io>;
262 vccio4-supply = <&vdd_18>;
263 vccio5-supply = <&vcc_io>;
264 vccio6-supply = <&vdd_18>;
265 pmuio-supply = <&vcc_io>;
271 pmic_int_l: pmic-int-l {
272 rockchip,pins = <2 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up>;
277 usb30_host_drv: usb30-host-drv {
278 rockchip,pins = <0 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>;
284 rockchip,pins = <2 RK_PC5 RK_FUNC_GPIO &pcfg_output_low>;
287 bt_wake_host: bt-wake-host {
288 rockchip,pins = <2 RK_PC0 RK_FUNC_GPIO &pcfg_pull_up>;
292 rockchip,pins = <2 RK_PC3 RK_FUNC_GPIO &pcfg_output_low>;
295 host_wake_bt: host-wake-bt {
296 rockchip,pins = <2 RK_PB7 RK_FUNC_GPIO &pcfg_output_high>;
300 rockchip,pins = <3 RK_PB0 RK_FUNC_GPIO &pcfg_output_low>;
303 wl_wake_host: wl-wake-host {
304 rockchip,pins = <3 RK_PA1 RK_FUNC_GPIO &pcfg_pull_up>;
314 pinctrl-names = "default";
315 pinctrl-0 = <&sdmmc0_clk &sdmmc0_cmd &sdmmc0_dectn &sdmmc0_bus4>;
316 vmmc-supply = <&vcc_io>;
317 vqmmc-supply = <&vcc_io>;
322 rockchip,hw-tshut-mode = <0>;
323 rockchip,hw-tshut-polarity = <0>;
349 pinctrl-names = "default";
350 pinctrl-0 = <&bt_dis &bt_wake_host &chip_en &host_wake_bt &wl_dis &wl_wake_host>;