Neil Armstrong | 677092c | 2019-05-27 15:38:55 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 OR MIT |
Carlo Caione | 4a69fcd | 2015-10-07 22:31:04 +0200 | [diff] [blame] | 2 | /* |
| 3 | * Copyright 2015 Endless Mobile, Inc. |
| 4 | * Author: Carlo Caione <carlo@endlessm.com> |
Carlo Caione | 4a69fcd | 2015-10-07 22:31:04 +0200 | [diff] [blame] | 5 | */ |
| 6 | |
Martin Blumenstingl | 6d549ff | 2019-12-08 19:05:25 +0100 | [diff] [blame] | 7 | #include <dt-bindings/clock/meson8-ddr-clkc.h> |
Carlo Caione | 4a69fcd | 2015-10-07 22:31:04 +0200 | [diff] [blame] | 8 | #include <dt-bindings/clock/meson8b-clkc.h> |
| 9 | #include <dt-bindings/gpio/meson8b-gpio.h> |
Martin Blumenstingl | 9960cac | 2020-06-20 18:10:10 +0200 | [diff] [blame] | 10 | #include <dt-bindings/power/meson8-power.h> |
Neil Armstrong | cad059c | 2016-05-30 15:27:18 +0200 | [diff] [blame] | 11 | #include <dt-bindings/reset/amlogic,meson8b-reset.h> |
Carlo Caione | 4692142 | 2017-09-17 18:45:23 +0200 | [diff] [blame] | 12 | #include <dt-bindings/reset/amlogic,meson8b-clkc-reset.h> |
Martin Blumenstingl | 9073f69 | 2020-12-21 19:13:05 +0100 | [diff] [blame^] | 13 | #include <dt-bindings/thermal/thermal.h> |
Martin Blumenstingl | f44135e | 2017-04-17 23:39:38 +0200 | [diff] [blame] | 14 | #include "meson.dtsi" |
Carlo Caione | 4a69fcd | 2015-10-07 22:31:04 +0200 | [diff] [blame] | 15 | |
| 16 | / { |
Carlo Caione | 4a69fcd | 2015-10-07 22:31:04 +0200 | [diff] [blame] | 17 | cpus { |
| 18 | #address-cells = <1>; |
| 19 | #size-cells = <0>; |
| 20 | |
Martin Blumenstingl | e8d85d7 | 2018-04-22 12:45:02 +0200 | [diff] [blame] | 21 | cpu0: cpu@200 { |
Carlo Caione | 4a69fcd | 2015-10-07 22:31:04 +0200 | [diff] [blame] | 22 | device_type = "cpu"; |
| 23 | compatible = "arm,cortex-a5"; |
| 24 | next-level-cache = <&L2>; |
| 25 | reg = <0x200>; |
Carlo Caione | 4692142 | 2017-09-17 18:45:23 +0200 | [diff] [blame] | 26 | enable-method = "amlogic,meson8b-smp"; |
| 27 | resets = <&clkc CLKC_RESET_CPU0_SOFT_RESET>; |
Martin Blumenstingl | c311552 | 2018-11-30 00:00:44 +0100 | [diff] [blame] | 28 | operating-points-v2 = <&cpu_opp_table>; |
| 29 | clocks = <&clkc CLKID_CPUCLK>; |
Martin Blumenstingl | 9073f69 | 2020-12-21 19:13:05 +0100 | [diff] [blame^] | 30 | #cooling-cells = <2>; /* min followed by max */ |
Carlo Caione | 4a69fcd | 2015-10-07 22:31:04 +0200 | [diff] [blame] | 31 | }; |
| 32 | |
Martin Blumenstingl | e8d85d7 | 2018-04-22 12:45:02 +0200 | [diff] [blame] | 33 | cpu1: cpu@201 { |
Carlo Caione | 4a69fcd | 2015-10-07 22:31:04 +0200 | [diff] [blame] | 34 | device_type = "cpu"; |
| 35 | compatible = "arm,cortex-a5"; |
| 36 | next-level-cache = <&L2>; |
| 37 | reg = <0x201>; |
Carlo Caione | 4692142 | 2017-09-17 18:45:23 +0200 | [diff] [blame] | 38 | enable-method = "amlogic,meson8b-smp"; |
| 39 | resets = <&clkc CLKC_RESET_CPU1_SOFT_RESET>; |
Martin Blumenstingl | c311552 | 2018-11-30 00:00:44 +0100 | [diff] [blame] | 40 | operating-points-v2 = <&cpu_opp_table>; |
| 41 | clocks = <&clkc CLKID_CPUCLK>; |
Martin Blumenstingl | 9073f69 | 2020-12-21 19:13:05 +0100 | [diff] [blame^] | 42 | #cooling-cells = <2>; /* min followed by max */ |
Carlo Caione | 4a69fcd | 2015-10-07 22:31:04 +0200 | [diff] [blame] | 43 | }; |
| 44 | |
Martin Blumenstingl | e8d85d7 | 2018-04-22 12:45:02 +0200 | [diff] [blame] | 45 | cpu2: cpu@202 { |
Carlo Caione | 4a69fcd | 2015-10-07 22:31:04 +0200 | [diff] [blame] | 46 | device_type = "cpu"; |
| 47 | compatible = "arm,cortex-a5"; |
| 48 | next-level-cache = <&L2>; |
| 49 | reg = <0x202>; |
Carlo Caione | 4692142 | 2017-09-17 18:45:23 +0200 | [diff] [blame] | 50 | enable-method = "amlogic,meson8b-smp"; |
| 51 | resets = <&clkc CLKC_RESET_CPU2_SOFT_RESET>; |
Martin Blumenstingl | c311552 | 2018-11-30 00:00:44 +0100 | [diff] [blame] | 52 | operating-points-v2 = <&cpu_opp_table>; |
| 53 | clocks = <&clkc CLKID_CPUCLK>; |
Martin Blumenstingl | 9073f69 | 2020-12-21 19:13:05 +0100 | [diff] [blame^] | 54 | #cooling-cells = <2>; /* min followed by max */ |
Carlo Caione | 4a69fcd | 2015-10-07 22:31:04 +0200 | [diff] [blame] | 55 | }; |
| 56 | |
Martin Blumenstingl | e8d85d7 | 2018-04-22 12:45:02 +0200 | [diff] [blame] | 57 | cpu3: cpu@203 { |
Carlo Caione | 4a69fcd | 2015-10-07 22:31:04 +0200 | [diff] [blame] | 58 | device_type = "cpu"; |
| 59 | compatible = "arm,cortex-a5"; |
| 60 | next-level-cache = <&L2>; |
| 61 | reg = <0x203>; |
Carlo Caione | 4692142 | 2017-09-17 18:45:23 +0200 | [diff] [blame] | 62 | enable-method = "amlogic,meson8b-smp"; |
| 63 | resets = <&clkc CLKC_RESET_CPU3_SOFT_RESET>; |
Martin Blumenstingl | c311552 | 2018-11-30 00:00:44 +0100 | [diff] [blame] | 64 | operating-points-v2 = <&cpu_opp_table>; |
| 65 | clocks = <&clkc CLKID_CPUCLK>; |
Martin Blumenstingl | 9073f69 | 2020-12-21 19:13:05 +0100 | [diff] [blame^] | 66 | #cooling-cells = <2>; /* min followed by max */ |
Martin Blumenstingl | c311552 | 2018-11-30 00:00:44 +0100 | [diff] [blame] | 67 | }; |
| 68 | }; |
| 69 | |
| 70 | cpu_opp_table: opp-table { |
| 71 | compatible = "operating-points-v2"; |
| 72 | opp-shared; |
| 73 | |
| 74 | opp-96000000 { |
| 75 | opp-hz = /bits/ 64 <96000000>; |
| 76 | opp-microvolt = <860000>; |
| 77 | }; |
| 78 | opp-192000000 { |
| 79 | opp-hz = /bits/ 64 <192000000>; |
| 80 | opp-microvolt = <860000>; |
| 81 | }; |
| 82 | opp-312000000 { |
| 83 | opp-hz = /bits/ 64 <312000000>; |
| 84 | opp-microvolt = <860000>; |
| 85 | }; |
| 86 | opp-408000000 { |
| 87 | opp-hz = /bits/ 64 <408000000>; |
| 88 | opp-microvolt = <860000>; |
| 89 | }; |
| 90 | opp-504000000 { |
| 91 | opp-hz = /bits/ 64 <504000000>; |
| 92 | opp-microvolt = <860000>; |
| 93 | }; |
| 94 | opp-600000000 { |
| 95 | opp-hz = /bits/ 64 <600000000>; |
| 96 | opp-microvolt = <860000>; |
| 97 | }; |
| 98 | opp-720000000 { |
| 99 | opp-hz = /bits/ 64 <720000000>; |
| 100 | opp-microvolt = <860000>; |
| 101 | }; |
| 102 | opp-816000000 { |
| 103 | opp-hz = /bits/ 64 <816000000>; |
| 104 | opp-microvolt = <900000>; |
| 105 | }; |
| 106 | opp-1008000000 { |
| 107 | opp-hz = /bits/ 64 <1008000000>; |
| 108 | opp-microvolt = <1140000>; |
| 109 | }; |
| 110 | opp-1200000000 { |
| 111 | opp-hz = /bits/ 64 <1200000000>; |
| 112 | opp-microvolt = <1140000>; |
| 113 | }; |
| 114 | opp-1320000000 { |
| 115 | opp-hz = /bits/ 64 <1320000000>; |
| 116 | opp-microvolt = <1140000>; |
| 117 | }; |
| 118 | opp-1488000000 { |
| 119 | opp-hz = /bits/ 64 <1488000000>; |
| 120 | opp-microvolt = <1140000>; |
| 121 | }; |
| 122 | opp-1536000000 { |
| 123 | opp-hz = /bits/ 64 <1536000000>; |
| 124 | opp-microvolt = <1140000>; |
Carlo Caione | 4a69fcd | 2015-10-07 22:31:04 +0200 | [diff] [blame] | 125 | }; |
| 126 | }; |
Martin Blumenstingl | d8dd3d2 | 2017-06-15 23:33:51 +0200 | [diff] [blame] | 127 | |
Martin Blumenstingl | c3ea80b | 2018-12-08 18:12:47 +0100 | [diff] [blame] | 128 | gpu_opp_table: gpu-opp-table { |
| 129 | compatible = "operating-points-v2"; |
| 130 | |
| 131 | opp-255000000 { |
| 132 | opp-hz = /bits/ 64 <255000000>; |
Martin Blumenstingl | 26d6514 | 2019-05-12 21:39:36 +0200 | [diff] [blame] | 133 | opp-microvolt = <1100000>; |
Martin Blumenstingl | c3ea80b | 2018-12-08 18:12:47 +0100 | [diff] [blame] | 134 | }; |
Martin Blumenstingl | c3dd331 | 2019-12-25 02:06:07 +0100 | [diff] [blame] | 135 | opp-364285714 { |
| 136 | opp-hz = /bits/ 64 <364285714>; |
Martin Blumenstingl | 26d6514 | 2019-05-12 21:39:36 +0200 | [diff] [blame] | 137 | opp-microvolt = <1100000>; |
Martin Blumenstingl | c3ea80b | 2018-12-08 18:12:47 +0100 | [diff] [blame] | 138 | }; |
| 139 | opp-425000000 { |
| 140 | opp-hz = /bits/ 64 <425000000>; |
Martin Blumenstingl | 26d6514 | 2019-05-12 21:39:36 +0200 | [diff] [blame] | 141 | opp-microvolt = <1100000>; |
Martin Blumenstingl | c3ea80b | 2018-12-08 18:12:47 +0100 | [diff] [blame] | 142 | }; |
| 143 | opp-510000000 { |
| 144 | opp-hz = /bits/ 64 <510000000>; |
Martin Blumenstingl | 26d6514 | 2019-05-12 21:39:36 +0200 | [diff] [blame] | 145 | opp-microvolt = <1100000>; |
Martin Blumenstingl | c3ea80b | 2018-12-08 18:12:47 +0100 | [diff] [blame] | 146 | }; |
| 147 | opp-637500000 { |
| 148 | opp-hz = /bits/ 64 <637500000>; |
Martin Blumenstingl | 26d6514 | 2019-05-12 21:39:36 +0200 | [diff] [blame] | 149 | opp-microvolt = <1100000>; |
Martin Blumenstingl | c3ea80b | 2018-12-08 18:12:47 +0100 | [diff] [blame] | 150 | turbo-mode; |
| 151 | }; |
| 152 | }; |
| 153 | |
Martin Blumenstingl | e8d85d7 | 2018-04-22 12:45:02 +0200 | [diff] [blame] | 154 | pmu { |
| 155 | compatible = "arm,cortex-a5-pmu"; |
| 156 | interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>, |
| 157 | <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>, |
| 158 | <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>, |
| 159 | <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>; |
| 160 | interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>; |
| 161 | }; |
| 162 | |
Linus Lüssing | b9b4bf5 | 2017-10-02 17:59:03 +0200 | [diff] [blame] | 163 | reserved-memory { |
| 164 | #address-cells = <1>; |
| 165 | #size-cells = <1>; |
| 166 | ranges; |
| 167 | |
| 168 | /* 2 MiB reserved for Hardware ROM Firmware? */ |
| 169 | hwrom@0 { |
| 170 | reg = <0x0 0x200000>; |
| 171 | no-map; |
| 172 | }; |
| 173 | }; |
Martin Blumenstingl | e402d24 | 2018-12-08 17:50:25 +0100 | [diff] [blame] | 174 | |
Martin Blumenstingl | 9073f69 | 2020-12-21 19:13:05 +0100 | [diff] [blame^] | 175 | thermal-zones { |
| 176 | soc { |
| 177 | polling-delay-passive = <250>; /* milliseconds */ |
| 178 | polling-delay = <1000>; /* milliseconds */ |
| 179 | thermal-sensors = <&thermal_sensor>; |
| 180 | |
| 181 | cooling-maps { |
| 182 | map0 { |
| 183 | trip = <&soc_passive>; |
| 184 | cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
| 185 | <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
| 186 | <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
| 187 | <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
| 188 | <&mali THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; |
| 189 | }; |
| 190 | |
| 191 | map1 { |
| 192 | trip = <&soc_hot>; |
| 193 | cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
| 194 | <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
| 195 | <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
| 196 | <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
| 197 | <&mali THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; |
| 198 | }; |
| 199 | }; |
| 200 | |
| 201 | trips { |
| 202 | soc_passive: soc-passive { |
| 203 | temperature = <80000>; /* millicelsius */ |
| 204 | hysteresis = <2000>; /* millicelsius */ |
| 205 | type = "passive"; |
| 206 | }; |
| 207 | |
| 208 | soc_hot: soc-hot { |
| 209 | temperature = <90000>; /* millicelsius */ |
| 210 | hysteresis = <2000>; /* millicelsius */ |
| 211 | type = "hot"; |
| 212 | }; |
| 213 | |
| 214 | soc_critical: soc-critical { |
| 215 | temperature = <110000>; /* millicelsius */ |
| 216 | hysteresis = <2000>; /* millicelsius */ |
| 217 | type = "critical"; |
| 218 | }; |
| 219 | }; |
| 220 | }; |
| 221 | }; |
| 222 | |
Martin Blumenstingl | 872f881 | 2019-05-20 21:43:53 +0200 | [diff] [blame] | 223 | mmcbus: bus@c8000000 { |
| 224 | compatible = "simple-bus"; |
| 225 | reg = <0xc8000000 0x8000>; |
| 226 | #address-cells = <1>; |
| 227 | #size-cells = <1>; |
| 228 | ranges = <0x0 0xc8000000 0x8000>; |
| 229 | |
Martin Blumenstingl | 6d549ff | 2019-12-08 19:05:25 +0100 | [diff] [blame] | 230 | ddr_clkc: clock-controller@400 { |
| 231 | compatible = "amlogic,meson8b-ddr-clkc"; |
| 232 | reg = <0x400 0x20>; |
| 233 | clocks = <&xtal>; |
| 234 | clock-names = "xtal"; |
| 235 | #clock-cells = <1>; |
| 236 | }; |
| 237 | |
Martin Blumenstingl | 872f881 | 2019-05-20 21:43:53 +0200 | [diff] [blame] | 238 | dmcbus: bus@6000 { |
| 239 | compatible = "simple-bus"; |
| 240 | reg = <0x6000 0x400>; |
| 241 | #address-cells = <1>; |
| 242 | #size-cells = <1>; |
| 243 | ranges = <0x0 0x6000 0x400>; |
| 244 | |
| 245 | canvas: video-lut@48 { |
| 246 | compatible = "amlogic,meson8b-canvas", |
| 247 | "amlogic,canvas"; |
| 248 | reg = <0x48 0x14>; |
| 249 | }; |
| 250 | }; |
| 251 | }; |
| 252 | |
Martin Blumenstingl | e402d24 | 2018-12-08 17:50:25 +0100 | [diff] [blame] | 253 | apb: bus@d0000000 { |
| 254 | compatible = "simple-bus"; |
| 255 | reg = <0xd0000000 0x200000>; |
| 256 | #address-cells = <1>; |
| 257 | #size-cells = <1>; |
| 258 | ranges = <0x0 0xd0000000 0x200000>; |
Martin Blumenstingl | c3ea80b | 2018-12-08 18:12:47 +0100 | [diff] [blame] | 259 | |
| 260 | mali: gpu@c0000 { |
| 261 | compatible = "amlogic,meson8b-mali", "arm,mali-450"; |
| 262 | reg = <0xc0000 0x40000>; |
| 263 | interrupts = <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>, |
| 264 | <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>, |
| 265 | <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>, |
| 266 | <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>, |
| 267 | <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>, |
| 268 | <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>, |
| 269 | <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>, |
| 270 | <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>; |
| 271 | interrupt-names = "gp", "gpmmu", "pp", "pmu", |
| 272 | "pp0", "ppmmu0", "pp1", "ppmmu1"; |
| 273 | resets = <&reset RESET_MALI>; |
| 274 | clocks = <&clkc CLKID_CLK81>, <&clkc CLKID_MALI>; |
| 275 | clock-names = "bus", "core"; |
| 276 | operating-points-v2 = <&gpu_opp_table>; |
Martin Blumenstingl | 9073f69 | 2020-12-21 19:13:05 +0100 | [diff] [blame^] | 277 | #cooling-cells = <2>; /* min followed by max */ |
Martin Blumenstingl | c3ea80b | 2018-12-08 18:12:47 +0100 | [diff] [blame] | 278 | }; |
Martin Blumenstingl | e402d24 | 2018-12-08 17:50:25 +0100 | [diff] [blame] | 279 | }; |
Martin Blumenstingl | f44135e | 2017-04-17 23:39:38 +0200 | [diff] [blame] | 280 | }; /* end of / */ |
Carlo Caione | 4a69fcd | 2015-10-07 22:31:04 +0200 | [diff] [blame] | 281 | |
Martin Blumenstingl | f44135e | 2017-04-17 23:39:38 +0200 | [diff] [blame] | 282 | &aobus { |
Carlo Caione | 4692142 | 2017-09-17 18:45:23 +0200 | [diff] [blame] | 283 | pmu: pmu@e0 { |
| 284 | compatible = "amlogic,meson8b-pmu", "syscon"; |
| 285 | reg = <0xe0 0x18>; |
| 286 | }; |
| 287 | |
Martin Blumenstingl | f44135e | 2017-04-17 23:39:38 +0200 | [diff] [blame] | 288 | pinctrl_aobus: pinctrl@84 { |
| 289 | compatible = "amlogic,meson8b-aobus-pinctrl"; |
| 290 | reg = <0x84 0xc>; |
Carlo Caione | 4a69fcd | 2015-10-07 22:31:04 +0200 | [diff] [blame] | 291 | #address-cells = <1>; |
| 292 | #size-cells = <1>; |
| 293 | ranges; |
| 294 | |
Martin Blumenstingl | f44135e | 2017-04-17 23:39:38 +0200 | [diff] [blame] | 295 | gpio_ao: ao-bank@14 { |
| 296 | reg = <0x14 0x4>, |
| 297 | <0x2c 0x4>, |
| 298 | <0x24 0x8>; |
| 299 | reg-names = "mux", "pull", "gpio"; |
| 300 | gpio-controller; |
| 301 | #gpio-cells = <2>; |
Jerome Brunet | 677c432 | 2017-09-21 19:14:44 +0200 | [diff] [blame] | 302 | gpio-ranges = <&pinctrl_aobus 0 0 16>; |
Carlo Caione | 4a69fcd | 2015-10-07 22:31:04 +0200 | [diff] [blame] | 303 | }; |
| 304 | |
Martin Blumenstingl | f44135e | 2017-04-17 23:39:38 +0200 | [diff] [blame] | 305 | uart_ao_a_pins: uart_ao_a { |
| 306 | mux { |
| 307 | groups = "uart_tx_ao_a", "uart_rx_ao_a"; |
| 308 | function = "uart_ao"; |
Jerome Brunet | 7e26335 | 2018-11-09 15:04:45 +0100 | [diff] [blame] | 309 | bias-disable; |
Carlo Caione | 4a69fcd | 2015-10-07 22:31:04 +0200 | [diff] [blame] | 310 | }; |
| 311 | }; |
Martin Blumenstingl | 15b520f | 2018-05-06 22:57:49 +0200 | [diff] [blame] | 312 | |
| 313 | ir_recv_pins: remote { |
| 314 | mux { |
| 315 | groups = "remote_input"; |
| 316 | function = "remote"; |
Jerome Brunet | 7e26335 | 2018-11-09 15:04:45 +0100 | [diff] [blame] | 317 | bias-disable; |
Martin Blumenstingl | 15b520f | 2018-05-06 22:57:49 +0200 | [diff] [blame] | 318 | }; |
| 319 | }; |
Carlo Caione | 4a69fcd | 2015-10-07 22:31:04 +0200 | [diff] [blame] | 320 | }; |
Martin Blumenstingl | f44135e | 2017-04-17 23:39:38 +0200 | [diff] [blame] | 321 | }; |
| 322 | |
| 323 | &cbus { |
Martin Blumenstingl | f44135e | 2017-04-17 23:39:38 +0200 | [diff] [blame] | 324 | reset: reset-controller@4404 { |
| 325 | compatible = "amlogic,meson8b-reset"; |
Martin Blumenstingl | a2730ed | 2018-01-21 23:14:12 +0100 | [diff] [blame] | 326 | reg = <0x4404 0x9c>; |
Martin Blumenstingl | f44135e | 2017-04-17 23:39:38 +0200 | [diff] [blame] | 327 | #reset-cells = <1>; |
| 328 | }; |
| 329 | |
Martin Blumenstingl | bd835d5 | 2017-09-23 16:14:03 +0200 | [diff] [blame] | 330 | analog_top: analog-top@81a8 { |
| 331 | compatible = "amlogic,meson8b-analog-top", "syscon"; |
| 332 | reg = <0x81a8 0x14>; |
| 333 | }; |
| 334 | |
Martin Blumenstingl | f44135e | 2017-04-17 23:39:38 +0200 | [diff] [blame] | 335 | pwm_ef: pwm@86c0 { |
| 336 | compatible = "amlogic,meson8b-pwm"; |
| 337 | reg = <0x86c0 0x10>; |
| 338 | #pwm-cells = <3>; |
| 339 | status = "disabled"; |
| 340 | }; |
| 341 | |
Martin Blumenstingl | f1975b98 | 2019-02-09 01:26:41 +0100 | [diff] [blame] | 342 | clock-measure@8758 { |
| 343 | compatible = "amlogic,meson8b-clk-measure"; |
| 344 | reg = <0x8758 0x1c>; |
| 345 | }; |
| 346 | |
Martin Blumenstingl | f44135e | 2017-04-17 23:39:38 +0200 | [diff] [blame] | 347 | pinctrl_cbus: pinctrl@9880 { |
| 348 | compatible = "amlogic,meson8b-cbus-pinctrl"; |
| 349 | reg = <0x9880 0x10>; |
| 350 | #address-cells = <1>; |
| 351 | #size-cells = <1>; |
| 352 | ranges; |
| 353 | |
| 354 | gpio: banks@80b0 { |
| 355 | reg = <0x80b0 0x28>, |
| 356 | <0x80e8 0x18>, |
| 357 | <0x8120 0x18>, |
| 358 | <0x8030 0x38>; |
| 359 | reg-names = "mux", "pull", "pull-enable", "gpio"; |
| 360 | gpio-controller; |
| 361 | #gpio-cells = <2>; |
Martin Blumenstingl | 4e461e6 | 2018-03-12 21:57:09 +0100 | [diff] [blame] | 362 | gpio-ranges = <&pinctrl_cbus 0 0 83>; |
Martin Blumenstingl | f44135e | 2017-04-17 23:39:38 +0200 | [diff] [blame] | 363 | }; |
Emiliano Ingrassia | b964465 | 2018-01-19 02:48:00 +0100 | [diff] [blame] | 364 | |
| 365 | eth_rgmii_pins: eth-rgmii { |
| 366 | mux { |
| 367 | groups = "eth_tx_clk", |
| 368 | "eth_tx_en", |
| 369 | "eth_txd1_0", |
Emiliano Ingrassia | b964465 | 2018-01-19 02:48:00 +0100 | [diff] [blame] | 370 | "eth_txd0_0", |
Emiliano Ingrassia | b964465 | 2018-01-19 02:48:00 +0100 | [diff] [blame] | 371 | "eth_rx_clk", |
| 372 | "eth_rx_dv", |
| 373 | "eth_rxd1", |
| 374 | "eth_rxd0", |
| 375 | "eth_mdio_en", |
| 376 | "eth_mdc", |
| 377 | "eth_ref_clk", |
| 378 | "eth_txd2", |
Martin Blumenstingl | 29f0023 | 2018-12-29 15:35:56 +0100 | [diff] [blame] | 379 | "eth_txd3", |
| 380 | "eth_rxd3", |
| 381 | "eth_rxd2"; |
Emiliano Ingrassia | b964465 | 2018-01-19 02:48:00 +0100 | [diff] [blame] | 382 | function = "ethernet"; |
Jerome Brunet | 7e26335 | 2018-11-09 15:04:45 +0100 | [diff] [blame] | 383 | bias-disable; |
Emiliano Ingrassia | b964465 | 2018-01-19 02:48:00 +0100 | [diff] [blame] | 384 | }; |
| 385 | }; |
Linus Lüssing | e03efbc | 2018-03-17 21:11:14 +0100 | [diff] [blame] | 386 | |
Martin Blumenstingl | a77d0ba | 2018-09-22 17:10:02 +0200 | [diff] [blame] | 387 | eth_rmii_pins: eth-rmii { |
| 388 | mux { |
| 389 | groups = "eth_tx_en", |
| 390 | "eth_txd1_0", |
| 391 | "eth_txd0_0", |
| 392 | "eth_rx_clk", |
| 393 | "eth_rx_dv", |
| 394 | "eth_rxd1", |
| 395 | "eth_rxd0", |
| 396 | "eth_mdio_en", |
| 397 | "eth_mdc"; |
| 398 | function = "ethernet"; |
Jerome Brunet | 7e26335 | 2018-11-09 15:04:45 +0100 | [diff] [blame] | 399 | bias-disable; |
Martin Blumenstingl | a77d0ba | 2018-09-22 17:10:02 +0200 | [diff] [blame] | 400 | }; |
| 401 | }; |
| 402 | |
Martin Blumenstingl | c821b81 | 2018-09-22 17:10:01 +0200 | [diff] [blame] | 403 | i2c_a_pins: i2c-a { |
| 404 | mux { |
| 405 | groups = "i2c_sda_a", "i2c_sck_a"; |
| 406 | function = "i2c_a"; |
Jerome Brunet | 7e26335 | 2018-11-09 15:04:45 +0100 | [diff] [blame] | 407 | bias-disable; |
Martin Blumenstingl | c821b81 | 2018-09-22 17:10:01 +0200 | [diff] [blame] | 408 | }; |
| 409 | }; |
| 410 | |
Linus Lüssing | e03efbc | 2018-03-17 21:11:14 +0100 | [diff] [blame] | 411 | sd_b_pins: sd-b { |
| 412 | mux { |
| 413 | groups = "sd_d0_b", "sd_d1_b", "sd_d2_b", |
| 414 | "sd_d3_b", "sd_clk_b", "sd_cmd_b"; |
| 415 | function = "sd_b"; |
Jerome Brunet | 7e26335 | 2018-11-09 15:04:45 +0100 | [diff] [blame] | 416 | bias-disable; |
Linus Lüssing | e03efbc | 2018-03-17 21:11:14 +0100 | [diff] [blame] | 417 | }; |
| 418 | }; |
Martin Blumenstingl | c821b81 | 2018-09-22 17:10:01 +0200 | [diff] [blame] | 419 | |
Martin Blumenstingl | 73106f7 | 2020-06-20 18:36:52 +0200 | [diff] [blame] | 420 | sdxc_c_pins: sdxc-c { |
| 421 | mux { |
| 422 | groups = "sdxc_d0_c", "sdxc_d13_c", |
| 423 | "sdxc_d47_c", "sdxc_clk_c", |
| 424 | "sdxc_cmd_c"; |
| 425 | function = "sdxc_c"; |
| 426 | bias-pull-up; |
| 427 | }; |
| 428 | }; |
| 429 | |
Martin Blumenstingl | c821b81 | 2018-09-22 17:10:01 +0200 | [diff] [blame] | 430 | pwm_c1_pins: pwm-c1 { |
| 431 | mux { |
| 432 | groups = "pwm_c1"; |
| 433 | function = "pwm_c"; |
Jerome Brunet | 7e26335 | 2018-11-09 15:04:45 +0100 | [diff] [blame] | 434 | bias-disable; |
Martin Blumenstingl | c821b81 | 2018-09-22 17:10:01 +0200 | [diff] [blame] | 435 | }; |
| 436 | }; |
| 437 | |
Martin Blumenstingl | ea241bd | 2019-07-27 14:12:54 +0200 | [diff] [blame] | 438 | pwm_d_pins: pwm-d { |
| 439 | mux { |
| 440 | groups = "pwm_d"; |
| 441 | function = "pwm_d"; |
| 442 | bias-disable; |
| 443 | }; |
| 444 | }; |
| 445 | |
Martin Blumenstingl | c821b81 | 2018-09-22 17:10:01 +0200 | [diff] [blame] | 446 | uart_b0_pins: uart-b0 { |
| 447 | mux { |
| 448 | groups = "uart_tx_b0", |
| 449 | "uart_rx_b0"; |
| 450 | function = "uart_b"; |
Jerome Brunet | 7e26335 | 2018-11-09 15:04:45 +0100 | [diff] [blame] | 451 | bias-disable; |
Martin Blumenstingl | c821b81 | 2018-09-22 17:10:01 +0200 | [diff] [blame] | 452 | }; |
| 453 | }; |
| 454 | |
| 455 | uart_b0_cts_rts_pins: uart-b0-cts-rts { |
| 456 | mux { |
| 457 | groups = "uart_cts_b0", |
| 458 | "uart_rts_b0"; |
| 459 | function = "uart_b"; |
Jerome Brunet | 7e26335 | 2018-11-09 15:04:45 +0100 | [diff] [blame] | 460 | bias-disable; |
Martin Blumenstingl | c821b81 | 2018-09-22 17:10:01 +0200 | [diff] [blame] | 461 | }; |
| 462 | }; |
Martin Blumenstingl | f44135e | 2017-04-17 23:39:38 +0200 | [diff] [blame] | 463 | }; |
| 464 | }; |
| 465 | |
Carlo Caione | 4692142 | 2017-09-17 18:45:23 +0200 | [diff] [blame] | 466 | &ahb_sram { |
| 467 | smp-sram@1ff80 { |
| 468 | compatible = "amlogic,meson8b-smp-sram"; |
| 469 | reg = <0x1ff80 0x8>; |
| 470 | }; |
| 471 | }; |
| 472 | |
Martin Blumenstingl | 2cb51a8 | 2017-10-03 01:28:04 +0200 | [diff] [blame] | 473 | |
| 474 | &efuse { |
| 475 | compatible = "amlogic,meson8b-efuse"; |
| 476 | clocks = <&clkc CLKID_EFUSE>; |
| 477 | clock-names = "core"; |
Martin Blumenstingl | bbbcf64 | 2019-01-18 23:52:24 +0100 | [diff] [blame] | 478 | |
| 479 | temperature_calib: calib@1f4 { |
| 480 | /* only the upper two bytes are relevant */ |
| 481 | reg = <0x1f4 0x4>; |
| 482 | }; |
Martin Blumenstingl | 2cb51a8 | 2017-10-03 01:28:04 +0200 | [diff] [blame] | 483 | }; |
| 484 | |
Martin Blumenstingl | f28d4bd | 2017-06-15 23:33:52 +0200 | [diff] [blame] | 485 | ðmac { |
Emiliano Ingrassia | b964465 | 2018-01-19 02:48:00 +0100 | [diff] [blame] | 486 | compatible = "amlogic,meson8b-dwmac", "snps,dwmac-3.70a", "snps,dwmac"; |
| 487 | |
| 488 | reg = <0xc9410000 0x10000 |
| 489 | 0xc1108140 0x4>; |
| 490 | |
| 491 | clocks = <&clkc CLKID_ETH>, |
| 492 | <&clkc CLKID_MPLL2>, |
Martin Blumenstingl | b632506c | 2020-05-12 23:51:47 +0200 | [diff] [blame] | 493 | <&clkc CLKID_MPLL2>, |
| 494 | <&clkc CLKID_FCLK_DIV2>; |
| 495 | clock-names = "stmmaceth", "clkin0", "clkin1", "timing-adjustment"; |
Jerome Brunet | 4f0303d | 2019-07-18 11:36:23 +0200 | [diff] [blame] | 496 | rx-fifo-depth = <4096>; |
| 497 | tx-fifo-depth = <2048>; |
Emiliano Ingrassia | b964465 | 2018-01-19 02:48:00 +0100 | [diff] [blame] | 498 | |
| 499 | resets = <&reset RESET_ETHERNET>; |
| 500 | reset-names = "stmmaceth"; |
Martin Blumenstingl | 9960cac | 2020-06-20 18:10:10 +0200 | [diff] [blame] | 501 | |
| 502 | power-domains = <&pwrc PWRC_MESON8_ETHERNET_MEM_ID>; |
Martin Blumenstingl | f28d4bd | 2017-06-15 23:33:52 +0200 | [diff] [blame] | 503 | }; |
| 504 | |
Jerome Brunet | 7d32bc0 | 2017-10-19 14:01:41 +0200 | [diff] [blame] | 505 | &gpio_intc { |
| 506 | compatible = "amlogic,meson-gpio-intc", |
| 507 | "amlogic,meson8b-gpio-intc"; |
| 508 | status = "okay"; |
| 509 | }; |
| 510 | |
Martin Blumenstingl | b6db393 | 2019-01-18 23:52:21 +0100 | [diff] [blame] | 511 | &hhi { |
| 512 | clkc: clock-controller { |
Martin Blumenstingl | da25655 | 2019-12-25 02:06:05 +0100 | [diff] [blame] | 513 | compatible = "amlogic,meson8b-clkc"; |
Martin Blumenstingl | 6d549ff | 2019-12-08 19:05:25 +0100 | [diff] [blame] | 514 | clocks = <&xtal>, <&ddr_clkc DDR_CLKID_DDR_PLL>; |
| 515 | clock-names = "xtal", "ddr_pll"; |
Martin Blumenstingl | b6db393 | 2019-01-18 23:52:21 +0100 | [diff] [blame] | 516 | #clock-cells = <1>; |
| 517 | #reset-cells = <1>; |
| 518 | }; |
Martin Blumenstingl | 9960cac | 2020-06-20 18:10:10 +0200 | [diff] [blame] | 519 | |
| 520 | pwrc: power-controller { |
| 521 | compatible = "amlogic,meson8b-pwrc"; |
| 522 | #power-domain-cells = <1>; |
| 523 | amlogic,ao-sysctrl = <&pmu>; |
| 524 | resets = <&reset RESET_DBLK>, |
| 525 | <&reset RESET_PIC_DC>, |
| 526 | <&reset RESET_HDMI_APB>, |
| 527 | <&reset RESET_HDMI_SYSTEM_RESET>, |
| 528 | <&reset RESET_VENCI>, |
| 529 | <&reset RESET_VENCP>, |
| 530 | <&reset RESET_VDAC_4>, |
| 531 | <&reset RESET_VENCL>, |
| 532 | <&reset RESET_VIU>, |
| 533 | <&reset RESET_VENC>, |
| 534 | <&reset RESET_RDMA>; |
| 535 | reset-names = "dblk", "pic_dc", "hdmi_apb", "hdmi_system", |
| 536 | "venci", "vencp", "vdac", "vencl", "viu", |
| 537 | "venc", "rdma"; |
| 538 | clocks = <&clkc CLKID_VPU>; |
| 539 | clock-names = "vpu"; |
| 540 | assigned-clocks = <&clkc CLKID_VPU>; |
| 541 | assigned-clock-rates = <182142857>; |
| 542 | }; |
Martin Blumenstingl | b6db393 | 2019-01-18 23:52:21 +0100 | [diff] [blame] | 543 | }; |
| 544 | |
Martin Blumenstingl | a35910d | 2017-06-15 23:33:49 +0200 | [diff] [blame] | 545 | &hwrng { |
| 546 | compatible = "amlogic,meson8b-rng", "amlogic,meson-rng"; |
| 547 | clocks = <&clkc CLKID_RNG0>; |
| 548 | clock-names = "core"; |
| 549 | }; |
| 550 | |
Martin Blumenstingl | 7a6cc8b | 2018-02-17 17:06:50 +0100 | [diff] [blame] | 551 | &i2c_AO { |
| 552 | clocks = <&clkc CLKID_CLK81>; |
| 553 | }; |
| 554 | |
| 555 | &i2c_A { |
| 556 | clocks = <&clkc CLKID_I2C>; |
| 557 | }; |
| 558 | |
| 559 | &i2c_B { |
| 560 | clocks = <&clkc CLKID_I2C>; |
| 561 | }; |
| 562 | |
Carlo Caione | bbe5b23 | 2017-04-17 23:42:44 +0200 | [diff] [blame] | 563 | &L2 { |
| 564 | arm,data-latency = <3 3 3>; |
| 565 | arm,tag-latency = <2 2 2>; |
| 566 | arm,filter-ranges = <0x100000 0xc0000000>; |
Martin Blumenstingl | 9bef306 | 2017-10-31 23:23:15 +0100 | [diff] [blame] | 567 | prefetch-data = <1>; |
| 568 | prefetch-instr = <1>; |
| 569 | arm,shared-override; |
Carlo Caione | bbe5b23 | 2017-04-17 23:42:44 +0200 | [diff] [blame] | 570 | }; |
| 571 | |
Martin Blumenstingl | e8c276d | 2018-11-23 20:53:07 +0100 | [diff] [blame] | 572 | &periph { |
| 573 | scu@0 { |
| 574 | compatible = "arm,cortex-a5-scu"; |
| 575 | reg = <0x0 0x100>; |
| 576 | }; |
Martin Blumenstingl | f5506e8 | 2018-11-23 20:53:10 +0100 | [diff] [blame] | 577 | |
Martin Blumenstingl | da38636 | 2018-11-23 20:53:11 +0100 | [diff] [blame] | 578 | timer@200 { |
| 579 | compatible = "arm,cortex-a5-global-timer"; |
| 580 | reg = <0x200 0x20>; |
| 581 | interrupts = <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_EDGE_RISING)>; |
| 582 | clocks = <&clkc CLKID_PERIPH>; |
| 583 | |
| 584 | /* |
| 585 | * the arm_global_timer driver currently does not handle clock |
| 586 | * rate changes. Keep it disabled for now. |
| 587 | */ |
| 588 | status = "disabled"; |
| 589 | }; |
| 590 | |
Martin Blumenstingl | f5506e8 | 2018-11-23 20:53:10 +0100 | [diff] [blame] | 591 | timer@600 { |
| 592 | compatible = "arm,cortex-a5-twd-timer"; |
| 593 | reg = <0x600 0x20>; |
| 594 | interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_EDGE_RISING)>; |
| 595 | clocks = <&clkc CLKID_PERIPH>; |
| 596 | }; |
Martin Blumenstingl | e8c276d | 2018-11-23 20:53:07 +0100 | [diff] [blame] | 597 | }; |
| 598 | |
Martin Blumenstingl | 440bdcd | 2017-07-12 00:20:14 +0200 | [diff] [blame] | 599 | &pwm_ab { |
| 600 | compatible = "amlogic,meson8b-pwm"; |
| 601 | }; |
| 602 | |
| 603 | &pwm_cd { |
| 604 | compatible = "amlogic,meson8b-pwm"; |
| 605 | }; |
| 606 | |
Martin Blumenstingl | f6eb973 | 2019-04-13 18:34:21 +0200 | [diff] [blame] | 607 | &rtc { |
| 608 | compatible = "amlogic,meson8b-rtc"; |
| 609 | resets = <&reset RESET_RTC>; |
| 610 | }; |
| 611 | |
Martin Blumenstingl | a39a3b9 | 2017-06-15 23:33:47 +0200 | [diff] [blame] | 612 | &saradc { |
| 613 | compatible = "amlogic,meson8b-saradc", "amlogic,meson-saradc"; |
Martin Blumenstingl | 630ea31 | 2019-12-08 19:05:23 +0100 | [diff] [blame] | 614 | clocks = <&xtal>, <&clkc CLKID_SAR_ADC>; |
Xingyu Chen | b9b9db0 | 2017-11-16 17:01:15 +0800 | [diff] [blame] | 615 | clock-names = "clkin", "core"; |
Martin Blumenstingl | bbbcf64 | 2019-01-18 23:52:24 +0100 | [diff] [blame] | 616 | amlogic,hhi-sysctrl = <&hhi>; |
| 617 | nvmem-cells = <&temperature_calib>; |
| 618 | nvmem-cell-names = "temperature_calib"; |
Martin Blumenstingl | a39a3b9 | 2017-06-15 23:33:47 +0200 | [diff] [blame] | 619 | }; |
| 620 | |
Martin Blumenstingl | 73106f7 | 2020-06-20 18:36:52 +0200 | [diff] [blame] | 621 | &sdhc { |
| 622 | compatible = "amlogic,meson8-sdhc", "amlogic,meson-mx-sdhc"; |
| 623 | clocks = <&xtal>, |
| 624 | <&clkc CLKID_FCLK_DIV4>, |
| 625 | <&clkc CLKID_FCLK_DIV3>, |
| 626 | <&clkc CLKID_FCLK_DIV5>, |
| 627 | <&clkc CLKID_SDHC>; |
| 628 | clock-names = "clkin0", "clkin1", "clkin2", "clkin3", "pclk"; |
| 629 | }; |
| 630 | |
Martin Blumenstingl | 88b1b18 | 2017-10-07 18:29:39 +0200 | [diff] [blame] | 631 | &sdio { |
| 632 | compatible = "amlogic,meson8b-sdio", "amlogic,meson-mx-sdio"; |
| 633 | clocks = <&clkc CLKID_SDIO>, <&clkc CLKID_CLK81>; |
| 634 | clock-names = "core", "clkin"; |
| 635 | }; |
| 636 | |
Martin Blumenstingl | 7b141ab | 2018-11-16 21:42:35 +0100 | [diff] [blame] | 637 | &timer_abcde { |
Martin Blumenstingl | 630ea31 | 2019-12-08 19:05:23 +0100 | [diff] [blame] | 638 | clocks = <&xtal>, <&clkc CLKID_CLK81>; |
Martin Blumenstingl | 7b141ab | 2018-11-16 21:42:35 +0100 | [diff] [blame] | 639 | clock-names = "xtal", "pclk"; |
| 640 | }; |
| 641 | |
Martin Blumenstingl | f44135e | 2017-04-17 23:39:38 +0200 | [diff] [blame] | 642 | &uart_AO { |
Martin Blumenstingl | b02d6e7 | 2017-11-17 23:58:57 +0100 | [diff] [blame] | 643 | compatible = "amlogic,meson8b-uart", "amlogic,meson-uart"; |
Martin Blumenstingl | 630ea31 | 2019-12-08 19:05:23 +0100 | [diff] [blame] | 644 | clocks = <&clkc CLKID_CLK81>, <&xtal>, <&clkc CLKID_CLK81>; |
Martin Blumenstingl | b02d6e7 | 2017-11-17 23:58:57 +0100 | [diff] [blame] | 645 | clock-names = "baud", "xtal", "pclk"; |
Martin Blumenstingl | f44135e | 2017-04-17 23:39:38 +0200 | [diff] [blame] | 646 | }; |
| 647 | |
| 648 | &uart_A { |
Martin Blumenstingl | b02d6e7 | 2017-11-17 23:58:57 +0100 | [diff] [blame] | 649 | compatible = "amlogic,meson8b-uart", "amlogic,meson-uart"; |
Martin Blumenstingl | 630ea31 | 2019-12-08 19:05:23 +0100 | [diff] [blame] | 650 | clocks = <&clkc CLKID_CLK81>, <&xtal>, <&clkc CLKID_UART0>; |
Martin Blumenstingl | b02d6e7 | 2017-11-17 23:58:57 +0100 | [diff] [blame] | 651 | clock-names = "baud", "xtal", "pclk"; |
Martin Blumenstingl | f44135e | 2017-04-17 23:39:38 +0200 | [diff] [blame] | 652 | }; |
| 653 | |
| 654 | &uart_B { |
Martin Blumenstingl | b02d6e7 | 2017-11-17 23:58:57 +0100 | [diff] [blame] | 655 | compatible = "amlogic,meson8b-uart", "amlogic,meson-uart"; |
Martin Blumenstingl | 630ea31 | 2019-12-08 19:05:23 +0100 | [diff] [blame] | 656 | clocks = <&clkc CLKID_CLK81>, <&xtal>, <&clkc CLKID_UART1>; |
Martin Blumenstingl | b02d6e7 | 2017-11-17 23:58:57 +0100 | [diff] [blame] | 657 | clock-names = "baud", "xtal", "pclk"; |
Martin Blumenstingl | f44135e | 2017-04-17 23:39:38 +0200 | [diff] [blame] | 658 | }; |
| 659 | |
| 660 | &uart_C { |
Martin Blumenstingl | b02d6e7 | 2017-11-17 23:58:57 +0100 | [diff] [blame] | 661 | compatible = "amlogic,meson8b-uart", "amlogic,meson-uart"; |
Martin Blumenstingl | 630ea31 | 2019-12-08 19:05:23 +0100 | [diff] [blame] | 662 | clocks = <&clkc CLKID_CLK81>, <&xtal>, <&clkc CLKID_UART2>; |
Martin Blumenstingl | b02d6e7 | 2017-11-17 23:58:57 +0100 | [diff] [blame] | 663 | clock-names = "baud", "xtal", "pclk"; |
Martin Blumenstingl | f44135e | 2017-04-17 23:39:38 +0200 | [diff] [blame] | 664 | }; |
Martin Blumenstingl | e29b1cf | 2017-06-15 23:33:50 +0200 | [diff] [blame] | 665 | |
| 666 | &usb0 { |
| 667 | compatible = "amlogic,meson8b-usb", "snps,dwc2"; |
| 668 | clocks = <&clkc CLKID_USB0_DDR_BRIDGE>; |
| 669 | clock-names = "otg"; |
| 670 | }; |
| 671 | |
| 672 | &usb1 { |
| 673 | compatible = "amlogic,meson8b-usb", "snps,dwc2"; |
| 674 | clocks = <&clkc CLKID_USB1_DDR_BRIDGE>; |
| 675 | clock-names = "otg"; |
| 676 | }; |
| 677 | |
| 678 | &usb0_phy { |
| 679 | compatible = "amlogic,meson8b-usb2-phy", "amlogic,meson-mx-usb2-phy"; |
| 680 | clocks = <&clkc CLKID_USB>, <&clkc CLKID_USB0>; |
| 681 | clock-names = "usb_general", "usb"; |
| 682 | resets = <&reset RESET_USB_OTG>; |
| 683 | }; |
| 684 | |
| 685 | &usb1_phy { |
| 686 | compatible = "amlogic,meson8b-usb2-phy", "amlogic,meson-mx-usb2-phy"; |
| 687 | clocks = <&clkc CLKID_USB>, <&clkc CLKID_USB1>; |
| 688 | clock-names = "usb_general", "usb"; |
| 689 | resets = <&reset RESET_USB_OTG>; |
| 690 | }; |
Martin Blumenstingl | 2eca2a1 | 2017-07-12 00:22:22 +0200 | [diff] [blame] | 691 | |
| 692 | &wdt { |
| 693 | compatible = "amlogic,meson8b-wdt"; |
| 694 | }; |