Lines Matching +full:rng +full:- +full:gpios
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 #include <dt-bindings/input/input.h>
11 compatible = "rockchip,rk3308-vmb-v11", "rockchip,rk3308";
14 …bootargs = "earlycon=uart8250,mmio32,0xff0c0000 console=ttyFIQ0 root=PARTUUID=614e0000-0000 rootfs…
17 acodec_sound: acodec-sound {
18 compatible = "rockchip,multicodecs-card";
19 rockchip,card-name = "rockchip,rk3308-acodec";
20 rockchip,codec-hp-det;
21 rockchip,mclk-fs = <256>;
27 adc-keys {
28 compatible = "adc-keys";
29 io-channels = <&saradc 1>;
30 io-channel-names = "buttons";
31 poll-interval = <100>;
32 keyup-threshold-microvolt = <1800000>;
34 esc-key {
37 press-threshold-microvolt = <1130000>;
40 home-key {
43 press-threshold-microvolt = <901000>;
46 menu-key {
49 press-threshold-microvolt = <624000>;
52 vol-down-key {
55 press-threshold-microvolt = <300000>;
58 vol-up-key {
61 press-threshold-microvolt = <18000>;
65 bluetooth_sound: bluetooth-sound {
67 compatible = "rockchip,multicodecs-card";
68 rockchip,card-name = "rockchip,rk3308-pcm";
69 rockchip,mclk-fs = <128>;
73 rockchip,wait-card-locked = <0>;
76 dummy_codec: dummy-codec {
77 compatible = "rockchip,dummy-codec";
78 #sound-dai-cells = <0>;
81 sdio_pwrseq: sdio-pwrseq {
82 compatible = "mmc-pwrseq-simple";
83 pinctrl-names = "default";
84 pinctrl-0 = <&wifi_enable_h>;
89 * - SDIO_RESET_L_WL_REG_ON
90 * - PDN (power down when low)
92 reset-gpios = <&gpio0 RK_PA2 GPIO_ACTIVE_LOW>;
95 spdif_rx_sound: spdif-rx-sound {
97 compatible = "simple-audio-card";
98 simple-audio-card,name = "rockchip,spdif-rx-sound";
99 simple-audio-card,cpu {
100 sound-dai = <&spdif_rx>;
102 simple-audio-card,codec {
103 sound-dai = <&dummy_codec>;
107 spdif_tx_sound: spdif-tx-sound {
109 compatible = "simple-audio-card";
110 simple-audio-card,name = "rockchip,spdif-tx-sound";
111 simple-audio-card,mclk-fs = <128>;
112 simple-audio-card,cpu {
113 sound-dai = <&spdif_tx>;
115 simple-audio-card,codec {
116 sound-dai = <&dummy_codec>;
120 vad-sound {
122 compatible = "rockchip,multicodecs-card";
123 rockchip,card-name = "rockchip,rk3308-vad";
124 rockchip,codec-hp-det;
129 vdd_core: vdd-core {
130 compatible = "pwm-regulator";
132 regulator-name = "vdd_core";
133 regulator-min-microvolt = <827000>;
134 regulator-max-microvolt = <1340000>;
135 regulator-init-microvolt = <1015000>;
136 regulator-always-on;
137 regulator-boot-on;
138 regulator-settling-time-up-us = <250>;
142 vdd_log: vdd-log {
143 compatible = "regulator-fixed";
144 regulator-name = "vdd_log";
145 regulator-always-on;
146 regulator-boot-on;
147 regulator-min-microvolt = <1050000>;
148 regulator-max-microvolt = <1050000>;
151 vdd_1v0: vdd-1v0 {
152 compatible = "regulator-fixed";
153 regulator-name = "vdd_1v0";
154 regulator-always-on;
155 regulator-boot-on;
156 regulator-min-microvolt = <1000000>;
157 regulator-max-microvolt = <1000000>;
160 vcc_io: vcc-io {
161 compatible = "regulator-fixed";
162 regulator-name = "vcc_io";
163 regulator-always-on;
164 regulator-boot-on;
165 regulator-min-microvolt = <3300000>;
166 regulator-max-microvolt = <3300000>;
169 vccio_sdio: vcc_1v8: vcc-1v8 {
170 compatible = "regulator-fixed";
171 regulator-name = "vcc_1v8";
172 regulator-always-on;
173 regulator-boot-on;
174 regulator-min-microvolt = <1800000>;
175 regulator-max-microvolt = <1800000>;
176 vin-supply = <&vcc_io>;
179 vcc_ddr: vcc-ddr {
180 compatible = "regulator-fixed";
181 regulator-name = "vcc_ddr";
182 regulator-always-on;
183 regulator-boot-on;
184 regulator-min-microvolt = <1500000>;
185 regulator-max-microvolt = <1500000>;
188 vbus_host: vbus-host-regulator {
189 compatible = "regulator-fixed";
190 enable-active-high;
192 pinctrl-names = "default";
193 pinctrl-0 = <&usb_drv>;
194 regulator-name = "vbus_host";
201 rockchip,no-hp-det;
202 rockchip,delay-start-play-ms = <200>;
203 rockchip,loopback-grp = <1>;
204 spk-ctl-gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>;
208 cpu-supply = <&vdd_core>;
212 opp-1200000000 {
218 center-supply = <&vdd_log>;
237 vccio0-supply = <&vcc_io>;
238 vccio1-supply = <&vcc_io>;
239 vccio2-supply = <&vcc_1v8>;
240 vccio3-supply = <&vcc_io>;
241 vccio4-supply = <&vccio_sdio>;
242 vccio5-supply = <&vcc_io>;
251 pwr_key: pwr-key {
257 usb_drv: usb-drv {
262 sdio-pwrseq {
263 wifi_enable_h: wifi-enable-h {
268 wireless-wlan {
269 wifi_wake_host: wifi-wake-host {
277 pinctrl-names = "active";
278 pinctrl-0 = <&pwm0_pin_pull_down>;
283 record-size = <0x00000>;
284 console-size = <0x20000>;
291 &rng {
296 rockchip,pwm-regulator-config = <
302 rockchip,wakeup-config = <
314 vref-supply = <&vcc_1v8>;
318 max-frequency = <110000000>;
319 bus-width = <4>;
320 cap-sd-highspeed;
321 no-sd;
322 no-mmc;
323 ignore-pm-notify;
324 keep-power-in-suspend;
325 non-removable;
326 mmc-pwrseq = <&sdio_pwrseq>;
327 sd-uhs-sdr104;
332 bus-width = <4>;
333 cap-mmc-highspeed;
334 cap-sd-highspeed;
335 no-sdio;
336 no-mmc;
337 card-detect-delay = <300>;
342 u-boot,dm-pre-reloc;
347 rockchip,hw-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */
348 rockchip,hw-tshut-polarity = <1>; /* tshut polarity 0:LOW 1:HIGH */
355 u2phy_host: host-port {
356 phy-supply = <&vbus_host>;
360 u2phy_otg: otg-port {
379 rockchip,audio-src = <&i2s_8ch_2>;
380 rockchip,det-channel = <0>;
382 rockchip,buffer-time-ms = <500>;
383 #sound-dai-cells = <0>;