2024-01-18 15:55:50

by Gregory CLEMENT

[permalink] [raw]
Subject: [PATCH v6 12/15] MIPS: mobileye: Add EPM5 device tree

Add a device tree for the Mobileye EPM5 evaluation board.

Signed-off-by: Gregory CLEMENT <[email protected]>
---
arch/mips/boot/dts/mobileye/Makefile | 4 ++++
arch/mips/boot/dts/mobileye/eyeq5-epm5.dts | 24 ++++++++++++++++++++++
2 files changed, 28 insertions(+)
create mode 100644 arch/mips/boot/dts/mobileye/Makefile
create mode 100644 arch/mips/boot/dts/mobileye/eyeq5-epm5.dts

diff --git a/arch/mips/boot/dts/mobileye/Makefile b/arch/mips/boot/dts/mobileye/Makefile
new file mode 100644
index 0000000000000..01c01c3aad81d
--- /dev/null
+++ b/arch/mips/boot/dts/mobileye/Makefile
@@ -0,0 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+# Copyright 2023 Mobileye Vision Technologies Ltd.
+
+dtb-$(CONFIG_MACH_EYEQ5) += eyeq5-epm5.dtb
diff --git a/arch/mips/boot/dts/mobileye/eyeq5-epm5.dts b/arch/mips/boot/dts/mobileye/eyeq5-epm5.dts
new file mode 100644
index 0000000000000..ff16c3c760a19
--- /dev/null
+++ b/arch/mips/boot/dts/mobileye/eyeq5-epm5.dts
@@ -0,0 +1,24 @@
+// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+/*
+ * Copyright 2023 Mobileye Vision Technologies Ltd.
+ */
+
+/dts-v1/;
+
+#include "eyeq5.dtsi"
+
+/ {
+ compatible = "mobileye,eyeq5-epm5", "mobileye,eyeq5";
+ model = "Mobile EyeQ5 MP5 Evaluation board";
+
+ chosen {
+ bootargs = "earlycon";
+ stdout-path = "serial2:115200n8";
+ };
+
+ memory@0 {
+ device_type = "memory";
+ reg = <0x0 0x08000000 0x0 0x08000000>,
+ <0x8 0x00000000 0x0 0x78000000>;
+ };
+};
--
2.43.0



2024-01-19 09:59:37

by Jiaxun Yang

[permalink] [raw]
Subject: Re: [PATCH v6 12/15] MIPS: mobileye: Add EPM5 device tree



在 2024/1/18 15:52, Gregory CLEMENT 写道:
> Add a device tree for the Mobileye EPM5 evaluation board.
>
> Signed-off-by: Gregory CLEMENT <[email protected]>
Reviewed-by: Jiaxun Yang <[email protected]>
> ---
> arch/mips/boot/dts/mobileye/Makefile | 4 ++++
> arch/mips/boot/dts/mobileye/eyeq5-epm5.dts | 24 ++++++++++++++++++++++
> 2 files changed, 28 insertions(+)
> create mode 100644 arch/mips/boot/dts/mobileye/Makefile
> create mode 100644 arch/mips/boot/dts/mobileye/eyeq5-epm5.dts
>
> diff --git a/arch/mips/boot/dts/mobileye/Makefile b/arch/mips/boot/dts/mobileye/Makefile
> new file mode 100644
> index 0000000000000..01c01c3aad81d
> --- /dev/null
> +++ b/arch/mips/boot/dts/mobileye/Makefile
> @@ -0,0 +1,4 @@
> +# SPDX-License-Identifier: GPL-2.0-only
> +# Copyright 2023 Mobileye Vision Technologies Ltd.
> +
> +dtb-$(CONFIG_MACH_EYEQ5) += eyeq5-epm5.dtb
> diff --git a/arch/mips/boot/dts/mobileye/eyeq5-epm5.dts b/arch/mips/boot/dts/mobileye/eyeq5-epm5.dts
> new file mode 100644
> index 0000000000000..ff16c3c760a19
> --- /dev/null
> +++ b/arch/mips/boot/dts/mobileye/eyeq5-epm5.dts
> @@ -0,0 +1,24 @@
> +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +/*
> + * Copyright 2023 Mobileye Vision Technologies Ltd.
> + */
> +
> +/dts-v1/;
> +
> +#include "eyeq5.dtsi"
> +
> +/ {
> + compatible = "mobileye,eyeq5-epm5", "mobileye,eyeq5";
> + model = "Mobile EyeQ5 MP5 Evaluation board";
> +
> + chosen {
> + bootargs = "earlycon";
> + stdout-path = "serial2:115200n8";
> + };
> +
> + memory@0 {
> + device_type = "memory";
> + reg = <0x0 0x08000000 0x0 0x08000000>,
> + <0x8 0x00000000 0x0 0x78000000>;
> + };
> +};

--
---
Jiaxun Yang


2024-02-01 09:20:23

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH v6 12/15] MIPS: mobileye: Add EPM5 device tree

On 18/01/2024 16:52, Gregory CLEMENT wrote:
> Add a device tree for the Mobileye EPM5 evaluation board.
>
> Signed-off-by: Gregory CLEMENT <[email protected]>
> ---
> arch/mips/boot/dts/mobileye/Makefile | 4 ++++
> arch/mips/boot/dts/mobileye/eyeq5-epm5.dts | 24 ++++++++++++++++++++++
> 2 files changed, 28 insertions(+)
> create mode 100644 arch/mips/boot/dts/mobileye/Makefile
> create mode 100644 arch/mips/boot/dts/mobileye/eyeq5-epm5.dts
>
> diff --git a/arch/mips/boot/dts/mobileye/Makefile b/arch/mips/boot/dts/mobileye/Makefile
> new file mode 100644
> index 0000000000000..01c01c3aad81d
> --- /dev/null
> +++ b/arch/mips/boot/dts/mobileye/Makefile
> @@ -0,0 +1,4 @@
> +# SPDX-License-Identifier: GPL-2.0-only
> +# Copyright 2023 Mobileye Vision Technologies Ltd.
> +
> +dtb-$(CONFIG_MACH_EYEQ5) += eyeq5-epm5.dtb
> diff --git a/arch/mips/boot/dts/mobileye/eyeq5-epm5.dts b/arch/mips/boot/dts/mobileye/eyeq5-epm5.dts
> new file mode 100644
> index 0000000000000..ff16c3c760a19
> --- /dev/null
> +++ b/arch/mips/boot/dts/mobileye/eyeq5-epm5.dts
> @@ -0,0 +1,24 @@
> +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +/*
> + * Copyright 2023 Mobileye Vision Technologies Ltd.
> + */
> +
> +/dts-v1/;
> +
> +#include "eyeq5.dtsi"
> +
> +/ {
> + compatible = "mobileye,eyeq5-epm5", "mobileye,eyeq5";
> + model = "Mobile EyeQ5 MP5 Evaluation board";
> +
> + chosen {
> + bootargs = "earlycon";

Still not suitable for mainline. Drop.

Best regards,
Krzysztof