Lines Matching +full:codec +full:- +full:gpio7
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/pwm/pwm.h>
13 adc-keys {
14 compatible = "adc-keys";
15 io-channels = <&saradc 1>;
16 io-channel-names = "buttons";
17 keyup-threshold-microvolt = <1800000>;
19 button-up {
22 press-threshold-microvolt = <100000>;
25 button-down {
28 press-threshold-microvolt = <300000>;
34 press-threshold-microvolt = <640000>;
40 press-threshold-microvolt = <1000000>;
46 press-threshold-microvolt = <1300000>;
51 compatible = "simple-audio-card";
52 simple-audio-card,format = "i2s";
53 simple-audio-card,name = "rockchip,rt5640-codec";
54 simple-audio-card,mclk-fs = <512>;
57 simple-audio-card,dai-link@0 {
60 sound-dai = <&i2s>;
63 codec {
64 sound-dai = <&rt5640>;
68 simple-audio-card,dai-link@1 {
71 sound-dai = <&i2s>;
74 codec {
75 sound-dai = <&hdmi>;
80 hdmi_analog_sound: hdmi-analog-sound {
81 compatible = "rockchip,rk3288-hdmi-analog",
82 "rockchip,rk3368-hdmi-analog";
83 rockchip,model = "rockchip,rt5640-codec";
85 rockchip,codec = <&rt5640>, <&hdmi>;
90 compatible = "pwm-backlight";
91 brightness-levels = <
124 default-brightness-level = <128>;
125 enable-gpios = <&gpio7 RK_PA2 GPIO_ACTIVE_HIGH>;
126 pinctrl-names = "default";
127 pinctrl-0 = <&bl_en>;
131 ext_gmac: external-gmac-clock {
132 compatible = "fixed-clock";
133 clock-frequency = <125000000>;
134 clock-output-names = "ext_gmac";
135 #clock-cells = <0>;
139 compatible = "simple-panel";
141 enable-gpios = <&gpio7 RK_PA4 GPIO_ACTIVE_HIGH>;
142 pinctrl-names = "default";
143 pinctrl-0 = <&lcd_cs>;
144 prepare-delay-ms = <120>;
146 panel-timing {
147 clock-frequency = <200000000>;
149 hfront-porch = <12>;
150 hback-porch = <48>;
151 hsync-len = <16>;
153 vfront-porch = <8>;
154 vback-porch = <8>;
155 vsync-len = <4>;
156 hsync-active = <0>;
157 vsync-active = <0>;
158 de-active = <0>;
159 pixelclk-active = <0>;
165 remote-endpoint = <&edp_out_panel>;
171 gpio-keys {
172 compatible = "gpio-keys";
175 pinctrl-names = "default";
176 pinctrl-0 = <&pwrbtn>;
182 linux,input-type = <1>;
183 wakeup-source;
184 debounce-interval = <100>;
189 vcc_host: vcc-host-regulator {
190 compatible = "regulator-fixed";
191 enable-active-high;
193 pinctrl-names = "default";
194 pinctrl-0 = <&host_vbus_drv>;
195 regulator-name = "vcc_host";
196 regulator-always-on;
197 regulator-boot-on;
200 vcc_otg_vbus: otg-vbus-regulator {
201 compatible = "regulator-fixed";
202 enable-active-high;
204 pinctrl-names = "default";
205 pinctrl-0 = <&otg_vbus_drv>;
206 regulator-name = "vcc_otg_vbus";
209 vcc_phy: vcc-phy-regulator {
210 compatible = "regulator-fixed";
211 enable-active-high;
213 pinctrl-names = "default";
214 pinctrl-0 = <ð_phy_pwr>;
215 regulator-name = "vcc_phy";
216 regulator-min-microvolt = <3300000>;
217 regulator-max-microvolt = <3300000>;
218 regulator-always-on;
219 regulator-boot-on;
222 vcc_sys: vsys-regulator {
223 compatible = "regulator-fixed";
224 regulator-name = "vcc_sys";
225 regulator-min-microvolt = <5000000>;
226 regulator-max-microvolt = <5000000>;
227 regulator-always-on;
228 regulator-boot-on;
236 vcc_sd: sdmmc-regulator {
237 compatible = "regulator-fixed";
238 gpio = <&gpio7 RK_PB3 GPIO_ACTIVE_LOW>;
239 pinctrl-names = "default";
240 pinctrl-0 = <&sdmmc_pwr>;
241 regulator-name = "vcc_sd";
242 regulator-min-microvolt = <3300000>;
243 regulator-max-microvolt = <3300000>;
244 startup-delay-us = <100000>;
245 vin-supply = <&vcc_io>;
248 wireless-bluetooth {
249 compatible = "bluetooth-platdata";
251 pinctrl-names = "default", "rts_gpio";
252 pinctrl-0 = <&uart0_rts>;
253 pinctrl-1 = <&uart0_gpios>;
260 wireless-wlan {
261 compatible = "wlan-platdata";
271 cpu0-supply = <&vdd_cpu>;
275 force-hpd;
281 #address-cells = <1>;
282 #size-cells = <0>;
286 remote-endpoint = <&panel_in_edp>;
297 bus-width = <8>;
298 cap-mmc-highspeed;
299 no-sdio;
300 no-sd;
301 disable-wp;
302 non-removable;
303 pinctrl-names = "default";
304 pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_pwr &emmc_bus8>;
309 vref-supply = <&vcc_18>;
314 bus-width = <4>;
315 cap-mmc-highspeed;
316 sd-uhs-sdr12;
317 sd-uhs-sdr25;
318 sd-uhs-sdr50;
319 sd-uhs-sdr104;
320 cap-sd-highspeed;
321 no-mmc;
322 no-sdio;
323 card-detect-delay = <200>;
324 disable-wp; /* wp not hooked up */
325 pinctrl-names = "default";
326 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;
328 vmmc-supply = <&vcc_sd>;
329 vqmmc-supply = <&vccio_sd>;
333 phy-supply = <&vcc_phy>;
334 phy-mode = "rgmii";
336 assigned-clocks = <&cru SCLK_MAC>;
337 assigned-clock-parents = <&cru PLL_NPLL>;
338 assigned-clock-rates = <125000000>;
339 snps,reset-gpio = <&gpio4 RK_PA7 GPIO_ACTIVE_HIGH>;
340 snps,reset-active-low;
341 snps,reset-delays-us = <0 10000 1000000>;
342 pinctrl-names = "default";
343 pinctrl-0 = <&rgmii_pins>;
350 mali-supply = <&vdd_gpu>;
366 #sound-dai-cells = <0>;
370 clock-names = "mclk";
371 interrupt-parent = <&gpio7>;
373 pinctrl-names = "default";
374 pinctrl-0 = <&i2s0_mclk>;
380 clock-frequency = <400000>;
387 irq_gpio_number = <&gpio7 6 IRQ_TYPE_LEVEL_LOW>;
388 rst_gpio_number = <&gpio7 5 GPIO_ACTIVE_HIGH>;
394 #sound-dai-cells = <0>;
408 max-frequency = <150000000>;
409 bus-width = <4>;
410 cap-sd-highspeed;
411 no-mmc;
412 no-sd;
413 cap-sdio-irq;
414 mmc-pwrseq = <&sdio_pwrseq>;
415 keep-power-in-suspend;
416 non-removable;
417 pinctrl-names = "default";
418 pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk &sdio0_int>;
419 sd-uhs-sdr104;
423 pinctrl-names = "default";
424 pinctrl-0 = <&uart0_xfer &uart0_cts>;
433 rockchip,hw-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */
434 rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */
439 pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma {
440 drive-strength = <8>;
443 pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma {
444 bias-pull-up;
445 drive-strength = <8>;
449 bl_en: bl-en {
461 lcd_cs: lcd-cs {
467 pmic_int: pmic-int {
472 sdio-pwrseq {
473 wifi_enable_h: wifi-enable-h {
481 * high-speed mode on EVB board so bump up to 8ma.
483 sdmmc_bus4: sdmmc-bus4 {
490 sdmmc_clk: sdmmc-clk {
494 sdmmc_cmd: sdmmc-cmd {
498 sdmmc_pwr: sdmmc-pwr {
504 host_vbus_drv: host-vbus-drv {
508 otg_vbus_drv: otg-bus-drv {
514 eth_phy_pwr: eth-phy-pwr {
519 wireless-bluetooth {
520 uart0_gpios: uart0-gpios {
531 rockchip-relinquish-port;
544 vbus-supply = <&vcc_otg_vbus>;