1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2014, 2015 FUKAUMI Naoki <naobsd@gmail.com>
7 #include <dt-bindings/input/input.h>
8 #include "rk3066a.dtsi"
11 model = "Rayeager PX2";
12 compatible = "chipspark,rayeager-px2", "rockchip,rk3066a";
15 device_type = "memory";
16 reg = <0x60000000 0x40000000>;
20 compatible = "gpio-ir-receiver";
21 gpios = <&gpio6 RK_PA1 GPIO_ACTIVE_LOW>;
22 pinctrl-names = "default";
23 pinctrl-0 = <&ir_int>;
27 compatible = "gpio-keys";
31 gpios = <&gpio6 RK_PA2 GPIO_ACTIVE_LOW>;
33 linux,code = <KEY_POWER>;
34 pinctrl-names = "default";
35 pinctrl-0 = <&pwr_key>;
40 compatible = "pwm-regulator";
41 pwms = <&pwm3 0 1000>;
42 regulator-name = "vdd_log";
43 regulator-min-microvolt = <1200000>;
44 regulator-max-microvolt = <1200000>;
46 voltage-table = <1000000 100>,
51 vsys: vsys-regulator {
52 compatible = "regulator-fixed";
53 regulator-name = "vsys";
54 regulator-min-microvolt = <5000000>;
55 regulator-max-microvolt = <5000000>;
60 /* input for 5V_STDBY is VSYS or DC5V, selectable by jumper J4 */
61 vcc_stdby: 5v-stdby-regulator {
62 compatible = "regulator-fixed";
63 regulator-name = "5v_stdby";
64 regulator-min-microvolt = <5000000>;
65 regulator-max-microvolt = <5000000>;
70 vcc_emmc: emmc-regulator {
71 compatible = "regulator-fixed";
72 regulator-name = "emmc_vccq";
73 regulator-min-microvolt = <3000000>;
74 regulator-max-microvolt = <3000000>;
78 vcc_sata: sata-regulator {
79 compatible = "regulator-fixed";
81 gpio = <&gpio4 RK_PC6 GPIO_ACTIVE_HIGH>;
82 pinctrl-names = "default";
83 pinctrl-0 = <&sata_pwr>;
84 regulator-name = "usb_5v";
85 regulator-min-microvolt = <5000000>;
86 regulator-max-microvolt = <5000000>;
88 vin-supply = <&vcc_stdby>;
91 vcc_sd: sdmmc-regulator {
92 compatible = "regulator-fixed";
93 gpio = <&gpio3 RK_PA7 GPIO_ACTIVE_LOW>;
94 pinctrl-names = "default";
95 pinctrl-0 = <&sdmmc_pwr>;
96 regulator-name = "vcc_sd";
97 regulator-min-microvolt = <3300000>;
98 regulator-max-microvolt = <3300000>;
99 startup-delay-us = <100000>;
100 vin-supply = <&vcc_io>;
103 vcc_host: usb-host-regulator {
104 compatible = "regulator-fixed";
106 gpio = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>;
107 pinctrl-names = "default";
108 pinctrl-0 = <&host_drv>;
109 regulator-name = "host-pwr";
110 regulator-min-microvolt = <5000000>;
111 regulator-max-microvolt = <5000000>;
113 vin-supply = <&vcc_stdby>;
116 vcc_otg: usb-otg-regulator {
117 compatible = "regulator-fixed";
119 gpio = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>;
120 pinctrl-names = "default";
121 pinctrl-0 = <&otg_drv>;
122 regulator-name = "vcc_otg";
123 regulator-min-microvolt = <5000000>;
124 regulator-max-microvolt = <5000000>;
126 vin-supply = <&vcc_stdby>;
131 cpu-supply = <&vdd_arm>;
135 cpu-supply = <&vdd_arm>;
139 pinctrl-names = "default";
140 pinctrl-0 = <&emac_xfer>, <&emac_mdio>, <&rmii_rst>;
142 phy-supply = <&vcc_rmii>;
145 phy0: ethernet-phy@0 {
147 reset-gpios = <&gpio1 RK_PD6 GPIO_ACTIVE_LOW>;
155 pinctrl-names = "default";
156 pinctrl-0 = <&emmc_clk>, <&emmc_cmd>, <&emmc_rst>;
157 vmmc-supply = <&vcc_emmc>;
158 vqmmc-supply = <&vcc_emmc>;
163 clock-frequency = <400000>;
167 compatible = "asahi-kasei,ak8975";
169 interrupt-parent = <&gpio4>;
170 interrupts = <RK_PC1 IRQ_TYPE_EDGE_RISING>;
171 pinctrl-names = "default";
172 pinctrl-0 = <&comp_int>;
175 mma8452: mma8452@1d {
176 compatible = "fsl,mma8452";
178 interrupt-parent = <&gpio4>;
179 interrupts = <RK_PC0 IRQ_TYPE_EDGE_RISING>;
180 pinctrl-names = "default";
181 pinctrl-0 = <&gsensor_int>;
186 clock-frequency = <400000>;
191 interrupt-parent = <&gpio6>;
192 interrupts = <RK_PA4 IRQ_TYPE_EDGE_RISING>;
193 pinctrl-names = "default";
194 pinctrl-0 = <&pmic_int>, <&pwr_hold>;
196 vcc1-supply = <&vsys>;
197 vcc2-supply = <&vsys>;
198 vcc3-supply = <&vsys>;
199 vcc4-supply = <&vsys>;
200 vcc5-supply = <&vcc_io>;
201 vcc6-supply = <&vcc_io>;
202 vcc7-supply = <&vsys>;
203 vccio-supply = <&vsys>;
206 vcc_rtc: regulator@0 {
207 regulator-name = "vcc_rtc";
211 vcc_io: regulator@1 {
212 regulator-name = "vcc_io";
213 regulator-min-microvolt = <3300000>;
214 regulator-max-microvolt = <3300000>;
218 vdd_arm: regulator@2 {
219 regulator-name = "vdd_arm";
220 regulator-min-microvolt = <600000>;
221 regulator-max-microvolt = <1500000>;
226 vcc_ddr: regulator@3 {
227 regulator-name = "vcc_ddr";
228 regulator-min-microvolt = <600000>;
229 regulator-max-microvolt = <1500000>;
235 regulator-name = "vcc18";
236 regulator-min-microvolt = <1800000>;
237 regulator-max-microvolt = <1800000>;
241 vdd_11: regulator@6 {
242 regulator-name = "vdd_11";
243 regulator-min-microvolt = <1100000>;
244 regulator-max-microvolt = <1100000>;
248 vcc_25: regulator@7 {
249 regulator-name = "vcc_25";
250 regulator-min-microvolt = <2500000>;
251 regulator-max-microvolt = <2500000>;
255 vccio_wl: regulator@8 {
256 regulator-name = "vccio_wl";
257 regulator-min-microvolt = <1800000>;
258 regulator-max-microvolt = <1800000>;
261 vcc25_hdmi: regulator@9 {
262 regulator-name = "vcc25_hdmi";
263 regulator-min-microvolt = <2500000>;
264 regulator-max-microvolt = <2500000>;
267 vcca_33: regulator@10 {
268 regulator-name = "vcca_33";
269 regulator-min-microvolt = <3300000>;
270 regulator-max-microvolt = <3300000>;
273 vcc_rmii: regulator@11 {
274 regulator-name = "vcc_rmii";
275 regulator-min-microvolt = <3300000>;
276 regulator-max-microvolt = <3300000>;
279 vcc28_cif: regulator@12 {
280 regulator-name = "vcc28_cif";
281 regulator-min-microvolt = <2800000>;
282 regulator-max-microvolt = <2800000>;
288 #include "tps65910.dtsi"
305 pinctrl-names = "default";
306 pinctrl-0 = <&sd0_clk>, <&sd0_cmd>, <&sd0_cd>, <&sd0_bus4>;
307 vmmc-supply = <&vcc_sd>;
316 pinctrl-names = "default";
317 pinctrl-0 = <&sd1_clk>, <&sd1_cmd>, <&sd1_bus4>;
318 vmmc-supply = <&vccio_wl>;
323 pcfg_output_high: pcfg-output-high {
329 rockchip,pins = <4 RK_PC1 RK_FUNC_GPIO &pcfg_pull_default>;
335 rockchip,pins = <1 RK_PD6 RK_FUNC_GPIO &pcfg_output_high>;
341 rockchip,pins = <6 RK_PA1 RK_FUNC_GPIO &pcfg_pull_default>;
347 rockchip,pins = <6 RK_PA2 RK_FUNC_GPIO &pcfg_pull_default>;
352 gsensor_int: gsensor-int {
353 rockchip,pins = <4 RK_PC0 RK_FUNC_GPIO &pcfg_pull_default>;
358 sdmmc_pwr: sdmmc-pwr {
359 rockchip,pins = <3 RK_PA7 RK_FUNC_GPIO &pcfg_pull_default>;
365 rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_default>;
369 rockchip,pins = <1 RK_PD7 RK_FUNC_GPIO &pcfg_output_high>;
373 rockchip,pins = <4 RK_PC6 RK_FUNC_GPIO &pcfg_pull_default>;
376 sata_reset: sata-reset {
377 rockchip,pins = <0 RK_PB5 RK_FUNC_GPIO &pcfg_output_high>;
383 rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_default>;
389 rockchip,pins = <6 RK_PA4 RK_FUNC_GPIO &pcfg_pull_default>;
393 rockchip,pins = <6 RK_PB0 RK_FUNC_GPIO &pcfg_output_high>;
411 vref-supply = <&vcc_25>;
420 pinctrl-names = "default";
421 pinctrl-0 = <&uart0_xfer>, <&uart0_cts>, <&uart0_rts>;
430 pinctrl-names = "default";
431 pinctrl-0 = <&uart3_xfer>, <&uart3_cts>, <&uart3_rts>;
436 pinctrl-names = "default";
437 pinctrl-0 = <&hub_rst>, <&sata_reset>;