1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2016 Matthias Brugger <mbrugger@suse.com>
7 #include <dt-bindings/input/input.h>
11 model = "Rockchip Orion R68";
12 compatible = "tronsmart,orion-r68-meta", "rockchip,rk3368";
20 stdout-path = "serial2:115200n8";
24 device_type = "memory";
25 reg = <0x0 0x0 0x0 0x80000000>;
28 emmc_pwrseq: emmc-pwrseq {
29 compatible = "mmc-pwrseq-emmc";
30 pinctrl-0 = <&emmc_reset>;
31 pinctrl-names = "default";
32 reset-gpios = <&gpio2 RK_PA3 GPIO_ACTIVE_HIGH>;
35 ext_gmac: external-gmac-clock {
36 compatible = "fixed-clock";
38 clock-frequency = <125000000>;
39 clock-output-names = "ext_gmac";
43 compatible = "gpio-keys";
44 pinctrl-names = "default";
45 pinctrl-0 = <&pwr_key>;
49 gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>;
51 linux,code = <KEY_POWER>;
56 compatible = "gpio-leds";
59 gpios = <&gpio3 RK_PD5 GPIO_ACTIVE_HIGH>;
60 label = "orion:red:led";
61 pinctrl-names = "default";
62 pinctrl-0 = <&led_ctl>;
67 gpios = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>;
68 label = "orion:blue:led";
69 pinctrl-names = "default";
70 pinctrl-0 = <&stby_pwren>;
71 default-state = "off";
75 vcc_18: vcc18-regulator {
76 compatible = "regulator-fixed";
77 regulator-name = "vcc_18";
78 regulator-min-microvolt = <1800000>;
79 regulator-max-microvolt = <1800000>;
82 vin-supply = <&vcc_sys>;
85 /* supplies both host and otg */
86 vcc_host: vcc-host-regulator {
87 compatible = "regulator-fixed";
88 gpio = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
89 pinctrl-names = "default";
90 pinctrl-0 = <&host_vbus_drv>;
91 regulator-name = "vcc_host";
94 vin-supply = <&vcc_sys>;
97 vcc_io: vcc-io-regulator {
98 compatible = "regulator-fixed";
99 regulator-name = "vcc_io";
100 regulator-min-microvolt = <3300000>;
101 regulator-max-microvolt = <3300000>;
104 vin-supply = <&vcc_sys>;
107 vcc_lan: vcc-lan-regulator {
108 compatible = "regulator-fixed";
109 regulator-name = "vcc_lan";
110 regulator-min-microvolt = <3300000>;
111 regulator-max-microvolt = <3300000>;
114 vin-supply = <&vcc_io>;
117 vcc_sd: vcc-sd-regulator {
118 compatible = "regulator-fixed";
119 regulator-name = "vcc_sd";
120 gpio = <&gpio3 RK_PB3 GPIO_ACTIVE_LOW>;
121 regulator-min-microvolt = <1800000>;
122 regulator-max-microvolt = <3300000>;
123 vin-supply = <&vcc_io>;
126 vcc_sys: vcc-sys-regulator {
127 compatible = "regulator-fixed";
128 regulator-name = "vcc_sys";
129 regulator-min-microvolt = <5000000>;
130 regulator-max-microvolt = <5000000>;
135 vccio_sd: vcc-io-sd-regulator {
136 compatible = "regulator-fixed";
137 regulator-name = "vccio_sd";
138 regulator-min-microvolt = <1800000>;
139 regulator-max-microvolt = <3300000>;
142 vin-supply = <&vcc_io>;
145 vccio_wl: vccio-wl-regulator {
146 compatible = "regulator-fixed";
147 regulator-name = "vccio_wl";
148 regulator-min-microvolt = <3300000>;
149 regulator-max-microvolt = <3300000>;
152 vin-supply = <&vcc_io>;
155 vdd_10: vdd-10-regulator {
156 compatible = "regulator-fixed";
157 regulator-name = "vdd_10";
158 regulator-min-microvolt = <1000000>;
159 regulator-max-microvolt = <1000000>;
162 vin-supply = <&vcc_sys>;
169 mmc-pwrseq = <&emmc_pwrseq>;
173 pinctrl-names = "default";
174 pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
179 assigned-clocks = <&cru SCLK_MAC>;
180 assigned-clock-parents = <&ext_gmac>;
181 clock_in_out = "input";
182 phy-supply = <&vcc_lan>;
184 pinctrl-names = "default";
185 pinctrl-0 = <&rgmii_pins>;
186 snps,reset-gpio = <&gpio3 RK_PB4 GPIO_ACTIVE_HIGH>;
187 snps,reset-active-low;
188 snps,reset-delays-us = <0 10000 1000000>;
198 compatible = "silergy,syr827";
200 fcs,suspend-voltage-selector = <1>;
201 regulator-name = "vdd_cpu";
202 regulator-enable-ramp-delay = <300>;
203 regulator-min-microvolt = <712500>;
204 regulator-max-microvolt = <1500000>;
205 regulator-ramp-delay = <8000>;
208 vin-supply = <&vcc_sys>;
212 compatible = "haoyu,hym8563";
215 clock-output-names = "xin32k";
216 /* rtc_int is not connected */
221 pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma {
223 drive-strength = <8>;
226 pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma {
228 drive-strength = <8>;
232 emmc_bus8: emmc-bus8 {
233 rockchip,pins = <1 RK_PC2 2 &pcfg_pull_up_drv_8ma>,
234 <1 RK_PC3 2 &pcfg_pull_up_drv_8ma>,
235 <1 RK_PC4 2 &pcfg_pull_up_drv_8ma>,
236 <1 RK_PC5 2 &pcfg_pull_up_drv_8ma>,
237 <1 RK_PC6 2 &pcfg_pull_up_drv_8ma>,
238 <1 RK_PC7 2 &pcfg_pull_up_drv_8ma>,
239 <1 RK_PD0 2 &pcfg_pull_up_drv_8ma>,
240 <1 RK_PD1 2 &pcfg_pull_up_drv_8ma>;
244 rockchip,pins = <2 RK_PA4 2 &pcfg_pull_none_drv_8ma>;
248 rockchip,pins = <1 RK_PD2 2 &pcfg_pull_up_drv_8ma>;
251 emmc_reset: emmc-reset {
252 rockchip,pins = <2 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
258 rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_down>;
263 stby_pwren: stby-pwren {
264 rockchip,pins = <0 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>;
268 rockchip,pins = <3 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>;
273 sdmmc_clk: sdmmc-clk {
274 rockchip,pins = <2 RK_PB1 1 &pcfg_pull_none_drv_8ma>;
277 sdmmc_cmd: sdmmc-cmd {
278 rockchip,pins = <2 RK_PB2 1 &pcfg_pull_up_drv_8ma>;
282 rockchip,pins = <2 RK_PB3 1 &pcfg_pull_up_drv_8ma>;
285 sdmmc_bus1: sdmmc-bus1 {
286 rockchip,pins = <2 RK_PA5 1 &pcfg_pull_up_drv_8ma>;
289 sdmmc_bus4: sdmmc-bus4 {
290 rockchip,pins = <2 RK_PA5 1 &pcfg_pull_up_drv_8ma>,
291 <2 RK_PA6 1 &pcfg_pull_up_drv_8ma>,
292 <2 RK_PA7 1 &pcfg_pull_up_drv_8ma>,
293 <2 RK_PB0 1 &pcfg_pull_up_drv_8ma>;
298 host_vbus_drv: host-vbus-drv {
299 rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>;
305 vref-supply = <&vcc_18>;
311 clock-frequency = <50000000>;
312 max-frequency = <50000000>;
314 card-detect-delay = <200>;
315 pinctrl-names = "default";
316 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;
317 vmmc-supply = <&vcc_sd>;
318 vqmmc-supply = <&vccio_sd>;
327 pinctrl-names = "default";
328 pinctrl-0 = <&uart4_xfer>;