Skip to content

Commit 5d1b98b

Browse files
committed
sophgo: import new .dts
1 parent 6c29d2a commit 5d1b98b

File tree

2 files changed

+34
-15
lines changed

2 files changed

+34
-15
lines changed

sys/contrib/device-tree/src/riscv/sophgo/cv181x_base.dtsi

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -152,11 +152,6 @@
152152
clocks = <&pclk>;
153153
};
154154

155-
spacc: cvi_spacc@02060000 {
156-
reg = <0x0 0x02060000 0x0 0x1000>;
157-
compatible = "cvitek,spacc";
158-
};
159-
160155
pwm0: pwm@3060000 {
161156
compatible = "cvitek,cvi-pwm";
162157
reg = <0x0 0x3060000 0x0 0x1000>;
@@ -466,8 +461,7 @@
466461
clock-names = "stmmaceth", "ptp_ref";
467462
clocks = <&eth_csrclk>, <&eth_ptpclk>;
468463
//phy-reset-gpios = <&porta 26 0>;
469-
ephy_base_reg = <0x3009000>;
470-
ephy_top_reg = <0x3009800>;
464+
471465
tx-fifo-depth = <8192>;
472466
rx-fifo-depth = <8192>;
473467
/* no hash filter and perfect filter support */
@@ -486,15 +480,13 @@
486480
};
487481

488482
emmc:cv-emmc@4300000 {
489-
u-boot,dm-spl;
490483
compatible = "cvitek,cv181x-emmc";
491484
reg = <0x0 0x4300000 0x0 0x1000>;
492485
reg-names = "core_mem";
493486
bus-width = <4>;
494487
non-removable;
495488
no-sdio;
496489
no-sd;
497-
cap-mmc-hw-reset;
498490
src-frequency = <375000000>;
499491
min-frequency = <400000>;
500492
max-frequency = <200000000>;
@@ -661,7 +653,7 @@
661653
cvi,card_name = "cv182x_internal_PDM";
662654
};
663655

664-
wifi_pin: wifi_pin {
656+
wifi_pin {
665657
compatible = "cvitek,wifi-pin";
666658
poweron-gpio = <&porta 18 GPIO_ACTIVE_HIGH>;
667659
wakeup-gpio = <&porte 7 GPIO_ACTIVE_HIGH>;
@@ -765,7 +757,6 @@
765757
fb_reserved: cvifb {
766758
alloc-ranges = <0x0 CVIMMAP_FRAMEBUFFER_ADDR 0 CVIMMAP_FRAMEBUFFER_SIZE>;
767759
size = <0x0 CVIMMAP_FRAMEBUFFER_SIZE>;
768-
no-map;
769760
};
770761
};
771762

@@ -894,6 +885,13 @@
894885
};
895886
};
896887

888+
#if 0
889+
cvipctrl: pinctrl@3001000 {
890+
compatible = "cvitek,pinctrl-cv182x";
891+
reg = <0 0x03001000 0 0x1000>;
892+
};
893+
#endif
894+
897895
cviaudio_core {
898896
compatible = "cvitek,audio";
899897
};
@@ -908,10 +906,6 @@
908906
#endif
909907
};
910908

911-
cvipctrl: pinctrl@3001000 {
912-
compatible = "cvitek,pinctrl-cv181x";
913-
reg = <0 0x03001000 0 0x1000>;
914-
};
915909

916910
aliases {
917911
i2c0 = &i2c0;
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
/ {
2+
memory@80000000 {
3+
device_type = "memory";
4+
reg = <0x00 CVIMMAP_KERNEL_MEMORY_ADDR 0x00 CVIMMAP_KERNEL_MEMORY_SIZE>;
5+
};
6+
7+
8+
fast_image {
9+
compatible = "cvitek,rtos_image";
10+
reg-names = "rtos_region";
11+
reg = <0x0 CVIMMAP_FREERTOS_ADDR 0x0 CVIMMAP_FREERTOS_SIZE>;
12+
ion-size = <CVIMMAP_FREERTOS_RESERVED_ION_SIZE>; //reserved ion size for freertos
13+
};
14+
15+
reserved-memory {
16+
#size-cells = <0x2>;
17+
#address-cells = <0x2>;
18+
ranges;
19+
20+
ion_reserved: ion {
21+
compatible = "ion-region";
22+
size = <0x0 CVIMMAP_ION_SIZE>;
23+
};
24+
};
25+
};

0 commit comments

Comments
 (0)