Carlo Caione | 4a69fcd | 2015-10-07 22:31:04 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2015 Endless Mobile, Inc. |
| 3 | * Author: Carlo Caione <carlo@endlessm.com> |
| 4 | * |
| 5 | * This file is dual-licensed: you can use it either under the terms |
| 6 | * of the GPL or the X11 license, at your option. Note that this dual |
| 7 | * licensing only applies to this file, and not this project as a |
| 8 | * whole. |
| 9 | * |
| 10 | * a) This library is free software; you can redistribute it and/or |
| 11 | * modify it under the terms of the GNU General Public License as |
| 12 | * published by the Free Software Foundation; either version 2 of the |
| 13 | * License, or (at your option) any later version. |
| 14 | * |
| 15 | * This library is distributed in the hope that it will be useful, |
| 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 18 | * GNU General Public License for more details. |
| 19 | * |
| 20 | * You should have received a copy of the GNU General Public License |
| 21 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 22 | * |
| 23 | * Or, alternatively, |
| 24 | * |
| 25 | * b) Permission is hereby granted, free of charge, to any person |
| 26 | * obtaining a copy of this software and associated documentation |
| 27 | * files (the "Software"), to deal in the Software without |
| 28 | * restriction, including without limitation the rights to use, |
| 29 | * copy, modify, merge, publish, distribute, sublicense, and/or |
| 30 | * sell copies of the Software, and to permit persons to whom the |
| 31 | * Software is furnished to do so, subject to the following |
| 32 | * conditions: |
| 33 | * |
| 34 | * The above copyright notice and this permission notice shall be |
| 35 | * included in all copies or substantial portions of the Software. |
| 36 | * |
| 37 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
| 38 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES |
| 39 | * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
| 40 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
| 41 | * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
| 42 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
| 43 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
| 44 | * OTHER DEALINGS IN THE SOFTWARE. |
| 45 | */ |
| 46 | |
| 47 | #include <dt-bindings/clock/meson8b-clkc.h> |
| 48 | #include <dt-bindings/gpio/meson8b-gpio.h> |
Neil Armstrong | cad059c | 2016-05-30 15:27:18 +0200 | [diff] [blame] | 49 | #include <dt-bindings/reset/amlogic,meson8b-reset.h> |
Carlo Caione | 4692142 | 2017-09-17 18:45:23 +0200 | [diff] [blame] | 50 | #include <dt-bindings/reset/amlogic,meson8b-clkc-reset.h> |
Martin Blumenstingl | f44135e | 2017-04-17 23:39:38 +0200 | [diff] [blame] | 51 | #include "meson.dtsi" |
Carlo Caione | 4a69fcd | 2015-10-07 22:31:04 +0200 | [diff] [blame] | 52 | |
| 53 | / { |
Carlo Caione | 4a69fcd | 2015-10-07 22:31:04 +0200 | [diff] [blame] | 54 | cpus { |
| 55 | #address-cells = <1>; |
| 56 | #size-cells = <0>; |
| 57 | |
Martin Blumenstingl | e8d85d7 | 2018-04-22 12:45:02 +0200 | [diff] [blame] | 58 | cpu0: cpu@200 { |
Carlo Caione | 4a69fcd | 2015-10-07 22:31:04 +0200 | [diff] [blame] | 59 | device_type = "cpu"; |
| 60 | compatible = "arm,cortex-a5"; |
| 61 | next-level-cache = <&L2>; |
| 62 | reg = <0x200>; |
Carlo Caione | 4692142 | 2017-09-17 18:45:23 +0200 | [diff] [blame] | 63 | enable-method = "amlogic,meson8b-smp"; |
| 64 | resets = <&clkc CLKC_RESET_CPU0_SOFT_RESET>; |
Carlo Caione | 4a69fcd | 2015-10-07 22:31:04 +0200 | [diff] [blame] | 65 | }; |
| 66 | |
Martin Blumenstingl | e8d85d7 | 2018-04-22 12:45:02 +0200 | [diff] [blame] | 67 | cpu1: cpu@201 { |
Carlo Caione | 4a69fcd | 2015-10-07 22:31:04 +0200 | [diff] [blame] | 68 | device_type = "cpu"; |
| 69 | compatible = "arm,cortex-a5"; |
| 70 | next-level-cache = <&L2>; |
| 71 | reg = <0x201>; |
Carlo Caione | 4692142 | 2017-09-17 18:45:23 +0200 | [diff] [blame] | 72 | enable-method = "amlogic,meson8b-smp"; |
| 73 | resets = <&clkc CLKC_RESET_CPU1_SOFT_RESET>; |
Carlo Caione | 4a69fcd | 2015-10-07 22:31:04 +0200 | [diff] [blame] | 74 | }; |
| 75 | |
Martin Blumenstingl | e8d85d7 | 2018-04-22 12:45:02 +0200 | [diff] [blame] | 76 | cpu2: cpu@202 { |
Carlo Caione | 4a69fcd | 2015-10-07 22:31:04 +0200 | [diff] [blame] | 77 | device_type = "cpu"; |
| 78 | compatible = "arm,cortex-a5"; |
| 79 | next-level-cache = <&L2>; |
| 80 | reg = <0x202>; |
Carlo Caione | 4692142 | 2017-09-17 18:45:23 +0200 | [diff] [blame] | 81 | enable-method = "amlogic,meson8b-smp"; |
| 82 | resets = <&clkc CLKC_RESET_CPU2_SOFT_RESET>; |
Carlo Caione | 4a69fcd | 2015-10-07 22:31:04 +0200 | [diff] [blame] | 83 | }; |
| 84 | |
Martin Blumenstingl | e8d85d7 | 2018-04-22 12:45:02 +0200 | [diff] [blame] | 85 | cpu3: cpu@203 { |
Carlo Caione | 4a69fcd | 2015-10-07 22:31:04 +0200 | [diff] [blame] | 86 | device_type = "cpu"; |
| 87 | compatible = "arm,cortex-a5"; |
| 88 | next-level-cache = <&L2>; |
| 89 | reg = <0x203>; |
Carlo Caione | 4692142 | 2017-09-17 18:45:23 +0200 | [diff] [blame] | 90 | enable-method = "amlogic,meson8b-smp"; |
| 91 | resets = <&clkc CLKC_RESET_CPU3_SOFT_RESET>; |
Carlo Caione | 4a69fcd | 2015-10-07 22:31:04 +0200 | [diff] [blame] | 92 | }; |
| 93 | }; |
Martin Blumenstingl | d8dd3d2 | 2017-06-15 23:33:51 +0200 | [diff] [blame] | 94 | |
Martin Blumenstingl | e8d85d7 | 2018-04-22 12:45:02 +0200 | [diff] [blame] | 95 | pmu { |
| 96 | compatible = "arm,cortex-a5-pmu"; |
| 97 | interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>, |
| 98 | <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>, |
| 99 | <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>, |
| 100 | <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>; |
| 101 | interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>; |
| 102 | }; |
| 103 | |
Linus Lüssing | b9b4bf5 | 2017-10-02 17:59:03 +0200 | [diff] [blame] | 104 | reserved-memory { |
| 105 | #address-cells = <1>; |
| 106 | #size-cells = <1>; |
| 107 | ranges; |
| 108 | |
| 109 | /* 2 MiB reserved for Hardware ROM Firmware? */ |
| 110 | hwrom@0 { |
| 111 | reg = <0x0 0x200000>; |
| 112 | no-map; |
| 113 | }; |
| 114 | }; |
| 115 | |
Martin Blumenstingl | d8dd3d2 | 2017-06-15 23:33:51 +0200 | [diff] [blame] | 116 | scu@c4300000 { |
| 117 | compatible = "arm,cortex-a5-scu"; |
| 118 | reg = <0xc4300000 0x100>; |
| 119 | }; |
Martin Blumenstingl | f44135e | 2017-04-17 23:39:38 +0200 | [diff] [blame] | 120 | }; /* end of / */ |
Carlo Caione | 4a69fcd | 2015-10-07 22:31:04 +0200 | [diff] [blame] | 121 | |
Martin Blumenstingl | f44135e | 2017-04-17 23:39:38 +0200 | [diff] [blame] | 122 | &aobus { |
Carlo Caione | 4692142 | 2017-09-17 18:45:23 +0200 | [diff] [blame] | 123 | pmu: pmu@e0 { |
| 124 | compatible = "amlogic,meson8b-pmu", "syscon"; |
| 125 | reg = <0xe0 0x18>; |
| 126 | }; |
| 127 | |
Martin Blumenstingl | f44135e | 2017-04-17 23:39:38 +0200 | [diff] [blame] | 128 | pinctrl_aobus: pinctrl@84 { |
| 129 | compatible = "amlogic,meson8b-aobus-pinctrl"; |
| 130 | reg = <0x84 0xc>; |
Carlo Caione | 4a69fcd | 2015-10-07 22:31:04 +0200 | [diff] [blame] | 131 | #address-cells = <1>; |
| 132 | #size-cells = <1>; |
| 133 | ranges; |
| 134 | |
Martin Blumenstingl | f44135e | 2017-04-17 23:39:38 +0200 | [diff] [blame] | 135 | gpio_ao: ao-bank@14 { |
| 136 | reg = <0x14 0x4>, |
| 137 | <0x2c 0x4>, |
| 138 | <0x24 0x8>; |
| 139 | reg-names = "mux", "pull", "gpio"; |
| 140 | gpio-controller; |
| 141 | #gpio-cells = <2>; |
Jerome Brunet | 677c432 | 2017-09-21 19:14:44 +0200 | [diff] [blame] | 142 | gpio-ranges = <&pinctrl_aobus 0 0 16>; |
Carlo Caione | 4a69fcd | 2015-10-07 22:31:04 +0200 | [diff] [blame] | 143 | }; |
| 144 | |
Martin Blumenstingl | f44135e | 2017-04-17 23:39:38 +0200 | [diff] [blame] | 145 | uart_ao_a_pins: uart_ao_a { |
| 146 | mux { |
| 147 | groups = "uart_tx_ao_a", "uart_rx_ao_a"; |
| 148 | function = "uart_ao"; |
Carlo Caione | 4a69fcd | 2015-10-07 22:31:04 +0200 | [diff] [blame] | 149 | }; |
| 150 | }; |
Martin Blumenstingl | 15b520f | 2018-05-06 22:57:49 +0200 | [diff] [blame] | 151 | |
| 152 | ir_recv_pins: remote { |
| 153 | mux { |
| 154 | groups = "remote_input"; |
| 155 | function = "remote"; |
| 156 | }; |
| 157 | }; |
Carlo Caione | 4a69fcd | 2015-10-07 22:31:04 +0200 | [diff] [blame] | 158 | }; |
Martin Blumenstingl | f44135e | 2017-04-17 23:39:38 +0200 | [diff] [blame] | 159 | }; |
| 160 | |
| 161 | &cbus { |
| 162 | clkc: clock-controller@4000 { |
| 163 | #clock-cells = <1>; |
Martin Blumenstingl | 45631ea | 2017-07-28 23:13:13 +0200 | [diff] [blame] | 164 | #reset-cells = <1>; |
Martin Blumenstingl | f44135e | 2017-04-17 23:39:38 +0200 | [diff] [blame] | 165 | compatible = "amlogic,meson8b-clkc"; |
Martin Blumenstingl | f31094f | 2018-07-21 21:05:53 +0200 | [diff] [blame^] | 166 | reg = <0x8000 0x4>, <0x4000 0x400>; |
Martin Blumenstingl | f44135e | 2017-04-17 23:39:38 +0200 | [diff] [blame] | 167 | }; |
| 168 | |
| 169 | reset: reset-controller@4404 { |
| 170 | compatible = "amlogic,meson8b-reset"; |
Martin Blumenstingl | a2730ed | 2018-01-21 23:14:12 +0100 | [diff] [blame] | 171 | reg = <0x4404 0x9c>; |
Martin Blumenstingl | f44135e | 2017-04-17 23:39:38 +0200 | [diff] [blame] | 172 | #reset-cells = <1>; |
| 173 | }; |
| 174 | |
Martin Blumenstingl | bd835d5 | 2017-09-23 16:14:03 +0200 | [diff] [blame] | 175 | analog_top: analog-top@81a8 { |
| 176 | compatible = "amlogic,meson8b-analog-top", "syscon"; |
| 177 | reg = <0x81a8 0x14>; |
| 178 | }; |
| 179 | |
Martin Blumenstingl | f44135e | 2017-04-17 23:39:38 +0200 | [diff] [blame] | 180 | pwm_ef: pwm@86c0 { |
| 181 | compatible = "amlogic,meson8b-pwm"; |
| 182 | reg = <0x86c0 0x10>; |
| 183 | #pwm-cells = <3>; |
| 184 | status = "disabled"; |
| 185 | }; |
| 186 | |
Martin Blumenstingl | f44135e | 2017-04-17 23:39:38 +0200 | [diff] [blame] | 187 | pinctrl_cbus: pinctrl@9880 { |
| 188 | compatible = "amlogic,meson8b-cbus-pinctrl"; |
| 189 | reg = <0x9880 0x10>; |
| 190 | #address-cells = <1>; |
| 191 | #size-cells = <1>; |
| 192 | ranges; |
| 193 | |
| 194 | gpio: banks@80b0 { |
| 195 | reg = <0x80b0 0x28>, |
| 196 | <0x80e8 0x18>, |
| 197 | <0x8120 0x18>, |
| 198 | <0x8030 0x38>; |
| 199 | reg-names = "mux", "pull", "pull-enable", "gpio"; |
| 200 | gpio-controller; |
| 201 | #gpio-cells = <2>; |
Martin Blumenstingl | 4e461e6 | 2018-03-12 21:57:09 +0100 | [diff] [blame] | 202 | gpio-ranges = <&pinctrl_cbus 0 0 83>; |
Martin Blumenstingl | f44135e | 2017-04-17 23:39:38 +0200 | [diff] [blame] | 203 | }; |
Emiliano Ingrassia | b964465 | 2018-01-19 02:48:00 +0100 | [diff] [blame] | 204 | |
| 205 | eth_rgmii_pins: eth-rgmii { |
| 206 | mux { |
| 207 | groups = "eth_tx_clk", |
| 208 | "eth_tx_en", |
| 209 | "eth_txd1_0", |
| 210 | "eth_txd1_1", |
| 211 | "eth_txd0_0", |
| 212 | "eth_txd0_1", |
| 213 | "eth_rx_clk", |
| 214 | "eth_rx_dv", |
| 215 | "eth_rxd1", |
| 216 | "eth_rxd0", |
| 217 | "eth_mdio_en", |
| 218 | "eth_mdc", |
| 219 | "eth_ref_clk", |
| 220 | "eth_txd2", |
| 221 | "eth_txd3"; |
| 222 | function = "ethernet"; |
| 223 | }; |
| 224 | }; |
Linus Lüssing | e03efbc | 2018-03-17 21:11:14 +0100 | [diff] [blame] | 225 | |
| 226 | sd_b_pins: sd-b { |
| 227 | mux { |
| 228 | groups = "sd_d0_b", "sd_d1_b", "sd_d2_b", |
| 229 | "sd_d3_b", "sd_clk_b", "sd_cmd_b"; |
| 230 | function = "sd_b"; |
| 231 | }; |
| 232 | }; |
Martin Blumenstingl | f44135e | 2017-04-17 23:39:38 +0200 | [diff] [blame] | 233 | }; |
| 234 | }; |
| 235 | |
Carlo Caione | 4692142 | 2017-09-17 18:45:23 +0200 | [diff] [blame] | 236 | &ahb_sram { |
| 237 | smp-sram@1ff80 { |
| 238 | compatible = "amlogic,meson8b-smp-sram"; |
| 239 | reg = <0x1ff80 0x8>; |
| 240 | }; |
| 241 | }; |
| 242 | |
Martin Blumenstingl | 2cb51a8 | 2017-10-03 01:28:04 +0200 | [diff] [blame] | 243 | |
| 244 | &efuse { |
| 245 | compatible = "amlogic,meson8b-efuse"; |
| 246 | clocks = <&clkc CLKID_EFUSE>; |
| 247 | clock-names = "core"; |
| 248 | }; |
| 249 | |
Martin Blumenstingl | f28d4bd | 2017-06-15 23:33:52 +0200 | [diff] [blame] | 250 | ðmac { |
Emiliano Ingrassia | b964465 | 2018-01-19 02:48:00 +0100 | [diff] [blame] | 251 | compatible = "amlogic,meson8b-dwmac", "snps,dwmac-3.70a", "snps,dwmac"; |
| 252 | |
| 253 | reg = <0xc9410000 0x10000 |
| 254 | 0xc1108140 0x4>; |
| 255 | |
| 256 | clocks = <&clkc CLKID_ETH>, |
| 257 | <&clkc CLKID_MPLL2>, |
| 258 | <&clkc CLKID_MPLL2>; |
| 259 | clock-names = "stmmaceth", "clkin0", "clkin1"; |
| 260 | |
| 261 | resets = <&reset RESET_ETHERNET>; |
| 262 | reset-names = "stmmaceth"; |
Martin Blumenstingl | f28d4bd | 2017-06-15 23:33:52 +0200 | [diff] [blame] | 263 | }; |
| 264 | |
Jerome Brunet | 7d32bc0 | 2017-10-19 14:01:41 +0200 | [diff] [blame] | 265 | &gpio_intc { |
| 266 | compatible = "amlogic,meson-gpio-intc", |
| 267 | "amlogic,meson8b-gpio-intc"; |
| 268 | status = "okay"; |
| 269 | }; |
| 270 | |
Martin Blumenstingl | a35910d | 2017-06-15 23:33:49 +0200 | [diff] [blame] | 271 | &hwrng { |
| 272 | compatible = "amlogic,meson8b-rng", "amlogic,meson-rng"; |
| 273 | clocks = <&clkc CLKID_RNG0>; |
| 274 | clock-names = "core"; |
| 275 | }; |
| 276 | |
Martin Blumenstingl | 7a6cc8b | 2018-02-17 17:06:50 +0100 | [diff] [blame] | 277 | &i2c_AO { |
| 278 | clocks = <&clkc CLKID_CLK81>; |
| 279 | }; |
| 280 | |
| 281 | &i2c_A { |
| 282 | clocks = <&clkc CLKID_I2C>; |
| 283 | }; |
| 284 | |
| 285 | &i2c_B { |
| 286 | clocks = <&clkc CLKID_I2C>; |
| 287 | }; |
| 288 | |
Carlo Caione | bbe5b23 | 2017-04-17 23:42:44 +0200 | [diff] [blame] | 289 | &L2 { |
| 290 | arm,data-latency = <3 3 3>; |
| 291 | arm,tag-latency = <2 2 2>; |
| 292 | arm,filter-ranges = <0x100000 0xc0000000>; |
Martin Blumenstingl | 9bef306 | 2017-10-31 23:23:15 +0100 | [diff] [blame] | 293 | prefetch-data = <1>; |
| 294 | prefetch-instr = <1>; |
| 295 | arm,shared-override; |
Carlo Caione | bbe5b23 | 2017-04-17 23:42:44 +0200 | [diff] [blame] | 296 | }; |
| 297 | |
Martin Blumenstingl | 440bdcd | 2017-07-12 00:20:14 +0200 | [diff] [blame] | 298 | &pwm_ab { |
| 299 | compatible = "amlogic,meson8b-pwm"; |
| 300 | }; |
| 301 | |
| 302 | &pwm_cd { |
| 303 | compatible = "amlogic,meson8b-pwm"; |
| 304 | }; |
| 305 | |
Martin Blumenstingl | a39a3b9 | 2017-06-15 23:33:47 +0200 | [diff] [blame] | 306 | &saradc { |
| 307 | compatible = "amlogic,meson8b-saradc", "amlogic,meson-saradc"; |
| 308 | clocks = <&clkc CLKID_XTAL>, |
Xingyu Chen | b9b9db0 | 2017-11-16 17:01:15 +0800 | [diff] [blame] | 309 | <&clkc CLKID_SAR_ADC>; |
| 310 | clock-names = "clkin", "core"; |
Martin Blumenstingl | a39a3b9 | 2017-06-15 23:33:47 +0200 | [diff] [blame] | 311 | }; |
| 312 | |
Martin Blumenstingl | 88b1b18 | 2017-10-07 18:29:39 +0200 | [diff] [blame] | 313 | &sdio { |
| 314 | compatible = "amlogic,meson8b-sdio", "amlogic,meson-mx-sdio"; |
| 315 | clocks = <&clkc CLKID_SDIO>, <&clkc CLKID_CLK81>; |
| 316 | clock-names = "core", "clkin"; |
| 317 | }; |
| 318 | |
Martin Blumenstingl | f44135e | 2017-04-17 23:39:38 +0200 | [diff] [blame] | 319 | &uart_AO { |
Martin Blumenstingl | b02d6e7 | 2017-11-17 23:58:57 +0100 | [diff] [blame] | 320 | compatible = "amlogic,meson8b-uart", "amlogic,meson-uart"; |
| 321 | clocks = <&clkc CLKID_CLK81>, <&clkc CLKID_XTAL>, <&clkc CLKID_CLK81>; |
| 322 | clock-names = "baud", "xtal", "pclk"; |
Martin Blumenstingl | f44135e | 2017-04-17 23:39:38 +0200 | [diff] [blame] | 323 | }; |
| 324 | |
| 325 | &uart_A { |
Martin Blumenstingl | b02d6e7 | 2017-11-17 23:58:57 +0100 | [diff] [blame] | 326 | compatible = "amlogic,meson8b-uart", "amlogic,meson-uart"; |
| 327 | clocks = <&clkc CLKID_CLK81>, <&clkc CLKID_XTAL>, <&clkc CLKID_UART0>; |
| 328 | clock-names = "baud", "xtal", "pclk"; |
Martin Blumenstingl | f44135e | 2017-04-17 23:39:38 +0200 | [diff] [blame] | 329 | }; |
| 330 | |
| 331 | &uart_B { |
Martin Blumenstingl | b02d6e7 | 2017-11-17 23:58:57 +0100 | [diff] [blame] | 332 | compatible = "amlogic,meson8b-uart", "amlogic,meson-uart"; |
| 333 | clocks = <&clkc CLKID_CLK81>, <&clkc CLKID_XTAL>, <&clkc CLKID_UART1>; |
| 334 | clock-names = "baud", "xtal", "pclk"; |
Martin Blumenstingl | f44135e | 2017-04-17 23:39:38 +0200 | [diff] [blame] | 335 | }; |
| 336 | |
| 337 | &uart_C { |
Martin Blumenstingl | b02d6e7 | 2017-11-17 23:58:57 +0100 | [diff] [blame] | 338 | compatible = "amlogic,meson8b-uart", "amlogic,meson-uart"; |
| 339 | clocks = <&clkc CLKID_CLK81>, <&clkc CLKID_XTAL>, <&clkc CLKID_UART2>; |
| 340 | clock-names = "baud", "xtal", "pclk"; |
Martin Blumenstingl | f44135e | 2017-04-17 23:39:38 +0200 | [diff] [blame] | 341 | }; |
Martin Blumenstingl | e29b1cf | 2017-06-15 23:33:50 +0200 | [diff] [blame] | 342 | |
| 343 | &usb0 { |
| 344 | compatible = "amlogic,meson8b-usb", "snps,dwc2"; |
| 345 | clocks = <&clkc CLKID_USB0_DDR_BRIDGE>; |
| 346 | clock-names = "otg"; |
| 347 | }; |
| 348 | |
| 349 | &usb1 { |
| 350 | compatible = "amlogic,meson8b-usb", "snps,dwc2"; |
| 351 | clocks = <&clkc CLKID_USB1_DDR_BRIDGE>; |
| 352 | clock-names = "otg"; |
| 353 | }; |
| 354 | |
| 355 | &usb0_phy { |
| 356 | compatible = "amlogic,meson8b-usb2-phy", "amlogic,meson-mx-usb2-phy"; |
| 357 | clocks = <&clkc CLKID_USB>, <&clkc CLKID_USB0>; |
| 358 | clock-names = "usb_general", "usb"; |
| 359 | resets = <&reset RESET_USB_OTG>; |
| 360 | }; |
| 361 | |
| 362 | &usb1_phy { |
| 363 | compatible = "amlogic,meson8b-usb2-phy", "amlogic,meson-mx-usb2-phy"; |
| 364 | clocks = <&clkc CLKID_USB>, <&clkc CLKID_USB1>; |
| 365 | clock-names = "usb_general", "usb"; |
| 366 | resets = <&reset RESET_USB_OTG>; |
| 367 | }; |
Martin Blumenstingl | 2eca2a1 | 2017-07-12 00:22:22 +0200 | [diff] [blame] | 368 | |
| 369 | &wdt { |
| 370 | compatible = "amlogic,meson8b-wdt"; |
| 371 | }; |