Neil Armstrong | 114abfe | 2018-02-27 12:30:33 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
Neil Armstrong | c328666 | 2016-10-04 17:37:08 +0200 | [diff] [blame] | 2 | /* |
Andreas Färber | 0e26f26 | 2016-11-06 20:25:34 +0100 | [diff] [blame] | 3 | * Copyright (c) 2016 Andreas Färber |
| 4 | * |
Neil Armstrong | c328666 | 2016-10-04 17:37:08 +0200 | [diff] [blame] | 5 | * Copyright (c) 2016 BayLibre, SAS. |
| 6 | * Author: Neil Armstrong <narmstrong@baylibre.com> |
| 7 | * |
| 8 | * Copyright (c) 2016 Endless Computers, Inc. |
| 9 | * Author: Carlo Caione <carlo@endlessm.com> |
Neil Armstrong | c328666 | 2016-10-04 17:37:08 +0200 | [diff] [blame] | 10 | */ |
| 11 | |
| 12 | #include <dt-bindings/gpio/gpio.h> |
| 13 | #include <dt-bindings/interrupt-controller/irq.h> |
| 14 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
Martin Blumenstingl | 5273d6c | 2020-06-20 18:12:11 +0200 | [diff] [blame] | 15 | #include <dt-bindings/power/meson-gxbb-power.h> |
Christian Hewitt | cd13d5f | 2020-03-16 07:20:54 +0400 | [diff] [blame] | 16 | #include <dt-bindings/thermal/thermal.h> |
Neil Armstrong | c328666 | 2016-10-04 17:37:08 +0200 | [diff] [blame] | 17 | |
| 18 | / { |
| 19 | interrupt-parent = <&gic>; |
| 20 | #address-cells = <2>; |
| 21 | #size-cells = <2>; |
| 22 | |
Alexander Stein | ab547c4 | 2021-02-03 20:28:24 +0100 | [diff] [blame] | 23 | aliases { |
| 24 | mmc0 = &sd_emmc_b; /* SD card */ |
| 25 | mmc1 = &sd_emmc_c; /* eMMC */ |
| 26 | mmc2 = &sd_emmc_a; /* SDIO */ |
| 27 | }; |
| 28 | |
Neil Armstrong | bba8e3f | 2017-01-20 08:20:25 -0800 | [diff] [blame] | 29 | reserved-memory { |
| 30 | #address-cells = <2>; |
| 31 | #size-cells = <2>; |
| 32 | ranges; |
| 33 | |
| 34 | /* 16 MiB reserved for Hardware ROM Firmware */ |
| 35 | hwrom_reserved: hwrom@0 { |
| 36 | reg = <0x0 0x0 0x0 0x1000000>; |
| 37 | no-map; |
| 38 | }; |
| 39 | |
| 40 | /* 2 MiB reserved for ARM Trusted Firmware (BL31) */ |
| 41 | secmon_reserved: secmon@10000000 { |
| 42 | reg = <0x0 0x10000000 0x0 0x200000>; |
| 43 | no-map; |
| 44 | }; |
Neil Armstrong | e9da728 | 2017-03-21 16:25:45 +0100 | [diff] [blame] | 45 | |
Kevin Hilman | 48e21de | 2018-06-07 13:51:01 -0700 | [diff] [blame] | 46 | /* Alternate 3 MiB reserved for ARM Trusted Firmware (BL31) */ |
| 47 | secmon_reserved_alt: secmon@5000000 { |
| 48 | reg = <0x0 0x05000000 0x0 0x300000>; |
| 49 | no-map; |
| 50 | }; |
| 51 | |
Christian Hewitt | 76577c9 | 2022-01-26 04:49:52 +0000 | [diff] [blame] | 52 | /* 32 MiB reserved for ARM Trusted Firmware (BL32) */ |
| 53 | secmon_reserved_bl32: secmon@5300000 { |
| 54 | reg = <0x0 0x05300000 0x0 0x2000000>; |
| 55 | no-map; |
| 56 | }; |
| 57 | |
Neil Armstrong | e9da728 | 2017-03-21 16:25:45 +0100 | [diff] [blame] | 58 | linux,cma { |
| 59 | compatible = "shared-dma-pool"; |
| 60 | reusable; |
Christian Hewitt | 4cbef41 | 2018-09-04 22:30:43 +0400 | [diff] [blame] | 61 | size = <0x0 0x10000000>; |
Neil Armstrong | e9da728 | 2017-03-21 16:25:45 +0100 | [diff] [blame] | 62 | alignment = <0x0 0x400000>; |
| 63 | linux,cma-default; |
| 64 | }; |
Neil Armstrong | bba8e3f | 2017-01-20 08:20:25 -0800 | [diff] [blame] | 65 | }; |
| 66 | |
Maxime Jourdan | 03b3703 | 2019-01-16 13:40:30 +0100 | [diff] [blame] | 67 | chosen { |
| 68 | #address-cells = <2>; |
| 69 | #size-cells = <2>; |
| 70 | ranges; |
| 71 | |
| 72 | simplefb_cvbs: framebuffer-cvbs { |
| 73 | compatible = "amlogic,simple-framebuffer", |
| 74 | "simple-framebuffer"; |
| 75 | amlogic,pipeline = "vpu-cvbs"; |
Martin Blumenstingl | 5273d6c | 2020-06-20 18:12:11 +0200 | [diff] [blame] | 76 | power-domains = <&pwrc PWRC_GXBB_VPU_ID>; |
Maxime Jourdan | 03b3703 | 2019-01-16 13:40:30 +0100 | [diff] [blame] | 77 | status = "disabled"; |
| 78 | }; |
| 79 | |
| 80 | simplefb_hdmi: framebuffer-hdmi { |
| 81 | compatible = "amlogic,simple-framebuffer", |
| 82 | "simple-framebuffer"; |
| 83 | amlogic,pipeline = "vpu-hdmi"; |
Martin Blumenstingl | 5273d6c | 2020-06-20 18:12:11 +0200 | [diff] [blame] | 84 | power-domains = <&pwrc PWRC_GXBB_VPU_ID>; |
Maxime Jourdan | 03b3703 | 2019-01-16 13:40:30 +0100 | [diff] [blame] | 85 | status = "disabled"; |
| 86 | }; |
| 87 | }; |
| 88 | |
Neil Armstrong | c328666 | 2016-10-04 17:37:08 +0200 | [diff] [blame] | 89 | cpus { |
| 90 | #address-cells = <0x2>; |
| 91 | #size-cells = <0x0>; |
| 92 | |
| 93 | cpu0: cpu@0 { |
| 94 | device_type = "cpu"; |
Rob Herring | 31af04c | 2019-01-14 11:45:33 -0600 | [diff] [blame] | 95 | compatible = "arm,cortex-a53"; |
Neil Armstrong | c328666 | 2016-10-04 17:37:08 +0200 | [diff] [blame] | 96 | reg = <0x0 0x0>; |
| 97 | enable-method = "psci"; |
Neil Armstrong | 214ec52 | 2016-10-05 15:53:50 +0200 | [diff] [blame] | 98 | next-level-cache = <&l2>; |
Martin Blumenstingl | 47961f1 | 2016-12-03 00:08:48 +0100 | [diff] [blame] | 99 | clocks = <&scpi_dvfs 0>; |
Christian Hewitt | cd13d5f | 2020-03-16 07:20:54 +0400 | [diff] [blame] | 100 | #cooling-cells = <2>; |
Neil Armstrong | c328666 | 2016-10-04 17:37:08 +0200 | [diff] [blame] | 101 | }; |
| 102 | |
| 103 | cpu1: cpu@1 { |
| 104 | device_type = "cpu"; |
Rob Herring | 31af04c | 2019-01-14 11:45:33 -0600 | [diff] [blame] | 105 | compatible = "arm,cortex-a53"; |
Neil Armstrong | c328666 | 2016-10-04 17:37:08 +0200 | [diff] [blame] | 106 | reg = <0x0 0x1>; |
| 107 | enable-method = "psci"; |
Neil Armstrong | 214ec52 | 2016-10-05 15:53:50 +0200 | [diff] [blame] | 108 | next-level-cache = <&l2>; |
Martin Blumenstingl | 47961f1 | 2016-12-03 00:08:48 +0100 | [diff] [blame] | 109 | clocks = <&scpi_dvfs 0>; |
Christian Hewitt | cd13d5f | 2020-03-16 07:20:54 +0400 | [diff] [blame] | 110 | #cooling-cells = <2>; |
Neil Armstrong | c328666 | 2016-10-04 17:37:08 +0200 | [diff] [blame] | 111 | }; |
| 112 | |
| 113 | cpu2: cpu@2 { |
| 114 | device_type = "cpu"; |
Rob Herring | 31af04c | 2019-01-14 11:45:33 -0600 | [diff] [blame] | 115 | compatible = "arm,cortex-a53"; |
Neil Armstrong | c328666 | 2016-10-04 17:37:08 +0200 | [diff] [blame] | 116 | reg = <0x0 0x2>; |
| 117 | enable-method = "psci"; |
Neil Armstrong | 214ec52 | 2016-10-05 15:53:50 +0200 | [diff] [blame] | 118 | next-level-cache = <&l2>; |
Martin Blumenstingl | 47961f1 | 2016-12-03 00:08:48 +0100 | [diff] [blame] | 119 | clocks = <&scpi_dvfs 0>; |
Christian Hewitt | cd13d5f | 2020-03-16 07:20:54 +0400 | [diff] [blame] | 120 | #cooling-cells = <2>; |
Neil Armstrong | c328666 | 2016-10-04 17:37:08 +0200 | [diff] [blame] | 121 | }; |
| 122 | |
| 123 | cpu3: cpu@3 { |
| 124 | device_type = "cpu"; |
Rob Herring | 31af04c | 2019-01-14 11:45:33 -0600 | [diff] [blame] | 125 | compatible = "arm,cortex-a53"; |
Neil Armstrong | c328666 | 2016-10-04 17:37:08 +0200 | [diff] [blame] | 126 | reg = <0x0 0x3>; |
| 127 | enable-method = "psci"; |
Neil Armstrong | 214ec52 | 2016-10-05 15:53:50 +0200 | [diff] [blame] | 128 | next-level-cache = <&l2>; |
Martin Blumenstingl | 47961f1 | 2016-12-03 00:08:48 +0100 | [diff] [blame] | 129 | clocks = <&scpi_dvfs 0>; |
Christian Hewitt | cd13d5f | 2020-03-16 07:20:54 +0400 | [diff] [blame] | 130 | #cooling-cells = <2>; |
Neil Armstrong | 214ec52 | 2016-10-05 15:53:50 +0200 | [diff] [blame] | 131 | }; |
| 132 | |
| 133 | l2: l2-cache0 { |
| 134 | compatible = "cache"; |
Neil Armstrong | c328666 | 2016-10-04 17:37:08 +0200 | [diff] [blame] | 135 | }; |
| 136 | }; |
| 137 | |
Christian Hewitt | cd13d5f | 2020-03-16 07:20:54 +0400 | [diff] [blame] | 138 | thermal-zones { |
| 139 | cpu-thermal { |
| 140 | polling-delay-passive = <250>; /* milliseconds */ |
| 141 | polling-delay = <1000>; /* milliseconds */ |
| 142 | |
| 143 | thermal-sensors = <&scpi_sensors 0>; |
| 144 | |
| 145 | trips { |
| 146 | cpu_passive: cpu-passive { |
| 147 | temperature = <80000>; /* millicelsius */ |
| 148 | hysteresis = <2000>; /* millicelsius */ |
| 149 | type = "passive"; |
| 150 | }; |
| 151 | |
| 152 | cpu_hot: cpu-hot { |
| 153 | temperature = <90000>; /* millicelsius */ |
| 154 | hysteresis = <2000>; /* millicelsius */ |
| 155 | type = "hot"; |
| 156 | }; |
| 157 | |
| 158 | cpu_critical: cpu-critical { |
| 159 | temperature = <110000>; /* millicelsius */ |
| 160 | hysteresis = <2000>; /* millicelsius */ |
| 161 | type = "critical"; |
| 162 | }; |
| 163 | }; |
| 164 | |
| 165 | cpu_cooling_maps: cooling-maps { |
| 166 | map0 { |
| 167 | trip = <&cpu_passive>; |
| 168 | cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
| 169 | <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
| 170 | <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
| 171 | <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; |
| 172 | }; |
| 173 | |
| 174 | map1 { |
| 175 | trip = <&cpu_hot>; |
| 176 | cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
| 177 | <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
| 178 | <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
| 179 | <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; |
| 180 | }; |
| 181 | }; |
| 182 | }; |
| 183 | }; |
| 184 | |
Neil Armstrong | c328666 | 2016-10-04 17:37:08 +0200 | [diff] [blame] | 185 | arm-pmu { |
| 186 | compatible = "arm,cortex-a53-pmu"; |
| 187 | interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>, |
| 188 | <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>, |
| 189 | <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>, |
| 190 | <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>; |
| 191 | interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>; |
| 192 | }; |
| 193 | |
| 194 | psci { |
| 195 | compatible = "arm,psci-0.2"; |
| 196 | method = "smc"; |
| 197 | }; |
| 198 | |
| 199 | timer { |
| 200 | compatible = "arm,armv8-timer"; |
| 201 | interrupts = <GIC_PPI 13 |
| 202 | (GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>, |
| 203 | <GIC_PPI 14 |
| 204 | (GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>, |
| 205 | <GIC_PPI 11 |
| 206 | (GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>, |
| 207 | <GIC_PPI 10 |
| 208 | (GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>; |
| 209 | }; |
| 210 | |
| 211 | xtal: xtal-clk { |
| 212 | compatible = "fixed-clock"; |
| 213 | clock-frequency = <24000000>; |
| 214 | clock-output-names = "xtal"; |
| 215 | #clock-cells = <0>; |
| 216 | }; |
| 217 | |
Neil Armstrong | 998a9c8 | 2016-10-31 17:44:39 +0100 | [diff] [blame] | 218 | firmware { |
| 219 | sm: secure-monitor { |
| 220 | compatible = "amlogic,meson-gx-sm", "amlogic,meson-gxbb-sm"; |
| 221 | }; |
| 222 | }; |
| 223 | |
| 224 | efuse: efuse { |
| 225 | compatible = "amlogic,meson-gx-efuse", "amlogic,meson-gxbb-efuse"; |
| 226 | #address-cells = <1>; |
| 227 | #size-cells = <1>; |
Jerome Brunet | c339f0e | 2018-03-16 15:50:21 +0100 | [diff] [blame] | 228 | read-only; |
Carlo Caione | de82e74 | 2019-07-31 09:23:38 +0100 | [diff] [blame] | 229 | secure-monitor = <&sm>; |
Neil Armstrong | 998a9c8 | 2016-10-31 17:44:39 +0100 | [diff] [blame] | 230 | |
| 231 | sn: sn@14 { |
| 232 | reg = <0x14 0x10>; |
| 233 | }; |
| 234 | |
| 235 | eth_mac: eth_mac@34 { |
| 236 | reg = <0x34 0x10>; |
| 237 | }; |
| 238 | |
| 239 | bid: bid@46 { |
| 240 | reg = <0x46 0x30>; |
| 241 | }; |
| 242 | }; |
| 243 | |
Martin Blumenstingl | 47961f1 | 2016-12-03 00:08:48 +0100 | [diff] [blame] | 244 | scpi { |
| 245 | compatible = "amlogic,meson-gxbb-scpi", "arm,scpi-pre-1.0"; |
| 246 | mboxes = <&mailbox 1 &mailbox 2>; |
| 247 | shmem = <&cpu_scp_lpri &cpu_scp_hpri>; |
| 248 | |
| 249 | scpi_clocks: clocks { |
| 250 | compatible = "arm,scpi-clocks"; |
| 251 | |
| 252 | scpi_dvfs: scpi_clocks@0 { |
| 253 | compatible = "arm,scpi-dvfs-clocks"; |
| 254 | #clock-cells = <1>; |
| 255 | clock-indices = <0>; |
| 256 | clock-output-names = "vcpu"; |
| 257 | }; |
| 258 | }; |
| 259 | |
| 260 | scpi_sensors: sensors { |
Carlo Caione | 5f3195e | 2017-06-06 12:23:42 +0200 | [diff] [blame] | 261 | compatible = "amlogic,meson-gxbb-scpi-sensors", "arm,scpi-sensors"; |
Martin Blumenstingl | 47961f1 | 2016-12-03 00:08:48 +0100 | [diff] [blame] | 262 | #thermal-sensor-cells = <1>; |
| 263 | }; |
| 264 | }; |
| 265 | |
Neil Armstrong | c328666 | 2016-10-04 17:37:08 +0200 | [diff] [blame] | 266 | soc { |
| 267 | compatible = "simple-bus"; |
| 268 | #address-cells = <2>; |
| 269 | #size-cells = <2>; |
| 270 | ranges; |
| 271 | |
Kevin Hilman | 0cb6c60 | 2017-12-06 11:30:05 -0800 | [diff] [blame] | 272 | cbus: bus@c1100000 { |
Neil Armstrong | c328666 | 2016-10-04 17:37:08 +0200 | [diff] [blame] | 273 | compatible = "simple-bus"; |
| 274 | reg = <0x0 0xc1100000 0x0 0x100000>; |
| 275 | #address-cells = <2>; |
| 276 | #size-cells = <2>; |
| 277 | ranges = <0x0 0x0 0x0 0xc1100000 0x0 0x100000>; |
| 278 | |
Jerome Brunet | 9dbb56e | 2017-10-19 14:01:42 +0200 | [diff] [blame] | 279 | gpio_intc: interrupt-controller@9880 { |
| 280 | compatible = "amlogic,meson-gpio-intc"; |
| 281 | reg = <0x0 0x9880 0x0 0x10>; |
| 282 | interrupt-controller; |
| 283 | #interrupt-cells = <2>; |
| 284 | amlogic,channel-interrupts = <64 65 66 67 68 69 70 71>; |
| 285 | status = "disabled"; |
| 286 | }; |
| 287 | |
Neil Armstrong | 998a9c8 | 2016-10-31 17:44:39 +0100 | [diff] [blame] | 288 | reset: reset-controller@4404 { |
Neil Armstrong | 9632691 | 2019-08-23 09:02:37 +0200 | [diff] [blame] | 289 | compatible = "amlogic,meson-gxbb-reset"; |
Neil Armstrong | 1eb0919 | 2017-11-20 15:19:56 +0100 | [diff] [blame] | 290 | reg = <0x0 0x04404 0x0 0x9c>; |
Neil Armstrong | 998a9c8 | 2016-10-31 17:44:39 +0100 | [diff] [blame] | 291 | #reset-cells = <1>; |
| 292 | }; |
| 293 | |
Jerome Brunet | 4cc1b26 | 2020-04-21 18:39:31 +0200 | [diff] [blame] | 294 | aiu: audio-controller@5400 { |
| 295 | compatible = "amlogic,aiu"; |
| 296 | #sound-dai-cells = <2>; |
| 297 | sound-name-prefix = "AIU"; |
| 298 | reg = <0x0 0x5400 0x0 0x2ac>; |
| 299 | interrupts = <GIC_SPI 48 IRQ_TYPE_EDGE_RISING>, |
| 300 | <GIC_SPI 50 IRQ_TYPE_EDGE_RISING>; |
| 301 | interrupt-names = "i2s", "spdif"; |
| 302 | status = "disabled"; |
| 303 | }; |
| 304 | |
Neil Armstrong | c328666 | 2016-10-04 17:37:08 +0200 | [diff] [blame] | 305 | uart_A: serial@84c0 { |
Neil Armstrong | a87f854 | 2017-10-11 17:39:40 +0200 | [diff] [blame] | 306 | compatible = "amlogic,meson-gx-uart"; |
Yixun Lan | 77f5cdb | 2018-01-11 10:33:57 +0800 | [diff] [blame] | 307 | reg = <0x0 0x84c0 0x0 0x18>; |
Neil Armstrong | c328666 | 2016-10-04 17:37:08 +0200 | [diff] [blame] | 308 | interrupts = <GIC_SPI 26 IRQ_TYPE_EDGE_RISING>; |
Neil Armstrong | c328666 | 2016-10-04 17:37:08 +0200 | [diff] [blame] | 309 | status = "disabled"; |
Neil Armstrong | a270a2b | 2021-05-18 09:58:33 +0200 | [diff] [blame] | 310 | fifo-size = <128>; |
Neil Armstrong | c328666 | 2016-10-04 17:37:08 +0200 | [diff] [blame] | 311 | }; |
Neil Armstrong | 998a9c8 | 2016-10-31 17:44:39 +0100 | [diff] [blame] | 312 | |
| 313 | uart_B: serial@84dc { |
Neil Armstrong | a87f854 | 2017-10-11 17:39:40 +0200 | [diff] [blame] | 314 | compatible = "amlogic,meson-gx-uart"; |
Yixun Lan | 77f5cdb | 2018-01-11 10:33:57 +0800 | [diff] [blame] | 315 | reg = <0x0 0x84dc 0x0 0x18>; |
Neil Armstrong | 998a9c8 | 2016-10-31 17:44:39 +0100 | [diff] [blame] | 316 | interrupts = <GIC_SPI 75 IRQ_TYPE_EDGE_RISING>; |
Neil Armstrong | 998a9c8 | 2016-10-31 17:44:39 +0100 | [diff] [blame] | 317 | status = "disabled"; |
| 318 | }; |
| 319 | |
| 320 | i2c_A: i2c@8500 { |
Neil Armstrong | 8729787 | 2019-10-21 16:29:04 +0200 | [diff] [blame] | 321 | compatible = "amlogic,meson-gxbb-i2c"; |
Neil Armstrong | 998a9c8 | 2016-10-31 17:44:39 +0100 | [diff] [blame] | 322 | reg = <0x0 0x08500 0x0 0x20>; |
| 323 | interrupts = <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>; |
| 324 | #address-cells = <1>; |
| 325 | #size-cells = <0>; |
| 326 | status = "disabled"; |
| 327 | }; |
| 328 | |
| 329 | pwm_ab: pwm@8550 { |
| 330 | compatible = "amlogic,meson-gx-pwm", "amlogic,meson-gxbb-pwm"; |
| 331 | reg = <0x0 0x08550 0x0 0x10>; |
| 332 | #pwm-cells = <3>; |
| 333 | status = "disabled"; |
| 334 | }; |
| 335 | |
| 336 | pwm_cd: pwm@8650 { |
| 337 | compatible = "amlogic,meson-gx-pwm", "amlogic,meson-gxbb-pwm"; |
| 338 | reg = <0x0 0x08650 0x0 0x10>; |
| 339 | #pwm-cells = <3>; |
| 340 | status = "disabled"; |
| 341 | }; |
| 342 | |
Martin Blumenstingl | bd80ef5 | 2017-01-22 19:17:14 +0100 | [diff] [blame] | 343 | saradc: adc@8680 { |
| 344 | compatible = "amlogic,meson-saradc"; |
| 345 | reg = <0x0 0x8680 0x0 0x34>; |
| 346 | #io-channel-cells = <1>; |
| 347 | interrupts = <GIC_SPI 73 IRQ_TYPE_EDGE_RISING>; |
| 348 | status = "disabled"; |
| 349 | }; |
| 350 | |
Neil Armstrong | 998a9c8 | 2016-10-31 17:44:39 +0100 | [diff] [blame] | 351 | pwm_ef: pwm@86c0 { |
| 352 | compatible = "amlogic,meson-gx-pwm", "amlogic,meson-gxbb-pwm"; |
| 353 | reg = <0x0 0x086c0 0x0 0x10>; |
| 354 | #pwm-cells = <3>; |
| 355 | status = "disabled"; |
| 356 | }; |
| 357 | |
| 358 | uart_C: serial@8700 { |
Neil Armstrong | a87f854 | 2017-10-11 17:39:40 +0200 | [diff] [blame] | 359 | compatible = "amlogic,meson-gx-uart"; |
Yixun Lan | 77f5cdb | 2018-01-11 10:33:57 +0800 | [diff] [blame] | 360 | reg = <0x0 0x8700 0x0 0x18>; |
Neil Armstrong | 998a9c8 | 2016-10-31 17:44:39 +0100 | [diff] [blame] | 361 | interrupts = <GIC_SPI 93 IRQ_TYPE_EDGE_RISING>; |
Neil Armstrong | 998a9c8 | 2016-10-31 17:44:39 +0100 | [diff] [blame] | 362 | status = "disabled"; |
| 363 | }; |
| 364 | |
Neil Armstrong | 5e339a1 | 2018-11-18 14:50:24 +0100 | [diff] [blame] | 365 | clock-measure@8758 { |
| 366 | compatible = "amlogic,meson-gx-clk-measure"; |
| 367 | reg = <0x0 0x8758 0x0 0x10>; |
| 368 | }; |
| 369 | |
Neil Armstrong | 998a9c8 | 2016-10-31 17:44:39 +0100 | [diff] [blame] | 370 | i2c_B: i2c@87c0 { |
Neil Armstrong | 8729787 | 2019-10-21 16:29:04 +0200 | [diff] [blame] | 371 | compatible = "amlogic,meson-gxbb-i2c"; |
Neil Armstrong | 998a9c8 | 2016-10-31 17:44:39 +0100 | [diff] [blame] | 372 | reg = <0x0 0x087c0 0x0 0x20>; |
| 373 | interrupts = <GIC_SPI 214 IRQ_TYPE_EDGE_RISING>; |
| 374 | #address-cells = <1>; |
| 375 | #size-cells = <0>; |
| 376 | status = "disabled"; |
| 377 | }; |
| 378 | |
| 379 | i2c_C: i2c@87e0 { |
Neil Armstrong | 8729787 | 2019-10-21 16:29:04 +0200 | [diff] [blame] | 380 | compatible = "amlogic,meson-gxbb-i2c"; |
Neil Armstrong | 998a9c8 | 2016-10-31 17:44:39 +0100 | [diff] [blame] | 381 | reg = <0x0 0x087e0 0x0 0x20>; |
| 382 | interrupts = <GIC_SPI 215 IRQ_TYPE_EDGE_RISING>; |
| 383 | #address-cells = <1>; |
| 384 | #size-cells = <0>; |
| 385 | status = "disabled"; |
| 386 | }; |
| 387 | |
Neil Armstrong | fa80863 | 2017-05-29 10:09:55 +0200 | [diff] [blame] | 388 | spicc: spi@8d80 { |
| 389 | compatible = "amlogic,meson-gx-spicc"; |
| 390 | reg = <0x0 0x08d80 0x0 0x80>; |
| 391 | interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>; |
| 392 | #address-cells = <1>; |
| 393 | #size-cells = <0>; |
| 394 | status = "disabled"; |
| 395 | }; |
| 396 | |
Neil Armstrong | 04b36df | 2017-03-13 10:10:50 +0100 | [diff] [blame] | 397 | spifc: spi@8c80 { |
Neil Armstrong | 599bfd5 | 2019-08-23 09:02:38 +0200 | [diff] [blame] | 398 | compatible = "amlogic,meson-gxbb-spifc"; |
Neil Armstrong | 04b36df | 2017-03-13 10:10:50 +0100 | [diff] [blame] | 399 | reg = <0x0 0x08c80 0x0 0x80>; |
| 400 | #address-cells = <1>; |
| 401 | #size-cells = <0>; |
| 402 | status = "disabled"; |
| 403 | }; |
| 404 | |
Neil Armstrong | 998a9c8 | 2016-10-31 17:44:39 +0100 | [diff] [blame] | 405 | watchdog@98d0 { |
Neil Armstrong | 03c76b8 | 2019-08-23 09:02:39 +0200 | [diff] [blame] | 406 | compatible = "amlogic,meson-gxbb-wdt"; |
Neil Armstrong | 998a9c8 | 2016-10-31 17:44:39 +0100 | [diff] [blame] | 407 | reg = <0x0 0x098d0 0x0 0x10>; |
| 408 | clocks = <&xtal>; |
| 409 | }; |
Neil Armstrong | c328666 | 2016-10-04 17:37:08 +0200 | [diff] [blame] | 410 | }; |
| 411 | |
| 412 | gic: interrupt-controller@c4301000 { |
| 413 | compatible = "arm,gic-400"; |
| 414 | reg = <0x0 0xc4301000 0 0x1000>, |
| 415 | <0x0 0xc4302000 0 0x2000>, |
| 416 | <0x0 0xc4304000 0 0x2000>, |
| 417 | <0x0 0xc4306000 0 0x2000>; |
| 418 | interrupt-controller; |
| 419 | interrupts = <GIC_PPI 9 |
| 420 | (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>; |
| 421 | #interrupt-cells = <3>; |
| 422 | #address-cells = <0>; |
| 423 | }; |
| 424 | |
Martin Blumenstingl | 47961f1 | 2016-12-03 00:08:48 +0100 | [diff] [blame] | 425 | sram: sram@c8000000 { |
Neil Armstrong | 9ecded1 | 2020-03-26 17:59:55 +0100 | [diff] [blame] | 426 | compatible = "mmio-sram"; |
Martin Blumenstingl | 47961f1 | 2016-12-03 00:08:48 +0100 | [diff] [blame] | 427 | reg = <0x0 0xc8000000 0x0 0x14000>; |
| 428 | |
| 429 | #address-cells = <1>; |
| 430 | #size-cells = <1>; |
| 431 | ranges = <0 0x0 0xc8000000 0x14000>; |
| 432 | |
Neil Armstrong | 9ecded1 | 2020-03-26 17:59:55 +0100 | [diff] [blame] | 433 | cpu_scp_lpri: scp-sram@0 { |
| 434 | compatible = "amlogic,meson-gxbb-scp-shmem"; |
Martin Blumenstingl | 47961f1 | 2016-12-03 00:08:48 +0100 | [diff] [blame] | 435 | reg = <0x13000 0x400>; |
| 436 | }; |
| 437 | |
Neil Armstrong | 9ecded1 | 2020-03-26 17:59:55 +0100 | [diff] [blame] | 438 | cpu_scp_hpri: scp-sram@200 { |
| 439 | compatible = "amlogic,meson-gxbb-scp-shmem"; |
Martin Blumenstingl | 47961f1 | 2016-12-03 00:08:48 +0100 | [diff] [blame] | 440 | reg = <0x13400 0x400>; |
| 441 | }; |
| 442 | }; |
| 443 | |
Kevin Hilman | 0cb6c60 | 2017-12-06 11:30:05 -0800 | [diff] [blame] | 444 | aobus: bus@c8100000 { |
Neil Armstrong | c328666 | 2016-10-04 17:37:08 +0200 | [diff] [blame] | 445 | compatible = "simple-bus"; |
| 446 | reg = <0x0 0xc8100000 0x0 0x100000>; |
| 447 | #address-cells = <2>; |
| 448 | #size-cells = <2>; |
| 449 | ranges = <0x0 0x0 0x0 0xc8100000 0x0 0x100000>; |
| 450 | |
Neil Armstrong | 7fd2c35 | 2017-08-04 15:12:12 +0200 | [diff] [blame] | 451 | sysctrl_AO: sys-ctrl@0 { |
Neil Armstrong | 445f2bd | 2018-09-13 09:12:27 +0200 | [diff] [blame] | 452 | compatible = "amlogic,meson-gx-ao-sysctrl", "simple-mfd", "syscon"; |
Neil Armstrong | 7fd2c35 | 2017-08-04 15:12:12 +0200 | [diff] [blame] | 453 | reg = <0x0 0x0 0x0 0x100>; |
| 454 | |
| 455 | clkc_AO: clock-controller { |
| 456 | compatible = "amlogic,meson-gx-aoclkc"; |
| 457 | #clock-cells = <1>; |
| 458 | #reset-cells = <1>; |
| 459 | }; |
Neil Armstrong | 04b36df | 2017-03-13 10:10:50 +0100 | [diff] [blame] | 460 | }; |
| 461 | |
Neil Armstrong | b16c71c | 2017-08-04 15:12:13 +0200 | [diff] [blame] | 462 | cec_AO: cec@100 { |
| 463 | compatible = "amlogic,meson-gx-ao-cec"; |
| 464 | reg = <0x0 0x00100 0x0 0x14>; |
| 465 | interrupts = <GIC_SPI 199 IRQ_TYPE_EDGE_RISING>; |
Neil Armstrong | b485a6a | 2019-10-21 16:29:03 +0200 | [diff] [blame] | 466 | status = "disabled"; |
Neil Armstrong | b16c71c | 2017-08-04 15:12:13 +0200 | [diff] [blame] | 467 | }; |
| 468 | |
Neil Armstrong | c9fe1cf | 2017-06-23 10:28:17 +0200 | [diff] [blame] | 469 | sec_AO: ao-secure@140 { |
| 470 | compatible = "amlogic,meson-gx-ao-secure", "syscon"; |
| 471 | reg = <0x0 0x140 0x0 0x140>; |
| 472 | amlogic,has-chip-id; |
| 473 | }; |
| 474 | |
Neil Armstrong | c328666 | 2016-10-04 17:37:08 +0200 | [diff] [blame] | 475 | uart_AO: serial@4c0 { |
Neil Armstrong | a87f854 | 2017-10-11 17:39:40 +0200 | [diff] [blame] | 476 | compatible = "amlogic,meson-gx-uart", "amlogic,meson-ao-uart"; |
Yixun Lan | 77f5cdb | 2018-01-11 10:33:57 +0800 | [diff] [blame] | 477 | reg = <0x0 0x004c0 0x0 0x18>; |
Neil Armstrong | c328666 | 2016-10-04 17:37:08 +0200 | [diff] [blame] | 478 | interrupts = <GIC_SPI 193 IRQ_TYPE_EDGE_RISING>; |
Neil Armstrong | c328666 | 2016-10-04 17:37:08 +0200 | [diff] [blame] | 479 | status = "disabled"; |
| 480 | }; |
Neil Armstrong | 998a9c8 | 2016-10-31 17:44:39 +0100 | [diff] [blame] | 481 | |
Martin Blumenstingl | 890a96a | 2017-01-15 23:20:29 +0100 | [diff] [blame] | 482 | uart_AO_B: serial@4e0 { |
Neil Armstrong | a87f854 | 2017-10-11 17:39:40 +0200 | [diff] [blame] | 483 | compatible = "amlogic,meson-gx-uart", "amlogic,meson-ao-uart"; |
Yixun Lan | 77f5cdb | 2018-01-11 10:33:57 +0800 | [diff] [blame] | 484 | reg = <0x0 0x004e0 0x0 0x18>; |
Martin Blumenstingl | 890a96a | 2017-01-15 23:20:29 +0100 | [diff] [blame] | 485 | interrupts = <GIC_SPI 197 IRQ_TYPE_EDGE_RISING>; |
Martin Blumenstingl | 890a96a | 2017-01-15 23:20:29 +0100 | [diff] [blame] | 486 | status = "disabled"; |
| 487 | }; |
| 488 | |
Neil Armstrong | 04b36df | 2017-03-13 10:10:50 +0100 | [diff] [blame] | 489 | i2c_AO: i2c@500 { |
Neil Armstrong | 8729787 | 2019-10-21 16:29:04 +0200 | [diff] [blame] | 490 | compatible = "amlogic,meson-gxbb-i2c"; |
Neil Armstrong | 04b36df | 2017-03-13 10:10:50 +0100 | [diff] [blame] | 491 | reg = <0x0 0x500 0x0 0x20>; |
| 492 | interrupts = <GIC_SPI 195 IRQ_TYPE_EDGE_RISING>; |
| 493 | #address-cells = <1>; |
| 494 | #size-cells = <0>; |
| 495 | status = "disabled"; |
| 496 | }; |
| 497 | |
Martin Blumenstingl | e485122 | 2017-01-22 22:05:26 +0100 | [diff] [blame] | 498 | pwm_AO_ab: pwm@550 { |
Jerome Brunet | 6620f14 | 2017-06-08 14:39:55 +0200 | [diff] [blame] | 499 | compatible = "amlogic,meson-gx-ao-pwm", "amlogic,meson-gxbb-ao-pwm"; |
Martin Blumenstingl | e485122 | 2017-01-22 22:05:26 +0100 | [diff] [blame] | 500 | reg = <0x0 0x00550 0x0 0x10>; |
| 501 | #pwm-cells = <3>; |
| 502 | status = "disabled"; |
| 503 | }; |
| 504 | |
Neil Armstrong | 998a9c8 | 2016-10-31 17:44:39 +0100 | [diff] [blame] | 505 | ir: ir@580 { |
Neil Armstrong | e19e64a | 2017-03-13 10:10:52 +0100 | [diff] [blame] | 506 | compatible = "amlogic,meson-gx-ir", "amlogic,meson-gxbb-ir"; |
Neil Armstrong | 998a9c8 | 2016-10-31 17:44:39 +0100 | [diff] [blame] | 507 | reg = <0x0 0x00580 0x0 0x40>; |
| 508 | interrupts = <GIC_SPI 196 IRQ_TYPE_EDGE_RISING>; |
| 509 | status = "disabled"; |
| 510 | }; |
Neil Armstrong | c328666 | 2016-10-04 17:37:08 +0200 | [diff] [blame] | 511 | }; |
| 512 | |
Maxime Jourdan | 1f11d61 | 2019-07-26 14:46:38 +0200 | [diff] [blame] | 513 | vdec: video-codec@c8820000 { |
| 514 | compatible = "amlogic,gx-vdec"; |
| 515 | reg = <0x0 0xc8820000 0x0 0x10000>, |
| 516 | <0x0 0xc110a580 0x0 0xe4>; |
| 517 | reg-names = "dos", "esparser"; |
| 518 | |
| 519 | interrupts = <GIC_SPI 44 IRQ_TYPE_EDGE_RISING>, |
| 520 | <GIC_SPI 32 IRQ_TYPE_EDGE_RISING>; |
| 521 | interrupt-names = "vdec", "esparser"; |
| 522 | |
| 523 | amlogic,ao-sysctrl = <&sysctrl_AO>; |
| 524 | amlogic,canvas = <&canvas>; |
| 525 | }; |
| 526 | |
Neil Armstrong | 2e36480 | 2019-08-23 09:02:41 +0200 | [diff] [blame] | 527 | periphs: bus@c8834000 { |
Neil Armstrong | c328666 | 2016-10-04 17:37:08 +0200 | [diff] [blame] | 528 | compatible = "simple-bus"; |
| 529 | reg = <0x0 0xc8834000 0x0 0x2000>; |
| 530 | #address-cells = <2>; |
| 531 | #size-cells = <2>; |
| 532 | ranges = <0x0 0x0 0x0 0xc8834000 0x0 0x2000>; |
Neil Armstrong | 998a9c8 | 2016-10-31 17:44:39 +0100 | [diff] [blame] | 533 | |
Heiner Kallweit | 1b3f6d1 | 2017-02-22 08:00:55 +0100 | [diff] [blame] | 534 | hwrng: rng { |
Neil Armstrong | 998a9c8 | 2016-10-31 17:44:39 +0100 | [diff] [blame] | 535 | compatible = "amlogic,meson-rng"; |
| 536 | reg = <0x0 0x0 0x0 0x4>; |
| 537 | }; |
Neil Armstrong | c328666 | 2016-10-04 17:37:08 +0200 | [diff] [blame] | 538 | }; |
| 539 | |
Maxime Jourdan | f172604 | 2018-08-23 13:49:54 +0200 | [diff] [blame] | 540 | dmcbus: bus@c8838000 { |
| 541 | compatible = "simple-bus"; |
| 542 | reg = <0x0 0xc8838000 0x0 0x400>; |
| 543 | #address-cells = <2>; |
| 544 | #size-cells = <2>; |
| 545 | ranges = <0x0 0x0 0x0 0xc8838000 0x0 0x400>; |
| 546 | |
| 547 | canvas: video-lut@48 { |
| 548 | compatible = "amlogic,canvas"; |
| 549 | reg = <0x0 0x48 0x0 0x14>; |
| 550 | }; |
| 551 | }; |
| 552 | |
Kevin Hilman | 0cb6c60 | 2017-12-06 11:30:05 -0800 | [diff] [blame] | 553 | hiubus: bus@c883c000 { |
Neil Armstrong | c328666 | 2016-10-04 17:37:08 +0200 | [diff] [blame] | 554 | compatible = "simple-bus"; |
| 555 | reg = <0x0 0xc883c000 0x0 0x2000>; |
| 556 | #address-cells = <2>; |
| 557 | #size-cells = <2>; |
| 558 | ranges = <0x0 0x0 0x0 0xc883c000 0x0 0x2000>; |
Neil Armstrong | 998a9c8 | 2016-10-31 17:44:39 +0100 | [diff] [blame] | 559 | |
Neil Armstrong | 74d1c6e | 2017-11-20 15:19:54 +0100 | [diff] [blame] | 560 | sysctrl: system-controller@0 { |
Neil Armstrong | 445f2bd | 2018-09-13 09:12:27 +0200 | [diff] [blame] | 561 | compatible = "amlogic,meson-gx-hhi-sysctrl", "simple-mfd", "syscon"; |
Neil Armstrong | 74d1c6e | 2017-11-20 15:19:54 +0100 | [diff] [blame] | 562 | reg = <0 0 0 0x400>; |
Martin Blumenstingl | 5273d6c | 2020-06-20 18:12:11 +0200 | [diff] [blame] | 563 | |
| 564 | pwrc: power-controller { |
| 565 | compatible = "amlogic,meson-gxbb-pwrc"; |
| 566 | #power-domain-cells = <1>; |
| 567 | amlogic,ao-sysctrl = <&sysctrl_AO>; |
| 568 | }; |
Neil Armstrong | 74d1c6e | 2017-11-20 15:19:54 +0100 | [diff] [blame] | 569 | }; |
| 570 | |
Neil Armstrong | 998a9c8 | 2016-10-31 17:44:39 +0100 | [diff] [blame] | 571 | mailbox: mailbox@404 { |
Neil Armstrong | 59d3701 | 2019-08-23 09:02:40 +0200 | [diff] [blame] | 572 | compatible = "amlogic,meson-gxbb-mhu"; |
Neil Armstrong | 998a9c8 | 2016-10-31 17:44:39 +0100 | [diff] [blame] | 573 | reg = <0 0x404 0 0x4c>; |
Martin Blumenstingl | 5e3465f | 2017-07-16 16:11:45 +0200 | [diff] [blame] | 574 | interrupts = <GIC_SPI 208 IRQ_TYPE_EDGE_RISING>, |
| 575 | <GIC_SPI 209 IRQ_TYPE_EDGE_RISING>, |
| 576 | <GIC_SPI 210 IRQ_TYPE_EDGE_RISING>; |
Neil Armstrong | 998a9c8 | 2016-10-31 17:44:39 +0100 | [diff] [blame] | 577 | #mbox-cells = <1>; |
| 578 | }; |
| 579 | }; |
| 580 | |
| 581 | ethmac: ethernet@c9410000 { |
Jerome Brunet | 9d63f5d | 2019-05-24 15:08:17 +0200 | [diff] [blame] | 582 | compatible = "amlogic,meson-gxbb-dwmac", |
| 583 | "snps,dwmac-3.70a", |
| 584 | "snps,dwmac"; |
Neil Armstrong | 3ad6c9e | 2019-08-23 09:02:35 +0200 | [diff] [blame] | 585 | reg = <0x0 0xc9410000 0x0 0x10000>, |
| 586 | <0x0 0xc8834540 0x0 0x4>; |
Carlo Caione | 8b3e6f8 | 2018-12-07 10:52:30 +0000 | [diff] [blame] | 587 | interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>; |
Neil Armstrong | 998a9c8 | 2016-10-31 17:44:39 +0100 | [diff] [blame] | 588 | interrupt-names = "macirq"; |
Jerome Brunet | ef68984 | 2019-07-18 11:03:01 +0200 | [diff] [blame] | 589 | rx-fifo-depth = <4096>; |
| 590 | tx-fifo-depth = <2048>; |
Martin Blumenstingl | 5273d6c | 2020-06-20 18:12:11 +0200 | [diff] [blame] | 591 | power-domains = <&pwrc PWRC_GXBB_ETHERNET_MEM_ID>; |
Neil Armstrong | 998a9c8 | 2016-10-31 17:44:39 +0100 | [diff] [blame] | 592 | status = "disabled"; |
Neil Armstrong | c328666 | 2016-10-04 17:37:08 +0200 | [diff] [blame] | 593 | }; |
| 594 | |
| 595 | apb: apb@d0000000 { |
| 596 | compatible = "simple-bus"; |
| 597 | reg = <0x0 0xd0000000 0x0 0x200000>; |
| 598 | #address-cells = <2>; |
| 599 | #size-cells = <2>; |
| 600 | ranges = <0x0 0x0 0x0 0xd0000000 0x0 0x200000>; |
Kevin Hilman | ef8d2ff | 2016-10-20 13:42:54 +0200 | [diff] [blame] | 601 | |
| 602 | sd_emmc_a: mmc@70000 { |
| 603 | compatible = "amlogic,meson-gx-mmc", "amlogic,meson-gxbb-mmc"; |
Kevin Hilman | e490520 | 2018-06-04 15:23:09 -0700 | [diff] [blame] | 604 | reg = <0x0 0x70000 0x0 0x800>; |
Kevin Hilman | ef8d2ff | 2016-10-20 13:42:54 +0200 | [diff] [blame] | 605 | interrupts = <GIC_SPI 216 IRQ_TYPE_EDGE_RISING>; |
| 606 | status = "disabled"; |
| 607 | }; |
| 608 | |
| 609 | sd_emmc_b: mmc@72000 { |
| 610 | compatible = "amlogic,meson-gx-mmc", "amlogic,meson-gxbb-mmc"; |
Kevin Hilman | e490520 | 2018-06-04 15:23:09 -0700 | [diff] [blame] | 611 | reg = <0x0 0x72000 0x0 0x800>; |
Kevin Hilman | ef8d2ff | 2016-10-20 13:42:54 +0200 | [diff] [blame] | 612 | interrupts = <GIC_SPI 217 IRQ_TYPE_EDGE_RISING>; |
| 613 | status = "disabled"; |
| 614 | }; |
| 615 | |
| 616 | sd_emmc_c: mmc@74000 { |
| 617 | compatible = "amlogic,meson-gx-mmc", "amlogic,meson-gxbb-mmc"; |
Kevin Hilman | e490520 | 2018-06-04 15:23:09 -0700 | [diff] [blame] | 618 | reg = <0x0 0x74000 0x0 0x800>; |
Kevin Hilman | ef8d2ff | 2016-10-20 13:42:54 +0200 | [diff] [blame] | 619 | interrupts = <GIC_SPI 218 IRQ_TYPE_EDGE_RISING>; |
| 620 | status = "disabled"; |
| 621 | }; |
Neil Armstrong | c328666 | 2016-10-04 17:37:08 +0200 | [diff] [blame] | 622 | }; |
Neil Armstrong | fafdbdf | 2016-12-01 10:05:58 +0100 | [diff] [blame] | 623 | |
| 624 | vpu: vpu@d0100000 { |
| 625 | compatible = "amlogic,meson-gx-vpu"; |
| 626 | reg = <0x0 0xd0100000 0x0 0x100000>, |
Neil Armstrong | 5e975c5 | 2019-08-23 09:02:36 +0200 | [diff] [blame] | 627 | <0x0 0xc883c000 0x0 0x1000>; |
| 628 | reg-names = "vpu", "hhi"; |
Neil Armstrong | fafdbdf | 2016-12-01 10:05:58 +0100 | [diff] [blame] | 629 | interrupts = <GIC_SPI 3 IRQ_TYPE_EDGE_RISING>; |
| 630 | #address-cells = <1>; |
| 631 | #size-cells = <0>; |
Maxime Jourdan | cf34287 | 2019-01-14 17:22:29 +0100 | [diff] [blame] | 632 | amlogic,canvas = <&canvas>; |
Neil Armstrong | fafdbdf | 2016-12-01 10:05:58 +0100 | [diff] [blame] | 633 | |
| 634 | /* CVBS VDAC output port */ |
| 635 | cvbs_vdac_port: port@0 { |
| 636 | reg = <0>; |
| 637 | }; |
Neil Armstrong | 6939db7 | 2017-03-21 16:25:46 +0100 | [diff] [blame] | 638 | |
| 639 | /* HDMI-TX output port */ |
| 640 | hdmi_tx_port: port@1 { |
| 641 | reg = <1>; |
| 642 | |
| 643 | hdmi_tx_out: endpoint { |
| 644 | remote-endpoint = <&hdmi_tx_in>; |
| 645 | }; |
| 646 | }; |
| 647 | }; |
| 648 | |
| 649 | hdmi_tx: hdmi-tx@c883a000 { |
| 650 | compatible = "amlogic,meson-gx-dw-hdmi"; |
| 651 | reg = <0x0 0xc883a000 0x0 0x1c>; |
| 652 | interrupts = <GIC_SPI 57 IRQ_TYPE_EDGE_RISING>; |
| 653 | #address-cells = <1>; |
| 654 | #size-cells = <0>; |
Jerome Brunet | 4cc1b26 | 2020-04-21 18:39:31 +0200 | [diff] [blame] | 655 | #sound-dai-cells = <0>; |
| 656 | sound-name-prefix = "HDMITX"; |
Neil Armstrong | 6939db7 | 2017-03-21 16:25:46 +0100 | [diff] [blame] | 657 | status = "disabled"; |
| 658 | |
| 659 | /* VPU VENC Input */ |
| 660 | hdmi_tx_venc_port: port@0 { |
| 661 | reg = <0>; |
| 662 | |
| 663 | hdmi_tx_in: endpoint { |
| 664 | remote-endpoint = <&hdmi_tx_out>; |
| 665 | }; |
| 666 | }; |
| 667 | |
| 668 | /* TMDS Output */ |
| 669 | hdmi_tx_tmds_port: port@1 { |
| 670 | reg = <1>; |
| 671 | }; |
Neil Armstrong | fafdbdf | 2016-12-01 10:05:58 +0100 | [diff] [blame] | 672 | }; |
Neil Armstrong | c328666 | 2016-10-04 17:37:08 +0200 | [diff] [blame] | 673 | }; |
| 674 | }; |