]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Make dpaa work with only slightly modified Linux device trees.
authorjhibbits <jhibbits@FreeBSD.org>
Sat, 12 Nov 2016 20:45:03 +0000 (20:45 +0000)
committerjhibbits <jhibbits@FreeBSD.org>
Sat, 12 Nov 2016 20:45:03 +0000 (20:45 +0000)
commiteadb480db4c4722df1969c5028bf37082683b11a
tree1a7b041a1da834e4a2572b1b24eedec7d69b7abf
parent9115b630c484bfab70d939b52014500a58d4254d
Make dpaa work with only slightly modified Linux device trees.

Linux has a slightly different device tree definition for DPAA than originally
done in the FreeBSD driver.  This changes the driver to be mostly compatible
with the Linux device tree definitions.  Currently the differences are:

bman-portals: compatible = "fsl,bman-portals" (Linux is "simple-bus")
qman-portals: compatible = "fsl,qman-portals" (Linux is "simple-bus")
fman: compatible = "fsl,fman" (Linux is "simple-bus")

The Linux device tree doesn't specify anything for rgmii in the mdio.  This
change still requires the device tree to specify the phy-handle, and doesn't yet
support tbi.
15 files changed:
sys/boot/fdt/dts/powerpc/p2041rdb.dts
sys/boot/fdt/dts/powerpc/p2041si.dtsi
sys/boot/fdt/dts/powerpc/p3041ds.dts
sys/boot/fdt/dts/powerpc/p3041si.dtsi
sys/boot/fdt/dts/powerpc/p5020ds.dts
sys/boot/fdt/dts/powerpc/p5020si.dtsi
sys/dev/dpaa/bman_fdt.c
sys/dev/dpaa/dpaa.c [deleted file]
sys/dev/dpaa/fman.c
sys/dev/dpaa/fman.h
sys/dev/dpaa/if_dtsec.c
sys/dev/dpaa/if_dtsec_fdt.c
sys/dev/dpaa/if_dtsec_rm.c
sys/dev/dpaa/qman_fdt.c
sys/powerpc/conf/dpaa/files.dpaa