Lines Matching +full:orion +full:- +full:gpio
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
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";
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";
37 #clock-cells = <0>;
38 clock-frequency = <125000000>;
39 clock-output-names = "ext_gmac";
42 keys: gpio-keys {
43 compatible = "gpio-keys";
44 pinctrl-names = "default";
45 pinctrl-0 = <&pwr_key>;
47 key-power {
48 wakeup-source;
50 label = "GPIO Power";
55 leds: gpio-leds {
56 compatible = "gpio-leds";
58 red_led: led-0 {
60 label = "orion:red:led";
61 pinctrl-names = "default";
62 pinctrl-0 = <&led_ctl>;
63 default-state = "on";
66 blue_led: led-1 {
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>;
80 regulator-always-on;
81 regulator-boot-on;
82 vin-supply = <&vcc_sys>;
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";
92 regulator-always-on;
93 regulator-boot-on;
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>;
102 regulator-always-on;
103 regulator-boot-on;
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>;
112 regulator-always-on;
113 regulator-boot-on;
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>;
131 regulator-always-on;
132 regulator-boot-on;
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>;
140 regulator-always-on;
141 regulator-boot-on;
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>;
150 regulator-always-on;
151 regulator-boot-on;
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>;
160 regulator-always-on;
161 regulator-boot-on;
162 vin-supply = <&vcc_sys>;
167 bus-width = <8>;
168 cap-mmc-highspeed;
169 mmc-pwrseq = <&emmc_pwrseq>;
170 mmc-hs200-1_2v;
171 mmc-hs200-1_8v;
172 non-removable;
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>;
182 phy-supply = <&vcc_lan>;
183 phy-mode = "rgmii";
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>;
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>;
206 regulator-always-on;
207 regulator-boot-on;
208 vin-supply = <&vcc_sys>;
214 #clock-cells = <0>;
215 clock-output-names = "xin32k";
221 pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma {
222 bias-disable;
223 drive-strength = <8>;
226 pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma {
227 bias-pull-up;
228 drive-strength = <8>;
232 emmc_bus8: emmc-bus8 {
243 emmc-clk {
247 emmc-cmd {
251 emmc_reset: emmc-reset {
257 pwr_key: pwr-key {
263 stby_pwren: stby-pwren {
267 led_ctl: led-ctl {
273 sdmmc_clk: sdmmc-clk {
277 sdmmc_cmd: sdmmc-cmd {
281 sdmmc_cd: sdmmc-cd {
285 sdmmc_bus1: sdmmc-bus1 {
289 sdmmc_bus4: sdmmc-bus4 {
298 host_vbus_drv: host-vbus-drv {
305 vref-supply = <&vcc_18>;
310 bus-width = <4>;
311 clock-frequency = <50000000>;
312 max-frequency = <50000000>;
313 cap-sd-highspeed;
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>;