Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
| 2 | /* |
| 3 | * Copyright (c) 2017 Amlogic, Inc. All rights reserved. |
| 4 | */ |
| 5 | |
| 6 | #include <dt-bindings/clock/axg-aoclkc.h> |
| 7 | #include <dt-bindings/clock/axg-audio-clkc.h> |
| 8 | #include <dt-bindings/clock/axg-clkc.h> |
| 9 | #include <dt-bindings/gpio/gpio.h> |
| 10 | #include <dt-bindings/gpio/meson-axg-gpio.h> |
| 11 | #include <dt-bindings/interrupt-controller/irq.h> |
| 12 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
| 13 | #include <dt-bindings/reset/amlogic,meson-axg-audio-arb.h> |
| 14 | #include <dt-bindings/reset/amlogic,meson-axg-reset.h> |
| 15 | |
| 16 | / { |
| 17 | compatible = "amlogic,meson-axg"; |
| 18 | |
| 19 | interrupt-parent = <&gic>; |
| 20 | #address-cells = <2>; |
| 21 | #size-cells = <2>; |
| 22 | |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 23 | tdmif_a: audio-controller-0 { |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 24 | compatible = "amlogic,axg-tdm-iface"; |
| 25 | #sound-dai-cells = <0>; |
| 26 | sound-name-prefix = "TDM_A"; |
| 27 | clocks = <&clkc_audio AUD_CLKID_MST_A_MCLK>, |
| 28 | <&clkc_audio AUD_CLKID_MST_A_SCLK>, |
| 29 | <&clkc_audio AUD_CLKID_MST_A_LRCLK>; |
| 30 | clock-names = "mclk", "sclk", "lrclk"; |
| 31 | status = "disabled"; |
| 32 | }; |
| 33 | |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 34 | tdmif_b: audio-controller-1 { |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 35 | compatible = "amlogic,axg-tdm-iface"; |
| 36 | #sound-dai-cells = <0>; |
| 37 | sound-name-prefix = "TDM_B"; |
| 38 | clocks = <&clkc_audio AUD_CLKID_MST_B_MCLK>, |
| 39 | <&clkc_audio AUD_CLKID_MST_B_SCLK>, |
| 40 | <&clkc_audio AUD_CLKID_MST_B_LRCLK>; |
| 41 | clock-names = "mclk", "sclk", "lrclk"; |
| 42 | status = "disabled"; |
| 43 | }; |
| 44 | |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 45 | tdmif_c: audio-controller-2 { |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 46 | compatible = "amlogic,axg-tdm-iface"; |
| 47 | #sound-dai-cells = <0>; |
| 48 | sound-name-prefix = "TDM_C"; |
| 49 | clocks = <&clkc_audio AUD_CLKID_MST_C_MCLK>, |
| 50 | <&clkc_audio AUD_CLKID_MST_C_SCLK>, |
| 51 | <&clkc_audio AUD_CLKID_MST_C_LRCLK>; |
| 52 | clock-names = "mclk", "sclk", "lrclk"; |
| 53 | status = "disabled"; |
| 54 | }; |
| 55 | |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 56 | arm-pmu { |
| 57 | compatible = "arm,cortex-a53-pmu"; |
| 58 | interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>, |
| 59 | <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>, |
| 60 | <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>, |
| 61 | <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>; |
| 62 | interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>; |
| 63 | }; |
| 64 | |
| 65 | cpus { |
| 66 | #address-cells = <0x2>; |
| 67 | #size-cells = <0x0>; |
| 68 | |
| 69 | cpu0: cpu@0 { |
| 70 | device_type = "cpu"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 71 | compatible = "arm,cortex-a53"; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 72 | reg = <0x0 0x0>; |
| 73 | enable-method = "psci"; |
| 74 | next-level-cache = <&l2>; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 75 | clocks = <&scpi_dvfs 0>; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 76 | }; |
| 77 | |
| 78 | cpu1: cpu@1 { |
| 79 | device_type = "cpu"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 80 | compatible = "arm,cortex-a53"; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 81 | reg = <0x0 0x1>; |
| 82 | enable-method = "psci"; |
| 83 | next-level-cache = <&l2>; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 84 | clocks = <&scpi_dvfs 0>; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 85 | }; |
| 86 | |
| 87 | cpu2: cpu@2 { |
| 88 | device_type = "cpu"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 89 | compatible = "arm,cortex-a53"; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 90 | reg = <0x0 0x2>; |
| 91 | enable-method = "psci"; |
| 92 | next-level-cache = <&l2>; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 93 | clocks = <&scpi_dvfs 0>; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 94 | }; |
| 95 | |
| 96 | cpu3: cpu@3 { |
| 97 | device_type = "cpu"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 98 | compatible = "arm,cortex-a53"; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 99 | reg = <0x0 0x3>; |
| 100 | enable-method = "psci"; |
| 101 | next-level-cache = <&l2>; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 102 | clocks = <&scpi_dvfs 0>; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 103 | }; |
| 104 | |
| 105 | l2: l2-cache0 { |
| 106 | compatible = "cache"; |
| 107 | }; |
| 108 | }; |
| 109 | |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 110 | sm: secure-monitor { |
| 111 | compatible = "amlogic,meson-gxbb-sm"; |
| 112 | }; |
| 113 | |
| 114 | efuse: efuse { |
| 115 | compatible = "amlogic,meson-gxbb-efuse"; |
| 116 | clocks = <&clkc CLKID_EFUSE>; |
| 117 | #address-cells = <1>; |
| 118 | #size-cells = <1>; |
| 119 | read-only; |
| 120 | secure-monitor = <&sm>; |
| 121 | }; |
| 122 | |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 123 | psci { |
| 124 | compatible = "arm,psci-1.0"; |
| 125 | method = "smc"; |
| 126 | }; |
| 127 | |
| 128 | reserved-memory { |
| 129 | #address-cells = <2>; |
| 130 | #size-cells = <2>; |
| 131 | ranges; |
| 132 | |
| 133 | /* 16 MiB reserved for Hardware ROM Firmware */ |
| 134 | hwrom_reserved: hwrom@0 { |
| 135 | reg = <0x0 0x0 0x0 0x1000000>; |
| 136 | no-map; |
| 137 | }; |
| 138 | |
| 139 | /* Alternate 3 MiB reserved for ARM Trusted Firmware (BL31) */ |
| 140 | secmon_reserved: secmon@5000000 { |
| 141 | reg = <0x0 0x05000000 0x0 0x300000>; |
| 142 | no-map; |
| 143 | }; |
| 144 | }; |
| 145 | |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 146 | scpi { |
| 147 | compatible = "arm,scpi-pre-1.0"; |
| 148 | mboxes = <&mailbox 1 &mailbox 2>; |
| 149 | shmem = <&cpu_scp_lpri &cpu_scp_hpri>; |
| 150 | |
| 151 | scpi_clocks: clocks { |
| 152 | compatible = "arm,scpi-clocks"; |
| 153 | |
| 154 | scpi_dvfs: clock-controller { |
| 155 | compatible = "arm,scpi-dvfs-clocks"; |
| 156 | #clock-cells = <1>; |
| 157 | clock-indices = <0>; |
| 158 | clock-output-names = "vcpu"; |
| 159 | }; |
| 160 | }; |
| 161 | |
| 162 | scpi_sensors: sensors { |
| 163 | compatible = "amlogic,meson-gxbb-scpi-sensors"; |
| 164 | #thermal-sensor-cells = <1>; |
| 165 | }; |
| 166 | }; |
| 167 | |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 168 | soc { |
| 169 | compatible = "simple-bus"; |
| 170 | #address-cells = <2>; |
| 171 | #size-cells = <2>; |
| 172 | ranges; |
| 173 | |
| 174 | ethmac: ethernet@ff3f0000 { |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 175 | compatible = "amlogic,meson-axg-dwmac", |
| 176 | "snps,dwmac-3.70a", |
| 177 | "snps,dwmac"; |
| 178 | reg = <0x0 0xff3f0000 0x0 0x10000>, |
| 179 | <0x0 0xff634540 0x0 0x8>; |
| 180 | interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 181 | interrupt-names = "macirq"; |
| 182 | clocks = <&clkc CLKID_ETH>, |
| 183 | <&clkc CLKID_FCLK_DIV2>, |
Neil Armstrong | ee73135 | 2020-10-02 09:47:37 +0200 | [diff] [blame] | 184 | <&clkc CLKID_MPLL2>, |
| 185 | <&clkc CLKID_FCLK_DIV2>; |
| 186 | clock-names = "stmmaceth", "clkin0", "clkin1", |
| 187 | "timing-adjustment"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 188 | rx-fifo-depth = <4096>; |
| 189 | tx-fifo-depth = <2048>; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 190 | status = "disabled"; |
| 191 | }; |
| 192 | |
| 193 | pdm: audio-controller@ff632000 { |
| 194 | compatible = "amlogic,axg-pdm"; |
| 195 | reg = <0x0 0xff632000 0x0 0x34>; |
| 196 | #sound-dai-cells = <0>; |
| 197 | sound-name-prefix = "PDM"; |
| 198 | clocks = <&clkc_audio AUD_CLKID_PDM>, |
| 199 | <&clkc_audio AUD_CLKID_PDM_DCLK>, |
| 200 | <&clkc_audio AUD_CLKID_PDM_SYSCLK>; |
| 201 | clock-names = "pclk", "dclk", "sysclk"; |
| 202 | status = "disabled"; |
| 203 | }; |
| 204 | |
| 205 | periphs: bus@ff634000 { |
| 206 | compatible = "simple-bus"; |
| 207 | reg = <0x0 0xff634000 0x0 0x2000>; |
| 208 | #address-cells = <2>; |
| 209 | #size-cells = <2>; |
| 210 | ranges = <0x0 0x0 0x0 0xff634000 0x0 0x2000>; |
| 211 | |
| 212 | hwrng: rng@18 { |
| 213 | compatible = "amlogic,meson-rng"; |
| 214 | reg = <0x0 0x18 0x0 0x4>; |
| 215 | clocks = <&clkc CLKID_RNG0>; |
| 216 | clock-names = "core"; |
| 217 | }; |
| 218 | |
| 219 | pinctrl_periphs: pinctrl@480 { |
| 220 | compatible = "amlogic,meson-axg-periphs-pinctrl"; |
| 221 | #address-cells = <2>; |
| 222 | #size-cells = <2>; |
| 223 | ranges; |
| 224 | |
| 225 | gpio: bank@480 { |
| 226 | reg = <0x0 0x00480 0x0 0x40>, |
| 227 | <0x0 0x004e8 0x0 0x14>, |
| 228 | <0x0 0x00520 0x0 0x14>, |
| 229 | <0x0 0x00430 0x0 0x3c>; |
| 230 | reg-names = "mux", "pull", "pull-enable", "gpio"; |
| 231 | gpio-controller; |
| 232 | #gpio-cells = <2>; |
| 233 | gpio-ranges = <&pinctrl_periphs 0 0 86>; |
| 234 | }; |
| 235 | |
| 236 | i2c0_pins: i2c0 { |
| 237 | mux { |
| 238 | groups = "i2c0_sck", |
| 239 | "i2c0_sda"; |
| 240 | function = "i2c0"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 241 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 242 | }; |
| 243 | }; |
| 244 | |
| 245 | i2c1_x_pins: i2c1_x { |
| 246 | mux { |
| 247 | groups = "i2c1_sck_x", |
| 248 | "i2c1_sda_x"; |
| 249 | function = "i2c1"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 250 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 251 | }; |
| 252 | }; |
| 253 | |
| 254 | i2c1_z_pins: i2c1_z { |
| 255 | mux { |
| 256 | groups = "i2c1_sck_z", |
| 257 | "i2c1_sda_z"; |
| 258 | function = "i2c1"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 259 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 260 | }; |
| 261 | }; |
| 262 | |
| 263 | i2c2_a_pins: i2c2_a { |
| 264 | mux { |
| 265 | groups = "i2c2_sck_a", |
| 266 | "i2c2_sda_a"; |
| 267 | function = "i2c2"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 268 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 269 | }; |
| 270 | }; |
| 271 | |
| 272 | i2c2_x_pins: i2c2_x { |
| 273 | mux { |
| 274 | groups = "i2c2_sck_x", |
| 275 | "i2c2_sda_x"; |
| 276 | function = "i2c2"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 277 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 278 | }; |
| 279 | }; |
| 280 | |
| 281 | i2c3_a6_pins: i2c3_a6 { |
| 282 | mux { |
| 283 | groups = "i2c3_sda_a6", |
| 284 | "i2c3_sck_a7"; |
| 285 | function = "i2c3"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 286 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 287 | }; |
| 288 | }; |
| 289 | |
| 290 | i2c3_a12_pins: i2c3_a12 { |
| 291 | mux { |
| 292 | groups = "i2c3_sda_a12", |
| 293 | "i2c3_sck_a13"; |
| 294 | function = "i2c3"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 295 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 296 | }; |
| 297 | }; |
| 298 | |
| 299 | i2c3_a19_pins: i2c3_a19 { |
| 300 | mux { |
| 301 | groups = "i2c3_sda_a19", |
| 302 | "i2c3_sck_a20"; |
| 303 | function = "i2c3"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 304 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 305 | }; |
| 306 | }; |
| 307 | |
| 308 | emmc_pins: emmc { |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 309 | mux-0 { |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 310 | groups = "emmc_nand_d0", |
| 311 | "emmc_nand_d1", |
| 312 | "emmc_nand_d2", |
| 313 | "emmc_nand_d3", |
| 314 | "emmc_nand_d4", |
| 315 | "emmc_nand_d5", |
| 316 | "emmc_nand_d6", |
| 317 | "emmc_nand_d7", |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 318 | "emmc_cmd"; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 319 | function = "emmc"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 320 | bias-pull-up; |
| 321 | }; |
| 322 | |
| 323 | mux-1 { |
| 324 | groups = "emmc_clk"; |
| 325 | function = "emmc"; |
| 326 | bias-disable; |
| 327 | }; |
| 328 | }; |
| 329 | |
| 330 | emmc_ds_pins: emmc_ds { |
| 331 | mux { |
| 332 | groups = "emmc_ds"; |
| 333 | function = "emmc"; |
| 334 | bias-pull-down; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 335 | }; |
| 336 | }; |
| 337 | |
| 338 | emmc_clk_gate_pins: emmc_clk_gate { |
| 339 | mux { |
| 340 | groups = "BOOT_8"; |
| 341 | function = "gpio_periphs"; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 342 | bias-pull-down; |
| 343 | }; |
| 344 | }; |
| 345 | |
| 346 | eth_rgmii_x_pins: eth-x-rgmii { |
| 347 | mux { |
| 348 | groups = "eth_mdio_x", |
| 349 | "eth_mdc_x", |
| 350 | "eth_rgmii_rx_clk_x", |
| 351 | "eth_rx_dv_x", |
| 352 | "eth_rxd0_x", |
| 353 | "eth_rxd1_x", |
| 354 | "eth_rxd2_rgmii", |
| 355 | "eth_rxd3_rgmii", |
| 356 | "eth_rgmii_tx_clk", |
| 357 | "eth_txen_x", |
| 358 | "eth_txd0_x", |
| 359 | "eth_txd1_x", |
| 360 | "eth_txd2_rgmii", |
| 361 | "eth_txd3_rgmii"; |
| 362 | function = "eth"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 363 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 364 | }; |
| 365 | }; |
| 366 | |
| 367 | eth_rgmii_y_pins: eth-y-rgmii { |
| 368 | mux { |
| 369 | groups = "eth_mdio_y", |
| 370 | "eth_mdc_y", |
| 371 | "eth_rgmii_rx_clk_y", |
| 372 | "eth_rx_dv_y", |
| 373 | "eth_rxd0_y", |
| 374 | "eth_rxd1_y", |
| 375 | "eth_rxd2_rgmii", |
| 376 | "eth_rxd3_rgmii", |
| 377 | "eth_rgmii_tx_clk", |
| 378 | "eth_txen_y", |
| 379 | "eth_txd0_y", |
| 380 | "eth_txd1_y", |
| 381 | "eth_txd2_rgmii", |
| 382 | "eth_txd3_rgmii"; |
| 383 | function = "eth"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 384 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 385 | }; |
| 386 | }; |
| 387 | |
| 388 | eth_rmii_x_pins: eth-x-rmii { |
| 389 | mux { |
| 390 | groups = "eth_mdio_x", |
| 391 | "eth_mdc_x", |
| 392 | "eth_rgmii_rx_clk_x", |
| 393 | "eth_rx_dv_x", |
| 394 | "eth_rxd0_x", |
| 395 | "eth_rxd1_x", |
| 396 | "eth_txen_x", |
| 397 | "eth_txd0_x", |
| 398 | "eth_txd1_x"; |
| 399 | function = "eth"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 400 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 401 | }; |
| 402 | }; |
| 403 | |
| 404 | eth_rmii_y_pins: eth-y-rmii { |
| 405 | mux { |
| 406 | groups = "eth_mdio_y", |
| 407 | "eth_mdc_y", |
| 408 | "eth_rgmii_rx_clk_y", |
| 409 | "eth_rx_dv_y", |
| 410 | "eth_rxd0_y", |
| 411 | "eth_rxd1_y", |
| 412 | "eth_txen_y", |
| 413 | "eth_txd0_y", |
| 414 | "eth_txd1_y"; |
| 415 | function = "eth"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 416 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 417 | }; |
| 418 | }; |
| 419 | |
| 420 | mclk_b_pins: mclk_b { |
| 421 | mux { |
| 422 | groups = "mclk_b"; |
| 423 | function = "mclk_b"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 424 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 425 | }; |
| 426 | }; |
| 427 | |
| 428 | mclk_c_pins: mclk_c { |
| 429 | mux { |
| 430 | groups = "mclk_c"; |
| 431 | function = "mclk_c"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 432 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 433 | }; |
| 434 | }; |
| 435 | |
| 436 | pdm_dclk_a14_pins: pdm_dclk_a14 { |
| 437 | mux { |
| 438 | groups = "pdm_dclk_a14"; |
| 439 | function = "pdm"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 440 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 441 | }; |
| 442 | }; |
| 443 | |
| 444 | pdm_dclk_a19_pins: pdm_dclk_a19 { |
| 445 | mux { |
| 446 | groups = "pdm_dclk_a19"; |
| 447 | function = "pdm"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 448 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 449 | }; |
| 450 | }; |
| 451 | |
| 452 | pdm_din0_pins: pdm_din0 { |
| 453 | mux { |
| 454 | groups = "pdm_din0"; |
| 455 | function = "pdm"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 456 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 457 | }; |
| 458 | }; |
| 459 | |
| 460 | pdm_din1_pins: pdm_din1 { |
| 461 | mux { |
| 462 | groups = "pdm_din1"; |
| 463 | function = "pdm"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 464 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 465 | }; |
| 466 | }; |
| 467 | |
| 468 | pdm_din2_pins: pdm_din2 { |
| 469 | mux { |
| 470 | groups = "pdm_din2"; |
| 471 | function = "pdm"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 472 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 473 | }; |
| 474 | }; |
| 475 | |
| 476 | pdm_din3_pins: pdm_din3 { |
| 477 | mux { |
| 478 | groups = "pdm_din3"; |
| 479 | function = "pdm"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 480 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 481 | }; |
| 482 | }; |
| 483 | |
| 484 | pwm_a_a_pins: pwm_a_a { |
| 485 | mux { |
| 486 | groups = "pwm_a_a"; |
| 487 | function = "pwm_a"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 488 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 489 | }; |
| 490 | }; |
| 491 | |
| 492 | pwm_a_x18_pins: pwm_a_x18 { |
| 493 | mux { |
| 494 | groups = "pwm_a_x18"; |
| 495 | function = "pwm_a"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 496 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 497 | }; |
| 498 | }; |
| 499 | |
| 500 | pwm_a_x20_pins: pwm_a_x20 { |
| 501 | mux { |
| 502 | groups = "pwm_a_x20"; |
| 503 | function = "pwm_a"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 504 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 505 | }; |
| 506 | }; |
| 507 | |
| 508 | pwm_a_z_pins: pwm_a_z { |
| 509 | mux { |
| 510 | groups = "pwm_a_z"; |
| 511 | function = "pwm_a"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 512 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 513 | }; |
| 514 | }; |
| 515 | |
| 516 | pwm_b_a_pins: pwm_b_a { |
| 517 | mux { |
| 518 | groups = "pwm_b_a"; |
| 519 | function = "pwm_b"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 520 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 521 | }; |
| 522 | }; |
| 523 | |
| 524 | pwm_b_x_pins: pwm_b_x { |
| 525 | mux { |
| 526 | groups = "pwm_b_x"; |
| 527 | function = "pwm_b"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 528 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 529 | }; |
| 530 | }; |
| 531 | |
| 532 | pwm_b_z_pins: pwm_b_z { |
| 533 | mux { |
| 534 | groups = "pwm_b_z"; |
| 535 | function = "pwm_b"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 536 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 537 | }; |
| 538 | }; |
| 539 | |
| 540 | pwm_c_a_pins: pwm_c_a { |
| 541 | mux { |
| 542 | groups = "pwm_c_a"; |
| 543 | function = "pwm_c"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 544 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 545 | }; |
| 546 | }; |
| 547 | |
| 548 | pwm_c_x10_pins: pwm_c_x10 { |
| 549 | mux { |
| 550 | groups = "pwm_c_x10"; |
| 551 | function = "pwm_c"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 552 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 553 | }; |
| 554 | }; |
| 555 | |
| 556 | pwm_c_x17_pins: pwm_c_x17 { |
| 557 | mux { |
| 558 | groups = "pwm_c_x17"; |
| 559 | function = "pwm_c"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 560 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 561 | }; |
| 562 | }; |
| 563 | |
| 564 | pwm_d_x11_pins: pwm_d_x11 { |
| 565 | mux { |
| 566 | groups = "pwm_d_x11"; |
| 567 | function = "pwm_d"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 568 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 569 | }; |
| 570 | }; |
| 571 | |
| 572 | pwm_d_x16_pins: pwm_d_x16 { |
| 573 | mux { |
| 574 | groups = "pwm_d_x16"; |
| 575 | function = "pwm_d"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 576 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 577 | }; |
| 578 | }; |
| 579 | |
| 580 | sdio_pins: sdio { |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 581 | mux-0 { |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 582 | groups = "sdio_d0", |
| 583 | "sdio_d1", |
| 584 | "sdio_d2", |
| 585 | "sdio_d3", |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 586 | "sdio_cmd"; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 587 | function = "sdio"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 588 | bias-pull-up; |
| 589 | }; |
| 590 | |
| 591 | mux-1 { |
| 592 | groups = "sdio_clk"; |
| 593 | function = "sdio"; |
| 594 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 595 | }; |
| 596 | }; |
| 597 | |
| 598 | sdio_clk_gate_pins: sdio_clk_gate { |
| 599 | mux { |
| 600 | groups = "GPIOX_4"; |
| 601 | function = "gpio_periphs"; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 602 | bias-pull-down; |
| 603 | }; |
| 604 | }; |
| 605 | |
| 606 | spdif_in_z_pins: spdif_in_z { |
| 607 | mux { |
| 608 | groups = "spdif_in_z"; |
| 609 | function = "spdif_in"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 610 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 611 | }; |
| 612 | }; |
| 613 | |
| 614 | spdif_in_a1_pins: spdif_in_a1 { |
| 615 | mux { |
| 616 | groups = "spdif_in_a1"; |
| 617 | function = "spdif_in"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 618 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 619 | }; |
| 620 | }; |
| 621 | |
| 622 | spdif_in_a7_pins: spdif_in_a7 { |
| 623 | mux { |
| 624 | groups = "spdif_in_a7"; |
| 625 | function = "spdif_in"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 626 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 627 | }; |
| 628 | }; |
| 629 | |
| 630 | spdif_in_a19_pins: spdif_in_a19 { |
| 631 | mux { |
| 632 | groups = "spdif_in_a19"; |
| 633 | function = "spdif_in"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 634 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 635 | }; |
| 636 | }; |
| 637 | |
| 638 | spdif_in_a20_pins: spdif_in_a20 { |
| 639 | mux { |
| 640 | groups = "spdif_in_a20"; |
| 641 | function = "spdif_in"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 642 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 643 | }; |
| 644 | }; |
| 645 | |
| 646 | spdif_out_a1_pins: spdif_out_a1 { |
| 647 | mux { |
| 648 | groups = "spdif_out_a1"; |
| 649 | function = "spdif_out"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 650 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 651 | }; |
| 652 | }; |
| 653 | |
| 654 | spdif_out_a11_pins: spdif_out_a11 { |
| 655 | mux { |
| 656 | groups = "spdif_out_a11"; |
| 657 | function = "spdif_out"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 658 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 659 | }; |
| 660 | }; |
| 661 | |
| 662 | spdif_out_a19_pins: spdif_out_a19 { |
| 663 | mux { |
| 664 | groups = "spdif_out_a19"; |
| 665 | function = "spdif_out"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 666 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 667 | }; |
| 668 | }; |
| 669 | |
| 670 | spdif_out_a20_pins: spdif_out_a20 { |
| 671 | mux { |
| 672 | groups = "spdif_out_a20"; |
| 673 | function = "spdif_out"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 674 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 675 | }; |
| 676 | }; |
| 677 | |
| 678 | spdif_out_z_pins: spdif_out_z { |
| 679 | mux { |
| 680 | groups = "spdif_out_z"; |
| 681 | function = "spdif_out"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 682 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 683 | }; |
| 684 | }; |
| 685 | |
| 686 | spi0_pins: spi0 { |
| 687 | mux { |
| 688 | groups = "spi0_miso", |
| 689 | "spi0_mosi", |
| 690 | "spi0_clk"; |
| 691 | function = "spi0"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 692 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 693 | }; |
| 694 | }; |
| 695 | |
| 696 | spi0_ss0_pins: spi0_ss0 { |
| 697 | mux { |
| 698 | groups = "spi0_ss0"; |
| 699 | function = "spi0"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 700 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 701 | }; |
| 702 | }; |
| 703 | |
| 704 | spi0_ss1_pins: spi0_ss1 { |
| 705 | mux { |
| 706 | groups = "spi0_ss1"; |
| 707 | function = "spi0"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 708 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 709 | }; |
| 710 | }; |
| 711 | |
| 712 | spi0_ss2_pins: spi0_ss2 { |
| 713 | mux { |
| 714 | groups = "spi0_ss2"; |
| 715 | function = "spi0"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 716 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 717 | }; |
| 718 | }; |
| 719 | |
| 720 | spi1_a_pins: spi1_a { |
| 721 | mux { |
| 722 | groups = "spi1_miso_a", |
| 723 | "spi1_mosi_a", |
| 724 | "spi1_clk_a"; |
| 725 | function = "spi1"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 726 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 727 | }; |
| 728 | }; |
| 729 | |
| 730 | spi1_ss0_a_pins: spi1_ss0_a { |
| 731 | mux { |
| 732 | groups = "spi1_ss0_a"; |
| 733 | function = "spi1"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 734 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 735 | }; |
| 736 | }; |
| 737 | |
| 738 | spi1_ss1_pins: spi1_ss1 { |
| 739 | mux { |
| 740 | groups = "spi1_ss1"; |
| 741 | function = "spi1"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 742 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 743 | }; |
| 744 | }; |
| 745 | |
| 746 | spi1_x_pins: spi1_x { |
| 747 | mux { |
| 748 | groups = "spi1_miso_x", |
| 749 | "spi1_mosi_x", |
| 750 | "spi1_clk_x"; |
| 751 | function = "spi1"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 752 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 753 | }; |
| 754 | }; |
| 755 | |
| 756 | spi1_ss0_x_pins: spi1_ss0_x { |
| 757 | mux { |
| 758 | groups = "spi1_ss0_x"; |
| 759 | function = "spi1"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 760 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 761 | }; |
| 762 | }; |
| 763 | |
| 764 | tdma_din0_pins: tdma_din0 { |
| 765 | mux { |
| 766 | groups = "tdma_din0"; |
| 767 | function = "tdma"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 768 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 769 | }; |
| 770 | }; |
| 771 | |
| 772 | tdma_dout0_x14_pins: tdma_dout0_x14 { |
| 773 | mux { |
| 774 | groups = "tdma_dout0_x14"; |
| 775 | function = "tdma"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 776 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 777 | }; |
| 778 | }; |
| 779 | |
| 780 | tdma_dout0_x15_pins: tdma_dout0_x15 { |
| 781 | mux { |
| 782 | groups = "tdma_dout0_x15"; |
| 783 | function = "tdma"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 784 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 785 | }; |
| 786 | }; |
| 787 | |
| 788 | tdma_dout1_pins: tdma_dout1 { |
| 789 | mux { |
| 790 | groups = "tdma_dout1"; |
| 791 | function = "tdma"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 792 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 793 | }; |
| 794 | }; |
| 795 | |
| 796 | tdma_din1_pins: tdma_din1 { |
| 797 | mux { |
| 798 | groups = "tdma_din1"; |
| 799 | function = "tdma"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 800 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 801 | }; |
| 802 | }; |
| 803 | |
| 804 | tdma_fs_pins: tdma_fs { |
| 805 | mux { |
| 806 | groups = "tdma_fs"; |
| 807 | function = "tdma"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 808 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 809 | }; |
| 810 | }; |
| 811 | |
| 812 | tdma_fs_slv_pins: tdma_fs_slv { |
| 813 | mux { |
| 814 | groups = "tdma_fs_slv"; |
| 815 | function = "tdma"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 816 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 817 | }; |
| 818 | }; |
| 819 | |
| 820 | tdma_sclk_pins: tdma_sclk { |
| 821 | mux { |
| 822 | groups = "tdma_sclk"; |
| 823 | function = "tdma"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 824 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 825 | }; |
| 826 | }; |
| 827 | |
| 828 | tdma_sclk_slv_pins: tdma_sclk_slv { |
| 829 | mux { |
| 830 | groups = "tdma_sclk_slv"; |
| 831 | function = "tdma"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 832 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 833 | }; |
| 834 | }; |
| 835 | |
| 836 | tdmb_din0_pins: tdmb_din0 { |
| 837 | mux { |
| 838 | groups = "tdmb_din0"; |
| 839 | function = "tdmb"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 840 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 841 | }; |
| 842 | }; |
| 843 | |
| 844 | tdmb_din1_pins: tdmb_din1 { |
| 845 | mux { |
| 846 | groups = "tdmb_din1"; |
| 847 | function = "tdmb"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 848 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 849 | }; |
| 850 | }; |
| 851 | |
| 852 | tdmb_din2_pins: tdmb_din2 { |
| 853 | mux { |
| 854 | groups = "tdmb_din2"; |
| 855 | function = "tdmb"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 856 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 857 | }; |
| 858 | }; |
| 859 | |
| 860 | tdmb_din3_pins: tdmb_din3 { |
| 861 | mux { |
| 862 | groups = "tdmb_din3"; |
| 863 | function = "tdmb"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 864 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 865 | }; |
| 866 | }; |
| 867 | |
| 868 | tdmb_dout0_pins: tdmb_dout0 { |
| 869 | mux { |
| 870 | groups = "tdmb_dout0"; |
| 871 | function = "tdmb"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 872 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 873 | }; |
| 874 | }; |
| 875 | |
| 876 | tdmb_dout1_pins: tdmb_dout1 { |
| 877 | mux { |
| 878 | groups = "tdmb_dout1"; |
| 879 | function = "tdmb"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 880 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 881 | }; |
| 882 | }; |
| 883 | |
| 884 | tdmb_dout2_pins: tdmb_dout2 { |
| 885 | mux { |
| 886 | groups = "tdmb_dout2"; |
| 887 | function = "tdmb"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 888 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 889 | }; |
| 890 | }; |
| 891 | |
| 892 | tdmb_dout3_pins: tdmb_dout3 { |
| 893 | mux { |
| 894 | groups = "tdmb_dout3"; |
| 895 | function = "tdmb"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 896 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 897 | }; |
| 898 | }; |
| 899 | |
| 900 | tdmb_fs_pins: tdmb_fs { |
| 901 | mux { |
| 902 | groups = "tdmb_fs"; |
| 903 | function = "tdmb"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 904 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 905 | }; |
| 906 | }; |
| 907 | |
| 908 | tdmb_fs_slv_pins: tdmb_fs_slv { |
| 909 | mux { |
| 910 | groups = "tdmb_fs_slv"; |
| 911 | function = "tdmb"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 912 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 913 | }; |
| 914 | }; |
| 915 | |
| 916 | tdmb_sclk_pins: tdmb_sclk { |
| 917 | mux { |
| 918 | groups = "tdmb_sclk"; |
| 919 | function = "tdmb"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 920 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 921 | }; |
| 922 | }; |
| 923 | |
| 924 | tdmb_sclk_slv_pins: tdmb_sclk_slv { |
| 925 | mux { |
| 926 | groups = "tdmb_sclk_slv"; |
| 927 | function = "tdmb"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 928 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 929 | }; |
| 930 | }; |
| 931 | |
| 932 | tdmc_fs_pins: tdmc_fs { |
| 933 | mux { |
| 934 | groups = "tdmc_fs"; |
| 935 | function = "tdmc"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 936 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 937 | }; |
| 938 | }; |
| 939 | |
| 940 | tdmc_fs_slv_pins: tdmc_fs_slv { |
| 941 | mux { |
| 942 | groups = "tdmc_fs_slv"; |
| 943 | function = "tdmc"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 944 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 945 | }; |
| 946 | }; |
| 947 | |
| 948 | tdmc_sclk_pins: tdmc_sclk { |
| 949 | mux { |
| 950 | groups = "tdmc_sclk"; |
| 951 | function = "tdmc"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 952 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 953 | }; |
| 954 | }; |
| 955 | |
| 956 | tdmc_sclk_slv_pins: tdmc_sclk_slv { |
| 957 | mux { |
| 958 | groups = "tdmc_sclk_slv"; |
| 959 | function = "tdmc"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 960 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 961 | }; |
| 962 | }; |
| 963 | |
| 964 | tdmc_din0_pins: tdmc_din0 { |
| 965 | mux { |
| 966 | groups = "tdmc_din0"; |
| 967 | function = "tdmc"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 968 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 969 | }; |
| 970 | }; |
| 971 | |
| 972 | tdmc_din1_pins: tdmc_din1 { |
| 973 | mux { |
| 974 | groups = "tdmc_din1"; |
| 975 | function = "tdmc"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 976 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 977 | }; |
| 978 | }; |
| 979 | |
| 980 | tdmc_din2_pins: tdmc_din2 { |
| 981 | mux { |
| 982 | groups = "tdmc_din2"; |
| 983 | function = "tdmc"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 984 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 985 | }; |
| 986 | }; |
| 987 | |
| 988 | tdmc_din3_pins: tdmc_din3 { |
| 989 | mux { |
| 990 | groups = "tdmc_din3"; |
| 991 | function = "tdmc"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 992 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 993 | }; |
| 994 | }; |
| 995 | |
| 996 | tdmc_dout0_pins: tdmc_dout0 { |
| 997 | mux { |
| 998 | groups = "tdmc_dout0"; |
| 999 | function = "tdmc"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 1000 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 1001 | }; |
| 1002 | }; |
| 1003 | |
| 1004 | tdmc_dout1_pins: tdmc_dout1 { |
| 1005 | mux { |
| 1006 | groups = "tdmc_dout1"; |
| 1007 | function = "tdmc"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 1008 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 1009 | }; |
| 1010 | }; |
| 1011 | |
| 1012 | tdmc_dout2_pins: tdmc_dout2 { |
| 1013 | mux { |
| 1014 | groups = "tdmc_dout2"; |
| 1015 | function = "tdmc"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 1016 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 1017 | }; |
| 1018 | }; |
| 1019 | |
| 1020 | tdmc_dout3_pins: tdmc_dout3 { |
| 1021 | mux { |
| 1022 | groups = "tdmc_dout3"; |
| 1023 | function = "tdmc"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 1024 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 1025 | }; |
| 1026 | }; |
| 1027 | |
| 1028 | uart_a_pins: uart_a { |
| 1029 | mux { |
| 1030 | groups = "uart_tx_a", |
| 1031 | "uart_rx_a"; |
| 1032 | function = "uart_a"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 1033 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 1034 | }; |
| 1035 | }; |
| 1036 | |
| 1037 | uart_a_cts_rts_pins: uart_a_cts_rts { |
| 1038 | mux { |
| 1039 | groups = "uart_cts_a", |
| 1040 | "uart_rts_a"; |
| 1041 | function = "uart_a"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 1042 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 1043 | }; |
| 1044 | }; |
| 1045 | |
| 1046 | uart_b_x_pins: uart_b_x { |
| 1047 | mux { |
| 1048 | groups = "uart_tx_b_x", |
| 1049 | "uart_rx_b_x"; |
| 1050 | function = "uart_b"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 1051 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 1052 | }; |
| 1053 | }; |
| 1054 | |
| 1055 | uart_b_x_cts_rts_pins: uart_b_x_cts_rts { |
| 1056 | mux { |
| 1057 | groups = "uart_cts_b_x", |
| 1058 | "uart_rts_b_x"; |
| 1059 | function = "uart_b"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 1060 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 1061 | }; |
| 1062 | }; |
| 1063 | |
| 1064 | uart_b_z_pins: uart_b_z { |
| 1065 | mux { |
| 1066 | groups = "uart_tx_b_z", |
| 1067 | "uart_rx_b_z"; |
| 1068 | function = "uart_b"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 1069 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 1070 | }; |
| 1071 | }; |
| 1072 | |
| 1073 | uart_b_z_cts_rts_pins: uart_b_z_cts_rts { |
| 1074 | mux { |
| 1075 | groups = "uart_cts_b_z", |
| 1076 | "uart_rts_b_z"; |
| 1077 | function = "uart_b"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 1078 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 1079 | }; |
| 1080 | }; |
| 1081 | |
| 1082 | uart_ao_b_z_pins: uart_ao_b_z { |
| 1083 | mux { |
| 1084 | groups = "uart_ao_tx_b_z", |
| 1085 | "uart_ao_rx_b_z"; |
| 1086 | function = "uart_ao_b_z"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 1087 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 1088 | }; |
| 1089 | }; |
| 1090 | |
| 1091 | uart_ao_b_z_cts_rts_pins: uart_ao_b_z_cts_rts { |
| 1092 | mux { |
| 1093 | groups = "uart_ao_cts_b_z", |
| 1094 | "uart_ao_rts_b_z"; |
| 1095 | function = "uart_ao_b_z"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 1096 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 1097 | }; |
| 1098 | }; |
| 1099 | }; |
| 1100 | }; |
| 1101 | |
| 1102 | hiubus: bus@ff63c000 { |
| 1103 | compatible = "simple-bus"; |
| 1104 | reg = <0x0 0xff63c000 0x0 0x1c00>; |
| 1105 | #address-cells = <2>; |
| 1106 | #size-cells = <2>; |
| 1107 | ranges = <0x0 0x0 0x0 0xff63c000 0x0 0x1c00>; |
| 1108 | |
| 1109 | sysctrl: system-controller@0 { |
| 1110 | compatible = "amlogic,meson-axg-hhi-sysctrl", |
| 1111 | "simple-mfd", "syscon"; |
| 1112 | reg = <0 0 0 0x400>; |
| 1113 | |
| 1114 | clkc: clock-controller { |
| 1115 | compatible = "amlogic,axg-clkc"; |
| 1116 | #clock-cells = <1>; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 1117 | clocks = <&xtal>; |
| 1118 | clock-names = "xtal"; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 1119 | }; |
| 1120 | }; |
| 1121 | }; |
| 1122 | |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 1123 | mailbox: mailbox@ff63c404 { |
| 1124 | compatible = "amlogic,meson-gxbb-mhu"; |
| 1125 | reg = <0 0xff63c404 0 0x4c>; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 1126 | interrupts = <GIC_SPI 208 IRQ_TYPE_EDGE_RISING>, |
| 1127 | <GIC_SPI 209 IRQ_TYPE_EDGE_RISING>, |
| 1128 | <GIC_SPI 210 IRQ_TYPE_EDGE_RISING>; |
| 1129 | #mbox-cells = <1>; |
| 1130 | }; |
| 1131 | |
| 1132 | audio: bus@ff642000 { |
| 1133 | compatible = "simple-bus"; |
| 1134 | reg = <0x0 0xff642000 0x0 0x2000>; |
| 1135 | #address-cells = <2>; |
| 1136 | #size-cells = <2>; |
| 1137 | ranges = <0x0 0x0 0x0 0xff642000 0x0 0x2000>; |
| 1138 | |
| 1139 | clkc_audio: clock-controller@0 { |
| 1140 | compatible = "amlogic,axg-audio-clkc"; |
| 1141 | reg = <0x0 0x0 0x0 0xb4>; |
| 1142 | #clock-cells = <1>; |
| 1143 | |
| 1144 | clocks = <&clkc CLKID_AUDIO>, |
| 1145 | <&clkc CLKID_MPLL0>, |
| 1146 | <&clkc CLKID_MPLL1>, |
| 1147 | <&clkc CLKID_MPLL2>, |
| 1148 | <&clkc CLKID_MPLL3>, |
| 1149 | <&clkc CLKID_HIFI_PLL>, |
| 1150 | <&clkc CLKID_FCLK_DIV3>, |
| 1151 | <&clkc CLKID_FCLK_DIV4>, |
| 1152 | <&clkc CLKID_GP0_PLL>; |
| 1153 | clock-names = "pclk", |
| 1154 | "mst_in0", |
| 1155 | "mst_in1", |
| 1156 | "mst_in2", |
| 1157 | "mst_in3", |
| 1158 | "mst_in4", |
| 1159 | "mst_in5", |
| 1160 | "mst_in6", |
| 1161 | "mst_in7"; |
| 1162 | |
| 1163 | resets = <&reset RESET_AUDIO>; |
| 1164 | }; |
| 1165 | |
| 1166 | toddr_a: audio-controller@100 { |
| 1167 | compatible = "amlogic,axg-toddr"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 1168 | reg = <0x0 0x100 0x0 0x2c>; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 1169 | #sound-dai-cells = <0>; |
| 1170 | sound-name-prefix = "TODDR_A"; |
| 1171 | interrupts = <GIC_SPI 84 IRQ_TYPE_EDGE_RISING>; |
| 1172 | clocks = <&clkc_audio AUD_CLKID_TODDR_A>; |
| 1173 | resets = <&arb AXG_ARB_TODDR_A>; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 1174 | amlogic,fifo-depth = <512>; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 1175 | status = "disabled"; |
| 1176 | }; |
| 1177 | |
| 1178 | toddr_b: audio-controller@140 { |
| 1179 | compatible = "amlogic,axg-toddr"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 1180 | reg = <0x0 0x140 0x0 0x2c>; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 1181 | #sound-dai-cells = <0>; |
| 1182 | sound-name-prefix = "TODDR_B"; |
| 1183 | interrupts = <GIC_SPI 85 IRQ_TYPE_EDGE_RISING>; |
| 1184 | clocks = <&clkc_audio AUD_CLKID_TODDR_B>; |
| 1185 | resets = <&arb AXG_ARB_TODDR_B>; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 1186 | amlogic,fifo-depth = <256>; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 1187 | status = "disabled"; |
| 1188 | }; |
| 1189 | |
| 1190 | toddr_c: audio-controller@180 { |
| 1191 | compatible = "amlogic,axg-toddr"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 1192 | reg = <0x0 0x180 0x0 0x2c>; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 1193 | #sound-dai-cells = <0>; |
| 1194 | sound-name-prefix = "TODDR_C"; |
| 1195 | interrupts = <GIC_SPI 86 IRQ_TYPE_EDGE_RISING>; |
| 1196 | clocks = <&clkc_audio AUD_CLKID_TODDR_C>; |
| 1197 | resets = <&arb AXG_ARB_TODDR_C>; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 1198 | amlogic,fifo-depth = <256>; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 1199 | status = "disabled"; |
| 1200 | }; |
| 1201 | |
| 1202 | frddr_a: audio-controller@1c0 { |
| 1203 | compatible = "amlogic,axg-frddr"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 1204 | reg = <0x0 0x1c0 0x0 0x2c>; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 1205 | #sound-dai-cells = <0>; |
| 1206 | sound-name-prefix = "FRDDR_A"; |
| 1207 | interrupts = <GIC_SPI 88 IRQ_TYPE_EDGE_RISING>; |
| 1208 | clocks = <&clkc_audio AUD_CLKID_FRDDR_A>; |
| 1209 | resets = <&arb AXG_ARB_FRDDR_A>; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 1210 | amlogic,fifo-depth = <512>; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 1211 | status = "disabled"; |
| 1212 | }; |
| 1213 | |
| 1214 | frddr_b: audio-controller@200 { |
| 1215 | compatible = "amlogic,axg-frddr"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 1216 | reg = <0x0 0x200 0x0 0x2c>; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 1217 | #sound-dai-cells = <0>; |
| 1218 | sound-name-prefix = "FRDDR_B"; |
| 1219 | interrupts = <GIC_SPI 89 IRQ_TYPE_EDGE_RISING>; |
| 1220 | clocks = <&clkc_audio AUD_CLKID_FRDDR_B>; |
| 1221 | resets = <&arb AXG_ARB_FRDDR_B>; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 1222 | amlogic,fifo-depth = <256>; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 1223 | status = "disabled"; |
| 1224 | }; |
| 1225 | |
| 1226 | frddr_c: audio-controller@240 { |
| 1227 | compatible = "amlogic,axg-frddr"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 1228 | reg = <0x0 0x240 0x0 0x2c>; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 1229 | #sound-dai-cells = <0>; |
| 1230 | sound-name-prefix = "FRDDR_C"; |
| 1231 | interrupts = <GIC_SPI 90 IRQ_TYPE_EDGE_RISING>; |
| 1232 | clocks = <&clkc_audio AUD_CLKID_FRDDR_C>; |
| 1233 | resets = <&arb AXG_ARB_FRDDR_C>; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 1234 | amlogic,fifo-depth = <256>; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 1235 | status = "disabled"; |
| 1236 | }; |
| 1237 | |
| 1238 | arb: reset-controller@280 { |
| 1239 | compatible = "amlogic,meson-axg-audio-arb"; |
| 1240 | reg = <0x0 0x280 0x0 0x4>; |
| 1241 | #reset-cells = <1>; |
| 1242 | clocks = <&clkc_audio AUD_CLKID_DDR_ARB>; |
| 1243 | }; |
| 1244 | |
| 1245 | tdmin_a: audio-controller@300 { |
| 1246 | compatible = "amlogic,axg-tdmin"; |
| 1247 | reg = <0x0 0x300 0x0 0x40>; |
| 1248 | sound-name-prefix = "TDMIN_A"; |
| 1249 | clocks = <&clkc_audio AUD_CLKID_TDMIN_A>, |
| 1250 | <&clkc_audio AUD_CLKID_TDMIN_A_SCLK>, |
| 1251 | <&clkc_audio AUD_CLKID_TDMIN_A_SCLK_SEL>, |
| 1252 | <&clkc_audio AUD_CLKID_TDMIN_A_LRCLK>, |
| 1253 | <&clkc_audio AUD_CLKID_TDMIN_A_LRCLK>; |
| 1254 | clock-names = "pclk", "sclk", "sclk_sel", |
| 1255 | "lrclk", "lrclk_sel"; |
| 1256 | status = "disabled"; |
| 1257 | }; |
| 1258 | |
| 1259 | tdmin_b: audio-controller@340 { |
| 1260 | compatible = "amlogic,axg-tdmin"; |
| 1261 | reg = <0x0 0x340 0x0 0x40>; |
| 1262 | sound-name-prefix = "TDMIN_B"; |
| 1263 | clocks = <&clkc_audio AUD_CLKID_TDMIN_B>, |
| 1264 | <&clkc_audio AUD_CLKID_TDMIN_B_SCLK>, |
| 1265 | <&clkc_audio AUD_CLKID_TDMIN_B_SCLK_SEL>, |
| 1266 | <&clkc_audio AUD_CLKID_TDMIN_B_LRCLK>, |
| 1267 | <&clkc_audio AUD_CLKID_TDMIN_B_LRCLK>; |
| 1268 | clock-names = "pclk", "sclk", "sclk_sel", |
| 1269 | "lrclk", "lrclk_sel"; |
| 1270 | status = "disabled"; |
| 1271 | }; |
| 1272 | |
| 1273 | tdmin_c: audio-controller@380 { |
| 1274 | compatible = "amlogic,axg-tdmin"; |
| 1275 | reg = <0x0 0x380 0x0 0x40>; |
| 1276 | sound-name-prefix = "TDMIN_C"; |
| 1277 | clocks = <&clkc_audio AUD_CLKID_TDMIN_C>, |
| 1278 | <&clkc_audio AUD_CLKID_TDMIN_C_SCLK>, |
| 1279 | <&clkc_audio AUD_CLKID_TDMIN_C_SCLK_SEL>, |
| 1280 | <&clkc_audio AUD_CLKID_TDMIN_C_LRCLK>, |
| 1281 | <&clkc_audio AUD_CLKID_TDMIN_C_LRCLK>; |
| 1282 | clock-names = "pclk", "sclk", "sclk_sel", |
| 1283 | "lrclk", "lrclk_sel"; |
| 1284 | status = "disabled"; |
| 1285 | }; |
| 1286 | |
| 1287 | tdmin_lb: audio-controller@3c0 { |
| 1288 | compatible = "amlogic,axg-tdmin"; |
| 1289 | reg = <0x0 0x3c0 0x0 0x40>; |
| 1290 | sound-name-prefix = "TDMIN_LB"; |
| 1291 | clocks = <&clkc_audio AUD_CLKID_TDMIN_LB>, |
| 1292 | <&clkc_audio AUD_CLKID_TDMIN_LB_SCLK>, |
| 1293 | <&clkc_audio AUD_CLKID_TDMIN_LB_SCLK_SEL>, |
| 1294 | <&clkc_audio AUD_CLKID_TDMIN_LB_LRCLK>, |
| 1295 | <&clkc_audio AUD_CLKID_TDMIN_LB_LRCLK>; |
| 1296 | clock-names = "pclk", "sclk", "sclk_sel", |
| 1297 | "lrclk", "lrclk_sel"; |
| 1298 | status = "disabled"; |
| 1299 | }; |
| 1300 | |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 1301 | spdifin: audio-controller@400 { |
| 1302 | compatible = "amlogic,axg-spdifin"; |
| 1303 | reg = <0x0 0x400 0x0 0x30>; |
| 1304 | #sound-dai-cells = <0>; |
| 1305 | sound-name-prefix = "SPDIFIN"; |
| 1306 | interrupts = <GIC_SPI 87 IRQ_TYPE_EDGE_RISING>; |
| 1307 | clocks = <&clkc_audio AUD_CLKID_SPDIFIN>, |
| 1308 | <&clkc_audio AUD_CLKID_SPDIFIN_CLK>; |
| 1309 | clock-names = "pclk", "refclk"; |
| 1310 | status = "disabled"; |
| 1311 | }; |
| 1312 | |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 1313 | spdifout: audio-controller@480 { |
| 1314 | compatible = "amlogic,axg-spdifout"; |
| 1315 | reg = <0x0 0x480 0x0 0x50>; |
| 1316 | #sound-dai-cells = <0>; |
| 1317 | sound-name-prefix = "SPDIFOUT"; |
| 1318 | clocks = <&clkc_audio AUD_CLKID_SPDIFOUT>, |
| 1319 | <&clkc_audio AUD_CLKID_SPDIFOUT_CLK>; |
| 1320 | clock-names = "pclk", "mclk"; |
| 1321 | status = "disabled"; |
| 1322 | }; |
| 1323 | |
| 1324 | tdmout_a: audio-controller@500 { |
| 1325 | compatible = "amlogic,axg-tdmout"; |
| 1326 | reg = <0x0 0x500 0x0 0x40>; |
| 1327 | sound-name-prefix = "TDMOUT_A"; |
| 1328 | clocks = <&clkc_audio AUD_CLKID_TDMOUT_A>, |
| 1329 | <&clkc_audio AUD_CLKID_TDMOUT_A_SCLK>, |
| 1330 | <&clkc_audio AUD_CLKID_TDMOUT_A_SCLK_SEL>, |
| 1331 | <&clkc_audio AUD_CLKID_TDMOUT_A_LRCLK>, |
| 1332 | <&clkc_audio AUD_CLKID_TDMOUT_A_LRCLK>; |
| 1333 | clock-names = "pclk", "sclk", "sclk_sel", |
| 1334 | "lrclk", "lrclk_sel"; |
| 1335 | status = "disabled"; |
| 1336 | }; |
| 1337 | |
| 1338 | tdmout_b: audio-controller@540 { |
| 1339 | compatible = "amlogic,axg-tdmout"; |
| 1340 | reg = <0x0 0x540 0x0 0x40>; |
| 1341 | sound-name-prefix = "TDMOUT_B"; |
| 1342 | clocks = <&clkc_audio AUD_CLKID_TDMOUT_B>, |
| 1343 | <&clkc_audio AUD_CLKID_TDMOUT_B_SCLK>, |
| 1344 | <&clkc_audio AUD_CLKID_TDMOUT_B_SCLK_SEL>, |
| 1345 | <&clkc_audio AUD_CLKID_TDMOUT_B_LRCLK>, |
| 1346 | <&clkc_audio AUD_CLKID_TDMOUT_B_LRCLK>; |
| 1347 | clock-names = "pclk", "sclk", "sclk_sel", |
| 1348 | "lrclk", "lrclk_sel"; |
| 1349 | status = "disabled"; |
| 1350 | }; |
| 1351 | |
| 1352 | tdmout_c: audio-controller@580 { |
| 1353 | compatible = "amlogic,axg-tdmout"; |
| 1354 | reg = <0x0 0x580 0x0 0x40>; |
| 1355 | sound-name-prefix = "TDMOUT_C"; |
| 1356 | clocks = <&clkc_audio AUD_CLKID_TDMOUT_C>, |
| 1357 | <&clkc_audio AUD_CLKID_TDMOUT_C_SCLK>, |
| 1358 | <&clkc_audio AUD_CLKID_TDMOUT_C_SCLK_SEL>, |
| 1359 | <&clkc_audio AUD_CLKID_TDMOUT_C_LRCLK>, |
| 1360 | <&clkc_audio AUD_CLKID_TDMOUT_C_LRCLK>; |
| 1361 | clock-names = "pclk", "sclk", "sclk_sel", |
| 1362 | "lrclk", "lrclk_sel"; |
| 1363 | status = "disabled"; |
| 1364 | }; |
| 1365 | }; |
| 1366 | |
| 1367 | aobus: bus@ff800000 { |
| 1368 | compatible = "simple-bus"; |
| 1369 | reg = <0x0 0xff800000 0x0 0x100000>; |
| 1370 | #address-cells = <2>; |
| 1371 | #size-cells = <2>; |
| 1372 | ranges = <0x0 0x0 0x0 0xff800000 0x0 0x100000>; |
| 1373 | |
| 1374 | sysctrl_AO: sys-ctrl@0 { |
| 1375 | compatible = "amlogic,meson-axg-ao-sysctrl", "simple-mfd", "syscon"; |
| 1376 | reg = <0x0 0x0 0x0 0x100>; |
| 1377 | |
| 1378 | clkc_AO: clock-controller { |
| 1379 | compatible = "amlogic,meson-axg-aoclkc"; |
| 1380 | #clock-cells = <1>; |
| 1381 | #reset-cells = <1>; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 1382 | clocks = <&xtal>, <&clkc CLKID_CLK81>; |
| 1383 | clock-names = "xtal", "mpeg-clk"; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 1384 | }; |
| 1385 | }; |
| 1386 | |
| 1387 | pinctrl_aobus: pinctrl@14 { |
| 1388 | compatible = "amlogic,meson-axg-aobus-pinctrl"; |
| 1389 | #address-cells = <2>; |
| 1390 | #size-cells = <2>; |
| 1391 | ranges; |
| 1392 | |
| 1393 | gpio_ao: bank@14 { |
| 1394 | reg = <0x0 0x00014 0x0 0x8>, |
| 1395 | <0x0 0x0002c 0x0 0x4>, |
| 1396 | <0x0 0x00024 0x0 0x8>; |
| 1397 | reg-names = "mux", "pull", "gpio"; |
| 1398 | gpio-controller; |
| 1399 | #gpio-cells = <2>; |
| 1400 | gpio-ranges = <&pinctrl_aobus 0 0 15>; |
| 1401 | }; |
| 1402 | |
| 1403 | i2c_ao_sck_4_pins: i2c_ao_sck_4 { |
| 1404 | mux { |
| 1405 | groups = "i2c_ao_sck_4"; |
| 1406 | function = "i2c_ao"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 1407 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 1408 | }; |
| 1409 | }; |
| 1410 | |
| 1411 | i2c_ao_sck_8_pins: i2c_ao_sck_8 { |
| 1412 | mux { |
| 1413 | groups = "i2c_ao_sck_8"; |
| 1414 | function = "i2c_ao"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 1415 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 1416 | }; |
| 1417 | }; |
| 1418 | |
| 1419 | i2c_ao_sck_10_pins: i2c_ao_sck_10 { |
| 1420 | mux { |
| 1421 | groups = "i2c_ao_sck_10"; |
| 1422 | function = "i2c_ao"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 1423 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 1424 | }; |
| 1425 | }; |
| 1426 | |
| 1427 | i2c_ao_sda_5_pins: i2c_ao_sda_5 { |
| 1428 | mux { |
| 1429 | groups = "i2c_ao_sda_5"; |
| 1430 | function = "i2c_ao"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 1431 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 1432 | }; |
| 1433 | }; |
| 1434 | |
| 1435 | i2c_ao_sda_9_pins: i2c_ao_sda_9 { |
| 1436 | mux { |
| 1437 | groups = "i2c_ao_sda_9"; |
| 1438 | function = "i2c_ao"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 1439 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 1440 | }; |
| 1441 | }; |
| 1442 | |
| 1443 | i2c_ao_sda_11_pins: i2c_ao_sda_11 { |
| 1444 | mux { |
| 1445 | groups = "i2c_ao_sda_11"; |
| 1446 | function = "i2c_ao"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 1447 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 1448 | }; |
| 1449 | }; |
| 1450 | |
| 1451 | remote_input_ao_pins: remote_input_ao { |
| 1452 | mux { |
| 1453 | groups = "remote_input_ao"; |
| 1454 | function = "remote_input_ao"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 1455 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 1456 | }; |
| 1457 | }; |
| 1458 | |
| 1459 | uart_ao_a_pins: uart_ao_a { |
| 1460 | mux { |
| 1461 | groups = "uart_ao_tx_a", |
| 1462 | "uart_ao_rx_a"; |
| 1463 | function = "uart_ao_a"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 1464 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 1465 | }; |
| 1466 | }; |
| 1467 | |
| 1468 | uart_ao_a_cts_rts_pins: uart_ao_a_cts_rts { |
| 1469 | mux { |
| 1470 | groups = "uart_ao_cts_a", |
| 1471 | "uart_ao_rts_a"; |
| 1472 | function = "uart_ao_a"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 1473 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 1474 | }; |
| 1475 | }; |
| 1476 | |
| 1477 | uart_ao_b_pins: uart_ao_b { |
| 1478 | mux { |
| 1479 | groups = "uart_ao_tx_b", |
| 1480 | "uart_ao_rx_b"; |
| 1481 | function = "uart_ao_b"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 1482 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 1483 | }; |
| 1484 | }; |
| 1485 | |
| 1486 | uart_ao_b_cts_rts_pins: uart_ao_b_cts_rts { |
| 1487 | mux { |
| 1488 | groups = "uart_ao_cts_b", |
| 1489 | "uart_ao_rts_b"; |
| 1490 | function = "uart_ao_b"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 1491 | bias-disable; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 1492 | }; |
| 1493 | }; |
| 1494 | }; |
| 1495 | |
| 1496 | sec_AO: ao-secure@140 { |
| 1497 | compatible = "amlogic,meson-gx-ao-secure", "syscon"; |
| 1498 | reg = <0x0 0x140 0x0 0x140>; |
| 1499 | amlogic,has-chip-id; |
| 1500 | }; |
| 1501 | |
| 1502 | pwm_AO_cd: pwm@2000 { |
| 1503 | compatible = "amlogic,meson-axg-ao-pwm"; |
| 1504 | reg = <0x0 0x02000 0x0 0x20>; |
| 1505 | #pwm-cells = <3>; |
| 1506 | status = "disabled"; |
| 1507 | }; |
| 1508 | |
| 1509 | uart_AO: serial@3000 { |
| 1510 | compatible = "amlogic,meson-gx-uart", "amlogic,meson-ao-uart"; |
| 1511 | reg = <0x0 0x3000 0x0 0x18>; |
| 1512 | interrupts = <GIC_SPI 193 IRQ_TYPE_EDGE_RISING>; |
| 1513 | clocks = <&xtal>, <&clkc_AO CLKID_AO_UART1>, <&xtal>; |
| 1514 | clock-names = "xtal", "pclk", "baud"; |
| 1515 | status = "disabled"; |
| 1516 | }; |
| 1517 | |
| 1518 | uart_AO_B: serial@4000 { |
| 1519 | compatible = "amlogic,meson-gx-uart", "amlogic,meson-ao-uart"; |
| 1520 | reg = <0x0 0x4000 0x0 0x18>; |
| 1521 | interrupts = <GIC_SPI 197 IRQ_TYPE_EDGE_RISING>; |
| 1522 | clocks = <&xtal>, <&clkc_AO CLKID_AO_UART2>, <&xtal>; |
| 1523 | clock-names = "xtal", "pclk", "baud"; |
| 1524 | status = "disabled"; |
| 1525 | }; |
| 1526 | |
| 1527 | i2c_AO: i2c@5000 { |
| 1528 | compatible = "amlogic,meson-axg-i2c"; |
| 1529 | reg = <0x0 0x05000 0x0 0x20>; |
| 1530 | interrupts = <GIC_SPI 195 IRQ_TYPE_EDGE_RISING>; |
| 1531 | clocks = <&clkc CLKID_AO_I2C>; |
| 1532 | #address-cells = <1>; |
| 1533 | #size-cells = <0>; |
| 1534 | status = "disabled"; |
| 1535 | }; |
| 1536 | |
| 1537 | pwm_AO_ab: pwm@7000 { |
| 1538 | compatible = "amlogic,meson-axg-ao-pwm"; |
| 1539 | reg = <0x0 0x07000 0x0 0x20>; |
| 1540 | #pwm-cells = <3>; |
| 1541 | status = "disabled"; |
| 1542 | }; |
| 1543 | |
| 1544 | ir: ir@8000 { |
| 1545 | compatible = "amlogic,meson-gxbb-ir"; |
| 1546 | reg = <0x0 0x8000 0x0 0x20>; |
| 1547 | interrupts = <GIC_SPI 196 IRQ_TYPE_EDGE_RISING>; |
| 1548 | status = "disabled"; |
| 1549 | }; |
| 1550 | |
| 1551 | saradc: adc@9000 { |
| 1552 | compatible = "amlogic,meson-axg-saradc", |
| 1553 | "amlogic,meson-saradc"; |
| 1554 | reg = <0x0 0x9000 0x0 0x38>; |
| 1555 | #io-channel-cells = <1>; |
| 1556 | interrupts = <GIC_SPI 73 IRQ_TYPE_EDGE_RISING>; |
| 1557 | clocks = <&xtal>, |
| 1558 | <&clkc_AO CLKID_AO_SAR_ADC>, |
| 1559 | <&clkc_AO CLKID_AO_SAR_ADC_CLK>, |
| 1560 | <&clkc_AO CLKID_AO_SAR_ADC_SEL>; |
| 1561 | clock-names = "clkin", "core", "adc_clk", "adc_sel"; |
| 1562 | status = "disabled"; |
| 1563 | }; |
| 1564 | }; |
| 1565 | |
| 1566 | gic: interrupt-controller@ffc01000 { |
| 1567 | compatible = "arm,gic-400"; |
| 1568 | reg = <0x0 0xffc01000 0 0x1000>, |
| 1569 | <0x0 0xffc02000 0 0x2000>, |
| 1570 | <0x0 0xffc04000 0 0x2000>, |
| 1571 | <0x0 0xffc06000 0 0x2000>; |
| 1572 | interrupt-controller; |
| 1573 | interrupts = <GIC_PPI 9 |
| 1574 | (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>; |
| 1575 | #interrupt-cells = <3>; |
| 1576 | #address-cells = <0>; |
| 1577 | }; |
| 1578 | |
| 1579 | cbus: bus@ffd00000 { |
| 1580 | compatible = "simple-bus"; |
| 1581 | reg = <0x0 0xffd00000 0x0 0x25000>; |
| 1582 | #address-cells = <2>; |
| 1583 | #size-cells = <2>; |
| 1584 | ranges = <0x0 0x0 0x0 0xffd00000 0x0 0x25000>; |
| 1585 | |
| 1586 | reset: reset-controller@1004 { |
| 1587 | compatible = "amlogic,meson-axg-reset"; |
| 1588 | reg = <0x0 0x01004 0x0 0x9c>; |
| 1589 | #reset-cells = <1>; |
| 1590 | }; |
| 1591 | |
| 1592 | gpio_intc: interrupt-controller@f080 { |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 1593 | compatible = "amlogic,meson-axg-gpio-intc", |
| 1594 | "amlogic,meson-gpio-intc"; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 1595 | reg = <0x0 0xf080 0x0 0x10>; |
| 1596 | interrupt-controller; |
| 1597 | #interrupt-cells = <2>; |
| 1598 | amlogic,channel-interrupts = <64 65 66 67 68 69 70 71>; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 1599 | }; |
| 1600 | |
| 1601 | watchdog@f0d0 { |
| 1602 | compatible = "amlogic,meson-gxbb-wdt"; |
| 1603 | reg = <0x0 0xf0d0 0x0 0x10>; |
| 1604 | clocks = <&xtal>; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 1605 | }; |
| 1606 | |
| 1607 | pwm_ab: pwm@1b000 { |
| 1608 | compatible = "amlogic,meson-axg-ee-pwm"; |
| 1609 | reg = <0x0 0x1b000 0x0 0x20>; |
| 1610 | #pwm-cells = <3>; |
| 1611 | status = "disabled"; |
| 1612 | }; |
| 1613 | |
| 1614 | pwm_cd: pwm@1a000 { |
| 1615 | compatible = "amlogic,meson-axg-ee-pwm"; |
| 1616 | reg = <0x0 0x1a000 0x0 0x20>; |
| 1617 | #pwm-cells = <3>; |
| 1618 | status = "disabled"; |
| 1619 | }; |
| 1620 | |
| 1621 | spicc0: spi@13000 { |
| 1622 | compatible = "amlogic,meson-axg-spicc"; |
| 1623 | reg = <0x0 0x13000 0x0 0x3c>; |
| 1624 | interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>; |
| 1625 | clocks = <&clkc CLKID_SPICC0>; |
| 1626 | clock-names = "core"; |
| 1627 | #address-cells = <1>; |
| 1628 | #size-cells = <0>; |
| 1629 | status = "disabled"; |
| 1630 | }; |
| 1631 | |
| 1632 | spicc1: spi@15000 { |
| 1633 | compatible = "amlogic,meson-axg-spicc"; |
| 1634 | reg = <0x0 0x15000 0x0 0x3c>; |
| 1635 | interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>; |
| 1636 | clocks = <&clkc CLKID_SPICC1>; |
| 1637 | clock-names = "core"; |
| 1638 | #address-cells = <1>; |
| 1639 | #size-cells = <0>; |
| 1640 | status = "disabled"; |
| 1641 | }; |
| 1642 | |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 1643 | clk_msr: clock-measure@18000 { |
| 1644 | compatible = "amlogic,meson-axg-clk-measure"; |
| 1645 | reg = <0x0 0x18000 0x0 0x10>; |
| 1646 | }; |
| 1647 | |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 1648 | i2c3: i2c@1c000 { |
| 1649 | compatible = "amlogic,meson-axg-i2c"; |
| 1650 | reg = <0x0 0x1c000 0x0 0x20>; |
| 1651 | interrupts = <GIC_SPI 39 IRQ_TYPE_EDGE_RISING>; |
| 1652 | clocks = <&clkc CLKID_I2C>; |
| 1653 | #address-cells = <1>; |
| 1654 | #size-cells = <0>; |
| 1655 | status = "disabled"; |
| 1656 | }; |
| 1657 | |
| 1658 | i2c2: i2c@1d000 { |
| 1659 | compatible = "amlogic,meson-axg-i2c"; |
| 1660 | reg = <0x0 0x1d000 0x0 0x20>; |
| 1661 | interrupts = <GIC_SPI 215 IRQ_TYPE_EDGE_RISING>; |
| 1662 | clocks = <&clkc CLKID_I2C>; |
| 1663 | #address-cells = <1>; |
| 1664 | #size-cells = <0>; |
| 1665 | status = "disabled"; |
| 1666 | }; |
| 1667 | |
| 1668 | i2c1: i2c@1e000 { |
| 1669 | compatible = "amlogic,meson-axg-i2c"; |
| 1670 | reg = <0x0 0x1e000 0x0 0x20>; |
| 1671 | interrupts = <GIC_SPI 214 IRQ_TYPE_EDGE_RISING>; |
| 1672 | clocks = <&clkc CLKID_I2C>; |
| 1673 | #address-cells = <1>; |
| 1674 | #size-cells = <0>; |
| 1675 | status = "disabled"; |
| 1676 | }; |
| 1677 | |
| 1678 | i2c0: i2c@1f000 { |
| 1679 | compatible = "amlogic,meson-axg-i2c"; |
| 1680 | reg = <0x0 0x1f000 0x0 0x20>; |
| 1681 | interrupts = <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>; |
| 1682 | clocks = <&clkc CLKID_I2C>; |
| 1683 | #address-cells = <1>; |
| 1684 | #size-cells = <0>; |
| 1685 | status = "disabled"; |
| 1686 | }; |
| 1687 | |
| 1688 | uart_B: serial@23000 { |
| 1689 | compatible = "amlogic,meson-gx-uart"; |
| 1690 | reg = <0x0 0x23000 0x0 0x18>; |
| 1691 | interrupts = <GIC_SPI 75 IRQ_TYPE_EDGE_RISING>; |
| 1692 | status = "disabled"; |
| 1693 | clocks = <&xtal>, <&clkc CLKID_UART1>, <&xtal>; |
| 1694 | clock-names = "xtal", "pclk", "baud"; |
| 1695 | }; |
| 1696 | |
| 1697 | uart_A: serial@24000 { |
| 1698 | compatible = "amlogic,meson-gx-uart"; |
| 1699 | reg = <0x0 0x24000 0x0 0x18>; |
| 1700 | interrupts = <GIC_SPI 26 IRQ_TYPE_EDGE_RISING>; |
| 1701 | status = "disabled"; |
| 1702 | clocks = <&xtal>, <&clkc CLKID_UART0>, <&xtal>; |
| 1703 | clock-names = "xtal", "pclk", "baud"; |
| 1704 | }; |
| 1705 | }; |
| 1706 | |
| 1707 | apb: bus@ffe00000 { |
| 1708 | compatible = "simple-bus"; |
| 1709 | reg = <0x0 0xffe00000 0x0 0x200000>; |
| 1710 | #address-cells = <2>; |
| 1711 | #size-cells = <2>; |
| 1712 | ranges = <0x0 0x0 0x0 0xffe00000 0x0 0x200000>; |
| 1713 | |
| 1714 | sd_emmc_b: sd@5000 { |
| 1715 | compatible = "amlogic,meson-axg-mmc"; |
| 1716 | reg = <0x0 0x5000 0x0 0x800>; |
| 1717 | interrupts = <GIC_SPI 217 IRQ_TYPE_EDGE_RISING>; |
| 1718 | status = "disabled"; |
| 1719 | clocks = <&clkc CLKID_SD_EMMC_B>, |
| 1720 | <&clkc CLKID_SD_EMMC_B_CLK0>, |
| 1721 | <&clkc CLKID_FCLK_DIV2>; |
| 1722 | clock-names = "core", "clkin0", "clkin1"; |
| 1723 | resets = <&reset RESET_SD_EMMC_B>; |
| 1724 | }; |
| 1725 | |
| 1726 | sd_emmc_c: mmc@7000 { |
| 1727 | compatible = "amlogic,meson-axg-mmc"; |
| 1728 | reg = <0x0 0x7000 0x0 0x800>; |
| 1729 | interrupts = <GIC_SPI 218 IRQ_TYPE_EDGE_RISING>; |
| 1730 | status = "disabled"; |
| 1731 | clocks = <&clkc CLKID_SD_EMMC_C>, |
| 1732 | <&clkc CLKID_SD_EMMC_C_CLK0>, |
| 1733 | <&clkc CLKID_FCLK_DIV2>; |
| 1734 | clock-names = "core", "clkin0", "clkin1"; |
| 1735 | resets = <&reset RESET_SD_EMMC_C>; |
| 1736 | }; |
| 1737 | }; |
| 1738 | |
| 1739 | sram: sram@fffc0000 { |
Neil Armstrong | 4e7b0a3 | 2020-09-10 10:48:12 +0200 | [diff] [blame] | 1740 | compatible = "mmio-sram"; |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 1741 | reg = <0x0 0xfffc0000 0x0 0x20000>; |
| 1742 | #address-cells = <1>; |
| 1743 | #size-cells = <1>; |
| 1744 | ranges = <0 0x0 0xfffc0000 0x20000>; |
| 1745 | |
Neil Armstrong | 4e7b0a3 | 2020-09-10 10:48:12 +0200 | [diff] [blame] | 1746 | cpu_scp_lpri: scp-sram@13000 { |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 1747 | compatible = "amlogic,meson-axg-scp-shmem"; |
| 1748 | reg = <0x13000 0x400>; |
| 1749 | }; |
| 1750 | |
Neil Armstrong | 4e7b0a3 | 2020-09-10 10:48:12 +0200 | [diff] [blame] | 1751 | cpu_scp_hpri: scp-sram@13400 { |
Neil Armstrong | 78a0801 | 2018-09-05 15:56:52 +0200 | [diff] [blame] | 1752 | compatible = "amlogic,meson-axg-scp-shmem"; |
| 1753 | reg = <0x13400 0x400>; |
| 1754 | }; |
| 1755 | }; |
| 1756 | }; |
| 1757 | |
| 1758 | timer { |
| 1759 | compatible = "arm,armv8-timer"; |
| 1760 | interrupts = <GIC_PPI 13 |
| 1761 | (GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>, |
| 1762 | <GIC_PPI 14 |
| 1763 | (GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>, |
| 1764 | <GIC_PPI 11 |
| 1765 | (GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>, |
| 1766 | <GIC_PPI 10 |
| 1767 | (GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>; |
| 1768 | }; |
| 1769 | |
| 1770 | xtal: xtal-clk { |
| 1771 | compatible = "fixed-clock"; |
| 1772 | clock-frequency = <24000000>; |
| 1773 | clock-output-names = "xtal"; |
| 1774 | #clock-cells = <0>; |
| 1775 | }; |
| 1776 | }; |