xref: /OK3568_Linux_fs/kernel/arch/arm/boot/dts/rv1106-uvc-demo.dtsi (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright (c) 2022 Rockchip Electronics Co., Ltd.
4 */
5
6#include "rv1106-uvc.dtsi"
7#include "rv1106-evb-cam.dtsi"
8
9/ {
10	chosen {
11		bootargs = "earlycon=uart8250,mmio32,0xff4c0000 console=ttyFIQ0 root=/dev/mmcblk0p5 rootfstype=ext4 rootwait snd_soc_core.prealloc_buffer_size_kbytes=16";
12	};
13
14	acodec_sound: acodec-sound {
15		compatible = "simple-audio-card";
16		simple-audio-card,name = "rv1106-acodec";
17		simple-audio-card,format = "i2s";
18		simple-audio-card,mclk-fs = <256>;
19		simple-audio-card,cpu {
20			sound-dai = <&i2s0_8ch>;
21		};
22		simple-audio-card,codec {
23			sound-dai = <&acodec>;
24		};
25	};
26
27	vdd_arm: vdd-arm {
28		compatible = "pwm-regulator";
29		pwms = <&pwm0 0 5000 1>;
30		regulator-name = "vdd_arm";
31		regulator-min-microvolt = <724000>;
32		regulator-max-microvolt = <1078000>;
33		regulator-init-microvolt = <950000>;
34		regulator-always-on;
35		regulator-boot-on;
36		regulator-settling-time-up-us = <250>;
37	};
38};
39
40&acodec {
41	#sound-dai-cells = <0>;
42	//pa-ctl-gpios = <&gpio1 RK_PA1 GPIO_ACTIVE_HIGH>;
43	status = "okay";
44};
45
46&cpu0 {
47	cpu-supply = <&vdd_arm>;
48};
49
50&emmc {
51	bus-width = <8>;
52	cap-mmc-highspeed;
53	non-removable;
54	mmc-hs200-1_8v;
55	rockchip,default-sample-phase = <90>;
56	no-sdio;
57	no-sd;
58	status = "okay";
59};
60
61&pwm0 {
62	status = "okay";
63};
64
65