Skip to content
Snippets Groups Projects
Commit 619526d2 authored by Leo Yan's avatar Leo Yan Committed by Erik Schilling
Browse files

arch: arm64: dts: Add virt-2.8-linaro board


Signed-off-by: default avatarLoic Poulain <loic.poulain@linaro.org>
parent 7bbf3b67
No related branches found
No related tags found
No related merge requests found
...@@ -7,3 +7,4 @@ dtb-$(CONFIG_ARCH_VEXPRESS) += rtsm_ve-aemv8a.dtb ...@@ -7,3 +7,4 @@ dtb-$(CONFIG_ARCH_VEXPRESS) += rtsm_ve-aemv8a.dtb
dtb-$(CONFIG_ARCH_VEXPRESS) += vexpress-v2f-1xv7-ca53x2.dtb dtb-$(CONFIG_ARCH_VEXPRESS) += vexpress-v2f-1xv7-ca53x2.dtb
dtb-$(CONFIG_ARCH_VEXPRESS) += fvp-base-revc.dtb dtb-$(CONFIG_ARCH_VEXPRESS) += fvp-base-revc.dtb
dtb-$(CONFIG_ARCH_VEXPRESS) += corstone1000-fvp.dtb corstone1000-mps3.dtb dtb-$(CONFIG_ARCH_VEXPRESS) += corstone1000-fvp.dtb corstone1000-mps3.dtb
dtb-y += virt-2.8-linaro.dtb
/include/ "virt-2.8.dtsi"
/ {
chosen {
stdout-path = "/pl011@9000000";
};
memory@40000000 {
reg = <0x0 0x40000000 0x0 0x8000000>;
device_type = "memory";
};
pl011@9000000 {
status = "okay";
};
gpio-keys {
compatible = "gpio-keys";
poweroff {
gpios = <&gpioc 0x3 0x0>;
linux,code = <116>;
label = "GPIO Key Poweroff";
};
};
};
&i2c0 {
status = "okay";
temp@48 {
compatible = "ti,tmp105";
reg = <0x48>;
alert-gpios = <&gpioc 0x4 0x0>;
};
};
/dts-v1/;
/ {
interrupt-parent = <&intc>;
#size-cells = <0x2>;
#address-cells = <0x2>;
compatible = "linux,dummy-virt";
cpus {
#size-cells = <0x0>;
#address-cells = <0x1>;
cpu@0 {
reg = <0x0>;
compatible = "arm,cortex-a57";
device_type = "cpu";
};
};
fw-cfg@9020000 {
compatible = "qemu,fw-cfg-mmio";
dma-coherent;
reg = <0x0 0x9020000 0x0 0x18>;
};
gpioc: pl061@9030000 {
compatible = "arm,pl061", "arm,primecell";
reg = <0x0 0x9030000 0x0 0x1000>;
clock-names = "apb_pclk";
clocks = <&clk24>;
interrupts = <0x0 0x7 0x4>;
gpio-controller;
#gpio-cells = <0x2>;
};
serial0: pl011@9000000 {
compatible = "arm,pl011", "arm,primecell";
clock-names = "uartclk", "apb_pclk";
clocks = <&clk24 &clk24>;
interrupts = <0x0 0x1 0x4>;
reg = <0x0 0x9000000 0x0 0x1000>;
status = "disabled";
};
serial1: pl011@9040000 {
compatible = "arm,pl011", "arm,primecell";
clock-names = "uartclk", "apb_pclk";
clocks = <&clk24 &clk24>;
interrupts = <0x0 0x1 0x4>;
reg = <0x0 0x9040000 0x0 0x1000>;
status = "disabled";
};
rtc: pl031@9010000 {
compatible = "arm,pl031", "arm,primecell";
reg = <0x0 0x9010000 0x0 0x1000>;
clock-names = "apb_pclk";
clocks = <&clk24>;
interrupts = <0x0 0x2 0x4>;
};
i2c0: i2c@901a000 {
compatible = "arm,versatile-i2c";
reg = <0x0 0x0901a000 0x0 0x1000>;
#address-cells = <0x1>;
#size-cells = <0x0>;
status = "disabled";
};
intc: intc@8000000 {
compatible = "arm,cortex-a15-gic";
reg = <0x0 0x8000000 0x0 0x10000 0x0 0x8010000 0x0 0x10000>;
ranges;
#size-cells = <0x2>;
#address-cells = <0x2>;
interrupt-controller;
#interrupt-cells = <0x3>;
v2m: v2m@8020000 {
compatible = "arm,gic-v2m-frame";
reg = <0x0 0x8020000 0x0 0x1000>;
msi-controller;
};
};
clk24: apb-pclk {
compatible = "fixed-clock";
clock-output-names = "clk24mhz";
clock-frequency = <24000000>;
#clock-cells = <0>;
};
pmu {
compatible = "arm,armv8-pmuv3";
interrupts = <0x1 0x7 0x104>;
};
flash@0 {
compatible = "cfi-flash";
bank-width = <0x4>;
reg = <0x0 0x0 0x0 0x4000000 0x0 0x4000000 0x0 0x4000000>;
};
psci {
compatible = "arm,psci-0.2", "arm,psci";
migrate = <0xc4000005>;
cpu_on = <0xc4000003>;
cpu_off = <0x84000002>;
cpu_suspend = <0xc4000001>;
method = "hvc";
};
timer {
compatible = "arm,armv8-timer", "arm,armv7-timer";
interrupts = <0x1 0xd 0x104 0x1 0xe 0x104 0x1 0xb 0x104 0x1 0xa 0x104>;
always-on;
};
/* pci for virtio-pci-net */
pcie@10000000 {
compatible = "pci-host-ecam-generic";
reg = <0x00000040 0x10000000 0x00000000 0x10000000>;
msi-parent = <&v2m>;
dma-coherent;
bus-range = <0x00000000 0x000000ff>;
linux,pci-domain = <0x00000000>;
#size-cells = <0x00000002>;
#address-cells = <0x00000003>;
device_type = "pci";
interrupt-map-mask = <0x00001800 0x00000000 0x00000000 0x00000007>;
interrupt-map = <0x0 0x0 0x0 0x1 0x8001 0x0 0x0 0x0 0x3 0x4
0x0 0x0 0x0 0x2 0x8001 0x0 0x0 0x0 0x4 0x4
0x0 0x0 0x0 0x3 0x8001 0x0 0x0 0x0 0x5 0x4
0x0 0x0 0x0 0x4 0x8001 0x0 0x0 0x0 0x6 0x4
0x800 0x0 0x0 0x1 0x8001 0x0 0x0 0x0 0x4 0x4
0x800 0x0 0x0 0x2 0x8001 0x0 0x0 0x0 0x5 0x4
0x800 0x0 0x0 0x3 0x8001 0x0 0x0 0x0 0x6 0x4
0x800 0x0 0x0 0x4 0x8001 0x0 0x0 0x0 0x3 0x4
0x1000 0x0 0x0 0x1 0x8001 0x0 0x0 0x0 0x5 0x4
0x1000 0x0 0x0 0x2 0x8001 0x0 0x0 0x0 0x6 0x4
0x1000 0x0 0x0 0x3 0x8001 0x0 0x0 0x0 0x3 0x4
0x1000 0x0 0x0 0x4 0x8001 0x0 0x0 0x0 0x4 0x4
0x1800 0x0 0x0 0x1 0x8001 0x0 0x0 0x0 0x6 0x4
0x1800 0x0 0x0 0x2 0x8001 0x0 0x0 0x0 0x3 0x4
0x1800 0x0 0x0 0x3 0x8001 0x0 0x0 0x0 0x4 0x4
0x1800 0x0 0x0 0x4 0x8001 0x0 0x0 0x0 0x5 0x4>;
#interrupt-cells = <1>;
ranges = <0x1000000 0x0 0x0 0x0 0x3eff0000 0x0 0x10000
0x2000000 0x0 0x10000000 0x0 0x10000000 0x0 0x2eff0000
0x3000000 0x80 0x0 0x80 0x0 0x80 0x0>;
};
/* add few virtio-mmio for disk, fs etc... */
virtio_mmio@a003a00 {
dma-coherent;
interrupts = <0x0 0x2d 0x1>;
reg = <0x0 0x0a003a00 0x0 0x200>;
compatible = "virtio,mmio";
};
virtio_mmio@a003c00 {
dma-coherent;
interrupts = <0x0 0x0000002e 0x1>;
reg = <0x0 0x0a003c00 0x0 0x200>;
compatible = "virtio,mmio";
};
virtio_mmio@a003e00 {
dma-coherent;
interrupts = <0x0 0x0000002f 0x1>;
reg = <0x0 0x0a003e00 0x0 0x200>;
compatible = "virtio,mmio";
};
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment