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