Harry Liebel | 43ef4f1 | 2013-10-22 17:29:14 +0100 | [diff] [blame] | 1 | /* |
Roberto Vargas | 0fccc50 | 2018-04-23 14:44:54 +0100 | [diff] [blame] | 2 | * Copyright (c) 2013-2018, ARM Limited and Contributors. All rights reserved. |
Harry Liebel | 43ef4f1 | 2013-10-22 17:29:14 +0100 | [diff] [blame] | 3 | * |
Achin Gupta | 6938731 | 2016-09-26 10:22:56 +0100 | [diff] [blame] | 4 | * SPDX-License-Identifier: BSD-3-Clause |
Harry Liebel | 43ef4f1 | 2013-10-22 17:29:14 +0100 | [diff] [blame] | 5 | */ |
| 6 | |
| 7 | motherboard { |
| 8 | arm,v2m-memory-map = "rs1"; |
| 9 | compatible = "arm,vexpress,v2m-p1", "simple-bus"; |
| 10 | #address-cells = <2>; /* SMB chipselect number and offset */ |
| 11 | #size-cells = <1>; |
Harry Liebel | 43ef4f1 | 2013-10-22 17:29:14 +0100 | [diff] [blame] | 12 | ranges; |
| 13 | |
| 14 | ethernet@2,02000000 { |
| 15 | compatible = "smsc,lan91c111"; |
| 16 | reg = <2 0x02000000 0x10000>; |
Achin Gupta | 6938731 | 2016-09-26 10:22:56 +0100 | [diff] [blame] | 17 | interrupts = <0 15 4>; |
Harry Liebel | 43ef4f1 | 2013-10-22 17:29:14 +0100 | [diff] [blame] | 18 | }; |
| 19 | |
| 20 | v2m_clk24mhz: clk24mhz { |
| 21 | compatible = "fixed-clock"; |
| 22 | #clock-cells = <0>; |
| 23 | clock-frequency = <24000000>; |
| 24 | clock-output-names = "v2m:clk24mhz"; |
| 25 | }; |
| 26 | |
| 27 | v2m_refclk1mhz: refclk1mhz { |
| 28 | compatible = "fixed-clock"; |
| 29 | #clock-cells = <0>; |
| 30 | clock-frequency = <1000000>; |
| 31 | clock-output-names = "v2m:refclk1mhz"; |
| 32 | }; |
| 33 | |
| 34 | v2m_refclk32khz: refclk32khz { |
| 35 | compatible = "fixed-clock"; |
| 36 | #clock-cells = <0>; |
| 37 | clock-frequency = <32768>; |
| 38 | clock-output-names = "v2m:refclk32khz"; |
| 39 | }; |
| 40 | |
| 41 | iofpga@3,00000000 { |
| 42 | compatible = "arm,amba-bus", "simple-bus"; |
| 43 | #address-cells = <1>; |
| 44 | #size-cells = <1>; |
| 45 | ranges = <0 3 0 0x200000>; |
| 46 | |
Roberto Vargas | 0fccc50 | 2018-04-23 14:44:54 +0100 | [diff] [blame] | 47 | v2m_sysreg: sysreg@10000 { |
Harry Liebel | 43ef4f1 | 2013-10-22 17:29:14 +0100 | [diff] [blame] | 48 | compatible = "arm,vexpress-sysreg"; |
| 49 | reg = <0x010000 0x1000>; |
| 50 | gpio-controller; |
| 51 | #gpio-cells = <2>; |
| 52 | }; |
| 53 | |
Roberto Vargas | 0fccc50 | 2018-04-23 14:44:54 +0100 | [diff] [blame] | 54 | v2m_sysctl: sysctl@20000 { |
Harry Liebel | 43ef4f1 | 2013-10-22 17:29:14 +0100 | [diff] [blame] | 55 | compatible = "arm,sp810", "arm,primecell"; |
| 56 | reg = <0x020000 0x1000>; |
| 57 | clocks = <&v2m_refclk32khz>, <&v2m_refclk1mhz>, <&v2m_clk24mhz>; |
| 58 | clock-names = "refclk", "timclk", "apb_pclk"; |
| 59 | #clock-cells = <1>; |
| 60 | clock-output-names = "timerclken0", "timerclken1", "timerclken2", "timerclken3"; |
| 61 | }; |
| 62 | |
Roberto Vargas | 0fccc50 | 2018-04-23 14:44:54 +0100 | [diff] [blame] | 63 | v2m_serial0: uart@90000 { |
Harry Liebel | 43ef4f1 | 2013-10-22 17:29:14 +0100 | [diff] [blame] | 64 | compatible = "arm,pl011", "arm,primecell"; |
| 65 | reg = <0x090000 0x1000>; |
Achin Gupta | 6938731 | 2016-09-26 10:22:56 +0100 | [diff] [blame] | 66 | interrupts = <0 5 4>; |
Harry Liebel | 43ef4f1 | 2013-10-22 17:29:14 +0100 | [diff] [blame] | 67 | clocks = <&v2m_clk24mhz>, <&v2m_clk24mhz>; |
| 68 | clock-names = "uartclk", "apb_pclk"; |
| 69 | }; |
| 70 | |
Roberto Vargas | 0fccc50 | 2018-04-23 14:44:54 +0100 | [diff] [blame] | 71 | v2m_serial1: uart@a0000 { |
Harry Liebel | 43ef4f1 | 2013-10-22 17:29:14 +0100 | [diff] [blame] | 72 | compatible = "arm,pl011", "arm,primecell"; |
| 73 | reg = <0x0a0000 0x1000>; |
Achin Gupta | 6938731 | 2016-09-26 10:22:56 +0100 | [diff] [blame] | 74 | interrupts = <0 6 4>; |
Harry Liebel | 43ef4f1 | 2013-10-22 17:29:14 +0100 | [diff] [blame] | 75 | clocks = <&v2m_clk24mhz>, <&v2m_clk24mhz>; |
| 76 | clock-names = "uartclk", "apb_pclk"; |
| 77 | }; |
| 78 | |
Roberto Vargas | 0fccc50 | 2018-04-23 14:44:54 +0100 | [diff] [blame] | 79 | v2m_serial2: uart@b0000 { |
Harry Liebel | 43ef4f1 | 2013-10-22 17:29:14 +0100 | [diff] [blame] | 80 | compatible = "arm,pl011", "arm,primecell"; |
| 81 | reg = <0x0b0000 0x1000>; |
Achin Gupta | 6938731 | 2016-09-26 10:22:56 +0100 | [diff] [blame] | 82 | interrupts = <0 7 4>; |
Harry Liebel | 43ef4f1 | 2013-10-22 17:29:14 +0100 | [diff] [blame] | 83 | clocks = <&v2m_clk24mhz>, <&v2m_clk24mhz>; |
| 84 | clock-names = "uartclk", "apb_pclk"; |
| 85 | }; |
| 86 | |
Roberto Vargas | 0fccc50 | 2018-04-23 14:44:54 +0100 | [diff] [blame] | 87 | v2m_serial3: uart@c0000 { |
Harry Liebel | 43ef4f1 | 2013-10-22 17:29:14 +0100 | [diff] [blame] | 88 | compatible = "arm,pl011", "arm,primecell"; |
| 89 | reg = <0x0c0000 0x1000>; |
Achin Gupta | 6938731 | 2016-09-26 10:22:56 +0100 | [diff] [blame] | 90 | interrupts = <0 8 4>; |
Harry Liebel | 43ef4f1 | 2013-10-22 17:29:14 +0100 | [diff] [blame] | 91 | clocks = <&v2m_clk24mhz>, <&v2m_clk24mhz>; |
| 92 | clock-names = "uartclk", "apb_pclk"; |
| 93 | }; |
| 94 | |
Roberto Vargas | 0fccc50 | 2018-04-23 14:44:54 +0100 | [diff] [blame] | 95 | wdt@f0000 { |
Harry Liebel | 43ef4f1 | 2013-10-22 17:29:14 +0100 | [diff] [blame] | 96 | compatible = "arm,sp805", "arm,primecell"; |
| 97 | reg = <0x0f0000 0x1000>; |
Achin Gupta | 6938731 | 2016-09-26 10:22:56 +0100 | [diff] [blame] | 98 | interrupts = <0 0 4>; |
Harry Liebel | 43ef4f1 | 2013-10-22 17:29:14 +0100 | [diff] [blame] | 99 | clocks = <&v2m_refclk32khz>, <&v2m_clk24mhz>; |
| 100 | clock-names = "wdogclk", "apb_pclk"; |
| 101 | }; |
| 102 | |
| 103 | v2m_timer01: timer@110000 { |
| 104 | compatible = "arm,sp804", "arm,primecell"; |
| 105 | reg = <0x110000 0x1000>; |
Achin Gupta | 6938731 | 2016-09-26 10:22:56 +0100 | [diff] [blame] | 106 | interrupts = <0 2 4>; |
Harry Liebel | 43ef4f1 | 2013-10-22 17:29:14 +0100 | [diff] [blame] | 107 | clocks = <&v2m_sysctl 0>, <&v2m_sysctl 1>, <&v2m_clk24mhz>; |
| 108 | clock-names = "timclken1", "timclken2", "apb_pclk"; |
| 109 | }; |
| 110 | |
| 111 | v2m_timer23: timer@120000 { |
| 112 | compatible = "arm,sp804", "arm,primecell"; |
| 113 | reg = <0x120000 0x1000>; |
Achin Gupta | 6938731 | 2016-09-26 10:22:56 +0100 | [diff] [blame] | 114 | interrupts = <0 3 4>; |
Harry Liebel | 43ef4f1 | 2013-10-22 17:29:14 +0100 | [diff] [blame] | 115 | clocks = <&v2m_sysctl 2>, <&v2m_sysctl 3>, <&v2m_clk24mhz>; |
| 116 | clock-names = "timclken1", "timclken2", "apb_pclk"; |
| 117 | }; |
| 118 | |
| 119 | rtc@170000 { |
| 120 | compatible = "arm,pl031", "arm,primecell"; |
| 121 | reg = <0x170000 0x1000>; |
Achin Gupta | 6938731 | 2016-09-26 10:22:56 +0100 | [diff] [blame] | 122 | interrupts = <0 4 4>; |
Harry Liebel | 43ef4f1 | 2013-10-22 17:29:14 +0100 | [diff] [blame] | 123 | clocks = <&v2m_clk24mhz>; |
| 124 | clock-names = "apb_pclk"; |
| 125 | }; |
| 126 | |
Roberto Vargas | 0fccc50 | 2018-04-23 14:44:54 +0100 | [diff] [blame] | 127 | virtio_block@130000 { |
Harry Liebel | 43ef4f1 | 2013-10-22 17:29:14 +0100 | [diff] [blame] | 128 | compatible = "virtio,mmio"; |
| 129 | reg = <0x130000 0x1000>; |
Achin Gupta | 6938731 | 2016-09-26 10:22:56 +0100 | [diff] [blame] | 130 | interrupts = <0 0x2a 4>; |
Harry Liebel | 43ef4f1 | 2013-10-22 17:29:14 +0100 | [diff] [blame] | 131 | }; |
| 132 | }; |
| 133 | |
| 134 | v2m_fixed_3v3: fixedregulator@0 { |
| 135 | compatible = "regulator-fixed"; |
| 136 | regulator-name = "3V3"; |
| 137 | regulator-min-microvolt = <3300000>; |
| 138 | regulator-max-microvolt = <3300000>; |
| 139 | regulator-always-on; |
| 140 | }; |
| 141 | |
| 142 | |
| 143 | mcc { |
| 144 | compatible = "arm,vexpress,config-bus", "simple-bus"; |
| 145 | arm,vexpress,config-bridge = <&v2m_sysreg>; |
| 146 | |
Juan Castillo | 4dc4a47 | 2014-08-12 11:17:06 +0100 | [diff] [blame] | 147 | /* |
| 148 | * Not supported in FVP models |
| 149 | * |
| 150 | * reset@0 { |
| 151 | * compatible = "arm,vexpress-reset"; |
| 152 | * arm,vexpress-sysreg,func = <5 0>; |
| 153 | * }; |
| 154 | */ |
Harry Liebel | 43ef4f1 | 2013-10-22 17:29:14 +0100 | [diff] [blame] | 155 | |
| 156 | muxfpga@0 { |
| 157 | compatible = "arm,vexpress-muxfpga"; |
| 158 | arm,vexpress-sysreg,func = <7 0>; |
| 159 | }; |
| 160 | |
Juan Castillo | 4dc4a47 | 2014-08-12 11:17:06 +0100 | [diff] [blame] | 161 | /* |
| 162 | * Not used - Superseded by PSCI sys_poweroff |
| 163 | * |
| 164 | * shutdown@0 { |
| 165 | * compatible = "arm,vexpress-shutdown"; |
| 166 | * arm,vexpress-sysreg,func = <8 0>; |
| 167 | * }; |
| 168 | */ |
Harry Liebel | 43ef4f1 | 2013-10-22 17:29:14 +0100 | [diff] [blame] | 169 | |
Juan Castillo | 4dc4a47 | 2014-08-12 11:17:06 +0100 | [diff] [blame] | 170 | /* |
| 171 | * Not used - Superseded by PSCI sys_reset |
| 172 | * |
| 173 | * reboot@0 { |
| 174 | * compatible = "arm,vexpress-reboot"; |
| 175 | * arm,vexpress-sysreg,func = <9 0>; |
| 176 | * }; |
| 177 | */ |
Harry Liebel | 43ef4f1 | 2013-10-22 17:29:14 +0100 | [diff] [blame] | 178 | |
| 179 | dvimode@0 { |
| 180 | compatible = "arm,vexpress-dvimode"; |
| 181 | arm,vexpress-sysreg,func = <11 0>; |
| 182 | }; |
| 183 | }; |
| 184 | }; |