Author: manu Date: Thu Aug 23 13:21:01 2018 New Revision: 338245 URL: https://svnweb.freebsd.org/changeset/base/338245
Log: dts: Import DTS for arm64 - Most of the boards are using U-Boot, u-boot embed a DTB that isn't compiled with -@ (overlay ready) so we cannot use overlays. We want overlays, overlays are nice. - The DTS life is going to linux, then sometimes it's imported in U-Boot but it depend on the SoC family, U-Boot doesn't batch import every DTS like we do. So sometimes to U-Boot DTS are very old. Or when an interesting patch in commited upstream it is in Linux X+2 (roughly 4 months from now), we then have to wait for U-Boot to catch up, that give us between 4 and 6 months to have an update. - Some boards like the Marvell ones have 3 DTS, the one in the vendor U-Boot made by Marvell themselves, the one in u-boot mainline and the one in Linux. I found that the DTS in the Marvell U-Boot have some problem with FreeBSD (especially the macchiatobin that declare node with the same address but not the same size, that is not something that the rman code can handle, it could be modified, I don't know the code well enough). Also some compatible are used when they shouldn't, for example they declare the gpio being orion-gpio while this binding requires interrupts supports, which the node doesn't have. - The above situation is mostly the same with RockChip SoCs (possibly others, those are the only SoCs I work on that have this problem). Note that importing the DTS doesn't mean that every board will use them, I don't intend to copy the DTB to the GENERIC memstick image for the Overdrive 1000/3000 for example, the ones provided by the firmware works fine. RPI3 will still stay an exception as we use the DTB provided by the rpi-firmware package, so they come from the rpi foundation linux fork. Added: head/sys/gnu/dts/arm64/actions/ head/sys/gnu/dts/arm64/actions/s700-cubieboard7.dts (contents, props changed) head/sys/gnu/dts/arm64/actions/s700.dtsi (contents, props changed) head/sys/gnu/dts/arm64/actions/s900-bubblegum-96.dts (contents, props changed) head/sys/gnu/dts/arm64/actions/s900.dtsi (contents, props changed) head/sys/gnu/dts/arm64/al/ head/sys/gnu/dts/arm64/al/alpine-v2-evp.dts (contents, props changed) head/sys/gnu/dts/arm64/al/alpine-v2.dtsi (contents, props changed) head/sys/gnu/dts/arm64/allwinner/ head/sys/gnu/dts/arm64/allwinner/axp803.dtsi (contents, props changed) head/sys/gnu/dts/arm64/allwinner/sun50i-a64-bananapi-m64.dts (contents, props changed) head/sys/gnu/dts/arm64/allwinner/sun50i-a64-nanopi-a64.dts (contents, props changed) head/sys/gnu/dts/arm64/allwinner/sun50i-a64-olinuxino.dts (contents, props changed) head/sys/gnu/dts/arm64/allwinner/sun50i-a64-orangepi-win.dts (contents, props changed) head/sys/gnu/dts/arm64/allwinner/sun50i-a64-pine64-plus.dts (contents, props changed) head/sys/gnu/dts/arm64/allwinner/sun50i-a64-pine64.dts (contents, props changed) head/sys/gnu/dts/arm64/allwinner/sun50i-a64-sopine-baseboard.dts (contents, props changed) head/sys/gnu/dts/arm64/allwinner/sun50i-a64-sopine.dtsi (contents, props changed) head/sys/gnu/dts/arm64/allwinner/sun50i-a64-teres-i.dts (contents, props changed) head/sys/gnu/dts/arm64/allwinner/sun50i-a64.dtsi (contents, props changed) - copied unchanged from r337701, vendor/device-tree/dist/src/arm64/allwinner/sun50i-h5-libretech-all-h3-cc.dts head/sys/gnu/dts/arm64/allwinner/sun50i-h5-nanopi-neo-plus2.dts (contents, props changed) head/sys/gnu/dts/arm64/allwinner/sun50i-h5-nanopi-neo2.dts (contents, props changed) head/sys/gnu/dts/arm64/allwinner/sun50i-h5-orangepi-pc2.dts (contents, props changed) head/sys/gnu/dts/arm64/allwinner/sun50i-h5-orangepi-prime.dts (contents, props changed) head/sys/gnu/dts/arm64/allwinner/sun50i-h5-orangepi-zero-plus.dts (contents, props changed) head/sys/gnu/dts/arm64/allwinner/sun50i-h5-orangepi-zero-plus2.dts (contents, props changed) head/sys/gnu/dts/arm64/allwinner/sun50i-h5.dtsi (contents, props changed) head/sys/gnu/dts/arm64/allwinner/sun50i-h6-pine-h64.dts (contents, props changed) head/sys/gnu/dts/arm64/allwinner/sun50i-h6.dtsi (contents, props changed) head/sys/gnu/dts/arm64/altera/ head/sys/gnu/dts/arm64/altera/socfpga_stratix10.dtsi (contents, props changed) head/sys/gnu/dts/arm64/altera/socfpga_stratix10_socdk.dts (contents, props changed) head/sys/gnu/dts/arm64/amd/ head/sys/gnu/dts/arm64/amd/amd-overdrive-rev-b0.dts (contents, props changed) head/sys/gnu/dts/arm64/amd/amd-overdrive-rev-b1.dts (contents, props changed) head/sys/gnu/dts/arm64/amd/amd-overdrive.dts (contents, props changed) head/sys/gnu/dts/arm64/amd/amd-seattle-clks.dtsi (contents, props changed) head/sys/gnu/dts/arm64/amd/amd-seattle-soc.dtsi (contents, props changed) head/sys/gnu/dts/arm64/amd/amd-seattle-xgbe-b.dtsi (contents, props changed) head/sys/gnu/dts/arm64/amd/husky.dts (contents, props changed) head/sys/gnu/dts/arm64/amlogic/ head/sys/gnu/dts/arm64/amlogic/meson-axg-s400.dts (contents, props changed) head/sys/gnu/dts/arm64/amlogic/meson-axg.dtsi (contents, props changed) head/sys/gnu/dts/arm64/amlogic/meson-gx-p23x-q20x.dtsi (contents, props changed) head/sys/gnu/dts/arm64/amlogic/meson-gx.dtsi (contents, props changed) head/sys/gnu/dts/arm64/amlogic/meson-gxbb-nanopi-k2.dts (contents, props changed) head/sys/gnu/dts/arm64/amlogic/meson-gxbb-nexbox-a95x.dts (contents, props changed) head/sys/gnu/dts/arm64/amlogic/meson-gxbb-odroidc2.dts (contents, props changed) head/sys/gnu/dts/arm64/amlogic/meson-gxbb-p200.dts (contents, props changed) head/sys/gnu/dts/arm64/amlogic/meson-gxbb-p201.dts (contents, props changed) head/sys/gnu/dts/arm64/amlogic/meson-gxbb-p20x.dtsi (contents, props changed) head/sys/gnu/dts/arm64/amlogic/meson-gxbb-vega-s95-meta.dts (contents, props changed) head/sys/gnu/dts/arm64/amlogic/meson-gxbb-vega-s95-pro.dts (contents, props changed) head/sys/gnu/dts/arm64/amlogic/meson-gxbb-vega-s95-telos.dts (contents, props changed) head/sys/gnu/dts/arm64/amlogic/meson-gxbb-vega-s95.dtsi (contents, props changed) head/sys/gnu/dts/arm64/amlogic/meson-gxbb-wetek-hub.dts (contents, props changed) head/sys/gnu/dts/arm64/amlogic/meson-gxbb-wetek-play2.dts (contents, props changed) head/sys/gnu/dts/arm64/amlogic/meson-gxbb-wetek.dtsi (contents, props changed) head/sys/gnu/dts/arm64/amlogic/meson-gxbb.dtsi (contents, props changed) head/sys/gnu/dts/arm64/amlogic/meson-gxl-mali.dtsi (contents, props changed) head/sys/gnu/dts/arm64/amlogic/meson-gxl-s905d-p230.dts (contents, props changed) head/sys/gnu/dts/arm64/amlogic/meson-gxl-s905d-p231.dts (contents, props changed) head/sys/gnu/dts/arm64/amlogic/meson-gxl-s905d.dtsi (contents, props changed) head/sys/gnu/dts/arm64/amlogic/meson-gxl-s905x-hwacom-amazetv.dts (contents, props changed) head/sys/gnu/dts/arm64/amlogic/meson-gxl-s905x-khadas-vim.dts (contents, props changed) head/sys/gnu/dts/arm64/amlogic/meson-gxl-s905x-libretech-cc.dts (contents, props changed) head/sys/gnu/dts/arm64/amlogic/meson-gxl-s905x-nexbox-a95x.dts (contents, props changed) head/sys/gnu/dts/arm64/amlogic/meson-gxl-s905x-p212.dts (contents, props changed) head/sys/gnu/dts/arm64/amlogic/meson-gxl-s905x-p212.dtsi (contents, props changed) head/sys/gnu/dts/arm64/amlogic/meson-gxl-s905x.dtsi (contents, props changed) head/sys/gnu/dts/arm64/amlogic/meson-gxl.dtsi (contents, props changed) head/sys/gnu/dts/arm64/amlogic/meson-gxm-khadas-vim2.dts (contents, props changed) head/sys/gnu/dts/arm64/amlogic/meson-gxm-nexbox-a1.dts (contents, props changed) head/sys/gnu/dts/arm64/amlogic/meson-gxm-q200.dts (contents, props changed) head/sys/gnu/dts/arm64/amlogic/meson-gxm-q201.dts (contents, props changed) head/sys/gnu/dts/arm64/amlogic/meson-gxm-rbox-pro.dts (contents, props changed) head/sys/gnu/dts/arm64/amlogic/meson-gxm-vega-s96.dts (contents, props changed) head/sys/gnu/dts/arm64/amlogic/meson-gxm.dtsi (contents, props changed) head/sys/gnu/dts/arm64/apm/ head/sys/gnu/dts/arm64/apm/apm-merlin.dts (contents, props changed) head/sys/gnu/dts/arm64/apm/apm-mustang.dts (contents, props changed) head/sys/gnu/dts/arm64/apm/apm-shadowcat.dtsi (contents, props changed) head/sys/gnu/dts/arm64/apm/apm-storm.dtsi (contents, props changed) head/sys/gnu/dts/arm64/arm/ head/sys/gnu/dts/arm64/arm/foundation-v8-gicv2.dtsi (contents, props changed) head/sys/gnu/dts/arm64/arm/foundation-v8-gicv3-psci.dts (contents, props changed) head/sys/gnu/dts/arm64/arm/foundation-v8-gicv3.dts (contents, props changed) head/sys/gnu/dts/arm64/arm/foundation-v8-gicv3.dtsi (contents, props changed) head/sys/gnu/dts/arm64/arm/foundation-v8-psci.dts (contents, props changed) head/sys/gnu/dts/arm64/arm/foundation-v8-psci.dtsi (contents, props changed) head/sys/gnu/dts/arm64/arm/foundation-v8-spin-table.dtsi (contents, props changed) head/sys/gnu/dts/arm64/arm/foundation-v8.dts (contents, props changed) head/sys/gnu/dts/arm64/arm/foundation-v8.dtsi (contents, props changed) head/sys/gnu/dts/arm64/arm/juno-base.dtsi (contents, props changed) head/sys/gnu/dts/arm64/arm/juno-clocks.dtsi (contents, props changed) head/sys/gnu/dts/arm64/arm/juno-cs-r1r2.dtsi (contents, props changed) head/sys/gnu/dts/arm64/arm/juno-motherboard.dtsi (contents, props changed) head/sys/gnu/dts/arm64/arm/juno-r1.dts (contents, props changed) head/sys/gnu/dts/arm64/arm/juno-r2.dts (contents, props changed) head/sys/gnu/dts/arm64/arm/juno.dts (contents, props changed) head/sys/gnu/dts/arm64/arm/rtsm_ve-aemv8a.dts (contents, props changed) head/sys/gnu/dts/arm64/arm/rtsm_ve-motherboard.dtsi (contents, props changed) head/sys/gnu/dts/arm64/arm/vexpress-v2f-1xv7-ca53x2.dts (contents, props changed) head/sys/gnu/dts/arm64/arm/vexpress-v2m-rs1.dtsi (contents, props changed) head/sys/gnu/dts/arm64/broadcom/ - copied unchanged from r337701, vendor/device-tree/dist/src/arm64/broadcom/bcm2837-rpi-3-b-plus.dts head/sys/gnu/dts/arm64/broadcom/bcm2837-rpi-3-b.dts (contents, props changed) head/sys/gnu/dts/arm64/broadcom/northstar2/ head/sys/gnu/dts/arm64/broadcom/northstar2/ns2-clock.dtsi (contents, props changed) head/sys/gnu/dts/arm64/broadcom/northstar2/ns2-svk.dts (contents, props changed) head/sys/gnu/dts/arm64/broadcom/northstar2/ns2-xmc.dts (contents, props changed) head/sys/gnu/dts/arm64/broadcom/northstar2/ns2.dtsi (contents, props changed) head/sys/gnu/dts/arm64/broadcom/stingray/ head/sys/gnu/dts/arm64/broadcom/stingray/bcm958742-base.dtsi (contents, props changed) head/sys/gnu/dts/arm64/broadcom/stingray/bcm958742k.dts (contents, props changed) head/sys/gnu/dts/arm64/broadcom/stingray/bcm958742t.dts (contents, props changed) head/sys/gnu/dts/arm64/broadcom/stingray/stingray-clock.dtsi (contents, props changed) head/sys/gnu/dts/arm64/broadcom/stingray/stingray-fs4.dtsi (contents, props changed) head/sys/gnu/dts/arm64/broadcom/stingray/stingray-pinctrl.dtsi (contents, props changed) head/sys/gnu/dts/arm64/broadcom/stingray/stingray-sata.dtsi (contents, props changed) head/sys/gnu/dts/arm64/broadcom/stingray/stingray.dtsi (contents, props changed) head/sys/gnu/dts/arm64/cavium/ head/sys/gnu/dts/arm64/cavium/thunder-88xx.dts (contents, props changed) head/sys/gnu/dts/arm64/cavium/thunder-88xx.dtsi (contents, props changed) head/sys/gnu/dts/arm64/cavium/thunder2-99xx.dts (contents, props changed) head/sys/gnu/dts/arm64/cavium/thunder2-99xx.dtsi (contents, props changed) head/sys/gnu/dts/arm64/exynos/ head/sys/gnu/dts/arm64/exynos/exynos5433-bus.dtsi (contents, props changed) head/sys/gnu/dts/arm64/exynos/exynos5433-pinctrl.dtsi (contents, props changed) head/sys/gnu/dts/arm64/exynos/exynos5433-tm2-common.dtsi (contents, props changed) head/sys/gnu/dts/arm64/exynos/exynos5433-tm2.dts (contents, props changed) head/sys/gnu/dts/arm64/exynos/exynos5433-tm2e.dts (contents, props changed) head/sys/gnu/dts/arm64/exynos/exynos5433-tmu-g3d-sensor-conf.dtsi (contents, props changed) head/sys/gnu/dts/arm64/exynos/exynos5433-tmu-sensor-conf.dtsi (contents, props changed) head/sys/gnu/dts/arm64/exynos/exynos5433-tmu.dtsi (contents, props changed) head/sys/gnu/dts/arm64/exynos/exynos5433.dtsi (contents, props changed) head/sys/gnu/dts/arm64/exynos/exynos7-espresso.dts (contents, props changed) head/sys/gnu/dts/arm64/exynos/exynos7-pinctrl.dtsi (contents, props changed) head/sys/gnu/dts/arm64/exynos/exynos7-tmu-sensor-conf.dtsi (contents, props changed) head/sys/gnu/dts/arm64/exynos/exynos7-trip-points.dtsi (contents, props changed) head/sys/gnu/dts/arm64/exynos/exynos7.dtsi (contents, props changed) head/sys/gnu/dts/arm64/freescale/ head/sys/gnu/dts/arm64/freescale/fsl-ls1012a-frdm.dts (contents, props changed) head/sys/gnu/dts/arm64/freescale/fsl-ls1012a-qds.dts (contents, props changed) head/sys/gnu/dts/arm64/freescale/fsl-ls1012a-rdb.dts (contents, props changed) head/sys/gnu/dts/arm64/freescale/fsl-ls1012a.dtsi (contents, props changed) head/sys/gnu/dts/arm64/freescale/fsl-ls1043-post.dtsi (contents, props changed) head/sys/gnu/dts/arm64/freescale/fsl-ls1043a-qds.dts (contents, props changed) head/sys/gnu/dts/arm64/freescale/fsl-ls1043a-rdb.dts (contents, props changed) head/sys/gnu/dts/arm64/freescale/fsl-ls1043a.dtsi (contents, props changed) head/sys/gnu/dts/arm64/freescale/fsl-ls1046-post.dtsi (contents, props changed) head/sys/gnu/dts/arm64/freescale/fsl-ls1046a-qds.dts (contents, props changed) head/sys/gnu/dts/arm64/freescale/fsl-ls1046a-rdb.dts (contents, props changed) head/sys/gnu/dts/arm64/freescale/fsl-ls1046a.dtsi (contents, props changed) head/sys/gnu/dts/arm64/freescale/fsl-ls1088a-qds.dts (contents, props changed) head/sys/gnu/dts/arm64/freescale/fsl-ls1088a-rdb.dts (contents, props changed) head/sys/gnu/dts/arm64/freescale/fsl-ls1088a.dtsi (contents, props changed) head/sys/gnu/dts/arm64/freescale/fsl-ls2080a-qds.dts (contents, props changed) head/sys/gnu/dts/arm64/freescale/fsl-ls2080a-rdb.dts (contents, props changed) head/sys/gnu/dts/arm64/freescale/fsl-ls2080a-simu.dts (contents, props changed) head/sys/gnu/dts/arm64/freescale/fsl-ls2080a.dtsi (contents, props changed) head/sys/gnu/dts/arm64/freescale/fsl-ls2088a-qds.dts (contents, props changed) head/sys/gnu/dts/arm64/freescale/fsl-ls2088a-rdb.dts (contents, props changed) head/sys/gnu/dts/arm64/freescale/fsl-ls2088a.dtsi (contents, props changed) head/sys/gnu/dts/arm64/freescale/fsl-ls208xa-qds.dtsi (contents, props changed) head/sys/gnu/dts/arm64/freescale/fsl-ls208xa-rdb.dtsi (contents, props changed) head/sys/gnu/dts/arm64/freescale/fsl-ls208xa.dtsi (contents, props changed) head/sys/gnu/dts/arm64/freescale/qoriq-bman-portals.dtsi (contents, props changed) head/sys/gnu/dts/arm64/freescale/qoriq-fman3-0-10g-0.dtsi (contents, props changed) head/sys/gnu/dts/arm64/freescale/qoriq-fman3-0-10g-1.dtsi (contents, props changed) head/sys/gnu/dts/arm64/freescale/qoriq-fman3-0-1g-0.dtsi (contents, props changed) head/sys/gnu/dts/arm64/freescale/qoriq-fman3-0-1g-1.dtsi (contents, props changed) head/sys/gnu/dts/arm64/freescale/qoriq-fman3-0-1g-2.dtsi (contents, props changed) head/sys/gnu/dts/arm64/freescale/qoriq-fman3-0-1g-3.dtsi (contents, props changed) head/sys/gnu/dts/arm64/freescale/qoriq-fman3-0-1g-4.dtsi (contents, props changed) head/sys/gnu/dts/arm64/freescale/qoriq-fman3-0-1g-5.dtsi (contents, props changed) head/sys/gnu/dts/arm64/freescale/qoriq-fman3-0.dtsi (contents, props changed) head/sys/gnu/dts/arm64/freescale/qoriq-qman-portals.dtsi (contents, props changed) head/sys/gnu/dts/arm64/hisilicon/ head/sys/gnu/dts/arm64/hisilicon/hi3660-hikey960.dts (contents, props changed) head/sys/gnu/dts/arm64/hisilicon/hi3660.dtsi (contents, props changed) head/sys/gnu/dts/arm64/hisilicon/hi3798cv200-poplar.dts (contents, props changed) head/sys/gnu/dts/arm64/hisilicon/hi3798cv200.dtsi (contents, props changed) head/sys/gnu/dts/arm64/hisilicon/hi6220-coresight.dtsi (contents, props changed) head/sys/gnu/dts/arm64/hisilicon/hi6220-hikey.dts (contents, props changed) head/sys/gnu/dts/arm64/hisilicon/hi6220.dtsi (contents, props changed) head/sys/gnu/dts/arm64/hisilicon/hikey-pinctrl.dtsi (contents, props changed) head/sys/gnu/dts/arm64/hisilicon/hikey960-pinctrl.dtsi (contents, props changed) head/sys/gnu/dts/arm64/hisilicon/hip05-d02.dts (contents, props changed) head/sys/gnu/dts/arm64/hisilicon/hip05.dtsi (contents, props changed) head/sys/gnu/dts/arm64/hisilicon/hip06-d03.dts (contents, props changed) head/sys/gnu/dts/arm64/hisilicon/hip06.dtsi (contents, props changed) head/sys/gnu/dts/arm64/hisilicon/hip07-d05.dts (contents, props changed) head/sys/gnu/dts/arm64/hisilicon/hip07.dtsi (contents, props changed) - copied unchanged from r337701, vendor/device-tree/dist/src/arm64/hisilicon/poplar-pinctrl.dtsi head/sys/gnu/dts/arm64/lg/ head/sys/gnu/dts/arm64/lg/lg1312-ref.dts (contents, props changed) head/sys/gnu/dts/arm64/lg/lg1312.dtsi (contents, props changed) head/sys/gnu/dts/arm64/lg/lg1313-ref.dts (contents, props changed) head/sys/gnu/dts/arm64/lg/lg1313.dtsi (contents, props changed) head/sys/gnu/dts/arm64/marvell/ head/sys/gnu/dts/arm64/marvell/armada-371x.dtsi (contents, props changed) head/sys/gnu/dts/arm64/marvell/armada-3720-db.dts (contents, props changed) head/sys/gnu/dts/arm64/marvell/armada-3720-espressobin.dts (contents, props changed) head/sys/gnu/dts/arm64/marvell/armada-372x.dtsi (contents, props changed) head/sys/gnu/dts/arm64/marvell/armada-37xx.dtsi (contents, props changed) head/sys/gnu/dts/arm64/marvell/armada-7020.dtsi (contents, props changed) head/sys/gnu/dts/arm64/marvell/armada-7040-db.dts (contents, props changed) head/sys/gnu/dts/arm64/marvell/armada-7040.dtsi (contents, props changed) head/sys/gnu/dts/arm64/marvell/armada-70x0.dtsi (contents, props changed) head/sys/gnu/dts/arm64/marvell/armada-8020.dtsi (contents, props changed) head/sys/gnu/dts/arm64/marvell/armada-8040-db.dts (contents, props changed) head/sys/gnu/dts/arm64/marvell/armada-8040-mcbin.dts (contents, props changed) head/sys/gnu/dts/arm64/marvell/armada-8040.dtsi (contents, props changed) head/sys/gnu/dts/arm64/marvell/armada-8080-db.dts (contents, props changed) head/sys/gnu/dts/arm64/marvell/armada-8080.dtsi (contents, props changed) head/sys/gnu/dts/arm64/marvell/armada-80x0.dtsi (contents, props changed) head/sys/gnu/dts/arm64/marvell/armada-ap806-dual.dtsi (contents, props changed) head/sys/gnu/dts/arm64/marvell/armada-ap806-quad.dtsi (contents, props changed) head/sys/gnu/dts/arm64/marvell/armada-ap806.dtsi (contents, props changed) head/sys/gnu/dts/arm64/marvell/armada-ap810-ap0-octa-core.dtsi (contents, props changed) head/sys/gnu/dts/arm64/marvell/armada-ap810-ap0.dtsi (contents, props changed) head/sys/gnu/dts/arm64/marvell/armada-common.dtsi (contents, props changed) head/sys/gnu/dts/arm64/marvell/armada-cp110.dtsi (contents, props changed) head/sys/gnu/dts/arm64/mediatek/ head/sys/gnu/dts/arm64/mediatek/mt2712-evb.dts (contents, props changed) - copied unchanged from r337701, vendor/device-tree/dist/src/arm64/mediatek/mt2712-pinfunc.h head/sys/gnu/dts/arm64/mediatek/mt2712e.dtsi (contents, props changed) head/sys/gnu/dts/arm64/mediatek/mt6380.dtsi (contents, props changed) head/sys/gnu/dts/arm64/mediatek/mt6755-evb.dts (contents, props changed) head/sys/gnu/dts/arm64/mediatek/mt6755.dtsi (contents, props changed) head/sys/gnu/dts/arm64/mediatek/mt6795-evb.dts (contents, props changed) head/sys/gnu/dts/arm64/mediatek/mt6795.dtsi (contents, props changed) head/sys/gnu/dts/arm64/mediatek/mt6797-evb.dts (contents, props changed) head/sys/gnu/dts/arm64/mediatek/mt6797.dtsi (contents, props changed) head/sys/gnu/dts/arm64/mediatek/mt7622-rfb1.dts (contents, props changed) head/sys/gnu/dts/arm64/mediatek/mt7622.dtsi (contents, props changed) head/sys/gnu/dts/arm64/mediatek/mt8173-evb.dts (contents, props changed) head/sys/gnu/dts/arm64/mediatek/mt8173-pinfunc.h (contents, props changed) head/sys/gnu/dts/arm64/mediatek/mt8173.dtsi (contents, props changed) head/sys/gnu/dts/arm64/nvidia/ head/sys/gnu/dts/arm64/nvidia/tegra132-norrin.dts (contents, props changed) head/sys/gnu/dts/arm64/nvidia/tegra132.dtsi (contents, props changed) head/sys/gnu/dts/arm64/nvidia/tegra186-p2771-0000.dts (contents, props changed) head/sys/gnu/dts/arm64/nvidia/tegra186-p3310.dtsi (contents, props changed) head/sys/gnu/dts/arm64/nvidia/tegra186.dtsi (contents, props changed) head/sys/gnu/dts/arm64/nvidia/tegra194-p2888.dtsi (contents, props changed) head/sys/gnu/dts/arm64/nvidia/tegra194-p2972-0000.dts (contents, props changed) head/sys/gnu/dts/arm64/nvidia/tegra194.dtsi (contents, props changed) head/sys/gnu/dts/arm64/nvidia/tegra210-p2180.dtsi (contents, props changed) head/sys/gnu/dts/arm64/nvidia/tegra210-p2371-0000.dts (contents, props changed) head/sys/gnu/dts/arm64/nvidia/tegra210-p2371-2180.dts (contents, props changed) head/sys/gnu/dts/arm64/nvidia/tegra210-p2530.dtsi (contents, props changed) head/sys/gnu/dts/arm64/nvidia/tegra210-p2571.dts (contents, props changed) head/sys/gnu/dts/arm64/nvidia/tegra210-p2595.dtsi (contents, props changed) head/sys/gnu/dts/arm64/nvidia/tegra210-p2597.dtsi (contents, props changed) head/sys/gnu/dts/arm64/nvidia/tegra210-smaug.dts (contents, props changed) head/sys/gnu/dts/arm64/nvidia/tegra210.dtsi (contents, props changed) head/sys/gnu/dts/arm64/qcom/ head/sys/gnu/dts/arm64/qcom/apq8016-sbc-pmic-pins.dtsi (contents, props changed) head/sys/gnu/dts/arm64/qcom/apq8016-sbc-soc-pins.dtsi (contents, props changed) head/sys/gnu/dts/arm64/qcom/apq8016-sbc.dts (contents, props changed) head/sys/gnu/dts/arm64/qcom/apq8016-sbc.dtsi (contents, props changed) head/sys/gnu/dts/arm64/qcom/apq8096-db820c-pins.dtsi (contents, props changed) head/sys/gnu/dts/arm64/qcom/apq8096-db820c-pmic-pins.dtsi (contents, props changed) head/sys/gnu/dts/arm64/qcom/apq8096-db820c.dts (contents, props changed) head/sys/gnu/dts/arm64/qcom/apq8096-db820c.dtsi (contents, props changed) head/sys/gnu/dts/arm64/qcom/ipq8074-hk01.dts (contents, props changed) head/sys/gnu/dts/arm64/qcom/ipq8074.dtsi (contents, props changed) head/sys/gnu/dts/arm64/qcom/msm8916-mtp.dts (contents, props changed) head/sys/gnu/dts/arm64/qcom/msm8916-mtp.dtsi (contents, props changed) head/sys/gnu/dts/arm64/qcom/msm8916-pins.dtsi (contents, props changed) head/sys/gnu/dts/arm64/qcom/msm8916.dtsi (contents, props changed) head/sys/gnu/dts/arm64/qcom/msm8992-bullhead-rev-101.dts (contents, props changed) head/sys/gnu/dts/arm64/qcom/msm8992-pins.dtsi (contents, props changed) head/sys/gnu/dts/arm64/qcom/msm8992.dtsi (contents, props changed) head/sys/gnu/dts/arm64/qcom/msm8994-angler-rev-101.dts (contents, props changed) head/sys/gnu/dts/arm64/qcom/msm8994-pins.dtsi (contents, props changed) - copied unchanged from r337701, vendor/device-tree/dist/src/arm64/qcom/msm8994-smd-rpm.dtsi head/sys/gnu/dts/arm64/qcom/msm8994.dtsi (contents, props changed) head/sys/gnu/dts/arm64/qcom/msm8996-mtp.dts (contents, props changed) head/sys/gnu/dts/arm64/qcom/msm8996-mtp.dtsi (contents, props changed) head/sys/gnu/dts/arm64/qcom/msm8996-pins.dtsi (contents, props changed) head/sys/gnu/dts/arm64/qcom/msm8996.dtsi (contents, props changed) head/sys/gnu/dts/arm64/qcom/pm8004.dtsi (contents, props changed) head/sys/gnu/dts/arm64/qcom/pm8916.dtsi (contents, props changed) head/sys/gnu/dts/arm64/qcom/pm8994.dtsi (contents, props changed) head/sys/gnu/dts/arm64/qcom/pmi8994.dtsi (contents, props changed) - copied unchanged from r337701, vendor/device-tree/dist/src/arm64/qcom/sdm845-mtp.dts - copied unchanged from r337701, vendor/device-tree/dist/src/arm64/qcom/sdm845.dtsi head/sys/gnu/dts/arm64/realtek/ head/sys/gnu/dts/arm64/realtek/rtd1295-mele-v9.dts (contents, props changed) head/sys/gnu/dts/arm64/realtek/rtd1295-probox2-ava.dts (contents, props changed) head/sys/gnu/dts/arm64/realtek/rtd1295-zidoo-x9s.dts (contents, props changed) head/sys/gnu/dts/arm64/realtek/rtd1295.dtsi (contents, props changed) head/sys/gnu/dts/arm64/realtek/rtd129x.dtsi (contents, props changed) head/sys/gnu/dts/arm64/renesas/ head/sys/gnu/dts/arm64/renesas/r8a7795-es1-h3ulcb-kf.dts (contents, props changed) head/sys/gnu/dts/arm64/renesas/r8a7795-es1-h3ulcb.dts (contents, props changed) head/sys/gnu/dts/arm64/renesas/r8a7795-es1-salvator-x.dts (contents, props changed) head/sys/gnu/dts/arm64/renesas/r8a7795-es1.dtsi (contents, props changed) head/sys/gnu/dts/arm64/renesas/r8a7795-h3ulcb-kf.dts (contents, props changed) head/sys/gnu/dts/arm64/renesas/r8a7795-h3ulcb.dts (contents, props changed) head/sys/gnu/dts/arm64/renesas/r8a7795-salvator-x.dts (contents, props changed) head/sys/gnu/dts/arm64/renesas/r8a7795-salvator-xs.dts (contents, props changed) head/sys/gnu/dts/arm64/renesas/r8a7795.dtsi (contents, props changed) head/sys/gnu/dts/arm64/renesas/r8a7796-m3ulcb-kf.dts (contents, props changed) head/sys/gnu/dts/arm64/renesas/r8a7796-m3ulcb.dts (contents, props changed) head/sys/gnu/dts/arm64/renesas/r8a7796-salvator-x.dts (contents, props changed) head/sys/gnu/dts/arm64/renesas/r8a7796-salvator-xs.dts (contents, props changed) head/sys/gnu/dts/arm64/renesas/r8a7796.dtsi (contents, props changed) head/sys/gnu/dts/arm64/renesas/r8a77965-salvator-x.dts (contents, props changed) head/sys/gnu/dts/arm64/renesas/r8a77965-salvator-xs.dts (contents, props changed) head/sys/gnu/dts/arm64/renesas/r8a77965.dtsi (contents, props changed) head/sys/gnu/dts/arm64/renesas/r8a77970-eagle.dts (contents, props changed) head/sys/gnu/dts/arm64/renesas/r8a77970-v3msk.dts (contents, props changed) head/sys/gnu/dts/arm64/renesas/r8a77970.dtsi (contents, props changed) head/sys/gnu/dts/arm64/renesas/r8a77980-condor.dts (contents, props changed) - copied unchanged from r337701, vendor/device-tree/dist/src/arm64/renesas/r8a77980-v3hsk.dts head/sys/gnu/dts/arm64/renesas/r8a77980.dtsi (contents, props changed) - copied unchanged from r337701, vendor/device-tree/dist/src/arm64/renesas/r8a77990-ebisu.dts - copied unchanged from r337701, vendor/device-tree/dist/src/arm64/renesas/r8a77990.dtsi head/sys/gnu/dts/arm64/renesas/r8a77995-draak.dts (contents, props changed) head/sys/gnu/dts/arm64/renesas/r8a77995.dtsi (contents, props changed) head/sys/gnu/dts/arm64/renesas/salvator-common.dtsi (contents, props changed) head/sys/gnu/dts/arm64/renesas/salvator-x.dtsi (contents, props changed) head/sys/gnu/dts/arm64/renesas/salvator-xs.dtsi (contents, props changed) head/sys/gnu/dts/arm64/renesas/ulcb-kf.dtsi (contents, props changed) head/sys/gnu/dts/arm64/renesas/ulcb.dtsi (contents, props changed) head/sys/gnu/dts/arm64/rockchip/ head/sys/gnu/dts/arm64/rockchip/rk3328-evb.dts (contents, props changed) head/sys/gnu/dts/arm64/rockchip/rk3328-roc-cc.dts (contents, props changed) head/sys/gnu/dts/arm64/rockchip/rk3328-rock64.dts (contents, props changed) head/sys/gnu/dts/arm64/rockchip/rk3328.dtsi (contents, props changed) head/sys/gnu/dts/arm64/rockchip/rk3368-evb-act8846.dts (contents, props changed) head/sys/gnu/dts/arm64/rockchip/rk3368-evb.dtsi (contents, props changed) head/sys/gnu/dts/arm64/rockchip/rk3368-geekbox.dts (contents, props changed) head/sys/gnu/dts/arm64/rockchip/rk3368-lion-haikou.dts (contents, props changed) head/sys/gnu/dts/arm64/rockchip/rk3368-lion.dtsi (contents, props changed) head/sys/gnu/dts/arm64/rockchip/rk3368-orion-r68-meta.dts (contents, props changed) head/sys/gnu/dts/arm64/rockchip/rk3368-px5-evb.dts (contents, props changed) head/sys/gnu/dts/arm64/rockchip/rk3368-r88.dts (contents, props changed) head/sys/gnu/dts/arm64/rockchip/rk3368.dtsi (contents, props changed) head/sys/gnu/dts/arm64/rockchip/rk3399-evb.dts (contents, props changed) head/sys/gnu/dts/arm64/rockchip/rk3399-firefly.dts (contents, props changed) head/sys/gnu/dts/arm64/rockchip/rk3399-gru-kevin.dts (contents, props changed) head/sys/gnu/dts/arm64/rockchip/rk3399-gru.dtsi (contents, props changed) head/sys/gnu/dts/arm64/rockchip/rk3399-op1-opp.dtsi (contents, props changed) head/sys/gnu/dts/arm64/rockchip/rk3399-opp.dtsi (contents, props changed) head/sys/gnu/dts/arm64/rockchip/rk3399-puma-haikou.dts (contents, props changed) head/sys/gnu/dts/arm64/rockchip/rk3399-puma.dtsi (contents, props changed) head/sys/gnu/dts/arm64/rockchip/rk3399-sapphire-excavator.dts (contents, props changed) head/sys/gnu/dts/arm64/rockchip/rk3399-sapphire.dts (contents, props changed) head/sys/gnu/dts/arm64/rockchip/rk3399-sapphire.dtsi (contents, props changed) head/sys/gnu/dts/arm64/rockchip/rk3399.dtsi (contents, props changed) head/sys/gnu/dts/arm64/socionext/ head/sys/gnu/dts/arm64/socionext/uniphier-ld11-global.dts (contents, props changed) head/sys/gnu/dts/arm64/socionext/uniphier-ld11-ref.dts (contents, props changed) head/sys/gnu/dts/arm64/socionext/uniphier-ld11.dtsi (contents, props changed) head/sys/gnu/dts/arm64/socionext/uniphier-ld20-global.dts (contents, props changed) head/sys/gnu/dts/arm64/socionext/uniphier-ld20-ref.dts (contents, props changed) head/sys/gnu/dts/arm64/socionext/uniphier-ld20.dtsi (contents, props changed) head/sys/gnu/dts/arm64/socionext/uniphier-pinctrl.dtsi (contents, props changed) head/sys/gnu/dts/arm64/socionext/uniphier-pxs3-ref.dts (contents, props changed) head/sys/gnu/dts/arm64/socionext/uniphier-pxs3.dtsi (contents, props changed) head/sys/gnu/dts/arm64/socionext/uniphier-ref-daughter.dtsi (contents, props changed) head/sys/gnu/dts/arm64/socionext/uniphier-support-card.dtsi (contents, props changed) head/sys/gnu/dts/arm64/sprd/ head/sys/gnu/dts/arm64/sprd/sc2731.dtsi (contents, props changed) head/sys/gnu/dts/arm64/sprd/sc9836-openphone.dts (contents, props changed) head/sys/gnu/dts/arm64/sprd/sc9836.dtsi (contents, props changed) head/sys/gnu/dts/arm64/sprd/sc9860.dtsi (contents, props changed) head/sys/gnu/dts/arm64/sprd/sharkl64.dtsi (contents, props changed) head/sys/gnu/dts/arm64/sprd/sp9860g-1h10.dts (contents, props changed) head/sys/gnu/dts/arm64/sprd/whale2.dtsi (contents, props changed) head/sys/gnu/dts/arm64/synaptics/ - copied from r337701, vendor/device-tree/dist/src/arm64/synaptics/ head/sys/gnu/dts/arm64/xilinx/ head/sys/gnu/dts/arm64/xilinx/zynqmp-clk.dtsi (contents, props changed) head/sys/gnu/dts/arm64/xilinx/zynqmp-ep108-clk.dtsi (contents, props changed) head/sys/gnu/dts/arm64/xilinx/zynqmp-ep108.dts (contents, props changed) head/sys/gnu/dts/arm64/xilinx/zynqmp-zc1232-revA.dts (contents, props changed) head/sys/gnu/dts/arm64/xilinx/zynqmp-zc1254-revA.dts (contents, props changed) head/sys/gnu/dts/arm64/xilinx/zynqmp-zc1275-revA.dts (contents, props changed) head/sys/gnu/dts/arm64/xilinx/zynqmp-zc1751-xm015-dc1.dts (contents, props changed) head/sys/gnu/dts/arm64/xilinx/zynqmp-zc1751-xm016-dc2.dts (contents, props changed) head/sys/gnu/dts/arm64/xilinx/zynqmp-zc1751-xm017-dc3.dts (contents, props changed) head/sys/gnu/dts/arm64/xilinx/zynqmp-zc1751-xm018-dc4.dts (contents, props changed) head/sys/gnu/dts/arm64/xilinx/zynqmp-zc1751-xm019-dc5.dts (contents, props changed) head/sys/gnu/dts/arm64/xilinx/zynqmp-zcu100-revC.dts (contents, props changed) head/sys/gnu/dts/arm64/xilinx/zynqmp-zcu102-rev1.0.dts (contents, props changed) head/sys/gnu/dts/arm64/xilinx/zynqmp-zcu102-revA.dts (contents, props changed) head/sys/gnu/dts/arm64/xilinx/zynqmp-zcu102-revB.dts (contents, props changed) head/sys/gnu/dts/arm64/xilinx/zynqmp-zcu104-revA.dts (contents, props changed) head/sys/gnu/dts/arm64/xilinx/zynqmp-zcu106-revA.dts (contents, props changed) head/sys/gnu/dts/arm64/xilinx/zynqmp-zcu111-revA.dts (contents, props changed) head/sys/gnu/dts/arm64/xilinx/zynqmp.dtsi (contents, props changed) head/sys/gnu/dts/arm64/zte/ head/sys/gnu/dts/arm64/zte/zx296718-evb.dts (contents, props changed) head/sys/gnu/dts/arm64/zte/zx296718-pcbox.dts (contents, props changed) head/sys/gnu/dts/arm64/zte/zx296718.dtsi (contents, props changed) Directory Properties: head/sys/gnu/dts/arm64/ (props changed) head/sys/gnu/dts/arm64/allwinner/sun50i-h5-libretech-all-h3-cc.dts (props changed) head/sys/gnu/dts/arm64/broadcom/bcm2837-rpi-3-b-plus.dts (props changed) head/sys/gnu/dts/arm64/hisilicon/poplar-pinctrl.dtsi (props changed) head/sys/gnu/dts/arm64/mediatek/mt2712-pinfunc.h (props changed) head/sys/gnu/dts/arm64/qcom/msm8994-smd-rpm.dtsi (props changed) head/sys/gnu/dts/arm64/qcom/sdm845-mtp.dts (props changed) head/sys/gnu/dts/arm64/qcom/sdm845.dtsi (props changed) head/sys/gnu/dts/arm64/renesas/r8a77980-v3hsk.dts (props changed) head/sys/gnu/dts/arm64/renesas/r8a77990-ebisu.dts (props changed) head/sys/gnu/dts/arm64/renesas/r8a77990.dtsi (props changed) Modified: Directory Properties: head/sys/gnu/dts/arm64/synaptics/berlin4ct-dmp.dts (props changed) head/sys/gnu/dts/arm64/synaptics/berlin4ct-stb.dts (props changed) head/sys/gnu/dts/arm64/synaptics/berlin4ct.dtsi (props changed) Added: head/sys/gnu/dts/arm64/actions/s700-cubieboard7.dts ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/gnu/dts/arm64/actions/s700-cubieboard7.dts Thu Aug 23 13:21:01 2018 (r338245) @@ -0,0 +1,46 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2017 Andreas Färber + */ + +/dts-v1/; + +#include "s700.dtsi" + +/ { + compatible = "cubietech,cubieboard7", "actions,s700"; + model = "CubieBoard7"; + + aliases { + serial3 = &uart3; + }; + + chosen { + stdout-path = "serial3:115200n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x0 0x0 0x80000000>; + }; + + memory@1,e0000000 { + device_type = "memory"; + reg = <0x1 0xe0000000 0x0 0x0>; + }; + + uart3_clk: uart3-clk { + compatible = "fixed-clock"; + clock-frequency = <921600>; + #clock-cells = <0>; + }; +}; + +&timer { + clocks = <&hosc>; +}; + +&uart3 { + status = "okay"; + clocks = <&uart3_clk>; +}; Added: head/sys/gnu/dts/arm64/actions/s700.dtsi ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/gnu/dts/arm64/actions/s700.dtsi Thu Aug 23 13:21:01 2018 (r338245) @@ -0,0 +1,169 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2017 Andreas Färber + */ + +#include <dt-bindings/interrupt-controller/arm-gic.h> + +/ { + compatible = "actions,s700"; + interrupt-parent = <&gic>; + #address-cells = <2>; + #size-cells = <2>; + + cpus { + #address-cells = <2>; + #size-cells = <0>; + + cpu0: cpu@0 { + device_type = "cpu"; + compatible = "arm,cortex-a53", "arm,armv8"; + reg = <0x0 0x0>; + enable-method = "psci"; + }; + + cpu1: cpu@1 { + device_type = "cpu"; + compatible = "arm,cortex-a53", "arm,armv8"; + reg = <0x0 0x1>; + enable-method = "psci"; + }; + + cpu2: cpu@2 { + device_type = "cpu"; + compatible = "arm,cortex-a53", "arm,armv8"; + reg = <0x0 0x2>; + enable-method = "psci"; + }; + + cpu3: cpu@3 { + device_type = "cpu"; + compatible = "arm,cortex-a53", "arm,armv8"; + reg = <0x0 0x3>; + enable-method = "psci"; + }; + }; + + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + secmon@1f000000 { + reg = <0x0 0x1f000000 0x0 0x1000000>; + no-map; + }; + }; + + psci { + compatible = "arm,psci-0.2"; + method = "smc"; + }; + + arm-pmu { + compatible = "arm,cortex-a53-pmu"; + interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; + interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>; + }; + + timer { + compatible = "arm,armv8-timer"; + interrupts = <GIC_PPI 13 + (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, + <GIC_PPI 14 + (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, + <GIC_PPI 11 + (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, + <GIC_PPI 10 + (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>; + }; + + hosc: hosc { + compatible = "fixed-clock"; + clock-frequency = <24000000>; + #clock-cells = <0>; + }; + + soc { + compatible = "simple-bus"; + #address-cells = <2>; + #size-cells = <2>; + ranges; + + gic: interrupt-controller@e00f1000 { + compatible = "arm,gic-400"; + reg = <0x0 0xe00f1000 0x0 0x1000>, + <0x0 0xe00f2000 0x0 0x2000>, + <0x0 0xe00f4000 0x0 0x2000>, + <0x0 0xe00f6000 0x0 0x2000>; + interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>; + interrupt-controller; + #interrupt-cells = <3>; + }; + + uart0: serial@e0120000 { + compatible = "actions,s900-uart", "actions,owl-uart"; + reg = <0x0 0xe0120000 0x0 0x2000>; + interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; + }; + + uart1: serial@e0122000 { + compatible = "actions,s900-uart", "actions,owl-uart"; + reg = <0x0 0xe0122000 0x0 0x2000>; + interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; + }; + + uart2: serial@e0124000 { + compatible = "actions,s900-uart", "actions,owl-uart"; + reg = <0x0 0xe0124000 0x0 0x2000>; + interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; + }; + + uart3: serial@e0126000 { + compatible = "actions,s900-uart", "actions,owl-uart"; + reg = <0x0 0xe0126000 0x0 0x2000>; + interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; + }; + + uart4: serial@e0128000 { + compatible = "actions,s900-uart", "actions,owl-uart"; + reg = <0x0 0xe0128000 0x0 0x2000>; + interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; + }; + + uart5: serial@e012a000 { + compatible = "actions,s900-uart", "actions,owl-uart"; + reg = <0x0 0xe012a000 0x0 0x2000>; + interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; + }; + + uart6: serial@e012c000 { + compatible = "actions,s900-uart", "actions,owl-uart"; + reg = <0x0 0xe012c000 0x0 0x2000>; + interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; + }; + + sps: power-controller@e01b0100 { + compatible = "actions,s700-sps"; + reg = <0x0 0xe01b0100 0x0 0x100>; + #power-domain-cells = <1>; + }; + + timer: timer@e024c000 { + compatible = "actions,s700-timer"; + reg = <0x0 0xe024c000 0x0 0x4000>; + interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "timer1"; + }; + }; +}; Added: head/sys/gnu/dts/arm64/actions/s900-bubblegum-96.dts ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/gnu/dts/arm64/actions/s900-bubblegum-96.dts Thu Aug 23 13:21:01 2018 (r338245) @@ -0,0 +1,42 @@ +/* + * Copyright (c) 2017 Andreas Färber + * + * SPDX-License-Identifier: (GPL-2.0+ OR MIT) + */ + +/dts-v1/; + +#include "s900.dtsi" + +/ { + compatible = "ucrobotics,bubblegum-96", "actions,s900"; + model = "Bubblegum-96"; + + aliases { + serial5 = &uart5; + }; + + chosen { + stdout-path = "serial5:115200n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x0 0x0 0x80000000>; + }; + + uart5_clk: uart5-clk { + compatible = "fixed-clock"; + clock-frequency = <921600>; + #clock-cells = <0>; + }; +}; + +&timer { + clocks = <&hosc>; +}; + +&uart5 { + status = "okay"; + clocks = <&uart5_clk>; +}; Added: head/sys/gnu/dts/arm64/actions/s900.dtsi ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/gnu/dts/arm64/actions/s900.dtsi Thu Aug 23 13:21:01 2018 (r338245) @@ -0,0 +1,164 @@ +/* + * Copyright (c) 2017 Andreas Färber + * + * SPDX-License-Identifier: (GPL-2.0+ OR MIT) + */ + +#include <dt-bindings/interrupt-controller/arm-gic.h> + +/ { + compatible = "actions,s900"; + interrupt-parent = <&gic>; + #address-cells = <2>; + #size-cells = <2>; + + cpus { + #address-cells = <2>; + #size-cells = <0>; + + cpu0: cpu@0 { + device_type = "cpu"; + compatible = "arm,cortex-a53", "arm,armv8"; + reg = <0x0 0x0>; + enable-method = "psci"; + }; + + cpu1: cpu@1 { + device_type = "cpu"; + compatible = "arm,cortex-a53", "arm,armv8"; + reg = <0x0 0x1>; + enable-method = "psci"; + }; + + cpu2: cpu@2 { + device_type = "cpu"; + compatible = "arm,cortex-a53", "arm,armv8"; + reg = <0x0 0x2>; + enable-method = "psci"; + }; + + cpu3: cpu@3 { + device_type = "cpu"; + compatible = "arm,cortex-a53", "arm,armv8"; + reg = <0x0 0x3>; + enable-method = "psci"; + }; + }; + + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + secmon@1f000000 { + reg = <0x0 0x1f000000 0x0 0x1000000>; + no-map; + }; + }; + + psci { + compatible = "arm,psci-0.2"; + method = "smc"; + }; + + arm-pmu { + compatible = "arm,cortex-a53-pmu"; + interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; + interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>; + }; + + timer { + compatible = "arm,armv8-timer"; + interrupts = <GIC_PPI 13 + (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, + <GIC_PPI 14 + (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, + <GIC_PPI 11 + (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, + <GIC_PPI 10 + (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>; + }; + + hosc: hosc { + compatible = "fixed-clock"; + clock-frequency = <24000000>; + #clock-cells = <0>; + }; + + soc { + compatible = "simple-bus"; + #address-cells = <2>; + #size-cells = <2>; + ranges; + + gic: interrupt-controller@e00f1000 { + compatible = "arm,gic-400"; + reg = <0x0 0xe00f1000 0x0 0x1000>, + <0x0 0xe00f2000 0x0 0x2000>, + <0x0 0xe00f4000 0x0 0x2000>, + <0x0 0xe00f6000 0x0 0x2000>; + interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>; + interrupt-controller; + #interrupt-cells = <3>; + }; + + uart0: serial@e0120000 { + compatible = "actions,s900-uart", "actions,owl-uart"; + reg = <0x0 0xe0120000 0x0 0x2000>; + interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; + }; + + uart1: serial@e0122000 { + compatible = "actions,s900-uart", "actions,owl-uart"; + reg = <0x0 0xe0122000 0x0 0x2000>; + interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; + }; + + uart2: serial@e0124000 { + compatible = "actions,s900-uart", "actions,owl-uart"; + reg = <0x0 0xe0124000 0x0 0x2000>; + interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; + }; + + uart3: serial@e0126000 { + compatible = "actions,s900-uart", "actions,owl-uart"; + reg = <0x0 0xe0126000 0x0 0x2000>; + interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; + }; + + uart4: serial@e0128000 { + compatible = "actions,s900-uart", "actions,owl-uart"; + reg = <0x0 0xe0128000 0x0 0x2000>; + interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; + }; + + uart5: serial@e012a000 { + compatible = "actions,s900-uart", "actions,owl-uart"; + reg = <0x0 0xe012a000 0x0 0x2000>; + interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; + }; + + uart6: serial@e012c000 { + compatible = "actions,s900-uart", "actions,owl-uart"; + reg = <0x0 0xe012c000 0x0 0x2000>; + interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; + }; + + timer: timer@e0228000 { + compatible = "actions,s900-timer"; + reg = <0x0 0xe0228000 0x0 0x8000>; + interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "timer1"; + }; + }; +}; Added: head/sys/gnu/dts/arm64/al/alpine-v2-evp.dts ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/gnu/dts/arm64/al/alpine-v2-evp.dts Thu Aug 23 13:21:01 2018 (r338245) @@ -0,0 +1,53 @@ +/* + * Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Antoine Tenart <antoine.ten...@free-electrons.com> + * + * This software is available to you under a choice of one of two + * licenses. You may choose to be licensed under the terms of the GNU + * General Public License (GPL) Version 2, available from the file + * COPYING in the main directory of this source tree, or the + * BSD license below: + * + * Redistribution and use in source and binary forms, with or + * without modification, are permitted provided that the following + * conditions are met: + * + * - Redistributions of source code must retain the above + * copyright notice, this list of conditions and the following + * disclaimer. + * + * - Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials + * provided with the distribution. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + +#include "alpine-v2.dtsi" + +/ { + model = "Annapurna Labs Alpine v2 EVP"; + compatible = "al,alpine-v2-evp", "al,alpine-v2"; + + aliases { + serial0 = &uart0; + serial1 = &uart1; + serial2 = &uart2; + serial3 = &uart3; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&uart0 { status = "okay"; }; Added: head/sys/gnu/dts/arm64/al/alpine-v2.dtsi ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/gnu/dts/arm64/al/alpine-v2.dtsi Thu Aug 23 13:21:01 2018 (r338245) @@ -0,0 +1,236 @@ +/* + * Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Antoine Tenart <antoine.ten...@free-electrons.com> + * + * This software is available to you under a choice of one of two + * licenses. You may choose to be licensed under the terms of the GNU + * General Public License (GPL) Version 2, available from the file + * COPYING in the main directory of this source tree, or the + * BSD license below: + * + * Redistribution and use in source and binary forms, with or + * without modification, are permitted provided that the following + * conditions are met: + * + * - Redistributions of source code must retain the above + * copyright notice, this list of conditions and the following + * disclaimer. + * + * - Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials + * provided with the distribution. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + +/dts-v1/; + +#include <dt-bindings/interrupt-controller/arm-gic.h> + +/ { + model = "Annapurna Labs Alpine v2"; + compatible = "al,alpine-v2"; + #address-cells = <2>; + #size-cells = <2>; + + cpus { + #address-cells = <2>; + #size-cells = <0>; + + cpu@0 { + compatible = "arm,cortex-a57", "arm,armv8"; + device_type = "cpu"; + reg = <0x0 0x0>; + enable-method = "psci"; + }; + + cpu@1 { + compatible = "arm,cortex-a57", "arm,armv8"; + device_type = "cpu"; + reg = <0x0 0x1>; + enable-method = "psci"; + }; + + cpu@2 { + compatible = "arm,cortex-a57", "arm,armv8"; + device_type = "cpu"; + reg = <0x0 0x2>; + enable-method = "psci"; + }; + + cpu@3 { + compatible = "arm,cortex-a57", "arm,armv8"; + device_type = "cpu"; + reg = <0x0 0x3>; + enable-method = "psci"; + }; + }; + + psci { + compatible = "arm,psci-0.2", "arm,psci"; + method = "smc"; + cpu_suspend = <0x84000001>; + cpu_off = <0x84000002>; + cpu_on = <0x84000003>; + }; + + sbclk: sbclk { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <1000000>; + }; + + soc { + compatible = "simple-bus"; + #address-cells = <2>; + #size-cells = <2>; + + interrupt-parent = <&gic>; + ranges; + + timer { + compatible = "arm,armv8-timer"; + interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>, + <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>, + <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>, + <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>; + }; + + pmu { + compatible = "arm,armv8-pmuv3"; + interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>; + }; + + gic: gic@f0100000 { + compatible = "arm,gic-v3"; + reg = <0x0 0xf0200000 0x0 0x10000>, /* GIC Dist */ + <0x0 0xf0280000 0x0 0x200000>, /* GICR */ + <0x0 0xf0100000 0x0 0x2000>, /* GICC */ + <0x0 0xf0110000 0x0 0x2000>, /* GICV */ + <0x0 0xf0120000 0x0 0x2000>; /* GICH */ + interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>; + interrupt-controller; + #interrupt-cells = <3>; + }; + + pci@fbc00000 { + compatible = "pci-host-ecam-generic"; + device_type = "pci"; + #size-cells = <2>; + #address-cells = <3>; + #interrupt-cells = <1>; + reg = <0x0 0xfbc00000 0x0 0x100000>; + interrupt-map-mask = <0xf800 0 0 7>; + /* add legacy interrupts for SATA only */ + interrupt-map = <0x4000 0 0 1 &gic 0 53 4>, + <0x4800 0 0 1 &gic 0 54 4>; + /* 32 bit non prefetchable memory space */ + ranges = <0x2000000 0x0 0xfe000000 0x0 0xfe000000 0x0 0x1000000>; + bus-range = <0x00 0x00>; + msi-parent = <&msix>; + }; + + msix: msix@fbe00000 { + compatible = "al,alpine-msix"; + reg = <0x0 0xfbe00000 0x0 0x100000>; + interrupt-controller; + msi-controller; + al,msi-base-spi = <160>; + al,msi-num-spis = <160>; + }; + + io-fabric { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x0 0xfc000000 0x2000000>; + + uart0: serial@1883000 { + compatible = "ns16550a"; + device_type = "serial"; + reg = <0x1883000 0x1000>; + interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>; + clock-frequency = <500000000>; + reg-shift = <2>; + reg-io-width = <4>; + status = "disabled"; + }; + + uart1: serial@1884000 { + compatible = "ns16550a"; + device_type = "serial"; + reg = <0x1884000 0x1000>; + interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>; + clock-frequency = <500000000>; + reg-shift = <2>; + reg-io-width = <4>; + status = "disabled"; + }; + + uart2: serial@1885000 { + compatible = "ns16550a"; + device_type = "serial"; + reg = <0x1885000 0x1000>; + interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>; + clock-frequency = <500000000>; + reg-shift = <2>; + reg-io-width = <4>; + status = "disabled"; + }; + + uart3: serial@1886000 { + compatible = "ns16550a"; + device_type = "serial"; + reg = <0x1886000 0x1000>; + interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; + clock-frequency = <500000000>; + reg-shift = <2>; + reg-io-width = <4>; + status = "disabled"; + }; + + timer0: timer@1890000 { + compatible = "arm,sp804", "arm,primecell"; + reg = <0x1890000 0x1000>; + interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&sbclk>; + }; + + timer1: timer@1891000 { + compatible = "arm,sp804", "arm,primecell"; + reg = <0x1891000 0x1000>; + interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&sbclk>; + status = "disabled"; + }; + + timer2: timer@1892000 { + compatible = "arm,sp804", "arm,primecell"; + reg = <0x1892000 0x1000>; + interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&sbclk>; + status = "disabled"; + }; + + timer3: timer@1893000 { + compatible = "arm,sp804", "arm,primecell"; + reg = <0x1893000 0x1000>; + interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&sbclk>; + status = "disabled"; + }; + }; + }; +}; Added: head/sys/gnu/dts/arm64/allwinner/axp803.dtsi ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/gnu/dts/arm64/allwinner/axp803.dtsi Thu Aug 23 13:21:01 2018 (r338245) @@ -0,0 +1,155 @@ +/* + * Copyright 2017 Icenowy Zheng <icen...@aosc.xyz> + * + * This file is dual-licensed: you can use it either under the terms + * of the GPL or the X11 license, at your option. Note that this dual + * licensing only applies to this file, and not this project as a + * whole. + * + * a) This file is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * This file is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * Or, alternatively, + * + * b) Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or + * sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + */ + +/* + * AXP803 Integrated Power Management Chip + * http://files.pine64.org/doc/datasheet/pine64/AXP803_Datasheet_V1.0.pdf + */ + +&axp803 { + interrupt-controller; + #interrupt-cells = <1>; + + regulators { + /* Default work frequency for buck regulators */ + x-powers,dcdc-freq = <3000>; + + reg_aldo1: aldo1 { + regulator-name = "aldo1"; + }; + + reg_aldo2: aldo2 { + regulator-name = "aldo2"; + }; + + reg_aldo3: aldo3 { + regulator-name = "aldo3"; + }; + + reg_dc1sw: dc1sw { + regulator-name = "dc1sw"; + }; + + reg_dcdc1: dcdc1 { + regulator-name = "dcdc1"; + }; + + reg_dcdc2: dcdc2 { + regulator-name = "dcdc2"; + }; + + reg_dcdc3: dcdc3 { + regulator-name = "dcdc3"; + }; + + reg_dcdc4: dcdc4 { + regulator-name = "dcdc4"; + }; + + reg_dcdc5: dcdc5 { + regulator-name = "dcdc5"; + }; + + reg_dcdc6: dcdc6 { + regulator-name = "dcdc6"; + }; + + reg_dldo1: dldo1 { + regulator-name = "dldo1"; + }; + + reg_dldo2: dldo2 { + regulator-name = "dldo2"; + }; + + reg_dldo3: dldo3 { + regulator-name = "dldo3"; + }; + + reg_dldo4: dldo4 { + regulator-name = "dldo4"; + }; + + reg_eldo1: eldo1 { + regulator-name = "eldo1"; + }; + + reg_eldo2: eldo2 { + regulator-name = "eldo2"; + }; + + reg_eldo3: eldo3 { + regulator-name = "eldo3"; + }; + + reg_fldo1: fldo1 { + regulator-name = "fldo1"; + }; + + reg_fldo2: fldo2 { + regulator-name = "fldo2"; + }; + + reg_ldo_io0: ldo-io0 { + regulator-name = "ldo-io0"; + status = "disabled"; + }; + + reg_ldo_io1: ldo-io1 { + regulator-name = "ldo-io1"; + status = "disabled"; + }; + + reg_rtc_ldo: rtc-ldo { + /* RTC_LDO is a fixed, always-on regulator */ + regulator-always-on; + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3000000>; + regulator-name = "rtc-ldo"; + }; + + reg_drivevbus: drivevbus { + regulator-name = "drivevbus"; + status = "disabled"; + }; + }; +}; Added: head/sys/gnu/dts/arm64/allwinner/sun50i-a64-bananapi-m64.dts ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/gnu/dts/arm64/allwinner/sun50i-a64-bananapi-m64.dts Thu Aug 23 13:21:01 2018 (r338245) @@ -0,0 +1,320 @@ +/* + * Copyright (c) 2016 ARM Ltd. + * + * This file is dual-licensed: you can use it either under the terms + * of the GPL or the X11 license, at your option. Note that this dual + * licensing only applies to this file, and not this project as a + * whole. + * + * a) This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * Or, alternatively, + * + * b) Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or + * sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + */ + +/dts-v1/; + +#include "sun50i-a64.dtsi" + +#include <dt-bindings/gpio/gpio.h> + +/ { + model = "BananaPi-M64"; + compatible = "sinovoip,bananapi-m64", "allwinner,sun50i-a64"; + + aliases { + ethernet0 = &emac; + serial0 = &uart0; + serial1 = &uart1; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + leds { + compatible = "gpio-leds"; + + pwr-led { + label = "bananapi-m64:red:pwr"; + gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* PD24 */ + default-state = "on"; + }; + + green { + label = "bananapi-m64:green:user"; + gpios = <&pio 4 14 GPIO_ACTIVE_HIGH>; /* PE14 */ + }; + + blue { + label = "bananapi-m64:blue:user"; + gpios = <&pio 4 15 GPIO_ACTIVE_HIGH>; /* PE15 */ + }; + }; + + wifi_pwrseq: wifi_pwrseq { + compatible = "mmc-pwrseq-simple"; + reset-gpios = <&r_pio 0 2 GPIO_ACTIVE_LOW>; /* PL2 */ + }; +}; + +&ehci0 { + status = "okay"; +}; + +&ehci1 { + status = "okay"; +}; + +&emac { + pinctrl-names = "default"; + pinctrl-0 = <&rgmii_pins>; + phy-mode = "rgmii"; + phy-handle = <&ext_rgmii_phy>; + phy-supply = <®_dc1sw>; + status = "okay"; +}; + +&i2c1 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c1_pins>; + status = "okay"; +}; + *** DIFF OUTPUT TRUNCATED AT 1000 LINES *** _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"