hc
2023-12-11 1f93a7dfd1f8d5ff7a5c53246c7534fe2332d6f4
kernel/arch/arm64/boot/dts/rockchip/rk3566-box.dtsi
....@@ -65,7 +65,7 @@
6565 hdmi_sound: hdmi-sound {
6666 compatible = "simple-audio-card";
6767 simple-audio-card,format = "i2s";
68
- simple-audio-card,mclk-fs = <128>;
68
+ simple-audio-card,mclk-fs = <256>;
6969 simple-audio-card,name = "hdmi-sound";
7070 status = "okay";
7171
....@@ -77,10 +77,26 @@
7777 };
7878 };
7979
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
+
8095 spdif-sound {
8196 status = "okay";
8297 compatible = "simple-audio-card";
8398 simple-audio-card,name = "ROCKCHIP,SPDIF";
99
+ simple-audio-card,mclk-fs = <128>;
84100 simple-audio-card,cpu {
85101 sound-dai = <&spdif_8ch>;
86102 };
....@@ -285,12 +301,13 @@
285301 };
286302
287303 &rknpu {
304
+ memory-region = <&rknpu_reserved>;
288305 rknpu-supply = <&vdd_fixed>;
289306 status = "okay";
290307 };
291308
292309 &rknpu_mmu {
293
- status = "okay";
310
+ status = "disabled";
294311 };
295312
296313 &rkvdec {
....@@ -340,13 +357,22 @@
340357
341358 &sdhci {
342359 bus-width = <8>;
343
- supports-emmc;
360
+ no-sdio;
361
+ no-sd;
344362 non-removable;
345363 status = "okay";
346364 };
347365
348366 &sfc {
349367 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
+ };
350376 };
351377
352378 &spdif_8ch {