arm64: dts: imx8mp-venice*: enable NPU support
Subsystems (2)
PATCH 1/1 arm64: dts: imx8mp-venice*: enable NPU support
The IMX8MP has a VeriSilicon (Vivante VIP8000) NPU which is supported by the etnaviv driver. Enable it.
--- arch/arm64/boot/dts/freescale/imx8mp-venice-gw702x.dtsi | 4 ++++ arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx.dts | 4 ++++ 2 files changed, 8 insertions(+)
arch/arm64/boot/dts/freescale/imx8mp-venice-gw702x.dtsi +4 -0
@@ -393,6 +393,10 @@ &i2c3 { status = "okay"; }; +&npu { + status = "okay"; +}; + /* off-board header */ &uart1 { pinctrl-names = "default";
arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx.dts +4 -0
@@ -666,6 +666,10 @@ &i2c4 { status = "okay"; }; +&npu { + status = "okay"; +}; + &pcie_phy { fsl,refclk-pad-mode = <IMX8_PCIE_REFCLK_PAD_INPUT>; fsl,clkreq-unsupported;
Signature · 1 line
2.25.1
Hi Tim,
Quoted 29 lines · Tim Harvey
The IMX8MP has a VeriSilicon (Vivante VIP8000) NPU which is supported by the etnaviv driver. Enable it.
Signed-off-by Tim Harvey <[email protected]>--- arch/arm64/boot/dts/freescale/imx8mp-venice-gw702x.dtsi | 4 ++++ arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx.dts | 4 ++++ 2 files changed, 8 insertions(+)arch/arm64/boot/dts/freescale/imx8mp-venice-gw702x.dtsi +4
-0@@ -393,6 +393,10 @@ &i2c3 { status = "okay"; }; +&npu { + status = "okay"; +}; + /* off-board header */ &uart1 { pinctrl-names = "default";arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx.dts +0
-0
arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx.dts &i2c4 { · line 675
Quoted 10 lines
arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx.dts +4
-0@@ -666,6 +666,10 @@ &i2c4 { status = "okay"; }; +&npu { + status = "okay"; +}; + &pcie_phy { fsl,refclk-pad-mode = <IMX8_PCIE_REFCLK_PAD_INPUT>; fsl,clkreq-unsupported;
I think there is no need for this patch as the NPU is already enabled by default in imx8mp.dtsi (same as the GPUs). Or do you disable it in some intermediate devicetree include file?
Thanks
Frieder
Quoted 36 lines · Frieder Schrempf
Hi Tim,
Quoted 32 lines · Tim Harvey
The IMX8MP has a VeriSilicon (Vivante VIP8000) NPU which is supported by the etnaviv driver. Enable it.
Signed-off-by Tim Harvey <[email protected]>--- arch/arm64/boot/dts/freescale/imx8mp-venice-gw702x.dtsi | 4 ++++ arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx.dts | 4 ++++ 2 files changed, 8 insertions(+)arch/arm64/boot/dts/freescale/imx8mp-venice-gw702x.dtsi +4
-0@@ -393,6 +393,10 @@ &i2c3 { status = "okay"; }; +&npu { + status = "okay"; +}; + /* off-board header */ &uart1 { pinctrl-names = "default";arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx.dts +0
-0@@ -666,6 +666,10 @@ &i2c4 { status = "okay"; };
Quoted 12 lines
arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx.dts &i2c4 { · line 675
Quoted 7 lines
arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx.dts +4
-0+&npu { + status = "okay"; +}; + &pcie_phy { fsl,refclk-pad-mode = <IMX8_PCIE_REFCLK_PAD_INPUT>; fsl,clkreq-unsupported;I think there is no need for this patch as the NPU is already enabled by default in
imx8mp.dtsi(same as the GPUs). Or do you disable it in some intermediate devicetree include file?
Frieder,
Thanks for pointing this out... you are correct. I'm not sure why I thought it needed to be explicitly enabled.
Please ignore this patch.
Best Regards,
Tim