Lines Matching +full:pin +full:- +full:switches

1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2017 T-Chip Intelligent Technology Co., Ltd
6 /dts-v1/;
7 #include "rk3399-roc-pc.dtsi"
11 * 1. rk3399-roc-pc-plus is powered by dc_12v directly.
12 * 2. rk3399-roc-pc-plus has only vcc_bus_typec0 in schematic, which is coresponding
13 * to vcc_vbus_typec1 in rk3399-roc-pc.
18 /delete-node/ &fusb1;
19 /delete-node/ &hub_rst;
20 /delete-node/ &mp8859;
21 /delete-node/ &vcc_sys_en;
22 /delete-node/ &vcc_vbus_typec0;
23 /delete-node/ &yellow_led;
26 model = "Firefly ROC-RK3399-PC-PLUS Board";
27 compatible = "firefly,roc-rk3399-pc-plus", "rockchip,rk3399";
29 dc_12v: dc-12v {
30 compatible = "regulator-fixed";
31 regulator-name = "dc_12v";
32 regulator-always-on;
33 regulator-boot-on;
34 regulator-min-microvolt = <12000000>;
35 regulator-max-microvolt = <12000000>;
38 es8388-sound {
39 compatible = "simple-audio-card";
40 pinctrl-names = "default";
41 pinctrl-0 = <&hp_det_pin>;
42 simple-audio-card,name = "rockchip,es8388-codec";
43 simple-audio-card,format = "i2s";
44 simple-audio-card,mclk-fs = <256>;
45 simple-audio-card,widgets =
48 simple-audio-card,routing =
54 simple-audio-card,hp-det-gpio = <&gpio2 RK_PA6 GPIO_ACTIVE_HIGH>;
55 simple-audio-card,aux-devs = <&headphones_amp>;
56 simple-audio-card,pin-switches = "Headphones";
58 simple-audio-card,codec {
59 sound-dai = <&es8388>;
62 simple-audio-card,cpu {
63 sound-dai = <&i2s1>;
67 gpio-fan {
68 #cooling-cells = <2>;
69 compatible = "gpio-fan";
70 gpio-fan,speed-map = <0 0 3000 1>;
74 /delete-node/ gpio-keys;
77 headphones_amp: headphones-amp {
78 compatible = "simple-audio-amplifier";
79 pinctrl-names = "default";
80 pinctrl-0 = <&ear_ctl_pin>;
81 enable-gpios = <&gpio0 RK_PA2 GPIO_ACTIVE_HIGH>;
82 sound-name-prefix = "Headphone Amp";
83 VCC-supply = <&vcca3v0_codec>;
86 ir-receiver {
87 linux,rc-map-name = "rc-khadas";
91 pinctrl-names = "default";
92 pinctrl-0 = <&work_led_pin>, <&diy_led_pin>;
97 vbus-supply = <&vcc_vbus_typec1>;
104 interrupt-parent = <&gpio0>;
106 #clock-cells = <0>;
107 clock-output-names = "xin32k";
108 pinctrl-names = "default";
109 pinctrl-0 = <&hym8563_int>;
118 #sound-dai-cells = <0>;
136 pinctrl-names = "default";
137 pinctrl-0 = <&i2s_8ch_mclk_pin>, <&i2s1_2ch_bus>;
138 rockchip,playback-channels = <2>;
139 rockchip,capture-channels = <2>;
145 ear_ctl_pin: ear-ctl-pin {
149 hp_det_pin: hp-det-pin {
155 hym8563_int: hym8563-int {
161 i2s_8ch_mclk_pin: i2s-8ch-mclk-pin {
170 u2phy0_otg: otg-port {
171 phy-supply = <&vcc_vbus_typec1>;
175 u2phy0_host: host-port {
176 phy-supply = <&vcc5v0_host>;
184 u2phy1_otg: otg-port {
185 phy-supply = <&vcc5v0_host>;
189 u2phy1_host: host-port {
190 phy-supply = <&vcc5v0_host>;
196 pinctrl-names = "default";
197 pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
208 /delete-property/ gpio;
209 /delete-property/ pinctrl-names;
210 /delete-property/ pinctrl-0;
214 pinctrl-names = "default";
215 pinctrl-0 = <&vcc5v0_host_en>;