Right, so we need a Pine version of sun50iw1p1-t1.dts. But we can use all of the dtsi (include) files which describe the core A64 CPU. The normal way to write these device trees is to make include files that describe the core CPU and then include those files from a small dts file which adds the board specific info.
Core A64 CPU description include files
sun50iw1p1.dtsi
sun50iw1p1-clk.dtsi
sun50iw1p1-pinctrl.dtsi
We need to write board specific files..
sun50iw1p1-pine64.dts
sun50iw1p1-m64.dts
sun50iw1p1-friendly64.dts
etc - small files that include the core dtsi files.
Also compare the contents of sun50iw1p1-clk, sun50iw1p1-pinctrl, sun50iw1p1.dtsi to what is in the current Pine device tree. Those new files are in much better shape. For example they have all of the symbolic pHandles.
I have always thought the Pine64.dts file was created by decompiling a binary device tree and it wasn't the original source, this looks to be the original source.
Core A64 CPU description include files
sun50iw1p1.dtsi
sun50iw1p1-clk.dtsi
sun50iw1p1-pinctrl.dtsi
We need to write board specific files..
sun50iw1p1-pine64.dts
sun50iw1p1-m64.dts
sun50iw1p1-friendly64.dts
etc - small files that include the core dtsi files.
Also compare the contents of sun50iw1p1-clk, sun50iw1p1-pinctrl, sun50iw1p1.dtsi to what is in the current Pine device tree. Those new files are in much better shape. For example they have all of the symbolic pHandles.
I have always thought the Pine64.dts file was created by decompiling a binary device tree and it wasn't the original source, this looks to be the original source.