Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2015-2016 ARM Limited |
| 3 | * All rights reserved |
| 4 | * |
| 5 | * Redistribution and use in source and binary forms, with or without |
| 6 | * modification, are permitted provided that the following conditions are |
| 7 | * met: redistributions of source code must retain the above copyright |
| 8 | * notice, this list of conditions and the following disclaimer; |
| 9 | * redistributions in binary form must reproduce the above copyright |
| 10 | * notice, this list of conditions and the following disclaimer in the |
| 11 | * documentation and/or other materials provided with the distribution; |
| 12 | * neither the name of the copyright holders nor the names of its |
| 13 | * contributors may be used to endorse or promote products derived from |
| 14 | * this software without specific prior written permission. |
| 15 | * |
| 16 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 17 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 18 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 19 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 20 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 21 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 23 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 26 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 27 | * |
| 28 | * Authors: Andreas Sandberg |
| 29 | */ |
| 30 | |
| 31 | /dts-v1/; |
| 32 | |
| 33 | /memreserve/ 0x80000000 0x00010000; |
| 34 | |
| 35 | /include/ "vexpress_gem5_v2.dtsi" |
| 36 | |
| 37 | / { |
| 38 | model = "V2P-AARCH64"; |
| 39 | compatible = "arm,vexpress,v2p-aarch64", "arm,vexpress"; |
| 40 | |
| 41 | memory@80000000 { |
| 42 | device_type = "memory"; |
| 43 | reg = <0 0x80000000 0x4 0x00000000>; |
| 44 | }; |
| 45 | |
| 46 | cpus { |
| 47 | #address-cells = <1>; |
| 48 | #size-cells = <0>; |
| 49 | |
| 50 | cpu@0 { |
| 51 | device_type = "cpu"; |
| 52 | compatible = "gem5,armv8", "arm,armv8"; |
| 53 | reg = < 0 >; |
| 54 | enable-method = "spin-table"; |
| 55 | cpu-release-addr = <0 0x8000fff8>; |
| 56 | }; |
| 57 | |
| 58 | cpu@1 { |
| 59 | device_type = "cpu"; |
| 60 | compatible = "gem5,armv8", "arm,armv8"; |
| 61 | reg = < 1 >; |
| 62 | enable-method = "spin-table"; |
| 63 | cpu-release-addr = <0 0x8000fff8>; |
| 64 | }; |
| 65 | |
| 66 | }; |
| 67 | |
| 68 | virt-encoder { |
| 69 | compatible = "drm,virtual-encoder"; |
| 70 | port { |
| 71 | dp0_virt_input: endpoint@0 { |
| 72 | remote-endpoint = <&dp0_output>; |
| 73 | }; |
| 74 | }; |
| 75 | |
| 76 | display-timings { |
| 77 | native-mode = <&timing0>; |
| 78 | |
| 79 | timing0: timing_1080p60 { |
| 80 | /* 1920x1080-60 */ |
| 81 | clock-frequency = <148500000>; |
| 82 | hactive = <1920>; |
| 83 | vactive = <1080>; |
| 84 | hfront-porch = <148>; |
| 85 | hback-porch = <88>; |
| 86 | hsync-len = <44>; |
| 87 | vfront-porch = <36>; |
| 88 | vback-porch = <4>; |
| 89 | vsync-len = <5>; |
| 90 | }; |
| 91 | }; |
| 92 | }; |
| 93 | }; |
| 94 | |
| 95 | &dp0 { |
| 96 | status = "ok"; |
| 97 | |
| 98 | port { |
| 99 | dp0_output: endpoint@0 { |
| 100 | remote-endpoint = <&dp0_virt_input>; |
| 101 | }; |
| 102 | }; |
| 103 | }; |