forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 10ebd8556b7990499c896a550e3d416b444211e6
kernel/arch/arm64/boot/dts/rockchip/rk3568-nvr.dtsi
....@@ -56,10 +56,25 @@
5656 };
5757 };
5858
59
+ reserved-memory {
60
+ #address-cells = <2>;
61
+ #size-cells = <2>;
62
+ ranges;
63
+
64
+ rknpu_reserved: rknpu {
65
+ compatible = "shared-dma-pool";
66
+ inactive;
67
+ reusable;
68
+ size = <0x0 0x20000000>;
69
+ alignment = <0x0 0x1000>;
70
+ };
71
+ };
72
+
5973 spdif-sound {
6074 status = "okay";
6175 compatible = "simple-audio-card";
6276 simple-audio-card,name = "ROCKCHIP,SPDIF";
77
+ simple-audio-card,mclk-fs = <128>;
6378 simple-audio-card,cpu {
6479 sound-dai = <&spdif_8ch>;
6580 };
....@@ -244,7 +259,7 @@
244259 status = "okay";
245260
246261 vdd_cpu: tcs4525@1c {
247
- compatible = "tcs,tcs452x";
262
+ compatible = "tcs,tcs4525";
248263 reg = <0x1c>;
249264 vin-supply = <&vcc5v0_sys>;
250265 regulator-compatible = "fan53555-reg";
....@@ -331,12 +346,13 @@
331346 };
332347
333348 &rknpu {
349
+ memory-region = <&rknpu_reserved>;
334350 rknpu-supply = <&vdd_npu>;
335351 status = "okay";
336352 };
337353
338354 &rknpu_mmu {
339
- status = "okay";
355
+ status = "disabled";
340356 };
341357
342358 &rkvdec {
....@@ -373,13 +389,22 @@
373389
374390 &sdhci {
375391 bus-width = <8>;
376
- supports-emmc;
392
+ no-sdio;
393
+ no-sd;
377394 non-removable;
378395 status = "okay";
379396 };
380397
381398 &sfc {
382399 status = "okay";
400
+
401
+ flash@0 {
402
+ compatible = "spi-nand";
403
+ reg = <0>;
404
+ spi-max-frequency = <75000000>;
405
+ spi-rx-bus-width = <4>;
406
+ spi-tx-bus-width = <1>;
407
+ };
383408 };
384409
385410 &spdif_8ch {