19ccd6080SKristina Martsenko/*
29ccd6080SKristina Martsenko * ARM Ltd. Versatile Express
39ccd6080SKristina Martsenko *
49ccd6080SKristina Martsenko * LogicTile Express 20MG
59ccd6080SKristina Martsenko * V2F-1XV7
69ccd6080SKristina Martsenko *
79ccd6080SKristina Martsenko * Cortex-A53 (2 cores) Soft Macrocell Model
89ccd6080SKristina Martsenko *
99ccd6080SKristina Martsenko * HBI-0247C
109ccd6080SKristina Martsenko */
119ccd6080SKristina Martsenko
129ccd6080SKristina Martsenko/dts-v1/;
139ccd6080SKristina Martsenko
149ccd6080SKristina Martsenko#include <dt-bindings/interrupt-controller/arm-gic.h>
159ccd6080SKristina Martsenko
169ccd6080SKristina Martsenko/ {
179ccd6080SKristina Martsenko	model = "V2F-1XV7 Cortex-A53x2 SMM";
189ccd6080SKristina Martsenko	arm,hbi = <0x247>;
199ccd6080SKristina Martsenko	arm,vexpress,site = <0xf>;
209ccd6080SKristina Martsenko	compatible = "arm,vexpress,v2f-1xv7,ca53x2", "arm,vexpress,v2f-1xv7", "arm,vexpress";
219ccd6080SKristina Martsenko	interrupt-parent = <&gic>;
229ccd6080SKristina Martsenko	#address-cells = <2>;
239ccd6080SKristina Martsenko	#size-cells = <2>;
249ccd6080SKristina Martsenko
259ccd6080SKristina Martsenko	chosen {
269ccd6080SKristina Martsenko		stdout-path = "serial0:38400n8";
279ccd6080SKristina Martsenko	};
289ccd6080SKristina Martsenko
299ccd6080SKristina Martsenko	aliases {
309ccd6080SKristina Martsenko		serial0 = &v2m_serial0;
319ccd6080SKristina Martsenko		serial1 = &v2m_serial1;
329ccd6080SKristina Martsenko		serial2 = &v2m_serial2;
339ccd6080SKristina Martsenko		serial3 = &v2m_serial3;
349ccd6080SKristina Martsenko		i2c0 = &v2m_i2c_dvi;
359ccd6080SKristina Martsenko		i2c1 = &v2m_i2c_pcie;
369ccd6080SKristina Martsenko	};
379ccd6080SKristina Martsenko
389ccd6080SKristina Martsenko	cpus {
399ccd6080SKristina Martsenko		#address-cells = <2>;
409ccd6080SKristina Martsenko		#size-cells = <0>;
419ccd6080SKristina Martsenko
429ccd6080SKristina Martsenko		cpu@0 {
439ccd6080SKristina Martsenko			device_type = "cpu";
449ccd6080SKristina Martsenko			compatible = "arm,cortex-a53", "arm,armv8";
459ccd6080SKristina Martsenko			reg = <0 0>;
469ccd6080SKristina Martsenko			next-level-cache = <&L2_0>;
479ccd6080SKristina Martsenko		};
489ccd6080SKristina Martsenko
499ccd6080SKristina Martsenko		cpu@1 {
509ccd6080SKristina Martsenko			device_type = "cpu";
519ccd6080SKristina Martsenko			compatible = "arm,cortex-a53", "arm,armv8";
529ccd6080SKristina Martsenko			reg = <0 1>;
539ccd6080SKristina Martsenko			next-level-cache = <&L2_0>;
549ccd6080SKristina Martsenko		};
559ccd6080SKristina Martsenko
569ccd6080SKristina Martsenko		L2_0: l2-cache0 {
579ccd6080SKristina Martsenko			compatible = "cache";
589ccd6080SKristina Martsenko		};
599ccd6080SKristina Martsenko	};
609ccd6080SKristina Martsenko
619ccd6080SKristina Martsenko	memory@80000000 {
629ccd6080SKristina Martsenko		device_type = "memory";
639ccd6080SKristina Martsenko		reg = <0 0x80000000 0 0x80000000>; /* 2GB @ 2GB */
649ccd6080SKristina Martsenko	};
659ccd6080SKristina Martsenko
669ccd6080SKristina Martsenko	gic: interrupt-controller@2c001000 {
679ccd6080SKristina Martsenko		compatible = "arm,gic-400";
689ccd6080SKristina Martsenko		#interrupt-cells = <3>;
699ccd6080SKristina Martsenko		#address-cells = <0>;
709ccd6080SKristina Martsenko		interrupt-controller;
719ccd6080SKristina Martsenko		reg = <0 0x2c001000 0 0x1000>,
729ccd6080SKristina Martsenko		      <0 0x2c002000 0 0x2000>,
739ccd6080SKristina Martsenko		      <0 0x2c004000 0 0x2000>,
749ccd6080SKristina Martsenko		      <0 0x2c006000 0 0x2000>;
759ccd6080SKristina Martsenko		interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
769ccd6080SKristina Martsenko	};
779ccd6080SKristina Martsenko
789ccd6080SKristina Martsenko	timer {
799ccd6080SKristina Martsenko		compatible = "arm,armv8-timer";
809ccd6080SKristina Martsenko		interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
819ccd6080SKristina Martsenko			     <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
829ccd6080SKristina Martsenko			     <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
839ccd6080SKristina Martsenko			     <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
849ccd6080SKristina Martsenko	};
859ccd6080SKristina Martsenko
869ccd6080SKristina Martsenko	pmu {
879ccd6080SKristina Martsenko		compatible = "arm,armv8-pmuv3";
889ccd6080SKristina Martsenko		interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
899ccd6080SKristina Martsenko			     <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
909ccd6080SKristina Martsenko	};
919ccd6080SKristina Martsenko
929ccd6080SKristina Martsenko	dcc {
939ccd6080SKristina Martsenko		compatible = "arm,vexpress,config-bus";
949ccd6080SKristina Martsenko		arm,vexpress,config-bridge = <&v2m_sysreg>;
959ccd6080SKristina Martsenko
966d6acd14SSudeep Holla		smbclk: smclk {
979ccd6080SKristina Martsenko			/* SMC clock */
989ccd6080SKristina Martsenko			compatible = "arm,vexpress-osc";
999ccd6080SKristina Martsenko			arm,vexpress-sysreg,func = <1 4>;
1009ccd6080SKristina Martsenko			freq-range = <40000000 40000000>;
1019ccd6080SKristina Martsenko			#clock-cells = <0>;
1029ccd6080SKristina Martsenko			clock-output-names = "smclk";
1039ccd6080SKristina Martsenko		};
1049ccd6080SKristina Martsenko
1056d6acd14SSudeep Holla		volt-vio {
1069ccd6080SKristina Martsenko			/* VIO to expansion board above */
1079ccd6080SKristina Martsenko			compatible = "arm,vexpress-volt";
1089ccd6080SKristina Martsenko			arm,vexpress-sysreg,func = <2 0>;
1099ccd6080SKristina Martsenko			regulator-name = "VIO_UP";
1109ccd6080SKristina Martsenko			regulator-min-microvolt = <800000>;
1119ccd6080SKristina Martsenko			regulator-max-microvolt = <1800000>;
1129ccd6080SKristina Martsenko			regulator-always-on;
1139ccd6080SKristina Martsenko		};
1149ccd6080SKristina Martsenko
1156d6acd14SSudeep Holla		volt-12v {
1169ccd6080SKristina Martsenko			/* 12V from power connector J6 */
1179ccd6080SKristina Martsenko			compatible = "arm,vexpress-volt";
1189ccd6080SKristina Martsenko			arm,vexpress-sysreg,func = <2 1>;
1199ccd6080SKristina Martsenko			regulator-name = "12";
1209ccd6080SKristina Martsenko			regulator-always-on;
1219ccd6080SKristina Martsenko		};
1229ccd6080SKristina Martsenko
1236d6acd14SSudeep Holla		temp-fpga {
1249ccd6080SKristina Martsenko			/* FPGA temperature */
1259ccd6080SKristina Martsenko			compatible = "arm,vexpress-temp";
1269ccd6080SKristina Martsenko			arm,vexpress-sysreg,func = <4 0>;
1279ccd6080SKristina Martsenko			label = "FPGA";
1289ccd6080SKristina Martsenko		};
1299ccd6080SKristina Martsenko	};
1309ccd6080SKristina Martsenko
1316d6acd14SSudeep Holla	smb@08000000 {
1329ccd6080SKristina Martsenko		compatible = "simple-bus";
1339ccd6080SKristina Martsenko
1349ccd6080SKristina Martsenko		#address-cells = <2>;
1359ccd6080SKristina Martsenko		#size-cells = <1>;
1369ccd6080SKristina Martsenko		ranges = <0 0 0 0x08000000 0x04000000>,
1379ccd6080SKristina Martsenko			 <1 0 0 0x14000000 0x04000000>,
1389ccd6080SKristina Martsenko			 <2 0 0 0x18000000 0x04000000>,
1399ccd6080SKristina Martsenko			 <3 0 0 0x1c000000 0x04000000>,
1409ccd6080SKristina Martsenko			 <4 0 0 0x0c000000 0x04000000>,
1419ccd6080SKristina Martsenko			 <5 0 0 0x10000000 0x04000000>;
1429ccd6080SKristina Martsenko
1439ccd6080SKristina Martsenko		#interrupt-cells = <1>;
1449ccd6080SKristina Martsenko		interrupt-map-mask = <0 0 63>;
1459ccd6080SKristina Martsenko		interrupt-map = <0 0  0 &gic GIC_SPI  0 IRQ_TYPE_LEVEL_HIGH>,
1469ccd6080SKristina Martsenko				<0 0  1 &gic GIC_SPI  1 IRQ_TYPE_LEVEL_HIGH>,
1479ccd6080SKristina Martsenko				<0 0  2 &gic GIC_SPI  2 IRQ_TYPE_LEVEL_HIGH>,
1489ccd6080SKristina Martsenko				<0 0  3 &gic GIC_SPI  3 IRQ_TYPE_LEVEL_HIGH>,
1499ccd6080SKristina Martsenko				<0 0  4 &gic GIC_SPI  4 IRQ_TYPE_LEVEL_HIGH>,
1509ccd6080SKristina Martsenko				<0 0  5 &gic GIC_SPI  5 IRQ_TYPE_LEVEL_HIGH>,
1519ccd6080SKristina Martsenko				<0 0  6 &gic GIC_SPI  6 IRQ_TYPE_LEVEL_HIGH>,
1529ccd6080SKristina Martsenko				<0 0  7 &gic GIC_SPI  7 IRQ_TYPE_LEVEL_HIGH>,
1539ccd6080SKristina Martsenko				<0 0  8 &gic GIC_SPI  8 IRQ_TYPE_LEVEL_HIGH>,
1549ccd6080SKristina Martsenko				<0 0  9 &gic GIC_SPI  9 IRQ_TYPE_LEVEL_HIGH>,
1559ccd6080SKristina Martsenko				<0 0 10 &gic GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>,
1569ccd6080SKristina Martsenko				<0 0 11 &gic GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>,
1579ccd6080SKristina Martsenko				<0 0 12 &gic GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
1589ccd6080SKristina Martsenko				<0 0 13 &gic GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
1599ccd6080SKristina Martsenko				<0 0 14 &gic GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>,
1609ccd6080SKristina Martsenko				<0 0 15 &gic GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>,
1619ccd6080SKristina Martsenko				<0 0 16 &gic GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>,
1629ccd6080SKristina Martsenko				<0 0 17 &gic GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>,
1639ccd6080SKristina Martsenko				<0 0 18 &gic GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>,
1649ccd6080SKristina Martsenko				<0 0 19 &gic GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>,
1659ccd6080SKristina Martsenko				<0 0 20 &gic GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>,
1669ccd6080SKristina Martsenko				<0 0 21 &gic GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>,
1679ccd6080SKristina Martsenko				<0 0 22 &gic GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>,
1689ccd6080SKristina Martsenko				<0 0 23 &gic GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>,
1699ccd6080SKristina Martsenko				<0 0 24 &gic GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>,
1709ccd6080SKristina Martsenko				<0 0 25 &gic GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>,
1719ccd6080SKristina Martsenko				<0 0 26 &gic GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>,
1729ccd6080SKristina Martsenko				<0 0 27 &gic GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>,
1739ccd6080SKristina Martsenko				<0 0 28 &gic GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>,
1749ccd6080SKristina Martsenko				<0 0 29 &gic GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>,
1759ccd6080SKristina Martsenko				<0 0 30 &gic GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>,
1769ccd6080SKristina Martsenko				<0 0 31 &gic GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>,
1779ccd6080SKristina Martsenko				<0 0 32 &gic GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>,
1789ccd6080SKristina Martsenko				<0 0 33 &gic GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>,
1799ccd6080SKristina Martsenko				<0 0 34 &gic GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>,
1809ccd6080SKristina Martsenko				<0 0 35 &gic GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>,
1819ccd6080SKristina Martsenko				<0 0 36 &gic GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>,
1829ccd6080SKristina Martsenko				<0 0 37 &gic GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>,
1839ccd6080SKristina Martsenko				<0 0 38 &gic GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>,
1849ccd6080SKristina Martsenko				<0 0 39 &gic GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
1859ccd6080SKristina Martsenko				<0 0 40 &gic GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
1869ccd6080SKristina Martsenko				<0 0 41 &gic GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
1879ccd6080SKristina Martsenko				<0 0 42 &gic GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
1889ccd6080SKristina Martsenko
1898ee57b81SIan Campbell		/include/ "vexpress-v2m-rs1.dtsi"
1909ccd6080SKristina Martsenko	};
1919ccd6080SKristina Martsenko};
192