1f126890aSEmmanuel Vadot/* 2f126890aSEmmanuel Vadot * Copyright 2016 Linaro Ltd 3f126890aSEmmanuel Vadot * 4f126890aSEmmanuel Vadot * Permission is hereby granted, free of charge, to any person obtaining a copy 5f126890aSEmmanuel Vadot * of this software and associated documentation files (the "Software"), to deal 6f126890aSEmmanuel Vadot * in the Software without restriction, including without limitation the rights 7f126890aSEmmanuel Vadot * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 8f126890aSEmmanuel Vadot * copies of the Software, and to permit persons to whom the Software is 9f126890aSEmmanuel Vadot * furnished to do so, subject to the following conditions: 10f126890aSEmmanuel Vadot * 11f126890aSEmmanuel Vadot * The above copyright notice and this permission notice shall be included in 12f126890aSEmmanuel Vadot * all copies or substantial portions of the Software. 13f126890aSEmmanuel Vadot * 14f126890aSEmmanuel Vadot * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15f126890aSEmmanuel Vadot * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16f126890aSEmmanuel Vadot * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17f126890aSEmmanuel Vadot * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18f126890aSEmmanuel Vadot * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 19f126890aSEmmanuel Vadot * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 20f126890aSEmmanuel Vadot * THE SOFTWARE. 21f126890aSEmmanuel Vadot */ 22f126890aSEmmanuel Vadot 23f126890aSEmmanuel Vadot/dts-v1/; 24f126890aSEmmanuel Vadot#include "arm-realview-pbx.dtsi" 25f126890aSEmmanuel Vadot 26f126890aSEmmanuel Vadot/ { 27f126890aSEmmanuel Vadot model = "ARM RealView Platform Baseboard for Cortex-A8"; 28f126890aSEmmanuel Vadot compatible = "arm,realview-pba8"; 29f126890aSEmmanuel Vadot arm,hbi = <0x178>; 30f126890aSEmmanuel Vadot 31f126890aSEmmanuel Vadot cpus { 32f126890aSEmmanuel Vadot #address-cells = <1>; 33f126890aSEmmanuel Vadot #size-cells = <0>; 34f126890aSEmmanuel Vadot enable-method = "arm,realview-smp"; 35f126890aSEmmanuel Vadot 36f126890aSEmmanuel Vadot cpu0: cpu@0 { 37f126890aSEmmanuel Vadot device_type = "cpu"; 38f126890aSEmmanuel Vadot compatible = "arm,cortex-a8"; 39f126890aSEmmanuel Vadot reg = <0>; 40f126890aSEmmanuel Vadot }; 41f126890aSEmmanuel Vadot }; 42f126890aSEmmanuel Vadot 43*b2d2a78aSEmmanuel Vadot pmu: pmu { 44f126890aSEmmanuel Vadot compatible = "arm,cortex-a8-pmu"; 45f126890aSEmmanuel Vadot interrupt-parent = <&intc>; 46f126890aSEmmanuel Vadot interrupts = <0 47 IRQ_TYPE_LEVEL_HIGH>; 47f126890aSEmmanuel Vadot interrupt-affinity = <&cpu0>; 48f126890aSEmmanuel Vadot }; 49f126890aSEmmanuel Vadot 50f126890aSEmmanuel Vadot /* Primary GIC PL390 interrupt controller in the test chip */ 51f126890aSEmmanuel Vadot intc: interrupt-controller@1e000000 { 52f126890aSEmmanuel Vadot compatible = "arm,pl390"; 53f126890aSEmmanuel Vadot #interrupt-cells = <3>; 54f126890aSEmmanuel Vadot #address-cells = <1>; 55f126890aSEmmanuel Vadot interrupt-controller; 56f126890aSEmmanuel Vadot reg = <0x1e001000 0x1000>, 57f126890aSEmmanuel Vadot <0x1e000000 0x100>; 58f126890aSEmmanuel Vadot }; 59f126890aSEmmanuel Vadot}; 60f126890aSEmmanuel Vadot 61f126890aSEmmanuel Vadotðernet { 62f126890aSEmmanuel Vadot interrupt-parent = <&intc>; 63f126890aSEmmanuel Vadot interrupts = <0 28 IRQ_TYPE_LEVEL_HIGH>; 64f126890aSEmmanuel Vadot}; 65f126890aSEmmanuel Vadot 66f126890aSEmmanuel Vadot&usb { 67f126890aSEmmanuel Vadot interrupt-parent = <&intc>; 68f126890aSEmmanuel Vadot interrupts = <0 29 IRQ_TYPE_LEVEL_HIGH>; 69f126890aSEmmanuel Vadot}; 70f126890aSEmmanuel Vadot 71f126890aSEmmanuel Vadot&soc { 72f126890aSEmmanuel Vadot compatible = "arm,realview-pba8-soc", "simple-bus"; 73f126890aSEmmanuel Vadot}; 74f126890aSEmmanuel Vadot 75f126890aSEmmanuel Vadot&syscon { 76f126890aSEmmanuel Vadot compatible = "arm,realview-pba8-syscon", "syscon", "simple-mfd"; 77f126890aSEmmanuel Vadot}; 78f126890aSEmmanuel Vadot 79f126890aSEmmanuel Vadot&serial0 { 80f126890aSEmmanuel Vadot interrupt-parent = <&intc>; 81f126890aSEmmanuel Vadot interrupts = <0 12 IRQ_TYPE_LEVEL_HIGH>; 82f126890aSEmmanuel Vadot}; 83f126890aSEmmanuel Vadot 84f126890aSEmmanuel Vadot&serial1 { 85f126890aSEmmanuel Vadot interrupt-parent = <&intc>; 86f126890aSEmmanuel Vadot interrupts = <0 13 IRQ_TYPE_LEVEL_HIGH>; 87f126890aSEmmanuel Vadot}; 88f126890aSEmmanuel Vadot 89f126890aSEmmanuel Vadot&serial2 { 90f126890aSEmmanuel Vadot interrupt-parent = <&intc>; 91f126890aSEmmanuel Vadot interrupts = <0 14 IRQ_TYPE_LEVEL_HIGH>; 92f126890aSEmmanuel Vadot}; 93f126890aSEmmanuel Vadot 94f126890aSEmmanuel Vadot&serial3 { 95f126890aSEmmanuel Vadot interrupt-parent = <&intc>; 96f126890aSEmmanuel Vadot interrupts = <0 15 IRQ_TYPE_LEVEL_HIGH>; 97f126890aSEmmanuel Vadot}; 98f126890aSEmmanuel Vadot 99f126890aSEmmanuel Vadot&ssp { 100f126890aSEmmanuel Vadot interrupt-parent = <&intc>; 101f126890aSEmmanuel Vadot interrupts = <0 11 IRQ_TYPE_LEVEL_HIGH>; 102f126890aSEmmanuel Vadot}; 103f126890aSEmmanuel Vadot 104f126890aSEmmanuel Vadot&wdog0 { 105f126890aSEmmanuel Vadot interrupt-parent = <&intc>; 106f126890aSEmmanuel Vadot interrupts = <0 0 IRQ_TYPE_LEVEL_HIGH>; 107f126890aSEmmanuel Vadot}; 108f126890aSEmmanuel Vadot 109f126890aSEmmanuel Vadot&wdog1 { 110f126890aSEmmanuel Vadot interrupt-parent = <&intc>; 111f126890aSEmmanuel Vadot interrupts = <0 40 IRQ_TYPE_LEVEL_HIGH>; 112f126890aSEmmanuel Vadot}; 113f126890aSEmmanuel Vadot 114f126890aSEmmanuel Vadot&timer01 { 115f126890aSEmmanuel Vadot interrupt-parent = <&intc>; 116f126890aSEmmanuel Vadot interrupts = <0 4 IRQ_TYPE_LEVEL_HIGH>; 117f126890aSEmmanuel Vadot}; 118f126890aSEmmanuel Vadot 119f126890aSEmmanuel Vadot&timer23 { 120f126890aSEmmanuel Vadot interrupt-parent = <&intc>; 121f126890aSEmmanuel Vadot interrupts = <0 5 IRQ_TYPE_LEVEL_HIGH>; 122f126890aSEmmanuel Vadot}; 123f126890aSEmmanuel Vadot 124f126890aSEmmanuel Vadot&gpio0 { 125f126890aSEmmanuel Vadot interrupt-parent = <&intc>; 126f126890aSEmmanuel Vadot interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>; 127f126890aSEmmanuel Vadot}; 128f126890aSEmmanuel Vadot 129f126890aSEmmanuel Vadot&gpio1 { 130f126890aSEmmanuel Vadot interrupt-parent = <&intc>; 131f126890aSEmmanuel Vadot interrupts = <0 7 IRQ_TYPE_LEVEL_HIGH>; 132f126890aSEmmanuel Vadot}; 133f126890aSEmmanuel Vadot 134f126890aSEmmanuel Vadot&gpio2 { 135f126890aSEmmanuel Vadot interrupt-parent = <&intc>; 136f126890aSEmmanuel Vadot interrupts = <0 8 IRQ_TYPE_LEVEL_HIGH>; 137f126890aSEmmanuel Vadot}; 138f126890aSEmmanuel Vadot 139f126890aSEmmanuel Vadot&rtc { 140f126890aSEmmanuel Vadot interrupt-parent = <&intc>; 141f126890aSEmmanuel Vadot interrupts = <0 10 IRQ_TYPE_LEVEL_HIGH>; 142f126890aSEmmanuel Vadot}; 143f126890aSEmmanuel Vadot 144f126890aSEmmanuel Vadot&timer45 { 145f126890aSEmmanuel Vadot interrupt-parent = <&intc>; 146f126890aSEmmanuel Vadot interrupts = <0 41 IRQ_TYPE_LEVEL_HIGH>; 147f126890aSEmmanuel Vadot}; 148f126890aSEmmanuel Vadot 149f126890aSEmmanuel Vadot&timer67 { 150f126890aSEmmanuel Vadot interrupt-parent = <&intc>; 151f126890aSEmmanuel Vadot interrupts = <0 42 IRQ_TYPE_LEVEL_HIGH>; 152f126890aSEmmanuel Vadot}; 153f126890aSEmmanuel Vadot 154f126890aSEmmanuel Vadot&aaci { 155f126890aSEmmanuel Vadot interrupt-parent = <&intc>; 156f126890aSEmmanuel Vadot interrupts = <0 19 IRQ_TYPE_LEVEL_HIGH>; 157f126890aSEmmanuel Vadot}; 158f126890aSEmmanuel Vadot 159f126890aSEmmanuel Vadot&mmc { 160f126890aSEmmanuel Vadot interrupt-parent = <&intc>; 161f126890aSEmmanuel Vadot interrupts = <0 17 IRQ_TYPE_LEVEL_HIGH>, 162f126890aSEmmanuel Vadot <0 18 IRQ_TYPE_LEVEL_HIGH>; 163f126890aSEmmanuel Vadot}; 164f126890aSEmmanuel Vadot 165f126890aSEmmanuel Vadot&kmi0 { 166f126890aSEmmanuel Vadot interrupt-parent = <&intc>; 167f126890aSEmmanuel Vadot interrupts = <0 20 IRQ_TYPE_LEVEL_HIGH>; 168f126890aSEmmanuel Vadot}; 169f126890aSEmmanuel Vadot 170f126890aSEmmanuel Vadot&kmi1 { 171f126890aSEmmanuel Vadot interrupt-parent = <&intc>; 172f126890aSEmmanuel Vadot interrupts = <0 21 IRQ_TYPE_LEVEL_HIGH>; 173f126890aSEmmanuel Vadot}; 174f126890aSEmmanuel Vadot 175f126890aSEmmanuel Vadot&clcd { 176f126890aSEmmanuel Vadot interrupt-parent = <&intc>; 177f126890aSEmmanuel Vadot interrupts = <0 23 IRQ_TYPE_LEVEL_HIGH>; 178f126890aSEmmanuel Vadot}; 179