Hi Yiping,
My hardware device tree file sending to you is generated from arch/powerpc/boot/dts/fsl/t1040rdb.dts as I am using t1040rdb board (not the DDR4 memory one). The only thing I modified is adding “fsl,P5040RDB” to both model and compatible so that I can reuse some code we added for P5040, please see the following:
Thanks,
Wei
diff --git a/arch/powerpc/boot/dts/t1040rdb.dts b/arch/powerpc/boot/dts/t1040rdb.dts
index af1db40..8f89900 100644
--- a/arch/powerpc/boot/dts/t1040rdb.dts
+++ b/arch/powerpc/boot/dts/t1040rdb.dts
@@ -35,8 +35,12 @@
/include/ "fsl/t104xsi-pre.dtsi"
/ {
- model = "fsl,T1040RDB";
+/* model = "fsl,T1040RDB";
compatible = "fsl,T1040RDB";
+*/
+ model = "fsl,T1040RDB", "fsl,P5040RDB";
+ compatible = "fsl,T1040RDB", "fsl,P5040RDB";
+
#address-cells = <2>;
#size-cells = <2>;
interrupt-parent = <&mpic>;