1*4882a593Smuzhiyun// SPDX-License-Identifier: GPL-2.0-or-later 2*4882a593Smuzhiyun/* 3*4882a593Smuzhiyun * Copyright 2015-2016 Freescale Semiconductor, Inc. 4*4882a593Smuzhiyun * Copyright 2016-2018 NXP 5*4882a593Smuzhiyun */ 6*4882a593Smuzhiyun 7*4882a593Smuzhiyun#include <dt-bindings/interrupt-controller/arm-gic.h> 8*4882a593Smuzhiyun 9*4882a593Smuzhiyun/memreserve/ 0x80000000 0x00010000; 10*4882a593Smuzhiyun 11*4882a593Smuzhiyun/ { 12*4882a593Smuzhiyun compatible = "fsl,s32v234"; 13*4882a593Smuzhiyun interrupt-parent = <&gic>; 14*4882a593Smuzhiyun #address-cells = <2>; 15*4882a593Smuzhiyun #size-cells = <2>; 16*4882a593Smuzhiyun 17*4882a593Smuzhiyun aliases { 18*4882a593Smuzhiyun serial0 = &uart0; 19*4882a593Smuzhiyun serial1 = &uart1; 20*4882a593Smuzhiyun }; 21*4882a593Smuzhiyun 22*4882a593Smuzhiyun cpus { 23*4882a593Smuzhiyun #address-cells = <2>; 24*4882a593Smuzhiyun #size-cells = <0>; 25*4882a593Smuzhiyun 26*4882a593Smuzhiyun cpu0: cpu@0 { 27*4882a593Smuzhiyun device_type = "cpu"; 28*4882a593Smuzhiyun compatible = "arm,cortex-a53"; 29*4882a593Smuzhiyun reg = <0x0 0x0>; 30*4882a593Smuzhiyun enable-method = "spin-table"; 31*4882a593Smuzhiyun cpu-release-addr = <0x0 0x80000000>; 32*4882a593Smuzhiyun next-level-cache = <&cluster0_l2_cache>; 33*4882a593Smuzhiyun }; 34*4882a593Smuzhiyun 35*4882a593Smuzhiyun cpu1: cpu@1 { 36*4882a593Smuzhiyun device_type = "cpu"; 37*4882a593Smuzhiyun compatible = "arm,cortex-a53"; 38*4882a593Smuzhiyun reg = <0x0 0x1>; 39*4882a593Smuzhiyun enable-method = "spin-table"; 40*4882a593Smuzhiyun cpu-release-addr = <0x0 0x80000000>; 41*4882a593Smuzhiyun next-level-cache = <&cluster0_l2_cache>; 42*4882a593Smuzhiyun }; 43*4882a593Smuzhiyun 44*4882a593Smuzhiyun cpu2: cpu@100 { 45*4882a593Smuzhiyun device_type = "cpu"; 46*4882a593Smuzhiyun compatible = "arm,cortex-a53"; 47*4882a593Smuzhiyun reg = <0x0 0x100>; 48*4882a593Smuzhiyun enable-method = "spin-table"; 49*4882a593Smuzhiyun cpu-release-addr = <0x0 0x80000000>; 50*4882a593Smuzhiyun next-level-cache = <&cluster1_l2_cache>; 51*4882a593Smuzhiyun }; 52*4882a593Smuzhiyun 53*4882a593Smuzhiyun cpu3: cpu@101 { 54*4882a593Smuzhiyun device_type = "cpu"; 55*4882a593Smuzhiyun compatible = "arm,cortex-a53"; 56*4882a593Smuzhiyun reg = <0x0 0x101>; 57*4882a593Smuzhiyun enable-method = "spin-table"; 58*4882a593Smuzhiyun cpu-release-addr = <0x0 0x80000000>; 59*4882a593Smuzhiyun next-level-cache = <&cluster1_l2_cache>; 60*4882a593Smuzhiyun }; 61*4882a593Smuzhiyun 62*4882a593Smuzhiyun cluster0_l2_cache: l2-cache0 { 63*4882a593Smuzhiyun compatible = "cache"; 64*4882a593Smuzhiyun }; 65*4882a593Smuzhiyun 66*4882a593Smuzhiyun cluster1_l2_cache: l2-cache1 { 67*4882a593Smuzhiyun compatible = "cache"; 68*4882a593Smuzhiyun }; 69*4882a593Smuzhiyun }; 70*4882a593Smuzhiyun 71*4882a593Smuzhiyun timer { 72*4882a593Smuzhiyun compatible = "arm,armv8-timer"; 73*4882a593Smuzhiyun interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | 74*4882a593Smuzhiyun IRQ_TYPE_LEVEL_LOW)>, 75*4882a593Smuzhiyun <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | 76*4882a593Smuzhiyun IRQ_TYPE_LEVEL_LOW)>, 77*4882a593Smuzhiyun <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | 78*4882a593Smuzhiyun IRQ_TYPE_LEVEL_LOW)>, 79*4882a593Smuzhiyun <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | 80*4882a593Smuzhiyun IRQ_TYPE_LEVEL_LOW)>; 81*4882a593Smuzhiyun /* clock-frequency might be modified by u-boot, depending on the 82*4882a593Smuzhiyun * chip version. 83*4882a593Smuzhiyun */ 84*4882a593Smuzhiyun clock-frequency = <10000000>; 85*4882a593Smuzhiyun }; 86*4882a593Smuzhiyun 87*4882a593Smuzhiyun gic: interrupt-controller@7d001000 { 88*4882a593Smuzhiyun compatible = "arm,cortex-a15-gic", "arm,cortex-a9-gic"; 89*4882a593Smuzhiyun #interrupt-cells = <3>; 90*4882a593Smuzhiyun #address-cells = <0>; 91*4882a593Smuzhiyun interrupt-controller; 92*4882a593Smuzhiyun reg = <0 0x7d001000 0 0x1000>, 93*4882a593Smuzhiyun <0 0x7d002000 0 0x2000>, 94*4882a593Smuzhiyun <0 0x7d004000 0 0x2000>, 95*4882a593Smuzhiyun <0 0x7d006000 0 0x2000>; 96*4882a593Smuzhiyun interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | 97*4882a593Smuzhiyun IRQ_TYPE_LEVEL_HIGH)>; 98*4882a593Smuzhiyun }; 99*4882a593Smuzhiyun 100*4882a593Smuzhiyun soc { 101*4882a593Smuzhiyun #address-cells = <2>; 102*4882a593Smuzhiyun #size-cells = <2>; 103*4882a593Smuzhiyun compatible = "simple-bus"; 104*4882a593Smuzhiyun interrupt-parent = <&gic>; 105*4882a593Smuzhiyun ranges; 106*4882a593Smuzhiyun 107*4882a593Smuzhiyun aips0: bus@40000000 { 108*4882a593Smuzhiyun compatible = "simple-bus"; 109*4882a593Smuzhiyun #address-cells = <2>; 110*4882a593Smuzhiyun #size-cells = <2>; 111*4882a593Smuzhiyun interrupt-parent = <&gic>; 112*4882a593Smuzhiyun reg = <0x0 0x40000000 0x0 0x7d000>; 113*4882a593Smuzhiyun ranges; 114*4882a593Smuzhiyun 115*4882a593Smuzhiyun uart0: serial@40053000 { 116*4882a593Smuzhiyun compatible = "fsl,s32v234-linflexuart"; 117*4882a593Smuzhiyun reg = <0x0 0x40053000 0x0 0x1000>; 118*4882a593Smuzhiyun interrupts = <GIC_SPI 59 IRQ_TYPE_EDGE_RISING>; 119*4882a593Smuzhiyun status = "disabled"; 120*4882a593Smuzhiyun }; 121*4882a593Smuzhiyun }; 122*4882a593Smuzhiyun 123*4882a593Smuzhiyun aips1: bus@40080000 { 124*4882a593Smuzhiyun compatible = "simple-bus"; 125*4882a593Smuzhiyun #address-cells = <2>; 126*4882a593Smuzhiyun #size-cells = <2>; 127*4882a593Smuzhiyun interrupt-parent = <&gic>; 128*4882a593Smuzhiyun reg = <0x0 0x40080000 0x0 0x70000>; 129*4882a593Smuzhiyun ranges; 130*4882a593Smuzhiyun 131*4882a593Smuzhiyun uart1: serial@400bc000 { 132*4882a593Smuzhiyun compatible = "fsl,s32v234-linflexuart"; 133*4882a593Smuzhiyun reg = <0x0 0x400bc000 0x0 0x1000>; 134*4882a593Smuzhiyun interrupts = <GIC_SPI 60 IRQ_TYPE_EDGE_RISING>; 135*4882a593Smuzhiyun status = "disabled"; 136*4882a593Smuzhiyun }; 137*4882a593Smuzhiyun }; 138*4882a593Smuzhiyun }; 139*4882a593Smuzhiyun}; 140