Lines Matching +full:rk3188 +full:- +full:spdif
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/input/rk-input.h>
9 #include <dt-bindings/pinctrl/rockchip.h>
10 #include <dt-bindings/pwm/pwm.h>
11 #include <dt-bindings/sensor-dev.h>
13 #include "rk312x-android.dtsi"
20 …on=uart8250,mmio32,0x20068000 console=ttyFIQ0 root=PARTUUID=614e0000-0000-4b53-8000-1d28000054a9 r…
23 adc-keys {
24 compatible = "adc-keys";
25 io-channels = <&saradc 1>;
26 io-channel-names = "buttons";
27 poll-interval = <100>;
28 keyup-threshold-microvolt = <3300000>;
30 vol-up-key {
33 press-threshold-microvolt = <0>;
36 vol-down-key{
39 press-threshold-microvolt = <750000>;
42 menu-key{
45 press-threshold-microvolt = <1240000>;
48 esc-key {
51 press-threshold-microvolt = <1980000>;
56 compatible = "pwm-backlight";
58 brightness-levels = <0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
76 default-brightness-level = <128>;
79 sdio_pwrseq: sdio-pwrseq{
80 compatible = "mmc-pwrseq-simple";
81 pinctrl-name = "default";
82 pinctrl-0 = <&wifi_enable_h>;
83 reset-gpios = <&gpio1 RK_PB4 GPIO_ACTIVE_LOW>;
86 codec_sound: codec-sound {
87 compatible = "simple-audio-card";
88 simple-audio-card,format = "i2s";
89 simple-audio-card,name = "rockchip,rk312x-codec";
90 simple-audio-card,mclk-fs = <256>;
91 simple-audio-card,cpu {
92 sound-dai = <&i2s_8ch>;
94 simple-audio-card,codec {
95 sound-dai = <&codec>;
99 spdif_out: spdif-out {
101 compatible = "linux,spdif-dit";
102 #sound-dai-cells = <0>;
105 media_sound: media-sound {
107 compatible = "simple-audio-card";
108 simple-audio-card,name = "rockchip,hdmi-spdif";
109 simple-audio-card,mclk-fs = <128>;
110 simple-audio-card,dai-link@0 {
111 format = "spdif";
113 sound-dai = <&spdif>;
117 sound-dai = <&spdif_out>;
121 simple-audio-card,dai-link@1 {
122 format = "spdif";
124 sound-dai = <&spdif>;
128 sound-dai = <&hdmi>;
133 wireless-wlan {
134 compatible = "wlan-platdata";
142 wireless-bluetooth {
143 compatible = "bluetooth-platdata";
145 clock-names = "ext_clock";
147 pinctrl-names = "default","rts_gpio";
148 pinctrl-0 = <&uart0_rts>;
149 pinctrl-1 = <&uart0_rts_gpio>;
156 vcc_phy: vcc-phy-regulator {
157 compatible = "regulator-fixed";
158 enable-active-high;
159 regulator-name = "vcc_phy";
160 regulator-always-on;
161 regulator-boot-on;
164 vcc_2v8_cam: vcc-3v3-cam {
165 compatible = "regulator-fixed";
166 regulator-name = "vcc_2v8_cam";
168 enable-active-high;
169 regulator-min-microvolt = <3300000>;
170 regulator-max-microvolt = <3300000>;
173 vcc5v0_sys: vcc-sys {
174 compatible = "regulator-fixed";
175 regulator-name = "vcc5v0_sys";
176 regulator-always-on;
177 regulator-boot-on;
178 regulator-min-microvolt = <5000000>;
179 regulator-max-microvolt = <5000000>;
182 vcc_host_5v: vcc-host-5v-regulator {
183 compatible = "regulator-fixed";
184 enable-active-high;
186 pinctrl-names = "default";
187 pinctrl-0 = <&host_vbus_drv>;
188 regulator-name = "vcc_host_5v";
189 regulator-always-on;
192 vcc_hub_5v: vcc-hub-5v-regulator {
193 compatible = "regulator-fixed";
194 regulator-name = "vcc_hub_5v";
196 pinctrl-names = "default";
197 pinctrl-0 = <&hub_rst>;
198 enable-active-high;
199 regulator-always-on;
202 vcc_sdmmc: vcc-sdmmc{
203 compatible = "regulator-fixed";
205 pinctrl-names = "default";
206 pinctrl-0 = <&sdmmc_pwren>;
207 regulator-name = "vcc_sdmmc";
208 regulator-min-microvolt = <3300000>;
209 regulator-max-microvolt = <3300000>;
212 vcc3v3_lcd_n: vcc3v3-lcd-n {
213 compatible = "regulator-fixed";
214 regulator-name = "vcc3v3_lcd_n";
215 pinctrl-names = "default";
216 pinctrl-0 = <&lcd_en>;
218 enable-active-high;
219 regulator-boot-on;
222 vccio_wifi: vccio-wifi {
223 compatible = "regulator-fixed";
224 regulator-name = "vccio_wifi";
225 pinctrl-names = "default";
226 pinctrl-0 = <&wifi_pwren_l>;
228 regulator-boot-on;
229 regulator-always-on;
233 compatible = "fixed-clock";
234 clock-frequency = <32768>;
235 clock-output-names = "xin32k";
236 #clock-cells = <0>;
246 remote-endpoint = <&gc2145_out>;
247 vsync-active = <0>;
248 hsync-active = <1>;
255 spk-ctl-gpios = <&gpio0 RK_PD6 GPIO_ACTIVE_HIGH>;
256 hp-ctl-gpios = <&gpio3 RK_PC4 GPIO_ACTIVE_LOW>;
257 spk-mute-delay = <200>;
258 hp-mute-delay = <100>;
266 #sound-dai-cells = <0>;
267 pinctrl-names = "default";
268 pinctrl-0 = <&spk_ctl_h>, <&hp_ctl_h>;
273 cpu-supply = <&vdd_arm>;
281 center-supply = <&vdd_logic>;
288 compatible = "sitronix,st7703", "simple-panel-dsi";
291 power-supply = <&vcc3v3_lcd_n>;
292 reset-gpio = <&gpio0 RK_PD0 GPIO_ACTIVE_LOW>;
293 prepare-delay-ms = <0>;
294 reset-delay-ms = <0>;
295 init-delay-ms = <80>;
296 enable-delay-ms = <0>;
297 disable-delay-ms = <10>;
298 unprepare-delay-ms = <60>;
300 width-mm = <68>;
301 height-mm = <121>;
308 panel-init-sequence = [
517 panel-exit-sequence = [
522 display-timings {
523 native-mode = <&timing0>;
526 clock-frequency = <65000000>;
529 hfront-porch = <40>;
530 hsync-len = <10>;
531 hback-porch = <40>;
532 vfront-porch = <22>;
533 vsync-len = <4>;
534 vback-porch = <11>;
535 hsync-active = <0>;
536 vsync-active = <0>;
537 de-active = <0>;
538 pixelclk-active = <0>;
545 bus-width = <8>;
546 cap-mmc-highspeed;
547 supports-emmc;
548 disable-wp;
549 non-removable;
550 num-slots = <1>;
551 pinctrl-names = "default";
552 pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
557 assigned-clocks = <&cru SCLK_MAC_SRC>;
558 assigned-clock-rates = <50000000>;
560 pinctrl-names = "default";
561 pinctrl-0 = <&rmii_pins>;
562 phy-supply = <&vcc_phy>;
563 phy-mode = "rmii";
564 snps,reset-active-low;
565 snps,reset-delays-us = <0 10000 50000>;
566 snps,reset-gpio = <&gpio2 RK_PD0 GPIO_ACTIVE_LOW>;
572 mali-supply = <&vdd_logic>;
576 rockchip,format = "spdif";
577 #sound-dai-cells = <0>;
591 clock-frequency = <400000>;
597 wakeup-source;
604 interrupt-parent = <&gpio1>;
606 pinctrl-names = "default";
607 pinctrl-0 = <&pmic_int>;
608 rockchip,system-power-controller;
609 wakeup-source;
610 gpio-controller;
611 #gpio-cells = <2>;
612 #clock-cells = <1>;
613 clock-output-names = "rk805-clkout1", "rk805-clkout2";
615 vcc1-supply = <&vcc5v0_sys>;
616 vcc2-supply = <&vcc5v0_sys>;
617 vcc3-supply = <&vcc5v0_sys>;
618 vcc4-supply = <&vcc5v0_sys>;
619 vcc5-supply = <&vcc_io>;
620 vcc6-supply = <&vcc_io>;
635 compatible = "rk805-regulator";
637 #address-cells = <1>;
638 #size-cells = <0>;
641 regulator-name = "vdd_arm";
642 regulator-min-microvolt = <700000>;
643 regulator-max-microvolt = <1500000>;
644 regulator-initial-mode = <0x1>;
645 regulator-initial-state = <3>;
646 regulator-boot-on;
647 regulator-always-on;
648 regulator-state-mem {
649 regulator-state-mode = <0x2>;
650 regulator-state-enabled;
651 regulator-state-uv = <975000>;
656 regulator-name = "vdd_logic";
657 regulator-min-microvolt = <700000>;
658 regulator-max-microvolt = <1500000>;
659 regulator-initial-mode = <0x1>;
660 regulator-ramp-delay = <12500>;
661 regulator-boot-on;
662 regulator-always-on;
663 regulator-state-mem {
664 regulator-mode = <0x2>;
665 regulator-on-in-suspend;
666 regulator-suspend-microvolt = <1000000>;
671 regulator-name = "vcc_ddr";
672 regulator-initial-mode = <0x1>;
673 regulator-boot-on;
674 regulator-always-on;
675 regulator-state-mem {
676 regulator-mode = <0x2>;
677 regulator-on-in-suspend;
682 regulator-name = "vcc_io";
683 regulator-min-microvolt = <3300000>;
684 regulator-max-microvolt = <3300000>;
685 regulator-initial-mode = <0x1>;
686 regulator-boot-on;
687 regulator-always-on;
688 regulator-state-mem {
689 regulator-mode = <0x2>;
690 regulator-on-in-suspend;
691 regulator-suspend-microvolt = <3300000>;
696 regulator-name = "vcca_33";
697 regulator-min-microvolt = <3300000>;
698 regulator-max-microvolt = <3300000>;
699 regulator-initial-state = <3>;
700 regulator-boot-on;
701 regulator-always-on;
702 regulator-state-mem {
703 regulator-on-in-suspend;
704 regulator-suspend-microvolt = <3300000>;
709 regulator-name = "vcc_1v8_cam";
710 regulator-min-microvolt = <1800000>;
711 regulator-max-microvolt = <1800000>;
712 regulator-boot-on;
713 regulator-always-on;
714 regulator-state-mem {
715 regulator-on-in-suspend;
716 regulator-suspend-microvolt = <1800000>;
721 regulator-name = "vdd10_pmu";
722 regulator-min-microvolt = <1100000>;
723 regulator-max-microvolt = <1100000>;
724 regulator-boot-on;
725 regulator-always-on;
726 regulator-state-mem {
727 regulator-on-in-suspend;
728 regulator-suspend-microvolt = <1100000>;
744 clock-names = "xvclk";
745 pwdn-gpios = <&gpio3 RK_PD7 GPIO_ACTIVE_HIGH>;
747 avdd-supply = <&vcc_2v8_cam>;
748 dovdd-supply = <&vcc_2v8_cam>;
749 dvdd-supply = <&vcc_1v8_cam>;
751 rockchip,camera-module-index = <0>;
752 rockchip,camera-module-facing = "back";
753 rockchip,camera-module-name = "CameraKing";
754 rockchip,camera-module-lens-name = "Largan";
758 remote-endpoint = <&cif_in_bcam>;
767 power-supply = <&vcc3v3_lcd_n>;
768 pinctrl-names = "default";
769 pinctrl-0 = <&tp_rst>, <&tp_irq>;
770 goodix,rst-gpio = <&gpio0 RK_PD1 GPIO_ACTIVE_LOW>;
771 goodix,irq-gpio = <&gpio1 RK_PB0 GPIO_ACTIVE_LOW>;
779 irq-gpio = <&gpio0 RK_PB4 IRQ_TYPE_LEVEL_LOW>;
789 #sound-dai-cells = <0>;
798 spk_ctl_h: spk-ctl-h{
802 hp_ctl_h: hp-ctl-h{
808 lcd_en: lcd-en {
812 tp_rst: tp-rst {
816 tp_irq: tp-irq {
822 pmic_int: pmic-int {
826 pmic_sleep: pmic-sleep {
832 mma7660_irq_gpio: mma7660-irq-gpio {
838 host_vbus_drv: host-vbus-drv {
842 hub_rst: hub-rst {
848 uart0_rts_gpio: uart0-rts-gpio{
854 wifi_enable_h: wifi-enable-h{
857 wifi_pwren_l: wifi-pwren-l{
869 compatible = "rockchip,remotectl-pwm";
870 pinctrl-names = "default";
903 vref-supply = <&vcc_io>;
907 max-frequency = <50000000>;
908 supports-sdio;
909 disable-wp;
910 cap-sd-highspeed;
911 cap-sdio-irq;
912 keep-power-in-suspend;
913 pinctrl-names = "default";
914 pinctrl-0 = <&sdio_cmd &sdio_clk &sdio_bus4>;
915 mmc-pwrseq = <&sdio_pwrseq>;
916 non-removable;
917 sd-uhs-sdr104;
922 cap-mmc-highspeed;
923 cap-sd-highspeed;
924 no-sdio;
925 no-mmc;
926 vmmc-supply = <&vcc_sdmmc>;
927 card-detect-delay = <800>;
928 pinctrl-names = "default";
929 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_bus4 &sdmmc_det>;
930 rockchip,default-sample-phase=<90>;
934 &spdif{
935 compatible = "rockchip,rk3188-spdif";
937 i2c-scl-rising-time-ns = <450>;
938 i2c-scl-falling-time-ns = <15>;
939 #sound-dai-cells = <0>;
949 u2phy_otg: otg-port {
953 u2phy_host: host-port {
954 phy-supply = <&vcc_host_5v>;
960 pinctrl-names = "default";
961 pinctrl-0 = <&uart0_xfer &uart0_cts>;