From: Madalin Bucur Date: Thu, 30 Apr 2020 13:00:10 +0000 (+0300) Subject: powerpc: dts: add QorIQ DPAA 1 FMan for P5040 X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=a1ecc56bbf53ffe3255f23f1e4acc92c29d28824;p=u-boot.git powerpc: dts: add QorIQ DPAA 1 FMan for P5040 The device tree fragments are copied over with little modification from the Linux kernel source code. Signed-off-by: Madalin Bucur Reviewed-by: Priyanka Jain --- diff --git a/arch/powerpc/dts/p5040si-post.dtsi b/arch/powerpc/dts/p5040si-post.dtsi new file mode 100644 index 0000000000..1efad2d017 --- /dev/null +++ b/arch/powerpc/dts/p5040si-post.dtsi @@ -0,0 +1,69 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) +/* + * P5040 Silicon/SoC Device Tree Source (post include) + * + * Copyright 2012 - 2015 Freescale Semiconductor Inc. + * Copyright 2020 NXP + * + */ + +&soc { + +/include/ "qoriq-clockgen1.dtsi" +/include/ "qoriq-gpio-0.dtsi" + +/* include used FMan blocks */ +/include/ "qoriq-fman-0.dtsi" +/include/ "qoriq-fman-0-1g-0.dtsi" +/include/ "qoriq-fman-0-1g-1.dtsi" +/include/ "qoriq-fman-0-1g-2.dtsi" +/include/ "qoriq-fman-0-1g-3.dtsi" +/include/ "qoriq-fman-0-1g-4.dtsi" +/include/ "qoriq-fman-0-10g-0.dtsi" + fman@400000 { + enet0: ethernet@e0000 { + }; + + enet1: ethernet@e2000 { + }; + + enet2: ethernet@e4000 { + }; + + enet3: ethernet@e6000 { + }; + + enet4: ethernet@e8000 { + }; + + enet5: ethernet@f0000 { + }; + }; + +/include/ "qoriq-fman-1.dtsi" +/include/ "qoriq-fman-1-1g-0.dtsi" +/include/ "qoriq-fman-1-1g-1.dtsi" +/include/ "qoriq-fman-1-1g-2.dtsi" +/include/ "qoriq-fman-1-1g-3.dtsi" +/include/ "qoriq-fman-1-1g-4.dtsi" +/include/ "qoriq-fman-1-10g-0.dtsi" + fman@500000 { + enet6: ethernet@e0000 { + }; + + enet7: ethernet@e2000 { + }; + + enet8: ethernet@e4000 { + }; + + enet9: ethernet@e6000 { + }; + + enet10: ethernet@e8000 { + }; + + enet11: ethernet@f0000 { + }; + }; +};