Skip to content

Commit 1ce5ae8

Browse files
committed
Merge pull request 'linux-6.6.18-EIC7X' (#7) from linmineswinncomputing/linux-stable:linux-6.6.18-EIC7X into linux-6.6.18-EIC7X
Reviewed-on: http://10.100.130.109:3000/Upstream/linux-stable/pulls/7 Reviewed-by: ningyu <ningyu@eswincomputing.com> Reviewed-by: Joey Zheng <zhengyu@eswincomputing.com>
2 parents 34140f0 + 5611139 commit 1ce5ae8

369 files changed

Lines changed: 130969 additions & 1195 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

arch/riscv/boot/dts/eswin/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@ dtb-$(CONFIG_SOC_ESWIN) += eswin-win2030.dtb \
1111
eic7702-tb.dtb \
1212
eic7700-sbc-a1.dtb \
1313
eic7700-vpu7702.dtb \
14-
eic7700-osm.dtb
14+
eic7700-osm.dtb \
15+
eic7702-d560.dtb
1516
obj-$(CONFIG_BUILTIN_DTB) += $(addsuffix .o, $(dtb-y))

arch/riscv/boot/dts/eswin/eic7700-evb-a2.dts

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030

3131
#include "eswin-win2030-die0-soc.dtsi"
3232
#include "eic7700-pinctrl.dtsi"
33+
#include "eic7700-evb-camera.dtsi"
3334
#include <dt-bindings/interrupt-controller/irq.h>
3435
#include <dt-bindings/gpio/gpio.h>
3536
#include <dt-bindings/input/input.h>
@@ -85,10 +86,12 @@
8586
reusable;
8687
size = <0x0 CMA_SIZE>;
8788
alignment = <0x0 0x1000>;
89+
//alloc-ranges = <0x0 0x80000000 MEMORY_SIZE_H MEMORY_SIZE_L>;
8890
alloc-ranges = <0x0 0x80000000 MEMORY_SIZE_H MEMORY_SIZE_L>;
8991
linux,cma-default;
9092
};
9193

94+
9295
npu0_reserved: sprammemory@59000000 {
9396
no-map;
9497
reg = <0x0 0x59000000 0x0 0x400000>;
@@ -114,8 +117,15 @@
114117
reg = <0x3 0x0 0x1 0x80000000>;
115118
no-map;
116119
};
120+
121+
dvp2axi_mem: dvp2axi-mem@90000000 {
122+
compatible = "shared-dma-pool";
123+
reg = <0x0 0x90000000 0x0 0x10000000>;
124+
no-map;
125+
};
117126
};
118127

128+
119129
leds {
120130
compatible = "gpio-leds";
121131
pinctrl-names = "default";
@@ -157,8 +167,11 @@
157167
gpios = <&porta 6 GPIO_ACTIVE_LOW>;
158168
};
159169
};
170+
160171
};
161172

173+
174+
162175
&d0_clock {
163176
status = "okay";
164177
};
@@ -280,7 +293,7 @@
280293
};
281294

282295
&pcie {
283-
status = "okay";
296+
status = "disabled";
284297
};
285298

286299
&d0_npu{
@@ -494,25 +507,25 @@
494507
status = "okay";
495508
};
496509

497-
&mipi_dphy_rx {
498-
status = "okay";
499-
};
510+
// &mipi_dphy_rx {
511+
// status = "okay";
512+
// };
500513

501-
&csi_dma0 {
502-
status = "okay";
503-
};
514+
// &csi_dma0 {
515+
// status = "okay";
516+
// };
504517

505518
&csi_dma1 {
506519
status = "disabled";
507520
};
508521

509-
&csi2_0 {
510-
status = "okay";
511-
};
522+
// &csi2_0 {
523+
// status = "okay";
524+
// };
512525

513-
&csi2_1 {
514-
status = "disabled";
515-
};
526+
// &csi2_1 {
527+
// status = "disabled";
528+
// };
516529

517530
&sdhci_emmc {
518531
/* emmc */
@@ -785,6 +798,7 @@
785798
eswin,regulator_default-microvolt=<1000000>;
786799
eswin,regulator_label = "supply vdd1", "npu vdd1", "npu current1", "npu temperature1";
787800
label = "npu_vdd";
801+
status = "okay";
788802
regulators{
789803
npu_vcc1:npu_svcc{
790804
regulator-name="NPU_SVCC";
@@ -794,6 +808,7 @@
794808
regulator-max-microamp=<40000000>;
795809
regulator-ov-protection-microvolt=<1100000>;
796810
};
811+
797812
};
798813
};
799814
};
@@ -813,19 +828,19 @@
813828
};
814829
};
815830

816-
&d0_i2c3 {
817-
/* mipi csi0/csi1 */
818-
status = "okay";
819-
};
831+
// &d0_i2c3 {
832+
// /* mipi csi0/csi1 */
833+
// status = "okay";
834+
// };
820835

821836
&d0_i2c4 {
822837
/* mipi csi2/csi3 */
823-
status = "disabled";
838+
status = "okay";
824839
};
825840

826841
&d0_i2c5 {
827842
/* mipi csi4/csi5 */
828-
status = "disabled";
843+
status = "okay";
829844
};
830845

831846
&d0_i2c6 {
@@ -841,27 +856,6 @@
841856
&d0_i2c8 {
842857
/* io extended for mipi csi */
843858
status = "okay";
844-
tca6416_0: gpio@20 {
845-
compatible = "ti,tca6416";
846-
reg = <0x20>;
847-
gpio-controller; /* IRQ not connected */
848-
#gpio-cells = <2>;
849-
gpio-line-names = "MIPI_CSI0_PWDN", "MIPI_CSI0_RESET", "MIPI_CSI1_FBC", "MIPI_CSI1_ENB",
850-
"MIPI_CSI1_RESET", "MIPI_CSI1_PWDN", "FREX_GP0", "",
851-
"MIPI_CSI0_ENB", "MIPI_CSI0_FBC", "FREX_GP2", "MIPI_CSI2_FBC",
852-
"MIPI_CSI2_ENB", "FREX_GP1", "MIPI_CSI2_RESET", "MIPI_CSI2_PWDN";
853-
};
854-
tca6416_1: gpio@21 {
855-
compatible = "ti,tca6416";
856-
reg = <0x21>;
857-
gpio-controller;
858-
#gpio-cells = <2>;
859-
/* IRQ not connected */
860-
gpio-line-names = "MIPI_CSI3_PWDN", "MIPI_CSI3_RESET", "MIPI_CSI3_ENB", "MIPI_CSI3_FBC",
861-
"MIPI_CSI4_PWDN", "MIPI_CSI4_RESET", "MIPI_CSI4_ENB", "MIPI_CSI4_FBC",
862-
"MIPI_CSI5_FBC", "MIPI_CSI5_ENB", "MIPI_CSI5_RESET", "MIPI_CSI5_PWDN",
863-
"", "", "", "";
864-
};
865859
};
866860

867861
&d0_i2c9 {
@@ -996,3 +990,9 @@
996990
npu-supply=<&npu_vcc1>;
997991
status = "okay";
998992
};
993+
994+
&dvp2axi {
995+
memory-region = <&dvp2axi_mem>;
996+
};
997+
998+
//#include "eic7700-evb-camera.dtsi"

0 commit comments

Comments
 (0)