Index: head/sys/dts/arm64/Makefile =================================================================== --- head/sys/dts/arm64/Makefile (nonexistent) +++ head/sys/dts/arm64/Makefile (revision 338294) @@ -0,0 +1,7 @@ +# $FreeBSD$ + +DTS!=ls *.dts + +all: test-dts + +.include Property changes on: head/sys/dts/arm64/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/sys/dts/arm64/overlays/Makefile =================================================================== --- head/sys/dts/arm64/overlays/Makefile (nonexistent) +++ head/sys/dts/arm64/overlays/Makefile (revision 338294) @@ -0,0 +1,7 @@ +# $FreeBSD$ + +DTSO!=ls *.dtso + +all: test-dtso + +.include Property changes on: head/sys/dts/arm64/overlays/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/sys/dts/arm64/overlays/sun50i-a64-sid.dtso =================================================================== --- head/sys/dts/arm64/overlays/sun50i-a64-sid.dtso (nonexistent) +++ head/sys/dts/arm64/overlays/sun50i-a64-sid.dtso (revision 338294) @@ -0,0 +1,17 @@ +/dts-v1/; +/plugin/; + +/ { + compatible = "allwinner,sun50i-a64"; +}; + +&{/soc} { + sid: eeprom@1c14000 { + compatible = "allwinner,sun50i-a64-sid"; + reg = <0x1c14000 0x400>; + + ths_calib: calib@234 { + reg = <0x234 0x6>; + }; + }; +}; Property changes on: head/sys/dts/arm64/overlays/sun50i-a64-sid.dtso ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/sys/dts/arm64/overlays/sun50i-a64-ths.dtso =================================================================== --- head/sys/dts/arm64/overlays/sun50i-a64-ths.dtso (nonexistent) +++ head/sys/dts/arm64/overlays/sun50i-a64-ths.dtso (revision 338294) @@ -0,0 +1,27 @@ +/dts-v1/; +/plugin/; + +#include +#include +#include + +/ { + compatible = "allwinner,sun50i-a64"; +}; + +&{/soc} { + ths: thermal_sensor@1c25000 { + compatible = "allwinner,sun50i-a64-ths"; + reg = <0x01c25000 0x100>; + interrupts = ; + clocks = <&ccu CLK_BUS_THS>, <&ccu CLK_THS>; + clock-names = "apb", "ths"; + resets = <&ccu RST_BUS_THS>; + reset-names = "apb"; + #thermal-sensor-cells = <2>; + status = "okay"; + + nvmem-cells = <&ths_calib>; + nvmem-cell-names = "ths-calib"; + }; +}; Property changes on: head/sys/dts/arm64/overlays/sun50i-a64-ths.dtso ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/sys/dts/arm64/overlays/sun50i-a64-timer.dtso =================================================================== --- head/sys/dts/arm64/overlays/sun50i-a64-timer.dtso (nonexistent) +++ head/sys/dts/arm64/overlays/sun50i-a64-timer.dtso (revision 338294) @@ -0,0 +1,17 @@ +/dts-v1/; +/plugin/; + +#include +/ { + compatible = "allwinner,sun50i-a64"; +}; + +&{/soc} { + timer@1c20c00 { + compatible = "allwinner,sun8i-a23-timer"; + reg = <0x1c20c00 0x2C>; + interrupts = , + ; + status = "okay"; + }; +}; Property changes on: head/sys/dts/arm64/overlays/sun50i-a64-timer.dtso ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/sys/modules/dtb/allwinner/Makefile =================================================================== --- head/sys/modules/dtb/allwinner/Makefile (revision 338293) +++ head/sys/modules/dtb/allwinner/Makefile (revision 338294) @@ -1,48 +1,53 @@ # $FreeBSD$ # All the dts files for allwinner systems we support. .if ${MACHINE_ARCH} == "armv7" DTS= \ sun4i-a10-cubieboard.dts \ sun4i-a10-olinuxino-lime.dts \ sun6i-a31s-sinovoip-bpi-m2.dts \ sun5i-a13-olinuxino.dts \ sun5i-r8-chip.dts \ sun7i-a20-bananapi.dts \ sun7i-a20-cubieboard2.dts \ sun7i-a20-lamobo-r1.dts \ sun7i-a20-olimex-som-evb.dts \ sun7i-a20-pcduino3.dts \ sun8i-a83t-bananapi-m3.dts \ sun8i-h2-plus-orangepi-r1.dts \ sun8i-h2-plus-orangepi-zero.dts \ sun8i-h3-nanopi-m1.dts \ sun8i-h3-nanopi-m1-plus.dts \ sun8i-h3-nanopi-neo.dts \ sun8i-h3-orangepi-one.dts \ sun8i-h3-orangepi-plus2e.dts DTSO= sun8i-a83t-sid.dtso \ sun8i-h3-sid.dtso LINKS= \ ${DTBDIR}/sun4i-a10-cubieboard.dtb ${DTBDIR}/cubieboard.dtb \ ${DTBDIR}/sun4i-a10-olinuxino-lime.dtb ${DTBDIR}/olinuxino-lime.dtb \ ${DTBDIR}/sun6i-a31s-sinovoip-bpi-m2.dtb ${DTBDIR}/bananapim2.dtb \ ${DTBDIR}/sun7i-a20-bananapi.dtb ${DTBDIR}/bananapi.dtb \ ${DTBDIR}/sun7i-a20-cubieboard2.dtb ${DTBDIR}/cubieboard2.dtb \ ${DTBDIR}/sun7i-a20-olimex-som-evb.dtb ${DTBDIR}/olimex-a20-som-evb.dtb \ ${DTBDIR}/sun7i-a20-pcduino3.dtb ${DTBDIR}/pcduino3.dtb \ ${DTBDIR}/sun8i-a83t-bananapi-m3.dtb ${DTBDIR}/sinovoip-bpi-m3.dtb \ ${DTBDIR}/sun8i-a83t-bananapi-m3.dtb ${DTBDIR}/sun8i-a83t-sinovoip-bpi-m3.dtb .elif ${MACHINE_ARCH} == "aarch64" DTS= \ allwinner/sun50i-a64-nanopi-a64.dts \ allwinner/sun50i-a64-olinuxino.dts \ allwinner/sun50i-a64-pine64-plus.dts \ allwinner/sun50i-a64-pine64.dts \ allwinner/sun50i-a64-sopine-baseboard.dts \ allwinner/sun50i-h5-orangepi-pc2.dts + +DTSO= sun50i-a64-sid.dtso \ + sun50i-a64-ths.dtso \ + sun50i-a64-timer.dtso + .endif .include