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";
15 stdout-path = "serial2:115200n8";
19 device_type = "memory";
20 reg = <0x0 0x0 0x0 0x80000000>;
23 emmc_pwrseq: emmc-pwrseq {
24 compatible = "mmc-pwrseq-emmc";
25 pinctrl-0 = <&emmc_reset>;
26 pinctrl-names = "default";
27 reset-gpios = <&gpio2 RK_PA3 GPIO_ACTIVE_HIGH>;
30 ext_gmac: external-gmac-clock {
31 compatible = "fixed-clock";
33 clock-frequency = <125000000>;
34 clock-output-names = "ext_gmac";
38 compatible = "gpio-keys";
39 pinctrl-names = "default";
40 pinctrl-0 = <&pwr_key>;
44 gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>;
46 linux,code = <KEY_POWER>;
51 compatible = "gpio-leds";
54 gpios = <&gpio3 RK_PD5 GPIO_ACTIVE_HIGH>;
55 label = "orion:red:led";
56 pinctrl-names = "default";
57 pinctrl-0 = <&led_ctl>;
62 gpios = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>;
63 label = "orion:blue:led";
64 pinctrl-names = "default";
65 pinctrl-0 = <&stby_pwren>;
66 default-state = "off";
70 vcc_18: vcc18-regulator {
71 compatible = "regulator-fixed";
72 regulator-name = "vcc_18";
73 regulator-min-microvolt = <1800000>;
74 regulator-max-microvolt = <1800000>;
77 vin-supply = <&vcc_sys>;
80 /* supplies both host and otg */
81 vcc_host: vcc-host-regulator {
82 compatible = "regulator-fixed";
83 gpio = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
84 pinctrl-names = "default";
85 pinctrl-0 = <&host_vbus_drv>;
86 regulator-name = "vcc_host";
89 vin-supply = <&vcc_sys>;
92 vcc_io: vcc-io-regulator {
93 compatible = "regulator-fixed";
94 regulator-name = "vcc_io";
95 regulator-min-microvolt = <3300000>;
96 regulator-max-microvolt = <3300000>;
99 vin-supply = <&vcc_sys>;
102 vcc_lan: vcc-lan-regulator {
103 compatible = "regulator-fixed";
104 regulator-name = "vcc_lan";
105 regulator-min-microvolt = <3300000>;
106 regulator-max-microvolt = <3300000>;
109 vin-supply = <&vcc_io>;
112 vcc_sd: vcc-sd-regulator {
113 compatible = "regulator-fixed";
114 regulator-name = "vcc_sd";
115 gpio = <&gpio3 RK_PB3 GPIO_ACTIVE_LOW>;
116 regulator-min-microvolt = <1800000>;
117 regulator-max-microvolt = <3300000>;
118 vin-supply = <&vcc_io>;
121 vcc_sys: vcc-sys-regulator {
122 compatible = "regulator-fixed";
123 regulator-name = "vcc_sys";
124 regulator-min-microvolt = <5000000>;
125 regulator-max-microvolt = <5000000>;
130 vccio_sd: vcc-io-sd-regulator {
131 compatible = "regulator-fixed";
132 regulator-name= "vccio_sd";
133 regulator-min-microvolt = <1800000>;
134 regulator-max-microvolt = <3300000>;
137 vin-supply = <&vcc_io>;
140 vccio_wl: vccio-wl-regulator {
141 compatible = "regulator-fixed";
142 regulator-name = "vccio_wl";
143 regulator-min-microvolt = <3300000>;
144 regulator-max-microvolt = <3300000>;
147 vin-supply = <&vcc_io>;
150 vdd_10: vdd-10-regulator {
151 compatible = "regulator-fixed";
152 regulator-name = "vdd_10";
153 regulator-min-microvolt = <1000000>;
154 regulator-max-microvolt = <1000000>;
157 vin-supply = <&vcc_sys>;
164 mmc-pwrseq = <&emmc_pwrseq>;
168 pinctrl-names = "default";
169 pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
174 assigned-clocks = <&cru SCLK_MAC>;
175 assigned-clock-parents = <&ext_gmac>;
176 clock_in_out = "input";
177 phy-supply = <&vcc_lan>;
179 pinctrl-names = "default";
180 pinctrl-0 = <&rgmii_pins>;
181 snps,reset-gpio = <&gpio3 RK_PB4 GPIO_ACTIVE_HIGH>;
182 snps,reset-active-low;
183 snps,reset-delays-us = <0 10000 1000000>;
193 compatible = "silergy,syr827";
195 fcs,suspend-voltage-selector = <1>;
196 regulator-name = "vdd_cpu";
197 regulator-enable-ramp-delay = <300>;
198 regulator-min-microvolt = <712500>;
199 regulator-max-microvolt = <1500000>;
200 regulator-ramp-delay = <8000>;
203 vin-supply = <&vcc_sys>;
206 hym8563: hym8563@51 {
207 compatible = "haoyu,hym8563";
210 clock-frequency = <32768>;
211 clock-output-names = "xin32k";
212 /* rtc_int is not connected */
217 pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma {
219 drive-strength = <8>;
222 pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma {
224 drive-strength = <8>;
228 emmc_bus8: emmc-bus8 {
229 rockchip,pins = <1 RK_PC2 2 &pcfg_pull_up_drv_8ma>,
230 <1 RK_PC3 2 &pcfg_pull_up_drv_8ma>,
231 <1 RK_PC4 2 &pcfg_pull_up_drv_8ma>,
232 <1 RK_PC5 2 &pcfg_pull_up_drv_8ma>,
233 <1 RK_PC6 2 &pcfg_pull_up_drv_8ma>,
234 <1 RK_PC7 2 &pcfg_pull_up_drv_8ma>,
235 <1 RK_PD0 2 &pcfg_pull_up_drv_8ma>,
236 <1 RK_PD1 2 &pcfg_pull_up_drv_8ma>;
240 rockchip,pins = <2 RK_PA4 2 &pcfg_pull_none_drv_8ma>;
244 rockchip,pins = <1 RK_PD2 2 &pcfg_pull_up_drv_8ma>;
247 emmc_reset: emmc-reset {
248 rockchip,pins = <2 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
254 rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_down>;
259 stby_pwren: stby-pwren {
260 rockchip,pins = <0 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>;
264 rockchip,pins = <3 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>;
269 sdmmc_clk: sdmmc-clk {
270 rockchip,pins = <2 RK_PB1 1 &pcfg_pull_none_drv_8ma>;
273 sdmmc_cmd: sdmmc-cmd {
274 rockchip,pins = <2 RK_PB2 1 &pcfg_pull_up_drv_8ma>;
278 rockchip,pins = <2 RK_PB3 1 &pcfg_pull_up_drv_8ma>;
281 sdmmc_bus1: sdmmc-bus1 {
282 rockchip,pins = <2 RK_PA5 1 &pcfg_pull_up_drv_8ma>;
285 sdmmc_bus4: sdmmc-bus4 {
286 rockchip,pins = <2 RK_PA5 1 &pcfg_pull_up_drv_8ma>,
287 <2 RK_PA6 1 &pcfg_pull_up_drv_8ma>,
288 <2 RK_PA7 1 &pcfg_pull_up_drv_8ma>,
289 <2 RK_PB0 1 &pcfg_pull_up_drv_8ma>;
294 host_vbus_drv: host-vbus-drv {
295 rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>;
301 vref-supply = <&vcc_18>;
307 clock-frequency = <50000000>;
308 max-frequency = <50000000>;
310 card-detect-delay = <200>;
311 pinctrl-names = "default";
312 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;
313 vmmc-supply = <&vcc_sd>;
314 vqmmc-supply = <&vccio_sd>;
323 pinctrl-names = "default";
324 pinctrl-0 = <&uart4_xfer>;