1b2441318SGreg Kroah-Hartman// SPDX-License-Identifier: GPL-2.0 2d11a8979SAndre Przywara/* 3d11a8979SAndre Przywara * ARM Ltd. 4d11a8979SAndre Przywara * 5d11a8979SAndre Przywara * ARMv8 Foundation model DTS 6d11a8979SAndre Przywara */ 7d11a8979SAndre Przywara 8d11a8979SAndre Przywara/dts-v1/; 9d11a8979SAndre Przywara 10ef972714SSudeep Holla#include <dt-bindings/interrupt-controller/arm-gic.h> 11ef972714SSudeep Holla 12d11a8979SAndre Przywara/memreserve/ 0x80000000 0x00010000; 13d11a8979SAndre Przywara 14d11a8979SAndre Przywara/ { 15d11a8979SAndre Przywara model = "Foundation-v8A"; 16d11a8979SAndre Przywara compatible = "arm,foundation-aarch64", "arm,vexpress"; 17d11a8979SAndre Przywara interrupt-parent = <&gic>; 18d11a8979SAndre Przywara #address-cells = <2>; 19d11a8979SAndre Przywara #size-cells = <2>; 20d11a8979SAndre Przywara 21d11a8979SAndre Przywara chosen { }; 22d11a8979SAndre Przywara 23d11a8979SAndre Przywara aliases { 24d11a8979SAndre Przywara serial0 = &v2m_serial0; 25d11a8979SAndre Przywara serial1 = &v2m_serial1; 26d11a8979SAndre Przywara serial2 = &v2m_serial2; 27d11a8979SAndre Przywara serial3 = &v2m_serial3; 28d11a8979SAndre Przywara }; 29d11a8979SAndre Przywara 30d11a8979SAndre Przywara cpus { 31d11a8979SAndre Przywara #address-cells = <2>; 32d11a8979SAndre Przywara #size-cells = <0>; 33d11a8979SAndre Przywara 34bc3d3447SDaniel Thompson cpu0: cpu@0 { 35d11a8979SAndre Przywara device_type = "cpu"; 36d11a8979SAndre Przywara compatible = "arm,armv8"; 37d11a8979SAndre Przywara reg = <0x0 0x0>; 38d11a8979SAndre Przywara next-level-cache = <&L2_0>; 39d11a8979SAndre Przywara }; 40bc3d3447SDaniel Thompson cpu1: cpu@1 { 41d11a8979SAndre Przywara device_type = "cpu"; 42d11a8979SAndre Przywara compatible = "arm,armv8"; 43d11a8979SAndre Przywara reg = <0x0 0x1>; 44d11a8979SAndre Przywara next-level-cache = <&L2_0>; 45d11a8979SAndre Przywara }; 46bc3d3447SDaniel Thompson cpu2: cpu@2 { 47d11a8979SAndre Przywara device_type = "cpu"; 48d11a8979SAndre Przywara compatible = "arm,armv8"; 49d11a8979SAndre Przywara reg = <0x0 0x2>; 50d11a8979SAndre Przywara next-level-cache = <&L2_0>; 51d11a8979SAndre Przywara }; 52bc3d3447SDaniel Thompson cpu3: cpu@3 { 53d11a8979SAndre Przywara device_type = "cpu"; 54d11a8979SAndre Przywara compatible = "arm,armv8"; 55d11a8979SAndre Przywara reg = <0x0 0x3>; 56d11a8979SAndre Przywara next-level-cache = <&L2_0>; 57d11a8979SAndre Przywara }; 58d11a8979SAndre Przywara 59d11a8979SAndre Przywara L2_0: l2-cache0 { 60d11a8979SAndre Przywara compatible = "cache"; 6159fb813fSPierre Gondois cache-level = <2>; 62*55b37d9cSKrzysztof Kozlowski cache-unified; 63d11a8979SAndre Przywara }; 64d11a8979SAndre Przywara }; 65d11a8979SAndre Przywara 66d11a8979SAndre Przywara memory@80000000 { 67d11a8979SAndre Przywara device_type = "memory"; 68d11a8979SAndre Przywara reg = <0x00000000 0x80000000 0 0x80000000>, 69d11a8979SAndre Przywara <0x00000008 0x80000000 0 0x80000000>; 70d11a8979SAndre Przywara }; 71d11a8979SAndre Przywara 72d11a8979SAndre Przywara timer { 73d11a8979SAndre Przywara compatible = "arm,armv8-timer"; 74ef972714SSudeep Holla interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, 75ef972714SSudeep Holla <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, 76ef972714SSudeep Holla <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, 77ef972714SSudeep Holla <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>; 78d11a8979SAndre Przywara clock-frequency = <100000000>; 79d11a8979SAndre Przywara }; 80d11a8979SAndre Przywara 81d11a8979SAndre Przywara pmu { 82d11a8979SAndre Przywara compatible = "arm,armv8-pmuv3"; 83ef972714SSudeep Holla interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>, 84ef972714SSudeep Holla <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>, 85ef972714SSudeep Holla <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>, 86ef972714SSudeep Holla <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>; 87d11a8979SAndre Przywara }; 88d11a8979SAndre Przywara 893bd7a021SJames Clark spe-pmu { 903bd7a021SJames Clark compatible = "arm,statistical-profiling-extension-v1"; 913bd7a021SJames Clark interrupts = <GIC_PPI 5 IRQ_TYPE_LEVEL_HIGH>; 923bd7a021SJames Clark }; 933bd7a021SJames Clark 944739f744SFu Wei watchdog@2a440000 { 954739f744SFu Wei compatible = "arm,sbsa-gwdt"; 964739f744SFu Wei reg = <0x0 0x2a440000 0 0x1000>, 974739f744SFu Wei <0x0 0x2a450000 0 0x1000>; 98ef972714SSudeep Holla interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>; 994739f744SFu Wei timeout-sec = <30>; 1004739f744SFu Wei }; 1014739f744SFu Wei 102feebdc3fSAndre Przywara v2m_clk24mhz: clk24mhz { 103feebdc3fSAndre Przywara compatible = "fixed-clock"; 104feebdc3fSAndre Przywara #clock-cells = <0>; 105feebdc3fSAndre Przywara clock-frequency = <24000000>; 106feebdc3fSAndre Przywara clock-output-names = "v2m:clk24mhz"; 107feebdc3fSAndre Przywara }; 108feebdc3fSAndre Przywara 109feebdc3fSAndre Przywara v2m_refclk1mhz: refclk1mhz { 110feebdc3fSAndre Przywara compatible = "fixed-clock"; 111feebdc3fSAndre Przywara #clock-cells = <0>; 112feebdc3fSAndre Przywara clock-frequency = <1000000>; 113feebdc3fSAndre Przywara clock-output-names = "v2m:refclk1mhz"; 114feebdc3fSAndre Przywara }; 115feebdc3fSAndre Przywara 116feebdc3fSAndre Przywara v2m_refclk32khz: refclk32khz { 117feebdc3fSAndre Przywara compatible = "fixed-clock"; 118feebdc3fSAndre Przywara #clock-cells = <0>; 119feebdc3fSAndre Przywara clock-frequency = <32768>; 120feebdc3fSAndre Przywara clock-output-names = "v2m:refclk32khz"; 121feebdc3fSAndre Przywara }; 122feebdc3fSAndre Przywara 123bee7ff37SLinus Walleij bus@8000000 { 124d11a8979SAndre Przywara compatible = "arm,vexpress,v2m-p1", "simple-bus"; 125d11a8979SAndre Przywara #address-cells = <2>; /* SMB chipselect number and offset */ 126d11a8979SAndre Przywara #size-cells = <1>; 127d11a8979SAndre Przywara 128d11a8979SAndre Przywara ranges = <0 0 0 0x08000000 0x04000000>, 129d11a8979SAndre Przywara <1 0 0 0x14000000 0x04000000>, 130d11a8979SAndre Przywara <2 0 0 0x18000000 0x04000000>, 131d11a8979SAndre Przywara <3 0 0 0x1c000000 0x04000000>, 132d11a8979SAndre Przywara <4 0 0 0x0c000000 0x04000000>, 133d11a8979SAndre Przywara <5 0 0 0x10000000 0x04000000>; 134d11a8979SAndre Przywara 135d11a8979SAndre Przywara #interrupt-cells = <1>; 136d11a8979SAndre Przywara interrupt-map-mask = <0 0 63>; 13778631aecSAndre Przywara interrupt-map = <0 0 0 &gic 0 GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>, 13878631aecSAndre Przywara <0 0 1 &gic 0 GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>, 13978631aecSAndre Przywara <0 0 2 &gic 0 GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>, 14078631aecSAndre Przywara <0 0 3 &gic 0 GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>, 14178631aecSAndre Przywara <0 0 4 &gic 0 GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>, 14278631aecSAndre Przywara <0 0 5 &gic 0 GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>, 14378631aecSAndre Przywara <0 0 6 &gic 0 GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>, 14478631aecSAndre Przywara <0 0 7 &gic 0 GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>, 14578631aecSAndre Przywara <0 0 8 &gic 0 GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>, 14678631aecSAndre Przywara <0 0 9 &gic 0 GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>, 14778631aecSAndre Przywara <0 0 10 &gic 0 GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>, 14878631aecSAndre Przywara <0 0 11 &gic 0 GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>, 14978631aecSAndre Przywara <0 0 12 &gic 0 GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>, 15078631aecSAndre Przywara <0 0 13 &gic 0 GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>, 15178631aecSAndre Przywara <0 0 14 &gic 0 GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>, 15278631aecSAndre Przywara <0 0 15 &gic 0 GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>, 15378631aecSAndre Przywara <0 0 16 &gic 0 GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>, 15478631aecSAndre Przywara <0 0 17 &gic 0 GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>, 15578631aecSAndre Przywara <0 0 18 &gic 0 GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>, 15678631aecSAndre Przywara <0 0 19 &gic 0 GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>, 15778631aecSAndre Przywara <0 0 20 &gic 0 GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>, 15878631aecSAndre Przywara <0 0 21 &gic 0 GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>, 15978631aecSAndre Przywara <0 0 22 &gic 0 GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>, 16078631aecSAndre Przywara <0 0 23 &gic 0 GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>, 16178631aecSAndre Przywara <0 0 24 &gic 0 GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>, 16278631aecSAndre Przywara <0 0 25 &gic 0 GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>, 16378631aecSAndre Przywara <0 0 26 &gic 0 GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>, 16478631aecSAndre Przywara <0 0 27 &gic 0 GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>, 16578631aecSAndre Przywara <0 0 28 &gic 0 GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>, 16678631aecSAndre Przywara <0 0 29 &gic 0 GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>, 16778631aecSAndre Przywara <0 0 30 &gic 0 GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>, 16878631aecSAndre Przywara <0 0 31 &gic 0 GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>, 16978631aecSAndre Przywara <0 0 32 &gic 0 GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>, 17078631aecSAndre Przywara <0 0 33 &gic 0 GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>, 17178631aecSAndre Przywara <0 0 34 &gic 0 GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>, 17278631aecSAndre Przywara <0 0 35 &gic 0 GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>, 17378631aecSAndre Przywara <0 0 36 &gic 0 GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>, 17478631aecSAndre Przywara <0 0 37 &gic 0 GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>, 17578631aecSAndre Przywara <0 0 38 &gic 0 GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>, 17678631aecSAndre Przywara <0 0 39 &gic 0 GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>, 17778631aecSAndre Przywara <0 0 40 &gic 0 GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>, 17878631aecSAndre Przywara <0 0 41 &gic 0 GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>, 17978631aecSAndre Przywara <0 0 42 &gic 0 GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>; 180d11a8979SAndre Przywara 181bb5cce12SAndre Przywara ethernet@202000000 { 182d11a8979SAndre Przywara compatible = "smsc,lan91c111"; 183d11a8979SAndre Przywara reg = <2 0x02000000 0x10000>; 184d11a8979SAndre Przywara interrupts = <15>; 185d11a8979SAndre Przywara }; 186d11a8979SAndre Przywara 1879d0a36ddSAndre Przywara iofpga-bus@300000000 { 1882ef7d5f3SMasahiro Yamada compatible = "simple-bus"; 189d11a8979SAndre Przywara #address-cells = <1>; 190d11a8979SAndre Przywara #size-cells = <1>; 191d11a8979SAndre Przywara ranges = <0 3 0 0x200000>; 192d11a8979SAndre Przywara 193d8bcaabeSRob Herring v2m_sysreg: sysreg@10000 { 194d11a8979SAndre Przywara compatible = "arm,vexpress-sysreg"; 195d11a8979SAndre Przywara reg = <0x010000 0x1000>; 196d11a8979SAndre Przywara }; 197d11a8979SAndre Przywara 198608f1b6cSAndre Przywara v2m_serial0: serial@90000 { 199d11a8979SAndre Przywara compatible = "arm,pl011", "arm,primecell"; 200d11a8979SAndre Przywara reg = <0x090000 0x1000>; 201d11a8979SAndre Przywara interrupts = <5>; 202d11a8979SAndre Przywara clocks = <&v2m_clk24mhz>, <&v2m_clk24mhz>; 203d11a8979SAndre Przywara clock-names = "uartclk", "apb_pclk"; 204d11a8979SAndre Przywara }; 205d11a8979SAndre Przywara 206608f1b6cSAndre Przywara v2m_serial1: serial@a0000 { 207d11a8979SAndre Przywara compatible = "arm,pl011", "arm,primecell"; 208d11a8979SAndre Przywara reg = <0x0a0000 0x1000>; 209d11a8979SAndre Przywara interrupts = <6>; 210d11a8979SAndre Przywara clocks = <&v2m_clk24mhz>, <&v2m_clk24mhz>; 211d11a8979SAndre Przywara clock-names = "uartclk", "apb_pclk"; 212d11a8979SAndre Przywara }; 213d11a8979SAndre Przywara 214608f1b6cSAndre Przywara v2m_serial2: serial@b0000 { 215d11a8979SAndre Przywara compatible = "arm,pl011", "arm,primecell"; 216d11a8979SAndre Przywara reg = <0x0b0000 0x1000>; 217d11a8979SAndre Przywara interrupts = <7>; 218d11a8979SAndre Przywara clocks = <&v2m_clk24mhz>, <&v2m_clk24mhz>; 219d11a8979SAndre Przywara clock-names = "uartclk", "apb_pclk"; 220d11a8979SAndre Przywara }; 221d11a8979SAndre Przywara 222608f1b6cSAndre Przywara v2m_serial3: serial@c0000 { 223d11a8979SAndre Przywara compatible = "arm,pl011", "arm,primecell"; 224d11a8979SAndre Przywara reg = <0x0c0000 0x1000>; 225d11a8979SAndre Przywara interrupts = <8>; 226d11a8979SAndre Przywara clocks = <&v2m_clk24mhz>, <&v2m_clk24mhz>; 227d11a8979SAndre Przywara clock-names = "uartclk", "apb_pclk"; 228d11a8979SAndre Przywara }; 229d11a8979SAndre Przywara 230d7030edfSSudeep Holla virtio@130000 { 231d11a8979SAndre Przywara compatible = "virtio,mmio"; 232d11a8979SAndre Przywara reg = <0x130000 0x200>; 233d11a8979SAndre Przywara interrupts = <42>; 234d11a8979SAndre Przywara }; 235d11a8979SAndre Przywara }; 236d11a8979SAndre Przywara }; 237d11a8979SAndre Przywara}; 238