Lines Matching +full:emmc +full:- +full:pins

1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2015 Caesar Wang <wxt@rock-chips.com>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/pwm/pwm.h>
12 mmc0 = &emmc;
16 stdout-path = "serial2:115200n8";
25 compatible = "pwm-backlight";
26 brightness-levels = <
59 default-brightness-level = <128>;
60 enable-gpios = <&gpio0 RK_PC4 GPIO_ACTIVE_HIGH>;
61 pinctrl-names = "default";
62 pinctrl-0 = <&bl_en>;
66 emmc_pwrseq: emmc-pwrseq {
67 compatible = "mmc-pwrseq-emmc";
68 pinctrl-0 = <&emmc_reset>;
69 pinctrl-names = "default";
70 reset-gpios = <&gpio2 RK_PA3 GPIO_ACTIVE_HIGH>;
73 keys: gpio-keys {
74 compatible = "gpio-keys";
75 pinctrl-names = "default";
76 pinctrl-0 = <&pwr_key>;
78 key-power {
79 wakeup-source;
87 vcc_host: vcc-host-regulator {
88 compatible = "regulator-fixed";
89 enable-active-high;
91 pinctrl-names = "default";
92 pinctrl-0 = <&host_vbus_drv>;
93 regulator-name = "vcc_host";
94 regulator-always-on;
95 regulator-boot-on;
96 vin-supply = <&vcc_sys>;
99 vcc_lan: vcc-lan-regulator {
100 compatible = "regulator-fixed";
101 regulator-name = "vcc_lan";
102 regulator-min-microvolt = <3300000>;
103 regulator-max-microvolt = <3300000>;
104 regulator-always-on;
105 regulator-boot-on;
106 vin-supply = <&vcc_io>;
109 vcc_sys: vcc-sys-regulator {
110 compatible = "regulator-fixed";
111 regulator-name = "vcc_sys";
112 regulator-min-microvolt = <5000000>;
113 regulator-max-microvolt = <5000000>;
114 regulator-always-on;
115 regulator-boot-on;
119 &emmc {
120 bus-width = <8>;
121 cap-mmc-highspeed;
122 mmc-pwrseq = <&emmc_pwrseq>;
123 non-removable;
124 pinctrl-names = "default";
125 pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
130 phy-supply = <&vcc_lan>;
131 phy-mode = "rmii";
133 snps,reset-gpio = <&gpio3 RK_PB4 GPIO_ACTIVE_HIGH>;
134 snps,reset-active-low;
135 snps,reset-delays-us = <0 10000 1000000>;
136 pinctrl-names = "default";
137 pinctrl-0 = <&rmii_pins>;
148 pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma {
149 bias-disable;
150 drive-strength = <8>;
153 pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma {
154 bias-pull-up;
155 drive-strength = <8>;
159 bl_en: bl-en {
160 rockchip,pins = <0 RK_PC4 RK_FUNC_GPIO &pcfg_pull_none>;
164 emmc {
165 emmc_bus8: emmc-bus8 {
166 rockchip,pins = <1 RK_PC2 2 &pcfg_pull_up_drv_8ma>,
176 emmc-clk {
177 rockchip,pins = <2 RK_PA4 2 &pcfg_pull_none_drv_8ma>;
180 emmc-cmd {
181 rockchip,pins = <1 RK_PD2 2 &pcfg_pull_up_drv_8ma>;
184 emmc_reset: emmc-reset {
185 rockchip,pins = <2 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
190 pwr_key: pwr-key {
191 rockchip,pins = <0 RK_PA2 RK_FUNC_GPIO &pcfg_pull_up>;
196 pmic_int: pmic-int {
197 rockchip,pins = <0 RK_PA1 RK_FUNC_GPIO &pcfg_pull_up>;
202 wifi_reg_on: wifi-reg-on {
203 rockchip,pins = <3 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>;
206 bt_rst: bt-rst {
207 rockchip,pins = <3 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>;
212 host_vbus_drv: host-vbus-drv {
213 rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>;
223 rockchip,hw-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */
224 rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */