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