hc
2023-12-11 1f93a7dfd1f8d5ff7a5c53246c7534fe2332d6f4
kernel/arch/arm64/boot/dts/rockchip/rk3566-box.dtsi
....@@ -32,6 +32,27 @@
3232 };
3333 };
3434
35
+ bt_sco: bt-sco {
36
+ status = "disabled";
37
+ compatible = "delta,dfbmcs320";
38
+ #sound-dai-cells = <1>;
39
+ };
40
+
41
+ bt_sound: bt-sound {
42
+ status = "disabled";
43
+ compatible = "simple-audio-card";
44
+ simple-audio-card,format = "dsp_a";
45
+ simple-audio-card,bitclock-inversion = <0>;
46
+ simple-audio-card,mclk-fs = <256>;
47
+ simple-audio-card,name = "rockchip,bt";
48
+ simple-audio-card,cpu {
49
+ sound-dai = <&i2s2_2ch>;
50
+ };
51
+ simple-audio-card,codec {
52
+ sound-dai = <&bt_sco 1>;
53
+ };
54
+ };
55
+
3556 dc_12v: dc-12v {
3657 compatible = "regulator-fixed";
3758 regulator-name = "dc_12v";
....@@ -44,7 +65,7 @@
4465 hdmi_sound: hdmi-sound {
4566 compatible = "simple-audio-card";
4667 simple-audio-card,format = "i2s";
47
- simple-audio-card,mclk-fs = <128>;
68
+ simple-audio-card,mclk-fs = <256>;
4869 simple-audio-card,name = "hdmi-sound";
4970 status = "okay";
5071
....@@ -56,10 +77,26 @@
5677 };
5778 };
5879
80
+ reserved-memory {
81
+ #address-cells = <2>;
82
+ #size-cells = <2>;
83
+ ranges;
84
+
85
+ rknpu_reserved: rknpu {
86
+ compatible = "shared-dma-pool";
87
+ inactive;
88
+ reusable;
89
+ size = <0x0 0x20000000>;
90
+ alignment = <0x0 0x1000>;
91
+ status = "disabled";
92
+ };
93
+ };
94
+
5995 spdif-sound {
6096 status = "okay";
6197 compatible = "simple-audio-card";
6298 simple-audio-card,name = "ROCKCHIP,SPDIF";
99
+ simple-audio-card,mclk-fs = <128>;
63100 simple-audio-card,cpu {
64101 sound-dai = <&spdif_8ch>;
65102 };
....@@ -215,6 +252,12 @@
215252 &i2s1m0_sdo0>;
216253 };
217254
255
+&i2s2_2ch {
256
+ pinctrl-0 = <&i2s2m0_sclktx &i2s2m0_lrcktx &i2s2m0_sdi &i2s2m0_sdo>;
257
+ rockchip,bclk-fs = <32>;
258
+ status = "disabled";
259
+};
260
+
218261 &iep {
219262 status = "okay";
220263 };
....@@ -258,12 +301,13 @@
258301 };
259302
260303 &rknpu {
304
+ memory-region = <&rknpu_reserved>;
261305 rknpu-supply = <&vdd_fixed>;
262306 status = "okay";
263307 };
264308
265309 &rknpu_mmu {
266
- status = "okay";
310
+ status = "disabled";
267311 };
268312
269313 &rkvdec {
....@@ -313,13 +357,22 @@
313357
314358 &sdhci {
315359 bus-width = <8>;
316
- supports-emmc;
360
+ no-sdio;
361
+ no-sd;
317362 non-removable;
318363 status = "okay";
319364 };
320365
321366 &sfc {
322367 status = "okay";
368
+
369
+ flash@0 {
370
+ compatible = "spi-nand";
371
+ reg = <0>;
372
+ spi-max-frequency = <75000000>;
373
+ spi-rx-bus-width = <4>;
374
+ spi-tx-bus-width = <1>;
375
+ };
323376 };
324377
325378 &spdif_8ch {