5b1309542e
Add overlay files and activate devicetree file for NanoPi NEO2 featuring Allwinner H5 ARM64 core. To enable sound, dma and codec drivers are enabled for build. Submitted by: Manuel Stühn (freebsdnewbie@freenet.de) MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D20129
27 lines
603 B
Plaintext
27 lines
603 B
Plaintext
/dts-v1/;
|
|
/plugin/;
|
|
|
|
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
|
#include <dt-bindings/clock/sun8i-h3-ccu.h>
|
|
#include <dt-bindings/reset/sun8i-h3-ccu.h>
|
|
|
|
/ {
|
|
compatible = "allwinner,sun50i-h5";
|
|
};
|
|
|
|
&{/soc} {
|
|
ths: thermal_sensor@1c25000 {
|
|
compatible = "allwinner,sun50i-h5-ths";
|
|
reg = <0x01c25000 0x100>;
|
|
interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
|
|
clocks = <&ccu CLK_BUS_THS>, <&ccu CLK_THS>;
|
|
clock-names = "apb", "ths";
|
|
resets = <&ccu RST_BUS_THS>;
|
|
reset-names = "apb";
|
|
#thermal-sensor-cells = <1>;
|
|
|
|
nvmem-cells = <&ths_calib>;
|
|
nvmem-cell-names = "ths-calib";
|
|
};
|
|
};
|